Sudheer Shanka
29056b98f8
Make guest field unselectable only if it is not disabled by admin.
...
Change-Id: I01c45b686477615134e98428b673fe9bb2ab7b0b
Fixes: 29178926
2016-06-14 18:07:15 +00:00
Fyodor Kupolov
77865ec827
Make prefs without an action unselectable
...
Setting selectable=false is required for proper A11y. Otherwise Talkback
will inform the user that the item can be activated.
Bug: 29025567
Change-Id: I2b61c622c2d69fa83640f7822349613f51f849d5
2016-06-02 10:39:33 -07:00
Sudheer Shanka
0451dc2e60
Update the visibility state of views in UserPreference properly.
...
Bug: 28629095
Change-Id: Id98affb36f19c4e78c5c9c6092638760efca76c0
2016-05-06 13:23:45 -07:00
Julia Reynolds
8bda21a9d4
Fix NPE in user settings.
...
Bug: 28337026
Change-Id: I437874e8dd605b9a19318aafecf292303ee3ad58
2016-04-29 08:42:01 -04:00
Sudheer Shanka
2cae2f1613
Merge "Set user icon to default when updating profile without photo" into nyc-dev
2016-04-15 02:18:11 +00:00
Sudheer Shanka
71caf698b4
Set user icon to default when updating profile without photo
...
If the user photo was deleted in the Myself contact, the change
was not reflected neither in Settings/Users nor in expanded
status bar. This was because the ProfileUpdateReceiver did not
handle the case where the updated image was null (deleted).
Fixed by assigning default user icon in UserManager if no photo
found in the profile update.
AOSP change: https://android-review.googlesource.com/#/c/153137
Bug: 28031914
Change-Id: I2f452f78dcf777414f50b133b1a9cee334bbd9a8
2016-04-14 16:56:15 -07:00
Oleksandr Peletskyi
dccb31525a
Improved UX for DISALLOW_SET_USER_ICON restriction.
...
Modified popup menu, so that each item has a hint, why it is
blocked (in case the DISALLOW_SET_USER_ICON is set).
BUG:27914812
Change-Id: I1f891ffe725f383285d577cf47d89c294f2c3986
2016-04-12 15:34:46 +02:00
Suprabh Shukla
90b71c644d
Merge "Fix user photo popup layout for RTL" into nyc-dev
2016-04-07 00:56:04 +00:00
Ryoji Miyazaki
9238e50a80
Fix user photo popup layout for RTL
...
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
2016-04-06 17:24:16 -07:00
Fyodor Kupolov
7a5e897db0
Do not store bitmap into Bundle in onSaveInstanceState
...
It may cause TransactionTooLargeException because of the parcel size limit
Bug: 27990767
Change-Id: Ie1a702810a5c26e25fc485ebae09dc65e2b48e41
2016-04-05 10:46:20 -07:00
Udam Saini
e20deea711
Merge "Prevents users from being added if device is not provisioned" into nyc-dev
2016-03-31 20:13:40 +00:00
mariagpuyol
6ca8940880
Use same task for Settings>Users and EmergencyInfo
...
Bug:27859534
Change-Id: I0ea4e56e4f6daacfd478336444aceeb84d8bfe5d
2016-03-30 18:21:48 -07:00
Fyodor Kupolov
5b469f6a73
Merge "Disable Add user until Setup prompt is shown" into nyc-dev
2016-03-29 16:45:59 +00:00
Fyodor Kupolov
fe6cb6dac7
Disable Add user until Setup prompt is shown
...
Bug: 27848426
Change-Id: Ibbc0ac0aad8298252dfc460a10a87955fc3e713d
2016-03-28 16:44:51 -07:00
mariagpuyol
bd5c83f8b9
Add flags to emergency info intent
...
Bug:27859534
Change-Id: I3ff0aea7b0115a22c0a4a853d8fc83a7ae7adc20
2016-03-28 14:49:38 -07:00
Udam Saini
679f7ad07e
Prevents users from being added if device is not provisioned
...
Also added a utility function for checking provisioning, instead of
repeating code for this check in several places.
bug:26156445
Change-Id: I9f4a280dd0cdf889f892e386dbf6a3fdb2a052ef
2016-03-25 13:33:57 -07:00
Sudheer Shanka
b5c92147ce
Add more policy transparency for disallow_remove_user restriction.
...
Bug: 27784015
Change-Id: I2386efbf521ee8e73326006e78b0146341745e2b
2016-03-22 17:24:07 -07:00
Maria Garcia Puyol
c35b08b4b3
Merge "Revert "Dialog for emergency info"" into nyc-dev
2016-03-18 15:06:02 +00:00
Maria Garcia Puyol
da497f26d7
Revert "Dialog for emergency info"
...
This reverts commit ae49edbdfd
.
Change-Id: I01a4b5966b380d967588bd0411e80d6bcd431fd1
2016-03-17 22:52:44 +00:00
Sudheer Shanka
f6c5128763
Merge "Update user capabilities in onResume." into nyc-dev
2016-03-15 23:32:26 +00:00
Sudheer Shanka
aa524ae581
Update user capabilities in onResume.
...
Bug: 27641648
Change-Id: I85a6362a20885defa450760a3fbb16e124630434
2016-03-14 17:23:13 -07:00
mariagpuyol
ae49edbdfd
Dialog for emergency info
...
Bug:27621394
Change-Id: I894f5526d05c84eec81e9fe87a105f466195073d
2016-03-11 21:06:23 -08:00
Fyodor Kupolov
8c9120b9cc
First time populate user list in onCreate
...
Call updateUserList from onCreate instead of onResume during initialization.
This will suppress unnecessary animations.
Bug: 27527929
Change-Id: Ia420f41894b2033fb7f02de01168ccd2c6331588
2016-03-07 13:08:49 -08:00
Fyodor Kupolov
39b900bd0c
Merge "Use the right userId when setting restrictions" into nyc-dev
2016-03-04 02:20:49 +00:00
Fyodor Kupolov
779e47a5eb
Use the right userId when setting restrictions
...
Bug: 27457164
Change-Id: I9528b637cb0bc3f737458e078725f73666bd0d7d
2016-03-03 18:14:50 -08:00
Sudheer Shanka
a59635100f
Update custom widget layouts to have a restricted icon.
...
Bug: 25603665
Bug: 27263775
Change-Id: Ic80377229de977b6f7c5f653974e8f926fb8ac1d
2016-03-01 17:28:57 -08:00
Fyodor Kupolov
52ae05314d
Do not allow removing current user if it's in a call
...
Bug: 20652663
Change-Id: I2eb91bc73259e25b3fa68337df2a0576a438244a
2016-02-24 15:56:13 -08:00
Sudheer Shanka
5d8e963c83
Merge "Part3 - Don't add padlock if the restriction is not set by admin." into nyc-dev
2016-02-19 19:31:45 +00:00
Sudheer Shanka
29737ad910
Part2 - Don't add padlock if the restriction is not set by admin.
...
Bug: 26687435
Change-Id: I85ef42e1ff1216791d1393a975e8559191b3781f
2016-02-19 19:24:34 +00:00
mariagpuyol
fe19bc3d4b
Show emergency info preference for all users
...
Change-Id: I8bfcedb8a15c9ca0194f5f526dd288857c19a1de
2016-02-18 10:27:41 -08:00
Fyodor Kupolov
889bc3de82
Remove switching from Users menu
...
Bug: 26562786
Change-Id: Id0f26621b8356c3161dee861b0215b01d48007c9
2016-02-16 13:38:34 -08:00
Sudheer Shanka
9e9e63b7b3
Part3 - Don't add padlock if the restriction is not set by admin.
...
Bug: 26687435
Change-Id: Ibfea6d7d5bd32e7a05dcc2cc32b121c9e50b6a34
2016-02-16 11:04:11 +00:00
mariagpuyol
60435fc81d
Add Emergency Info preference to user settings
...
Bug: 26831671
Change-Id: I345fc9b9a54991de35c657e05cf3f08f21445f4c
2016-01-28 15:04:32 -08:00
Daniel Sandler
ba9b20dae0
Merge "Revert "Add Emergency Info preference to user settings""
2016-01-28 14:24:14 +00:00
Daniel Sandler
0def4c45b2
Revert "Add Emergency Info preference to user settings"
...
This reverts commit 0401388028
.
Bug: 26831671
Change-Id: Ibe5ae3c7da400efb389f905b1111f029b6a8bfaf
2016-01-28 03:30:08 +00:00
Chris Wren
9d1bfd1e8d
port settings over to new metrics enum
...
Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
2016-01-27 10:58:58 -05:00
Maria Garcia Puyol
4ec12f7703
Merge "Add Emergency Info preference to user settings"
2016-01-26 19:00:51 +00:00
mariagpuyol
0401388028
Add Emergency Info preference to user settings
...
Bug: 23591361
Change-Id: I514cfcf79aef091483c5826414b0317b581cb055
2016-01-26 10:58:10 -08:00
Sudheer Shanka
ba1a68b8ab
Add preference summary when disabled by admin.
...
Change-Id: Iaa84e66b0abe0fccde50f116cbf6e68c6abbabc0
2016-01-25 22:39:34 +00:00
Oleksandr Peletskyi
239e8a895f
Merge "Added check of the restriction if a user is allowed to change their icon. BUG: 25305966"
2016-01-22 20:31:41 +00:00
Oleksandr Peletskyi
ef1584312b
Added check of the restriction if a user is allowed to change their icon.
...
BUG: 25305966
Change-Id: I35fda2e4f157463d69a109409c3f8767d54eab4a
2016-01-22 11:57:44 +01:00
Sudheer Shanka
682a916836
Add padlocks to preferences that can be disabled by policy.
...
Change-Id: I43b6b5954ef6ec65b86d99321cabab9f49df842d
2016-01-20 17:48:27 +00:00
Tony Mantler
bd99c43887
Merge "Move a bunch of app restrictions logic to SettingsLib"
2016-01-12 17:17:04 +00:00
Makoto Onuki
d669fee6fb
Remove fixed TODO (Settings)
...
Change-Id: Ia4477acffb6209e5d3103367e69dbc789399cd9e
2016-01-11 15:36:52 -08:00
Tony Mantler
06add5c5c3
Move a bunch of app restrictions logic to SettingsLib
...
Change-Id: I54106d1175ba8bff8586c8c4dcef87e51fd1483b
2016-01-11 13:39:36 -08:00
Kenny Guy
e526cf20bb
Merge "Add support messages to device admin pages."
2016-01-06 19:55:35 +00:00
Kenny Guy
7a3555961d
Add support messages to device admin pages.
...
Add support message to device admin settings pages.
Show policy information for device owners
and profile owners.
Allow a user to remove profile from profile owners
admin page.
Bug: 26416662
Change-Id: I95424da50067b7c0ba1618a083a31448d406188f
2016-01-06 17:21:45 +00:00
Fyodor Kupolov
8ba52d62ed
Added lock screen settings section
...
Added lock screen settings section and moved "Add users when device is locked"
from the overflow menu to the new section.
Bug: 25289622
Change-Id: I97c02acbacae3b6cde44180a23ea337853b0a551
2016-01-05 14:30:03 -08:00
Fyodor Kupolov
37d018e54b
Use the right userId when setting guest restrictions
...
Bug: 25977335
Change-Id: I5e58fc2d07d111d084dd33bc1fd5514b9bb6ff10
2015-12-02 18:33:43 -08:00
Jason Monk
9d80eeabe7
Add some more summaries for Settings Home
...
Change-Id: Iaca8db6bdce87e667832b5b670e4eb027580b668
2015-11-30 10:57:33 -05:00