commit | 0ab0a3af56dd83905b06cd2bb3b8d68a985006a2 | [log] [tgz] |
---|---|---|
author | ykhung <ykhung@google.com> | Tue Aug 24 14:37:05 2021 +0800 |
committer | YUKAI HUNG <ykhung@google.com> | Tue Aug 24 12:04:31 2021 +0000 |
tree | 18ea1a62a75008249ff9da575b04ab441a1cdfd2 | |
parent | a1b8347ae4bbb736064ff2c520e081ec19f56a8c [diff] |
Refactor BatteryOptimizeUtils from enum to @IntDef Based on the Android API Council guideline, we should avoid using the Enum structure to define the constant definition. go/android-api-guidelines#avoid-enum Bug: 197595292 Test: make SettingsRoboTests Change-Id: I4b22f0abde7f4ce2c3a0b076db786e619783d93e Merged-In: I4b22f0abde7f4ce2c3a0b076db786e619783d93e