commit | b6f32d9fe2e220bce8395390862dbf1b935881d6 | [log] [tgz] |
---|---|---|
author | Muhammad Qureshi <muhammadq@google.com> | Wed Jan 08 15:24:53 2020 -0800 |
committer | Muhammad Qureshi <muhammadq@google.com> | Wed Jan 08 16:10:57 2020 -0800 |
tree | 924cef1d460a451f7eeb13a094fcd5bbb04b2a32 | |
parent | f7f6200c6a7b65ead1d2ff311006a5620e8a385f [diff] |
Use preview_sdk_int for version code checks Don't use Build.VERSION.CODENAME to check for R. Use Build.VERSION.SDK_INT > Q || (Build.VERSION.SDK_INT == Q && Build.VERSION.PREVIEW_SDK_INT > 0) Bug: 146235828 Test: m DocumentsUIGoogle Change-Id: I59e327d4e92d41a93b6bea145b8497fd4f85108c