Previously many usages of UserManager.getProfiles and getEnabledProfiles
were only using ids of returned users. Given that the list of users needs
to be parceled and unparceled for Binder calls, returning array of ids
minimizes memory usage and serialization time.
A new method getProfileIds was introduced which returns an array of userIds.
Existing method calls were updated where appropriate.
Bug: 27705805
Change-Id: Ib042f38d53d95d3b07cda7f824e5cb8c06cd10f5
Add hooks for adding an option for selecting a managed password as
lock credential. By default this option will not be visible.
BUG=27923581
Change-Id: Id17bd8074bf23cbcffb96d8576cc760df6f2298a
+ Preference screen for Sim card selection should be enabled when 1)sim
count > 1. 2) no default is set for Sms & Data & sim count >= 1
Bug: 27637607
Change-Id: Idb7207316a7bf9aab119ec6568038990623ba514
Settings screen should apply both primary and managed maximum
timeout policy, even separate profile challenge is enabled.
Bug: 27493348
Change-Id: I09e815d6c6ae6ecd554316cfac82daf0ad0b0cdf
am: 751de37
* commit '751de372750336c2dbc6ed656de84b881ede0858':
Delete all work fingerprints when unified lock changes to None/Swipe
Change-Id: I08b79db759838f9e34d5d8072cd035753db87408
Changes:
(1) When unified work challenge is enabled and screen lock is secure
- Store work profile secure key in primary profile
- When primary user keystore unlocked, unlock work profile keystore
- When primary user change lock to none, remove work secure key
(2) When unified work challenge is enabled but screen lock is not secure
- When screen lock changes to secure, store work secure key in primary
(3) When user changes work challenge from unified to separated
- Remove work secure key in primary
(4) When user changes work challenge from separate to unified
- Do (1) and (2)
Bug: 27460698
Change-Id: Id7464c178e6ea7b561643477e7cd84f963048c87
Checking the wrong user can lead to an infinite loop when trying to
install credentials from a managed profile.
Bug: 28043334
Change-Id: I3e1044069f0d5139a47de461996a6d98e0fe5e2f
range accepted by the Google Text-to-Speech engine.
Bug: 27871182
Change-Id: Ic6afde8fe6738f9313242beda12bbe4ba14e98bb
modified: src/com/android/settings/tts/TextToSpeechSettings.java
modified: src/com/android/settings/tts/TextToSpeechSettings.java
am: 74777cc
* commit '74777ccd90e8b94614ae29beb7a7e1dbadae77f0':
Ask the user to unlock the work profile before adding a work account.
Change-Id: I2c2eb6a1117e95079ac3923368d7715e90457880
When RTL language is set, the edit-photo popup window
on user profile info is not shown fully.
The popup window should be aligned with the anchor.
Cherrypick of https://android-review.googlesource.com/#/c/207762/
Bug: 27955356
Change-Id: Ia928c99fbfff3596b048cc3949aef6d03594fed7
am: a3d8c31
* commit 'a3d8c316d4902edb97fe6c5c257a47406b1c30bb':
Revert "Fix issues with wrong configuration being used to inflate layouts. Bug: 27700406" Framework bug was fixed by ag/900274, so this is no longer needed.
Change-Id: I9ef886bd7bdad975a55411ed5830837f3d965f0f
am: b5e2f54
* commit 'b5e2f54cc3cc07391d28b5e044d7d03389226272':
Use normal button style for Clear data / cache buttons
Change-Id: Ifaee51792629609924b623461e1b0a91938dc4d5