48b8b8fd1866f867fa995b69ee07b557c9eb766e |
|
06-Jun-2013 |
Amith Yamasani <yamasani@google.com> |
Allow hidden apps to opt-out When a system app doesn't have any UI, it wasn't being considered for opt-out. Check for all system apps that want to opt-out and mark them for uninstallation. Bug: 8908632 Change-Id: Iad7ccbe544cc7c7ebf73f430fbab8d295eb40219
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
0b2781ae537e6d3d27863080eea0a0a5fa6c83b8 |
|
22-May-2013 |
Amith Yamasani <yamasani@google.com> |
Write restriction bundle right away for required apps. User shouldn't have to go tap on the settings icon for an app that is ON by default in a restricted profile. This way apps can write some defaults to the restricted profile when it is created. The app entry is also automatically removed from the list if there are no visible restrictions. Bug: 9074051 Also fix an incorrect dialog label. Bug: 9068877 Change-Id: I2a7ddc31fe695f58611d2ba36a8bf541b7817b10
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
f88e6e5ae6a5a31d47677dcbd9be2b26c6615136 |
|
21-May-2013 |
Amith Yamasani <yamasani@google.com> |
Don't mutate all instances of app icons in Settings When adding color filters to an app icon in User Settings, don't modify the original drawable state. Get a mutable drawable. Bug: 9054675 Change-Id: I6ea374cb801abef3f5b597fda2e84b4e67cfa9d0
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
76738fa651a7c329f61efbbdc006821f78cb4dfb |
|
17-May-2013 |
Amith Yamasani <yamasani@google.com> |
Load the avatar icon if it's not yet in the activity view Save any changes that weren't committed yet, but don't restore earlier cancelled changes. Bug: 9008014 Change-Id: I8faacc42a3600d1338ddedb1b59f7307903743b4
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
7b56d115ba895916fb8f93ad5f4247bede3fefc7 |
|
26-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Save app toggle state as soon as possible Delaying applying the states till onPause() sometimes results in the apps disappearing slowly as the new user is booting up, causing failed queued up broadcasts that result in crash dialogs. This happens mainly when the user switch is initiated via QuickSettings->LockScreen->Switch while the App restrictions screen is still showing. The onPause() gets called when SetupWizard actually takes focus, which is quite late, as boot completed and other events have already been queued. Apply the initial toggles right away and apply any user changes when primary is going to background, or onPause(), whichever comes first. Bug: 8685927 Also ensure that apps with restrictions get a chance to persist their defaults as soon as they are toggled on. The user may never actually click on the settings icon for the app (which was the only way they were getting persisted before). Some new strings for an upcoming change. Change-Id: I96f453d066a91c6b15eafe9a6ce3f42d98bf5e33
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
a7a93784d1f9798d37cb618def1a558f8d626f0f |
|
26-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Always include default system IMEs for restricted profiles Add default IMEs to an exclusion set so that we don't include them in the list of toggleable system apps that we show the user. Bug: 8724246 Unrevert the change to include disabled apps, as the above change fixes the reason for the revert. Bug: 8713202 Change-Id: Ifced841ad3bfbde33d2403356216dd1749b7fa9a
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
39d0fd84ad17d034720c65c6dc19323e1bda17de |
|
25-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Revert "Disabled apps should also be shown in restricted profiles app list" This is breaking restricted profiles because the Google Keyboard suddenly shows up in the list as disabled and InputMethodManagerService crashes if the only available keyboard is not installed for the profile. This reverts commit 90dcd7469b7e776f508a0767b9db46005af0e8da Change-Id: Idd7c4f0f93a973b777889865e80c53caad759a63
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
90dcd7469b7e776f508a0767b9db46005af0e8da |
|
25-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Disabled apps should also be shown in restricted profiles app list If we don't show disabled system apps for toggling, they'll end up being automatically included in the restricted profile. Make sure that we also list disabled apps. Bug: 8713202 Change-Id: I8f2facf496f669dfe963cdabf3d29d393097a80b
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
1bad7141b4c602399beaddde49ac295ae1a89afc |
|
22-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Fix repeating apps on pause/resume Preference list was getting duplicated on pausing and resuming the activity. Pull the user info out of the preference list and make it a static header so that it stays fixed. Can now remove all entries before re-adding. Disable location by default and disable ability to change Unknown sources toggle. Bug: 8685561 Bug: 8688400 Change-Id: I64ce728d5369e03ddaba562bcd66bb0720a037d2
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
bf3391f19b6f1733825de07d9c602545f8818c64 |
|
15-Apr-2013 |
Svetoslav <svetoslavganov@google.com> |
Adding UI for editing the name and the picture of a limited user. A limited user may not have access to contacts, thus the settings app has to be able to show UI for selecting a user photo from gallery or via camera. bug:8566861 Change-Id: I1974b1a19b0fee8c737d1345302e1b2fba108379
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
a98c402e44e1bd74926c55db031d2be0ce7ce7be |
|
20-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Several improvements and fixes in restrictions UI Bug: 8668906 : Add string indicating that the app has opted-in Bug: 8663558 : Fix a crash in settings when EXTRA_RESTRICTIONS_LIST is empty Also accept EXTRA_RESTRICTIONS_BUNDLE as a result from custom restrictions activity Bug: 8653389 : Some apps show up twice in the limited user config screen Bug: 8653915 : Jank when adding a new limited user Change-Id: I293148000be70850f565dbddb4c942d69142ae17
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
5ee175051951d3a0bc1533aece69af520c295d37 |
|
17-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Changes to deal with restrictions API change Bug: 8633967 Change-Id: I5d8e843c850ad3eff900409a9006666ddf91b061
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
e11a346f1fe6adeb183e7dfb622ac6ab40016794 |
|
17-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Remove wifi/bt restrictions choice for limited users Bug: 8631653 Make "Unknown sources" visible but disabled if restricted for limited user. Bug: 8629605 Also show the restriction name as the dialog title in the picker. Change-Id: I8d6ea3571bcc4372347cad6a2c982f35afa7cc09
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
9517b02d4314a181cb09b33521fc2b81754baedb |
|
13-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Disable apps that require an account on a limited user If an app is marked as requiring an account to work, disable that app and show a message in the summary. Also, implement graying out of icons for deselected apps. Bug: 8600261 Change-Id: I9cf48832675c24257e09addad4316249082c30fb
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
35f02378710a0fd33bf62d2d10e0c655fe07d519 |
|
12-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Merge "Embed the app restrictions fragment in the dual-pane settings." into jb-mr2-dev
|
cc395695fc869dc8ef8e3c74622f71ef8a421d44 |
|
12-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Embed the app restrictions fragment in the dual-pane settings. Change the limited user creation flow to show the usual message before actually adding the user. Might need to customize the message for limited users. Removed the old activity wrapper and moved the logic to UserSettings. Removed the finish button. Bug: 8566751 Change-Id: Ie9e1a03736c41758b0bb6e79d004ad662a5af7f4
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
d8b0d0ed8e12c1c3f5c44d50ddf3a69aa8a2be72 |
|
11-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Make sure Settings app restrictions show up Inadvertently disabled that in the previous change where we would skip apps that were required but had no restrictions entries. Bug: 8520185 Change-Id: Idc1808e489f7b6da267f68a2c7cef81cc351d2d0
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
d81a3f73680372ba93a2a26a445d148220c1a521 |
|
11-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Improve app list for limited users Show all activities in the same package with a master/slave relationship, toggling all when the master is toggled. Don't show required apps that have no restrictions. Show apps that are only installed on the target user. Bug: 8520813 lowercase app names Bug: 8520185 apps installed only in limited user Bug: 8567000 strange behavior with apps that have two launcher icons Change-Id: Id8ab296c13202735a9534f918bd81ea4b4c14b46
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
80b1dfe46a85e3ecdbeca5575c205086e5ab07e0 |
|
10-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Merge "Select text in user name dialog" into jb-mr2-dev
|
583757908bccf8283cd27e5c5981f5b248e1037f |
|
10-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Select text in user name dialog Enables quickly changing the name without moving the cursor. Also use cap words style. Bug: 8518507 Change-Id: I6841cad221b56bb4c3d51c21d30b3858d1ee3e1c
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
872d4fba77cf37e4e4d3b576cd4aaeb324c73980 |
|
09-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Send app restrictions broadcast to stopped apps as well Otherwise the restrictions won't be shown for apps that haven't been launched yet. Bug: 8577600 Change-Id: I1d0d93553456dfedfb749e3d8262911af4362a80
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
cb7b0b77ae04a84c75611a98a583c81208575ba5 |
|
01-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Better app filtering for limited users Show all system apps that have launchers and widgets. Show all downloaded apps. Remove dupes by package name. Change-Id: Ief59b057e55a55e48ef48c5a638f6daf6a952e4e
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
2601cd9142bda1953c1e7b0302f7e0d0f02b0c1b |
|
01-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Implement proper settings restrictions Settings restrictions for limited users translate to user restrictions specified in UserManager. Added required strings. TODO: Add NFC restriction. Change-Id: If1f81319131855f5dc1b27fe5bd54a4fef616d7f
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
6e4757f0a66bae09149d83102b88a74d824d267d |
|
28-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Follow changes to RestrictionEntry API Implement custom restrictions activity. Fixed some bugs. Change-Id: I094a6ffcc41c2936f76a8731048d7cb712c1b857
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
864e3b7c5176199f7f0fae53c2639f9dacd737e2 |
|
27-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Split User settings into limited and trusted. Also show avatars with the circular frame like on lockscreen. Change-Id: I032d842555b2f50a07166460f9cfb1963366dbb1
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|
233592bb43c02e88d39d990fadc59fd330a4d3dd |
|
02-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Application restrictions UI Refactored User Settings UI to have two types of users. Display a list of apps to select. Edit user restrictions. Handle saving and updating RestrictionEntry items via User Manager. Change-Id: I3ad5aa71d5ef66dffd39e17ba0556f075ac10a0f
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
|