History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/FakeUnavailablePreferenceController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1dd25fd87c727fbf175027faf6a9a533c5cf7220 19-May-2018 Matthew Fritze <mfritze@google.com> Add isSliceable API to BasePrefController

Only support explicitly approved Settings Slices,
dictated by controllers which return true for the new
method isSliceable.

Updating the supported settings to a whitelist means that
the method to return all available slices must be updated,
and checking slicability when we index slices.

Test: robotests
Change-Id: I85848c2cdf3e151fa94b33dd1dc5c0374ef94b5b
Merged-In: Ib2b9690cdd0036b5cc4a1cb846c52bce7c824ab9
Fixes: 79779103
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/FakeUnavailablePreferenceController.java
7acd13f3e463575e6338dada36c1bf9d188aade3 13-Apr-2018 Matthew Fritze <mfritze@google.com> Update a Slice Uri when unavailable

When a slice becomes unavailable, it should not update the
underlying data even if the view has not changed.

When we receive a change from an unavailable slice, notifychange
on the Uri and do not change the underlying data.

Change-Id: I91851ab668e4aece669fd65c14e0dc4ec2edefdf
Fixes: 77980406
Test: robotests
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/FakeUnavailablePreferenceController.java