d304af69891483aad808356af1ac5f00e90c8edf |
|
05-Sep-2013 |
Amith Yamasani <yamasani@google.com> |
Remove unused APIs and rename others based on API review Restrictions challenge is only to be used by device admins. Bug: 10461761 Change-Id: I3db1249e2ce99f386602de59ed930302bb0a97fb
/frameworks/base/core/java/android/os/UserManager.java
|
b12ba933f3db9280edcb6a3591741d29c109a4e2 |
|
04-Sep-2013 |
David Christie <dnchrist@google.com> |
Make location QuickSettings multi-user compatible (b/10563313) Change-Id: I8ae5238e66fa2d6890ffe5697d3e6d5f50413c3e
/frameworks/base/core/java/android/os/UserManager.java
|
0343ec3abb205b21d554ab432710ff854f3d9d75 |
|
22-Jul-2013 |
Amith Yamasani <yamasani@google.com> |
User restriction API to disable single-user restrictions feature. Change-Id: I80e08b38b5e32f3cb1af51398907510508ec199f
/frameworks/base/core/java/android/os/UserManager.java
|
1a7472e7220a2b027464fb4a2281550f784a2ca3 |
|
02-Jul-2013 |
Amith Yamasani <yamasani@google.com> |
Have UserManagerService clear the restrictions and unblock apps Since this is an operation that could take a few seconds to run and needs to be completed even if Settings dies, best to do it in the user manager. Refactored PIN challenge/setup UI with a field to verify existing pin when changing to a new one. Change-Id: I0b7df5b2ccb7f343aa9282a9245d3bc2b577a794
/frameworks/base/core/java/android/os/UserManager.java
|
655d0e2029e6ae77a47e922dce4c4989818b8dd1 |
|
12-Jun-2013 |
Amith Yamasani <yamasani@google.com> |
Single-user restrictions Introduces a new "blocked" state for each package. This is used to temporarily disable an app via Settings->Restrictions. PIN creation and challenge activities for use by Settings and other apps. PIN is stored by the User Manager and it manages the interval for retry attempts across reboots. Change-Id: I4915329d1f72399bbcaf93a9ca9c0d2e69d098dd
/frameworks/base/core/java/android/os/UserManager.java
|
2555dafce87e60fae28d71913730abf73e40fcd7 |
|
25-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Hide isLinkedUser() It's not the best API to use to determine anything. Defer to other APIs such as UserManager.getUserRestrictions() Bug: 8720520 Change-Id: Ie49589056ab52b4fdbcc736f8cdefadb8ba5d9d8
/frameworks/base/core/java/android/os/UserManager.java
|
7e99bc02c8e2f44dd92d70bfa6e654297e5286d8 |
|
17-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Modify restrictions bundle per api council recommendations Use a Bundle for persisting and passing to the application, but use a list to return data back from an application that's exposing restrictions. Changed the xml reading/writing code to store the value type in the Bundle so that it can be reproduced when reading. Earlier we were assuming only String and String[]. Bug: 8633967 Change-Id: I523d5553728edcf28a1e9d432f490b4956f34215
/frameworks/base/core/java/android/os/UserManager.java
|
e1375908a5f05e5c926e95049970c4505e4dfad9 |
|
14-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Rename isUserLimited to isLinkedUser A linked user is derived from another user and shares their accounts. Change-Id: Ia2e63d573ccb635495ec54f31ac7b174725ad7a8
/frameworks/base/core/java/android/os/UserManager.java
|
46bc4ebb87232b39d7b02ac0135c8ccf2c33f233 |
|
12-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Rename isUserRestricted to isUserLimited Avoid confusion with user restrictions which can be applied to non-limited users as well. Updated the java docs. Change-Id: I4097c50b528b01a49cebcb0832d09f2b06998faa
/frameworks/base/core/java/android/os/UserManager.java
|
b223f73a69f76f5e32a0bca267f945f464776f9d |
|
11-Apr-2013 |
Emily Bernier <ember@google.com> |
Add user restrictions (credentials, user removal) Created constants in current.txt and UserManager.java, modified restrictions access in UserManagerService.java. Change-Id: If8d778d84af81dcbf5784f6e0afd9ef966cc8ecf
/frameworks/base/core/java/android/os/UserManager.java
|
27db46850b708070452c0ce49daf5f79503fbde6 |
|
31-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Block access to accounts for limited users. Make sure that apps that have access to restricted accounts can see them. If they don't have access, they shouldn't be able to add a new account either. Show an error message in the account picker if the user/app is not authorized. Change-Id: I117c0b14d7d06c5ac4e66506df156b174567f5f3
/frameworks/base/core/java/android/os/UserManager.java
|
a12fccf57d5ec289793699d9b22ff45daccd3933 |
|
14-Mar-2013 |
Maggie Benthall <mbenthall@google.com> |
Add user restrictions for bluetooth, sideloading, usb file transfer Created constants for these in UserManager and current.txt. Also created an accessor for individual user restrictions that takes the restriction key (removing individual methods for particular restrictions). Change-Id: Ibb5517cbcdffadd3925f52cbe67d7d525813faa9
/frameworks/base/core/java/android/os/UserManager.java
|
ca050adc13b48c58c978255dd5ce6d9654549cb0 |
|
27-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Fix docs build. Change-Id: I959db164f0ed7badfcdf921ffa1bfff60b4fb952
/frameworks/base/core/java/android/os/UserManager.java
|
71e6c697e54a43d357cc25d87a446d140f17396a |
|
25-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Device Owner, a special kind of device admin A Device Owner cannot be uninstalled and is available to all users. It must be registered before the device_provisioned flag is set. Device admins can be disabled until used, but visible to device policy manager, so that users wont be bothered with update requests. Opened up a few related APIs for use by a system-installed Device Owner. Change-Id: I847b5fe68c0f724863f778a67602b5bddc79d8e5
/frameworks/base/core/java/android/os/UserManager.java
|
df2e92a535e19c00edd37318d974dab992ccc2c1 |
|
02-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Application restrictions API Adds the ability for apps to export some restrictions. The restrictions are presented in Settings based on the restriction type. The user's selections are stored by UserManagerService and provided to the target user's application as a list of RestrictionEntry objects which contain the key, value(s). Also introduce a manifest entry for system apps to request that the app be automatically installed in all users, so that they cannot be deselected by the owner user. Shared account filtering for non-whitelisted apps. Change-Id: I15b741e3c0f3448883cb364c130783f1f6ea7ce6
/frameworks/base/core/java/android/os/UserManager.java
|
6794458f8626c3be27eac3db3a5c89d94f132675 |
|
22-Feb-2013 |
Maggie Benthall <mbenthall@google.com> |
Add location sharing toggle user restriction. And add support for respecting it. Change-Id: Ia5cf9134c5f5741c3f55afadbe54f862da7bfe5b
/frameworks/base/core/java/android/os/UserManager.java
|
e4cf73437a18c1444055f88a1fcc0d146ec23ac5 |
|
17-Dec-2012 |
Amith Yamasani <yamasani@google.com> |
Starting point for User Restrictions API Restrictions saved as key/value pairs, mostly booleans right now but might be expanded to other types later. Save and restore restrictions in the user manager service. Enforce some of the restrictions at the framework level. Some are enforced (also) at the app level, such as in Settings. Change-Id: Id11ffe129cb6a177e094edf79635727388c26f40
/frameworks/base/core/java/android/os/UserManager.java
|
b26306ad5277097b3abb345112b24d9a142fb299 |
|
25-Oct-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7408647: Add getUserCount() API Change-Id: Ib4e8e2300757e0941fae8fbc46c4323f5e2d7d6b
/frameworks/base/core/java/android/os/UserManager.java
|
ff54920ed222a2bd6abe618743a5a3e9fe10bd4b |
|
12-Oct-2012 |
Amith Yamasani <yamasani@google.com> |
Temporarily disable multiuser for specific builds Enable switching through power menu for other builds Change-Id: I0bd8450583e078b0a83fb639337427ab84db5ab8
/frameworks/base/core/java/android/os/UserManager.java
|
a8a9bd65bf5865d83ef44f54552ca39522bfbcf0 |
|
10-Oct-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7311376: Add API to allow apps to know if they are... ...running as the foreground user Add UserManager.isUserRunning() which is the public version of the existing method on ActivityManager. Also add UserManager.isUserRunningOrStopping() since that seems like it will be useful. And fix the internal function that returns the array of currently running users to not include stopped users. Change-Id: I84672fa8748fc027fd402729586b5603f640e498
/frameworks/base/core/java/android/os/UserManager.java
|
33f9cb8cf01e0a6288eb5b9ce724c56aa4e1e382 |
|
05-Oct-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7290206: Need API to get/look up user serial number Change-Id: I1713215e7c205b1b66c36488f89e3fbf4572cb97
/frameworks/base/core/java/android/os/UserManager.java
|
466bd636812684aeb8161f144597cc3b3ed39078 |
|
21-Sep-2012 |
Dan Morrill <morrildl@google.com> |
Merge "New method returning user metadata." into jb-mr1-dev
|
920ace0bbc2d4133dbec991d2636c99a57d6245e |
|
21-Sep-2012 |
Amith Yamasani <yamasani@google.com> |
Query users excluding any being removed Keep track of user creation and last logged-in time. adb shell dumpsys users User switcher shouldn't show users about to be removed. No need to check for singleton for activities. Bug: 7194894 Change-Id: Ic9a59ea5bd544920479e191d1a1e8a77f8b6ddcf
/frameworks/base/core/java/android/os/UserManager.java
|
e4ab16ad98b183afbf7a21ad7314372de41a8b57 |
|
21-Sep-2012 |
Dan Morrill <morrildl@google.com> |
New method returning user metadata. Change-Id: Ic1a42cf54152fe2e6bcd01b1bd9f1edb77d1710e
/frameworks/base/core/java/android/os/UserManager.java
|
4673e7ea8d1f869910a9c0f9c211d4d27ad50b41 |
|
19-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Migrate UI to supportsMultipleUsers(). Bug: 7194531 Change-Id: Ifbbe3b4d954f8d11fb1c94674e5e7f8e21264c75
/frameworks/base/core/java/android/os/UserManager.java
|
27bd34d9d9fe99f11b80aa0bbdb402fb47ef4158 |
|
16-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Multi-user MTP. The current MTP kernel driver at /dev/mtp_usb is exclusive, meaning only one process can have it open. In addition, each MTP session with a desktop requires unique object IDs, which doesn't hold true across users on the device. To solve these two issues, when switching users we cycle the USB host stack to disconnect both local and remote MTP connections, giving the new user's media process a chance to claim /dev/mtp_usb, and causing the desktop to initiate a new MTP session. This change also allows BroadcastReceivers to registerReceiver() allow retrieval of a current sticky broadcast. Adds a system property to override maximum users. Removes MOUNTED broadcasts for secondary users. Allows INTERACT_ACROSS_USERS to getCurrentUser(). Bug: 6925114 Change-Id: I02b4a1b535af95fb2142655887b6d15a8068d18a
/frameworks/base/core/java/android/os/UserManager.java
|
f7a6dfcafc1eaa8014b4fa796e4b31208f72fd36 |
|
18-Sep-2012 |
Amith Yamasani <yamasani@google.com> |
Merge "Pass Bitmap instead of ParcelFileDescriptor in UserManager" into jb-mr1-dev
|
e928d7d95dbb64627e6ff3a0572190c555b59d96 |
|
18-Sep-2012 |
Amith Yamasani <yamasani@google.com> |
Pass Bitmap instead of ParcelFileDescriptor in UserManager Add a USER_INFO_CHANGED intent for lockscreen and quicksettings to use to monitor changes to the user name or icon. Bug: 7164040 Change-Id: Id6fb8b6d38ce04ccd02bbadcf0c10699783d6c03
/frameworks/base/core/java/android/os/UserManager.java
|
c33f94e2a50c9b03cb771237e8672743da8b1314 |
|
18-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix API review bugs." into jb-mr1-dev
|
8832c18d8b63367929c2d394c9c508f56003d400 |
|
18-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix API review bugs. 7173152 API REVIEW: android.content.pm.PackageUserState 7172969 API REVIEW: android.app.PendingIntent 7172730 API REVIEW: android.content.Context 7172726 API REVIEW: android.manifest.permission Change-Id: Iad470256d3b5ca5596487f6a699ec1871457c3b5
/frameworks/base/core/java/android/os/UserManager.java
|
3b49f07a452e0a77c1d22db2065255689a461d31 |
|
17-Sep-2012 |
Amith Yamasani <yamasani@google.com> |
Add UserManager.getUserIcon() So that we don't abuse the setUserIcon() for reading. So the new method won't try to create the file, only return it if it exists. Change-Id: I7a81d3f1b29d14d37e71f531744ce39f21d827ac
/frameworks/base/core/java/android/os/UserManager.java
|
1952637425eece18aa1ce3d80d4b49086ef3bcf7 |
|
22-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
Remove permission requirement for some UserManager calls Update javadocs to be explicit about permissions. Minor fixes in UserManagerService Change-Id: I0d355e0a60e5dbdb49ed06091111d480ff249f3d
/frameworks/base/core/java/android/os/UserManager.java
|
79af1dd54c16cde063152922b42c96d72ae9eca8 |
|
17-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Switch public APIs to use new UserHandle class for identifying users. Gets rid of "yet another integer" confusion. Change-Id: Id07ea7307aea7c62f0087c6663a1f1c08e2e5dee
/frameworks/base/core/java/android/os/UserManager.java
|
2a00329c6d55c6cd9166e01963d7410e95d80d21 |
|
15-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
UserHandle to UserSerialNo mapping Use AtomicFile for usermanager files. Added a MANAGE_USERS permission that apps (signature permission) can use to create/query/modify/remove users. Change-Id: I5cf232232d0539e7508df8ec9b216e29c2351cd9
/frameworks/base/core/java/android/os/UserManager.java
|
258848d2ae04f447ff1c18023fa76b139fcc0862 |
|
11-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
User Manager service to manage users and query user details Moved a bunch of methods from PackageManager to UserManager. Fix launching of activities from recents to correct user. Guest creation APIs Change-Id: I0733405e6eb2829675665e225c759d6baa2b708f
/frameworks/base/core/java/android/os/UserManager.java
|