OSDN Git Service
Jason Monk [Tue, 30 Jun 2015 20:08:13 +0000 (20:08 +0000)]
Merge "Handle adjust volume user restriction" into mnc-dev
Jason Monk [Tue, 30 Jun 2015 16:18:26 +0000 (12:18 -0400)]
Handle adjust volume user restriction
- Finish all do not disturb pages immediately
- Disable relevant items in Sounds & notification
Bug:
21642285
Change-Id: I8de9bd10b8cea8adaa306b1ae388ab7d1ccc4e7e
Makoto Onuki [Tue, 30 Jun 2015 16:40:56 +0000 (16:40 +0000)]
Merge "Make sure Fragments are public for FragMan to instantiate" into mnc-dev
Jason Monk [Tue, 30 Jun 2015 14:20:57 +0000 (14:20 +0000)]
Merge "Fix crash in ignore optimizations dialog" into mnc-dev
Jason Monk [Tue, 30 Jun 2015 14:15:53 +0000 (10:15 -0400)]
Fix crash in ignore optimizations dialog
Launch it like a dialog, because it is one.
Bug:
22181580
Change-Id: Ibeda8506cfb7a9a9d60f70462a4e03972b38f8aa
Rubin Xu [Tue, 30 Jun 2015 14:05:31 +0000 (14:05 +0000)]
Merge "No longer use ExternalStorageFormatter to format external storage" into mnc-dev
Jason Monk [Tue, 30 Jun 2015 14:03:04 +0000 (14:03 +0000)]
Merge "Reduce jank in wifi settings" into mnc-dev
Jorim Jaggi [Fri, 26 Jun 2015 23:40:41 +0000 (16:40 -0700)]
Add setting to disable screenshot separately (2/2)
Bug:
22063668
Change-Id: I85b255ac114184e0edbd71010d517b337ad935e5
Jorim Jaggi [Sat, 27 Jun 2015 01:49:35 +0000 (18:49 -0700)]
Fix userId for credentials from managed profiles
Bug:
22094377
Change-Id: Ia98d0e386d4c56f3eb502ff11f86b0fd7dadea3c
Jason Monk [Mon, 29 Jun 2015 19:52:51 +0000 (19:52 +0000)]
Merge "Remove char limit from owner info" into mnc-dev
Jason Monk [Mon, 29 Jun 2015 18:52:54 +0000 (14:52 -0400)]
Remove char limit from owner info
Bug:
21959734
Change-Id: I21854309ca390cb126ba50feaa56fb9a35b862e1
Jason Monk [Mon, 29 Jun 2015 18:55:18 +0000 (18:55 +0000)]
Merge "Handle rotation (or refresh) before callback is received" into mnc-dev
Jason Monk [Mon, 29 Jun 2015 18:42:25 +0000 (14:42 -0400)]
Handle rotation (or refresh) before callback is received
Make sure we unregister the old receiver
Bug:
22160603
Change-Id: I798ca07dd65711caa4d3295b7ad811ca2fc69c1d
Jason Monk [Mon, 29 Jun 2015 17:28:21 +0000 (13:28 -0400)]
Reduce jank in wifi settings
- Fix view recycling for AccessPointPreferences by adding a dummy
during initial inflation
- Cut down on what is done during onBindView and refresh()
- Try to re-use AccessPointPreferences when possible
Some jank still occurs when scan results come in, but it is less
than before.
Bug:
16518752
Change-Id: I2619303281dd50aa3864783c49738ae9f221834a
Geoff Mendal [Mon, 29 Jun 2015 14:50:47 +0000 (07:50 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ib4c36b177018329faa9359c2d02f3ebc33bb1134
Auto-generated-cl: translation import
Sanket Padawe [Sun, 28 Jun 2015 02:45:39 +0000 (02:45 +0000)]
Merge "Hide EAP SIM, AKA & AKA' choices in wifi Settings if device doesn't support." into mnc-dev
Yohei Yukawa [Sat, 27 Jun 2015 21:40:51 +0000 (21:40 +0000)]
Merge "Dont crash if there is no spellchecker" into mnc-dev
Johan Redestig [Sat, 7 Mar 2015 06:48:41 +0000 (07:48 +0100)]
Dont crash if there is no spellchecker
The fact that isSpellCheckerEnabled returns true does not mean
that getCurrentSpellChecker will return non null. By default
isSpellCheckerEnabled is true in TextServicesSettings, even when
there is no spellchecker service active on the device.
The issue can be verified by disabling the Google Keyboard (assuming
the GMS LatinImeGoogle is used) in Settings|Apps and later
entering Settings|Language & input. Without this patch Settings
crashes at that point with the following stack:
E/AndroidRuntime(13020): Caused by: java.lang.NullPointerException: \
Attempt to invoke virtual method 'java.lang.CharSequence android.vie\
w.textservice.SpellCheckerInfo.loadLabel(android.content.pm.PackageM\
anager)' on a null object reference
E/AndroidRuntime(13020): at com.android.settings.inputmethod.\
InputMethodAndLanguageSettings.onResume(InputMethodAndLanguageSettin\
gs.java:253)
E/AndroidRuntime(13020): at android.app.Fragment.performResum\
e(Fragment.java:2096)
E/AndroidRuntime(13020): at android.app.FragmentManagerImpl.m\
oveToState(FragmentManager.java:928)
E/AndroidRuntime(13020): at android.app.FragmentManagerImpl.m\
oveToState(FragmentManager.java:1067)
Bug:
19832033
Change-Id: I65e6d269572e064aa6897807b6611ef947d90211
Adam Lesinski [Sat, 27 Jun 2015 01:10:47 +0000 (01:10 +0000)]
Merge "Report real wifi running time in Power Details" into mnc-dev
Adam Lesinski [Sat, 27 Jun 2015 01:04:47 +0000 (18:04 -0700)]
Report real wifi running time in Power Details
Bug:
21934412
Change-Id: Ic8623c8b424021f1af3d143d3b07398dd22091d6
Sanket Padawe [Fri, 26 Jun 2015 22:57:43 +0000 (15:57 -0700)]
Hide EAP SIM, AKA & AKA' choices in wifi Settings if device doesn't support.
Bug:
22014309
Change-Id: I606649cb4d2e13330afa89075ad074e7dc525f87
Shirish Kalele [Fri, 26 Jun 2015 21:34:22 +0000 (21:34 +0000)]
Merge "Use the ephemeral flag in the AccessPoint to mark a connection as a Wifi Assistant connection." into mnc-dev
Jim Miller [Fri, 26 Jun 2015 00:18:12 +0000 (17:18 -0700)]
Remove userActivity() from Settings now that it's managed by FingerprintService
Fixes bug
20732273
Change-Id: Ia6ad603cab0255d3ee8739c36516597594acd1f2
Rubin Xu [Fri, 26 Jun 2015 14:27:23 +0000 (15:27 +0100)]
No longer use ExternalStorageFormatter to format external storage
Bug:
9433509
Change-Id: I5723828de080df568937004157acf830ca190f81
Makoto Onuki [Thu, 25 Jun 2015 23:39:01 +0000 (16:39 -0700)]
Make sure Fragments are public for FragMan to instantiate
Bug
21990428
Change-Id: If2dd5e43a4cc73ccf60278fdab874516c7fc181b
Robin Lee [Thu, 25 Jun 2015 23:01:44 +0000 (16:01 -0700)]
Fix build
Change-Id: Ibb2db14b2fd38b2c8c066c97f8cd6e396c104ce8
Robin Lee [Thu, 25 Jun 2015 22:27:54 +0000 (22:27 +0000)]
Merge "Enable VPN settings for secondary users" into mnc-dev
Robin Lee [Thu, 25 Jun 2015 22:18:55 +0000 (15:18 -0700)]
Enable VPN settings for secondary users
This is now supported.
Change-Id: I4a8eabe3042c04061f293066e84238029f18ecd8
Selim Cinek [Thu, 25 Jun 2015 22:25:39 +0000 (22:25 +0000)]
Merge "Always announcing wrong pattern now for talkback in pattern settings" into mnc-dev
Selim Cinek [Thu, 25 Jun 2015 22:25:30 +0000 (22:25 +0000)]
Merge "Increased the error message font size" into mnc-dev
Selim Cinek [Thu, 25 Jun 2015 21:42:58 +0000 (17:42 -0400)]
Always announcing wrong pattern now for talkback in pattern settings
Bug:
21797216
Change-Id: If86078f2d711a80e4a4aa28ce8817aed8244d30b
Selim Cinek [Thu, 25 Jun 2015 18:54:08 +0000 (14:54 -0400)]
Increased the error message font size
Bug:
21568693
Change-Id: I059b962950335f5780783953505ec1e1f0e5b591
Shirish Kalele [Thu, 25 Jun 2015 20:56:33 +0000 (13:56 -0700)]
Use the ephemeral flag in the AccessPoint to mark a
connection as a Wifi Assistant connection.
Change-Id: Ife26f6799a5b9e4640181d150edb7455adf38f0f
Adam Lesinski [Thu, 25 Jun 2015 19:34:42 +0000 (19:34 +0000)]
Merge "Add computed power to each Battery Details page" into mnc-dev
Jason Monk [Thu, 25 Jun 2015 19:03:26 +0000 (15:03 -0400)]
Fix accessibility for account sync
Needed to get views recycling so that feedback could occur during
switch turning off.
Bug:
20020216
Change-Id: Ib7b1cdca78f5ac5064cdf521122ff7a5ee49f572
Adam Lesinski [Thu, 25 Jun 2015 18:14:21 +0000 (11:14 -0700)]
Add computed power to each Battery Details page
Some battery sippers have nothing interesting besides
their power consumption. Show that.
Bug:
21934412
Change-Id: I7669343086892fb7be34fec00d1fd4c0bfd08b55
Daichi Hirono [Thu, 25 Jun 2015 04:47:13 +0000 (04:47 +0000)]
Merge "Remove while box at the top right of storage setup wizard." into mnc-dev
Daichi Hirono [Thu, 25 Jun 2015 04:45:07 +0000 (04:45 +0000)]
Merge "Update storage wizard's assets." into mnc-dev
Daichi Hirono [Thu, 25 Jun 2015 04:40:39 +0000 (13:40 +0900)]
Remove while box at the top right of storage setup wizard.
The CL specify correct ID for the tile asset.
BUG=
22049781
Change-Id: Ib7800487518e017fab1110fde5d70cc35bceffb7
Daichi Hirono [Thu, 25 Jun 2015 04:16:18 +0000 (13:16 +0900)]
Update storage wizard's assets.
BUG=
22049781
Change-Id: Ie7eae9c76db06c77d0f4e85941125c005c2f28eb
Srinu Jella [Mon, 12 May 2014 14:23:12 +0000 (19:53 +0530)]
Bluetooth: Fix to avoid taking space as name upon orientation
Use case: Renaming the DUT name on orientation chnage
STR:
1) Go for the option of rename phone.
2) give only space characters.
3) The rename option shows disabled.
4) Change the orientation of the phone.
5) Check whether it accepts space as a name.
Failure: Renaming a phone with space characters gets
accepted during change in orientation.Accepted
space as BT name upon changing orientation
Root cause: There is no check for validating the input
string while renaming the device name on orientation change.
Fix: This fix is to avoid taking space character as a name in the
BluetoothNameDialogFragment upon orientation change from
PORTRAIT mode to LANDSCAPE mode and vice versa.
Change-Id: Ia66f27bb9b06739e42d73b15745c12a42512a1fc
Sanket Padawe [Wed, 24 Jun 2015 21:29:43 +0000 (21:29 +0000)]
Merge "Add data limit paused string to Data Usage Settings screen." into mnc-dev
Sanket Padawe [Wed, 24 Jun 2015 21:26:21 +0000 (14:26 -0700)]
Add data limit paused string to Data Usage Settings screen.
Bug:
17073752
Change-Id: I14ade2c13db9203d33c11b2b06307e06d87b3800
Jason Monk [Wed, 24 Jun 2015 19:04:28 +0000 (19:04 +0000)]
Merge "Fix marquee on app snippet in InstalledAppDetails" into mnc-dev
Jason Monk [Wed, 24 Jun 2015 18:53:57 +0000 (14:53 -0400)]
Fix marquee on app snippet in InstalledAppDetails
First need to fix layout of the app_item as the widget was running
over the end of the view, do this by switching to a RelativeLayout.
Then select the view so it can actually marquee.
Bug:
22043942
Change-Id: Ieb94649ccf3dc8dcf56014c02fcdc06da71a9a62
Akshay Kannan [Wed, 24 Jun 2015 15:55:31 +0000 (15:55 +0000)]
Merge "Language Update for Wi-Fi/Bluetooth Scanning" into mnc-dev
Geoff Mendal [Wed, 24 Jun 2015 15:01:08 +0000 (08:01 -0700)]
Import translations. DO NOT MERGE
Change-Id: I837fc4cac73ece9ddde78dcc941afc75ad3ae7ca
Auto-generated-cl: translation import
Daichi Hirono [Wed, 24 Jun 2015 05:22:00 +0000 (05:22 +0000)]
Merge "Change the color of format button in "Device storage > Format" screen." into mnc-dev
Daichi Hirono [Wed, 24 Jun 2015 03:37:13 +0000 (12:37 +0900)]
Change the color of format button in "Device storage > Format" screen.
BUG=
21898857
Change-Id: Ic1619482f5294b6f2d1e14154bab25103ec3b630
Lifu Tang [Wed, 24 Jun 2015 00:54:56 +0000 (17:54 -0700)]
Language Update for Wi-Fi/Bluetooth Scanning
Bug:
22046234
Change-Id: Iea8fa2368d1e568a8e1fdd3edefa8f4fc6053e48
Selim Cinek [Tue, 23 Jun 2015 21:50:26 +0000 (21:50 +0000)]
Merge "Added contentDescription for fingerprint on the confirmCredential screen" into mnc-dev
Selim Cinek [Tue, 23 Jun 2015 21:48:48 +0000 (17:48 -0400)]
Added contentDescription for fingerprint on the confirmCredential screen
Bug:
21850269
Change-Id: Ia3720451a74e69e119b60121d7906274c522f70a
Jason Monk [Tue, 23 Jun 2015 19:49:23 +0000 (19:49 +0000)]
Merge "Add action for search results including the count" into mnc-dev
Jason Monk [Tue, 23 Jun 2015 18:36:08 +0000 (14:36 -0400)]
Add action for search results including the count
Bug:
20293458
Change-Id: I9d3f04fb74c0e978e69e17898b703e270298fcbc
Jason Monk [Tue, 23 Jun 2015 17:30:13 +0000 (17:30 +0000)]
Merge "Screen pinning set default lock on exit value" into mnc-dev
Jason Monk [Tue, 23 Jun 2015 16:07:27 +0000 (12:07 -0400)]
Screen pinning set default lock on exit value
The UI default varies based on security state, so make sure we set
the current value when we turn on the feature so that the setting
has the same value as the UI.
Bug:
21999172
Change-Id: I6c920aa93aab391852d6f3a4dd8ee52da5618729
Selim Cinek [Tue, 23 Jun 2015 17:14:42 +0000 (17:14 +0000)]
Merge "Improved talkback fingerprint enrollment flow" into mnc-dev
Selim Cinek [Tue, 23 Jun 2015 17:12:24 +0000 (13:12 -0400)]
Improved talkback fingerprint enrollment flow
Bug:
21565901
Change-Id: If25468574afd25b1a7d19278710045083ba1d4f7
Zoltan Szatmary-Ban [Tue, 23 Jun 2015 08:44:35 +0000 (08:44 +0000)]
Merge "Reflect effect of all Wifi editability factors in Settings" into mnc-dev
Sanket Padawe [Tue, 23 Jun 2015 02:47:27 +0000 (02:47 +0000)]
Merge "Align Enlish words to RTL in RTL context in networkreset Settings." into mnc-dev
Sanket Padawe [Tue, 23 Jun 2015 02:46:28 +0000 (19:46 -0700)]
Align Enlish words to RTL in RTL context in networkreset Settings.
Bug:
21553326
Change-Id: I216723172cc6998e1432d0a066f21a72afe1bc27
Sanket Padawe [Tue, 23 Jun 2015 00:34:32 +0000 (00:34 +0000)]
Merge "Fix display of "Contact sharing" option in Car kit for BT Settings." into mnc-dev
xinhe [Mon, 22 Jun 2015 23:56:10 +0000 (23:56 +0000)]
Merge "if do not turn on wifi STA or SAP, there is no 5GHz choice for SAP config" into mnc-dev
xinhe [Mon, 22 Jun 2015 22:26:33 +0000 (15:26 -0700)]
if do not turn on wifi STA or SAP, there is no 5GHz choice
for SAP config
b/
22008176
Change-Id: Id1020f975bce1ff7a3c738c4180f3d7686718d82
Alan Viverette [Mon, 22 Jun 2015 20:55:10 +0000 (20:55 +0000)]
Merge "Ensure "default" and "none" caption colors are consistent w/ framework" into mnc-dev
Makoto Onuki [Mon, 22 Jun 2015 20:47:58 +0000 (20:47 +0000)]
Merge "Set service name to printer service setting title" into mnc-dev
Makoto Onuki [Mon, 22 Jun 2015 20:43:49 +0000 (13:43 -0700)]
Set service name to printer service setting title
Bug
21899319
Change-Id: I940957dd4036eb3386c7f59fbbd3608e7169f415
Alan Viverette [Mon, 22 Jun 2015 20:05:45 +0000 (13:05 -0700)]
Ensure "default" and "none" caption colors are consistent w/ framework
Also enables scroll indicators in color grid dialog.
Bug:
21602597
Change-Id: I7fabd36787fc8689966eb8dcece3d4d047ee8066
Sanket Padawe [Mon, 22 Jun 2015 19:33:53 +0000 (12:33 -0700)]
Fix display of "Contact sharing" option in Car kit for BT Settings.
Bug:
21879473
Change-Id: I0d2f839c525d2a5179f9ef59ab12a94f1aab9b6f
Alan Viverette [Mon, 22 Jun 2015 17:20:06 +0000 (17:20 +0000)]
Merge "Disable foreground opacity when using default foreground color" into mnc-dev
Barnaby James [Mon, 22 Jun 2015 17:18:20 +0000 (17:18 +0000)]
Merge "Hide title of the zen mode voice activity." into mnc-dev
Alan Viverette [Mon, 22 Jun 2015 17:07:19 +0000 (10:07 -0700)]
Disable foreground opacity when using default foreground color
Bug:
21602597
Change-Id: Idad5288477f9ece46a2ccb768863d4fd528fec12
Barnaby James [Mon, 22 Jun 2015 00:05:22 +0000 (17:05 -0700)]
Hide title of the zen mode voice activity.
Zen mode voice activity doesn't show any UI but the activity title is still shown.
BUG:
21985804
Change-Id: I1e7bd07deb59bcb36005fa7e4bca766af03d742b
Geoff Mendal [Mon, 22 Jun 2015 15:31:25 +0000 (15:31 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 22 Jun 2015 15:00:38 +0000 (08:00 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2c01af1003b67115a748fbe8ba3a7ec2d82144a8
Auto-generated-cl: translation import
Jason Monk [Mon, 22 Jun 2015 14:55:11 +0000 (14:55 +0000)]
Merge "Update disable dialog" into mnc-dev
Pavel Zhamaitsiak [Sat, 20 Jun 2015 22:48:00 +0000 (15:48 -0700)]
Log WiFi Calling actions from settings
Change-Id: Ie18bf18de22469f9b2615ba19f088316d20464d7
Adrian Roos [Sat, 20 Jun 2015 03:23:03 +0000 (03:23 +0000)]
Merge "Work around improper ListView recycling in TrustAgentSettings" into mnc-dev
Selim Cinek [Sat, 20 Jun 2015 03:21:20 +0000 (03:21 +0000)]
Merge "Fixed a crash when rotating the Fingerprint renaming dialog" into mnc-dev
Adrian Roos [Sat, 20 Jun 2015 02:59:53 +0000 (19:59 -0700)]
Work around improper ListView recycling in TrustAgentSettings
Previously, the views for our SwitchPreference would never
be recycled because they weren't present in onCreate, which
broke accessibility events.
Bug:
21837103
Change-Id: I01f40b4e6df6d807b77f985116a57334e4ca4868
Selim Cinek [Fri, 19 Jun 2015 20:12:22 +0000 (13:12 -0700)]
Fixed a crash when rotating the Fingerprint renaming dialog
Bug:
21815069
Change-Id: Ice90a5786685c300a522a908c1107af9e5311eb3
Robin Lee [Fri, 19 Jun 2015 20:03:05 +0000 (20:03 +0000)]
Merge "Only unregister the network callback at onPause" into mnc-dev
Jason Monk [Fri, 19 Jun 2015 15:22:20 +0000 (15:22 +0000)]
Merge "Add content description to owner info status text" into mnc-dev
Jason Monk [Fri, 19 Jun 2015 15:17:03 +0000 (11:17 -0400)]
Add content description to owner info status text
Bug:
21799551
Change-Id: I8fe82d304309949a5a46492f7d20c58e006baea3
John Spurlock [Fri, 19 Jun 2015 14:55:10 +0000 (14:55 +0000)]
Merge "Settings: Add widget entry point to magical entry points listing." into mnc-dev
John Spurlock [Fri, 19 Jun 2015 14:47:36 +0000 (10:47 -0400)]
Settings: Add widget entry point to magical entry points listing.
Bug:
21930077
Change-Id: I67b05d6064a2ab0fe93d3d8841c9f23c9246a101
Zoltan Szatmary-Ban [Wed, 27 May 2015 11:47:32 +0000 (12:47 +0100)]
Reflect effect of all Wifi editability factors in Settings
Bug:
21427528
Bug:
21150087
Bug:
21612565
Change-Id: I62962a9b3fc1bb9c90be79e133873006da102054
Brian Carlstrom [Fri, 19 Jun 2015 04:23:07 +0000 (04:23 +0000)]
Merge "Clarify process_dex2oat_label description" into mnc-dev
Sanket Padawe [Fri, 19 Jun 2015 01:39:25 +0000 (18:39 -0700)]
Increase char limit of the data usage Settings string to 33.
Bug:
21801556
Change-Id: I82d99f155a3c4b6f1ac0f3056c254e54b8e5f311
Jason Monk [Thu, 18 Jun 2015 20:07:40 +0000 (20:07 +0000)]
Merge "Fix ListView being too eager too scroll" into mnc-dev
Jason Monk [Thu, 18 Jun 2015 19:56:21 +0000 (15:56 -0400)]
Fix ListView being too eager too scroll
ListView is always too eager to scroll, so just stop using it.
Bug:
21853796
Change-Id: Id37d89b0312597a9fb65a33f151af34b3f395d91
Jason Monk [Thu, 18 Jun 2015 19:19:08 +0000 (19:19 +0000)]
Merge "Fix opening secured networks from QS" into mnc-dev
Brian Carlstrom [Thu, 18 Jun 2015 17:11:18 +0000 (10:11 -0700)]
Clarify process_dex2oat_label description
Bug:
21898104
Change-Id: I264f784db761ac51a1dde51f189fb017b7d378b1
Alex Chau [Thu, 18 Jun 2015 17:10:34 +0000 (17:10 +0000)]
Merge "Enforce Keyguard policy in Notification Settings" into mnc-dev
Jason Monk [Thu, 18 Jun 2015 16:36:34 +0000 (12:36 -0400)]
Fix opening secured networks from QS
Bug:
21908788
Change-Id: I09b1d22ae8b1815e720bd8c05fa1e38d66d1dcfd
Jason Monk [Thu, 18 Jun 2015 15:54:55 +0000 (15:54 +0000)]
Merge "Revert "Accounts -> Account sync"" into mnc-dev
Jason Monk [Thu, 18 Jun 2015 15:44:25 +0000 (15:44 +0000)]
Revert "Accounts -> Account sync"
This reverts commit
43db745ea0bdb3f8cb2737e74ffcad1d381b4a2b.
Bug:
21726868
Change-Id: I72fd09c493f71a607b9df8eaa8e42047a60303e8
Jason Monk [Thu, 18 Jun 2015 15:31:22 +0000 (15:31 +0000)]
Merge "Remove battery history graph from details screen" into mnc-dev
Jason Monk [Thu, 18 Jun 2015 15:06:18 +0000 (11:06 -0400)]
Remove battery history graph from details screen
Bug:
21854416
Change-Id: I3172106c8b1adbe19179adddcec2848d14d04588
Alex Chau [Fri, 12 Jun 2015 10:45:08 +0000 (11:45 +0100)]
Enforce Keyguard policy in Notification Settings
- Applied getKeyguardDisabledFeatures for notification settings and
notification setup page (after settings a screenlock)
- If a notification settings is disabled, the next least secure setting
will be chosen
- Although KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS can be set be
profile, it will not be reflected in both settings page. This is
because it does not affect the owner (user 0), as mentioned in
DevicePolicyManagerService.PROFILE_KEYGUARD_FEATURES_AFFECT_OWNER
- Skip RedactionInterstitial if there is <= 1 options for the user
- Tested with both Setup wizard and settings case, both pattern and
password, as well as toggling the policy on and off
Bug:
19307118
Bug:
17099898
Change-Id: If640d5576caa0163e9942569f7b4643a30bbfe0a