ykhung 6891900af5 Protect failed setUidPolicy() and avoid storing invalid UIDs
Add protection for the setUidPolicy() failed case to avoid invalid UIDs
to crash the caller process, and avoid storing the invalid UIDs to
SharedPreferences if it is failed to setUidPolicy()

Bug: 306329984
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge"
Change-Id: I5c14434708b82ba3c238c2338d47085c2ce244e0
2023-11-29 16:59:17 +08:00
2022-04-14 09:55:36 +00:00
2023-09-28 10:40:22 -07:00
2023-10-26 19:54:52 +00:00
2022-10-06 09:10:38 -07:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%