History log of /packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2b2ab5a9470ba8df0f18583abc2d12d5942f97ce 24-Mar-2015 Fyodor Kupolov <fkupolov@google.com> Support for nested bundles in setApplicationRestrictions

Replaced RestrictionUtils.restrictionsToBundle with RestrictionsManager.
convertRestrictionsToBundle.

Bug: 19540606
Change-Id: I32b264e04d5d177ea5b4c39a8ace5ee0ce907970
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
b0fc28cba5fecb4cf6ed045915f65d3459208cbc 02-Mar-2015 Fyodor Kupolov <fkupolov@google.com> Settings app should be available to restricted user

Fixed a regression, caused by collapsing location and settings entries
into a single preference. Now settings package is explicitly enabled.

Bug: 19434520
Change-Id: I05440d04c100b6a5ee5573ac116bfb4d66782aa8
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
053f83d470636025e09ab68cf2b6f2412e006fde 11-Feb-2015 Alex Klyubin <klyubin@google.com> am e029b91c: am 1d33bca0: Merge "Hidden ApplicationInfo flags are now in privateFlags."

* commit 'e029b91c53323c27ea18a57c6af8c00ecab5576b':
Hidden ApplicationInfo flags are now in privateFlags.
e029b91c53323c27ea18a57c6af8c00ecab5576b 11-Feb-2015 Alex Klyubin <klyubin@google.com> am 1d33bca0: Merge "Hidden ApplicationInfo flags are now in privateFlags."

* commit '1d33bca0e496f980ec1a364f58cccd457d40954a':
Hidden ApplicationInfo flags are now in privateFlags.
cc254f4da96506901268c4a0b1d3cfacb5f44948 04-Feb-2015 Alex Klyubin <klyubin@google.com> Hidden ApplicationInfo flags are now in privateFlags.

See b9f8a5204a1b0b3919fa921e858d04124c582828.

Change-Id: I98bbe4b1a5ac0939e0000e4da8b21a1964c75e8b
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
273a6e7ffdb1342564fa1ad57225b8efbe7e62e5 09-Feb-2015 Zoltan Szatmary-Ban <szatmz@google.com> Merge "Eliminate duplicated code for creating circled user icons in Settings."
bc02b84cb5e6405b3052c2e2cc6636bed1d2468b 24-Dec-2014 Fyodor Kupolov <fkupolov@google.com> Show Location restriction without the Settings item

In App & content access page for restricted profiles, Location restriction
should be shown without its parent element.

Also fixed an issue when app summary may be incomplete.

Bug:15761405,17182612
Change-Id: Ia298cf581413d124d25608f825f97a9e64baf479
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
d7cadf3de2cf8272e817a416549fc2d47852f3b9 19-Dec-2014 Zoltan Szatmary-Ban <szatmz@google.com> Eliminate duplicated code for creating circled user icons in Settings.

Use Utils.getUserIcon instead.

Change-Id: Id653f8c89ac041e925464c88bbc0c7c43d3ce632
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
0cc764beed2b816ee7e092591c7f205601e1b596 21-Nov-2014 Amith Yamasani <yamasani@google.com> Merge "Watch out for deleted user when exiting async task" into lmp-mr1-dev
45f86236e4d771f9d6c464f1e54be7fb813f4ceb 20-Nov-2014 Amith Yamasani <yamasani@google.com> Watch out for deleted user when exiting async task

Fixes a problem where the async task can take a while to execute
and in the meantime the user can be removed. On exiting the async
task and updating the UI, make sure the user hasn't been deleted.

Bug: 18411181
Change-Id: I1831f3e53084c49e27557cb7aacec78c753a611b
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
07ab95c43e49facb0fc4dd11d68645b4fe8d4c88 19-Nov-2014 Fyodor Kupolov <fkupolov@google.com> Added a check if a custom activity can be started

AppRestrictionsFragment starts an activity using an intent provided by the
receiver. A check was added to prevent an app from starting an activity that
it does not own.

Bug: 14441412
Change-Id: Ia6820b1daf3783d605b92976c78cb522b17dc8f2
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
daef2e2b066a0bf204b9a63b7cae13e3d5441f4e 16-Oct-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch

Per UX request, convert more CheckBoxes to Switches

Change-Id: I04712bce4c0a54516d9ecedbb554f403fd6dd9e7
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
3391321e2fb6cca4db3030b01af9a69763e7c40d 26-Aug-2014 Amith Yamasani <yamasani@google.com> Fix toggle button clickability in app restrictions

Also fix side padding

Bug: 17159406
Change-Id: Ic1d61d9a4a7ae6f3f7c451405a6e127791edbdaf
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
fe47a8dc89fe0393dae16b1c2152c901feab4dcb 18-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Toggle between primary and managed profile in Print Settings

This adds a spinner to the print settings screen which can be used to toggle
between the Settings app in the primary and managed profile so that the user
can edit settings belonging to both profiles.

Bug: 16369104
Change-Id: I2556a331d09379c2a501bc6b192ab1631b5215f5
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
247520c369370885a1c085e53ee679dce0fd55ce 25-Jul-2014 Amith Yamasani <yamasani@google.com> More User Settings improvements

Add a menu checkbox to allow creation of users from lockscreen.
Add a delete icon in restricted profiles settings.
Other little fixes to icons.
Update some strings based on feedback.

Bug: 15761405
Bug: 16550371
Bug: 16298824

Change-Id: Ib876bd57f15c6ce2d71856f72571c6b8b0e3102d
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
ee3987475e1d29e8355bdb9e068149eb01e3fd43 24-Jul-2014 Amith Yamasani <yamasani@google.com> Refactor User Profile editor dialog for reuse

Move the dialog code into a separate class.
Use it from RestrictedProfileSettings
and UserSettings for the current user.

Bug: 15761405
Change-Id: I0b9a95ba8463304525e6a4b8cf3b4ca77b15796f
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
fca31ca418ec9c8d09efd18d7616b816a3e9f94a 20-Jul-2014 Amith Yamasani <yamasani@google.com> Follow API change from *Blocked to *Hidden

Bug: 16191518
Change-Id: I4cbe210e62d551e4d5246eb3a7523d03c41175be
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
9e6ac3d25f55303887293e36eb288ef191ffd1bb 30-Jun-2014 Amith Yamasani <yamasani@google.com> Multiuser settings revamp for L, first pass

Include Guest settings
Ability to switch users from Settings
Manage user settings like telephony access

Bug: 15761405
Change-Id: I2cfdc7bc2703ed202aa8bf1261c304c51ce48b29
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
38e761051242b2129a30e482404e6f87ea9ad75a 02-Oct-2013 Amith Yamasani <yamasani@google.com> Exit restrictions fragment if user was deleted

When resuming the restricted user fragment, make sure that the user still
exists, as it may have been deleted by the restricted user.

Bug: 11010340

Change-Id: I3360dbc42586c5bb28013844f8c788e641ad8b6a
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
cb6ba728c5f872bc66e3b8ac3682b350cb7501f0 27-Aug-2013 Amith Yamasani <yamasani@google.com> Merge "Don't list apps that are disabled by the system" into klp-dev
d760a619369ec5ed50cce2f10e6eecf63ab84b46 21-Aug-2013 Amith Yamasani <yamasani@google.com> Fix custom restrictions launch mechanism

Instead of showing a separate entry for launching custom restrictions,
launch it directly when clicking on the settings icon.

Bug: 10388399
Change-Id: I327d6d4c2b9840ce5ba140746568c5561a1a8936
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
928191881df05c6520c1da8c208b6a7f47f52d45 16-Aug-2013 Amith Yamasani <yamasani@google.com> Don't list apps that are disabled by the system

This is to make sure that apps that were disabled for some reason
such as inappropriateness for a locale or for a specific device, don't
show up as available to enable for a restricted profile.

But in the case that the app was already enabled for the target profile,
show it in the list so that it can be disabled if necessary.

Bug: 10229133
Change-Id: I3c19edb7364cea42d95b619781e0326543b9a1cf
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
7eedcf4a5012fabff69bab08a8efc9146e7607dc 02-Jul-2013 Amith Yamasani <yamasani@google.com> Apply restrictions right away instead of on exit

Use usermanager to clear restrictions, as it needs to do a bunch of
book keeping.

Apply PIN restriction to master clear button.

Changing existing PIN now includes verifying the PIN, so it doesn't
need to be cleared here in Settings.

Removed automatic persisting of restrictions on receiving them unless
it is a restricted profile.

Make apps that are signed with platform certs immutable and ON.

Change-Id: Iffd1bf2eb0d18202fb66ddcf80668baa8e6b84ed
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
9e9c77c130a96a3855acf2d62225e21024b05834 09-Jul-2013 Amith Yamasani <yamasani@google.com> Fix accidental creation of restriction entry for required apps

When entering Settings->Restrictions, don't automatically query restriction entries
for required apps.

Bug: 9681399
Change-Id: Idcc773bf4793b3e7e2b328a15881b7ecf930c6c3
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
ab72687b15b1fb748ac796ce9a9818351845ef24 29-Jun-2013 Amith Yamasani <yamasani@google.com> Don't start the loader task if one is already running

This should appease the monkeys.

Bug: 9619255
Change-Id: Idbac0bd86acafbdb636b0b18e09fcbb9eea15cc4
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
0ca80fe4cdbfa2a9298ab332770eef9890798c60 04-Jun-2013 Amith Yamasani <yamasani@google.com> Single-user restrictions

New restrictions panel for restricting list of available apps for the user.
Apps that support restrictions can also be configured here.
Restrictions screen is PIN protected and will ask you to create a PIN the
first time you use it.

Change-Id: I7a5267df4272521ad80e6a8b6a18932d07179eb8
/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java
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