Refine optimize page log pattern
- Add timestamp and prefix string - Chagne Action.MANUAL to LEAVE for better readability screenshot: https://screenshot.googleplex.com/ALTvMaPWVEq8y7c.png Bug: 192523697 Test: make SettingsRoboTests Change-Id: I69d1beceb98444d823f6ffc3a015cf61a7d7a66d
This commit is contained in:
@@ -291,7 +291,7 @@ public class AdvancedPowerUsageDetail extends DashboardFragment implements
|
||||
|
||||
BatteryHistoricalLogUtil.writeLog(
|
||||
getContext().getApplicationContext(),
|
||||
Action.MANUAL,
|
||||
Action.LEAVE,
|
||||
BatteryHistoricalLogUtil.getPackageNameWithUserId(
|
||||
mBatteryOptimizeUtils.getPackageName(), UserHandle.myUserId()),
|
||||
mLogStringBuilder.toString());
|
||||
|
Reference in New Issue
Block a user