b9b094e0ceb665355be2cc0e28492edfbd9792ad |
|
15-Sep-2016 |
Daniel Nishi <dhnishi@google.com> |
Merge "Harden the PreferenceListCache against invalid keys."
|
21399ab1f0995e4890cafe74016d8269b50db064 |
|
29-Aug-2016 |
Daniel Nishi <dhnishi@google.com> |
Harden the PreferenceListCache against invalid keys. If multiple preferences have the same key, we can no longer ensure the PreferenceListCache can return the correct preference for the duplicated key. If the preference has no key, we similarly cannot guarantee correctness. By throwing an exception in this case, we stop an app from getting into an invalid state. Bug: 31158678 Test: m -j32 RunStorageManagerRoboTests Change-Id: I371b316e72328450b569293ec8735734a85b112a
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/utils/PreferenceListCacheTest.java
|
fff597ce52cbc1693f1a3d781991e19c103e08f2 |
|
01-Sep-2016 |
Daniel Nishi <dhnishi@google.com> |
Add tests for the PhotosDeletionPreference. Bug: 30900642 Test: m -j32 RunStorageManagerRoboTests Change-Id: Id230cf5c2fefefc686b2ce1ac8df9820e61b23b7
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/utils/PreferenceListCacheTest.java
|
c9b6806c51c0c0f9339fa6771898e58567fccf8e |
|
26-Aug-2016 |
Daniel Nishi <dhnishi@google.com> |
Update the manifest path to use the constant in RoboTest. Test: make -j32 RunStorageManagerRoboTests should still work. Change-Id: I79fee00a4abcf31a514ea5795d8c5cfb7a618e36
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/utils/PreferenceListCacheTest.java
|
80f8ec612704639f209346f09c208eb3fc8cab56 |
|
19-Aug-2016 |
Daniel Nishi <dhnishi@google.com> |
Add tests for the PreferenceListCache. This patch also moves the PreferenceListCache into the utils package. Bug: 30900642 Test: m -j32 RunStorageManagerRobotests Change-Id: I32a33a1720622bf5204841830e22f14f6e2c8f10
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/utils/PreferenceListCacheTest.java
|