commit | b2f80a7105f951740cffecfbbfe7550f8ee39f6d | [log] [tgz] |
---|---|---|
author | ykhung <ykhung@google.com> | Tue Aug 24 14:37:05 2021 +0800 |
committer | YUKAI HUNG <ykhung@google.com> | Tue Aug 24 10:20:43 2021 +0000 |
tree | c5319fc008e8512e53b2695bcd79e80a931fce8f | |
parent | d9085192ba3f8d16047add24e67b70df85f49d73 [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