From 89bdb3984364f0e0884e8ba94ab347fd6b471ae1 Mon Sep 17 00:00:00 2001 From: Joel Galenson Date: Wed, 7 Nov 2018 16:14:52 -0800 Subject: Add the new app permission screen. This screen allows toggling the permission (either dual- or tri-state) and will eventually show the permission justification. It will also replace PermissionPreference, from which most of the logic is copied. This modifies PermissionUsagePreference so that clicks go to this page instead of the old PermissionPreference pages. Bug: 63532550 Bug: 118437704 Test: Used the new screen to toggle permissions. Test: Manually forced the code down the paths of the rare conditions. Change-Id: I7afa8d2ca88d495e824000dd4cbcb66d887aef91 --- res/drawable/ic_info.xml | 25 +++++++++++++++++++++++++ res/drawable/ic_settings.xml | 34 ++++++++++++++++++++++++++++++++++ res/drawable/list_divider_dark.xml | 24 ++++++++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 res/drawable/ic_info.xml create mode 100644 res/drawable/ic_settings.xml create mode 100644 res/drawable/list_divider_dark.xml (limited to 'res/drawable') diff --git a/res/drawable/ic_info.xml b/res/drawable/ic_info.xml new file mode 100644 index 00000000..365bd338 --- /dev/null +++ b/res/drawable/ic_info.xml @@ -0,0 +1,25 @@ + + + + \ No newline at end of file diff --git a/res/drawable/ic_settings.xml b/res/drawable/ic_settings.xml new file mode 100644 index 00000000..28fb10df --- /dev/null +++ b/res/drawable/ic_settings.xml @@ -0,0 +1,34 @@ + + + + \ No newline at end of file diff --git a/res/drawable/list_divider_dark.xml b/res/drawable/list_divider_dark.xml new file mode 100644 index 00000000..c5af982b --- /dev/null +++ b/res/drawable/list_divider_dark.xml @@ -0,0 +1,24 @@ + + + + + + + \ No newline at end of file -- cgit v1.2.3