Files
app_Settings/tests/unit/src/com/android/settings
Lei Yu 4bfbaa6047 Update insert method for battery database
1. Add conflict code to ignore the confliction and return -1 when
insert fails.
2. Add boolean return value to show whether insert sucessfully
3. Add unit test. We don't write robo test because robolectirc use
"update" to shadow "insert" operation, which returns the wrong data.

Bug: 77968649
Test: SettingsUnitTest
Change-Id: Ibd3b53cdb1796d74ea4a2ca1f067e2b302b939e9
2018-04-23 13:13:56 -07:00
..
2018-04-02 16:51:40 -07:00
2018-02-13 19:13:10 -08:00
2018-01-23 09:05:37 -05:00
2018-01-29 11:39:48 -08:00
2017-12-12 13:07:21 -08:00