0fcddc77c7803cfde7876cf25fca2704233d82f3 |
|
20-Apr-2018 |
Lei Yu <jackqdyulei@google.com> |
Add primary key for anomaly database. In this case it won't insert the duplicate data. We don't do migration since anomaly database only contains transient data. Bug: 77968649 Test: test still pass Change-Id: I638564d89ead008ec184b9a4db137436d47df5bc
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyDatabaseHelper.java
|
fec8846036a15a54fc409c813292b1f8d6315456 |
|
01-Mar-2018 |
jackqdyulei <jackqdyulei@google.com> |
Add column uid to database In database upgrade, reconstruct the database since it is still empty. Bug: 74022362 Test: Build Change-Id: I8d7f7280a7438f371f7e3a2ed1116ba82517d6a6
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyDatabaseHelper.java
|
ea153abe27f50e8e210f4a1e959615ffe5103584 |
|
13-Feb-2018 |
jackqdyulei <jackqdyulei@google.com> |
Upgrade the anomaly database. Add one column for the table. Since the database is not offically used, we can just simply delete and recreate it. Bug: 72385333 Test: Build Change-Id: If999dbccbf168b05f98af5ab389c9e2cbb5ad2e8
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyDatabaseHelper.java
|
963b7cca257bca828e98ce35be106e656c8e1538 |
|
16-Jan-2018 |
jackqdyulei <jackqdyulei@google.com> |
Add database to store anomaly data 1. Refactor HighUsageApp to AppInfo so it could be reused both in dialog and app restriction 2. Add BatteryDatabaseHelper to store the anomaly log Bug: 70570352 Test: RunSettingsRoboTests Change-Id: I900cd9746ff7f1e19bd6f3948463588b7cf72b85
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyDatabaseHelper.java
|