Use the predefined Android SDK constants instead of numbers
Half the code used the SDK_VERSION_* constants when checking Android version, half the code used hard coded numbers 19, 21, 22, .... This changes the code to use SDK_VERSION_ everywhere. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;master.tryserver.chromium.android:android_arm64_dbg_recipe;master.tryserver.chromium.android:android_compile_x64_dbg;master.tryserver.chromium.android:android_compile_x86_dbg;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: Icb4e3183f0490b00d16039681548ccf469e9d236 Reviewed-on: https://chromium-review.googlesource.com/975841 Commit-Queue: Daniel Bratell <bratell@opera.com> Reviewed-by:Robert Sesek <rsesek@chromium.org> Reviewed-by:
Bo <boliu@chromium.org> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Reviewed-by:
David Benjamin <davidben@chromium.org> Reviewed-by:
Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#545870}
Showing
Please register or sign in to comment