OSDN Git Service

Toggle between primary and managed profile in Print Settings
authorAlexandra Gherghina <alexgherghina@google.com>
Fri, 18 Jul 2014 16:23:37 +0000 (17:23 +0100)
committerAlexandra Gherghina <alexgherghina@google.com>
Tue, 29 Jul 2014 09:22:15 +0000 (10:22 +0100)
commitfe47a8dc89fe0393dae16b1c2152c901feab4dcb
treec197931e1915842f71ac39c6dfd997b5d4eccbb2
parentb8ec34346495245043933ac0f1b78781ae5054db
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
res/layout/spinner_view.xml [new file with mode: 0644]
res/layout/user_preference.xml [new file with mode: 0644]
res/values/dimens.xml
src/com/android/settings/UserSpinnerAdapter.java [new file with mode: 0644]
src/com/android/settings/Utils.java
src/com/android/settings/drawable/CircleFramedDrawable.java [moved from src/com/android/settings/users/CircleFramedDrawable.java with 99% similarity]
src/com/android/settings/print/PrintSettingsFragment.java
src/com/android/settings/users/AppRestrictionsFragment.java
src/com/android/settings/users/EditUserInfoController.java
src/com/android/settings/users/EditUserPhotoController.java
src/com/android/settings/users/UserSettings.java