summaryrefslogtreecommitdiff
path: root/tools/stats_log_api_gen/main.cpp
diff options
context:
space:
mode:
authorMuhammad Qureshi <muhammadq@google.com>2020-01-08 15:24:53 -0800
committerMuhammad Qureshi <muhammadq@google.com>2020-01-23 11:29:21 -0800
commit0c8cdf54db7811d78d2ccedcf05f71ba245b4fe7 (patch)
tree38914a7bb932650746a738a2e13a18486e69eb5b /tools/stats_log_api_gen/main.cpp
parent38812f345c6067300cd878ae67b970de997b5cee (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 Merged-In: I59e327d4e92d41a93b6bea145b8497fd4f85108c (cherry picked from commit b6f32d9fe2e220bce8395390862dbf1b935881d6)
Diffstat (limited to 'tools/stats_log_api_gen/main.cpp')
0 files changed, 0 insertions, 0 deletions