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-04 16:08:17 -04:00
2018-04-19 10:17:23 -04:00
2015-04-13 09:21:39 -07:00
2017-10-13 15:59:03 -07:00
2018-04-04 16:08:17 -04:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%