History log of /packages/apps/Settings/src/com/android/settings/applications/appinfo/TimeSpentInAppPreferenceController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bd376296cd5b5a41c421b4d831036957915336ce 04-May-2018 Matthew Fritze <mfritze@google.com> Establish permanently unavailable settings

Distinguish between settings which are permanently unavailable on
the device, and temporarily unavailable. This enables us to restrict
which setting slices are exposed in onSliceGetDescendants.

The primary changes in this CL are renaming:
"DISABLED_UNSUPPORTED" -> "UNSUPPORTED_ON_DEVICE"
to be more clear the the setting will cannot be accessed on the device, and,
adding a new enum to encapsulate settings which are currently unavailable, but
could be enabled in the future.

Also remove UNAVAILABLE_UNKNOWN. Devs should never need this enum.

Bug: 78910582
Fixes: 79245656
Test: robotests
Change-Id: I42c2cedab66be2d76999795f46470a079cc1ec71
Merged-In: I58821a6cfd6134b3b351657b6edf5f74ead00643
/packages/apps/Settings/src/com/android/settings/applications/appinfo/TimeSpentInAppPreferenceController.java
b803a230312746cb83586692f396dae54dbd57d6 29-Mar-2018 Fan Zhang <zhfan@google.com> Check time-spent-in-app intent must come from system app.

Change-Id: Ie73aacdaf919b336d99a296328c2fbb4f75036b0
Fixes: 74580195
Test: robotests
/packages/apps/Settings/src/com/android/settings/applications/appinfo/TimeSpentInAppPreferenceController.java
64a8f70a7f1e7ccf42d03ab2882541f31c718aa9 23-Mar-2018 Fan Zhang <zhfan@google.com> Add preference controller to launch app-time-spent UI.

Bug: 74580195
Test: robotests
Change-Id: Iba9338f04cc037a134ef9445ce97cbbe21f53833
/packages/apps/Settings/src/com/android/settings/applications/appinfo/TimeSpentInAppPreferenceController.java