commit | 4ad07dc499d36781c8bcbb6117d7da7acadc1774 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Feb 06 16:36:37 2023 -0800 |
committer | Colin Cross <ccross@android.com> | Mon Feb 06 16:36:37 2023 -0800 |
tree | 3af17c3678b788a3a850f36128b8d6a2d00089fc | |
parent | 10e2029a11de997792c5c1e4250254db3c402e62 [diff] |
Fix isAtLeastU for post-U codenames isAtLeastU assumed that unknown codenames were a single letter, which hasn't been true since Tiramisu. Copy the implementation from the platform's frameworks/libs/modules-utils/java/com/android/modules/utils/build/SdkLevel.java. Test: atest --host SettingsGoogleRoboTests Bug: 264658905 Change-Id: I6311ffe2fce9f337df853b57de3e41b581e263ee