Commit Graph

4400 Commits

Author SHA1 Message Date
Amith Yamasani
cb7b0b77ae 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
2013-03-31 22:40:26 -07:00
Amith Yamasani
5a02cbe2ec am b19daff9: am 2601cd91: Implement proper settings restrictions
* commit 'b19daff9cb6f04a71343f858a0c44415412b8049':
  Implement proper settings restrictions
2013-03-31 18:25:07 -07:00
Amith Yamasani
2601cd9142 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
2013-03-31 18:20:36 -07:00
Amith Yamasani
249616ebdb am fe44098d: am 732c80ff: Remove Limited users category if empty
* commit 'fe44098dd126af1a19fe3e29e35506a07bc05c62':
  Remove Limited users category if empty
2013-03-29 20:33:07 -07:00
Amith Yamasani
732c80ff18 Remove Limited users category if empty
If there are no users under limited category, in a secondary user,
remove the subheading completely.

Change-Id: I0397b6198c8cfc147e9e7dc30a92a7cb2f5860e3
2013-03-29 20:28:28 -07:00
Amith Yamasani
377002fa1a am 26aca80e: am a7ff2a2d: Merge "Follow changes to RestrictionEntry API" into jb-mr2-dev
* commit '26aca80eb1813cfe69450383efd8442805b16da5':
  Follow changes to RestrictionEntry API
2013-03-29 18:56:30 -07:00
Amith Yamasani
a7ff2a2d22 Merge "Follow changes to RestrictionEntry API" into jb-mr2-dev 2013-03-30 01:48:38 +00:00
Amith Yamasani
6e4757f0a6 Follow changes to RestrictionEntry API
Implement custom restrictions activity.
Fixed some bugs.

Change-Id: I094a6ffcc41c2936f76a8731048d7cb712c1b857
2013-03-29 18:40:45 -07:00
Maggie Benthall
6ad2e323f7 When user has DISALLOW_USB_FILE_TRANSFER set, disable settings controls.
Under Settings > Storage, remove the "USB computer connection" menu item.
In case someone launches the UsbSettings screen instead, also disable those checkboxes.

Change-Id: I59ec8b16bed4670beeac8d359e5368e4a659061b
2013-03-29 18:59:33 -04:00
Kenny Root
265398ecb3 am ab6a6645: Merge "Add KeyStore storage type to Settings UI" into jb-mr2-dev
* commit 'ab6a6645b01312816fe0688c76b5a26948252850':
  Add KeyStore storage type to Settings UI
2013-03-29 14:36:30 -07:00
Irfan Sheriff
016a391ad7 am 0f41b49d: Add install support for WIFI UID
* commit '0f41b49d1f33e86ec4e7004f009c074b68a90be6':
  Add install support for WIFI UID
2013-03-29 14:35:32 -07:00
Kenny Root
ab6a6645b0 Merge "Add KeyStore storage type to Settings UI" into jb-mr2-dev 2013-03-29 21:24:48 +00:00
Kenny Root
028634b6af Add KeyStore storage type to Settings UI
Give the user an idea of what kind of credential storage is in use on
this device for keystore daemon.

(cherry picked from commit 39b56008be)

Change-Id: Id89a1e210b3627914f080b0925bd0d0585872dd2
2013-03-29 14:23:30 -07:00
Irfan Sheriff
0f41b49d1f Add install support for WIFI UID
Bug: 8472221
Change-Id: If203760fc960b4d8987d745e49ef1d4355c45adf
2013-03-29 11:40:16 -07:00
Jared Duke
8dc6d08f3b Adding developer toggle for using Chromium WebView.
This is hidden by default, and only revealed in device configurations that contain the Chromium WebView implementation.

BUG=8383477

Change-Id: I8fbb0bb55776e384b9bfc4feb6a2d30eed114ece
2013-03-28 15:37:51 -07:00
Eric Laurent
62143dab23 am 899e4f27: Merge "Display vibrate icon in volume menu" into jb-mr2-dev
* commit '899e4f27f1866acee29c67e6f19b50308a3b12c3':
  Display vibrate icon in volume menu
2013-03-28 15:32:55 -07:00
Eric Laurent
899e4f27f1 Merge "Display vibrate icon in volume menu" into jb-mr2-dev 2013-03-28 22:27:45 +00:00
Kenny Root
b9d0a35ea1 am a8645309: am 0d52fc18: am 9dc478ec: Merge "Add ability to install credentials as other UID"
* commit 'a86453096979d027d65390f657568c945fea1b3d':
  Add ability to install credentials as other UID
2013-03-28 14:36:37 -07:00
Kenny Root
a864530969 am 0d52fc18: am 9dc478ec: Merge "Add ability to install credentials as other UID"
* commit '0d52fc184defef46378e7ba095091c7bab1ee459':
  Add ability to install credentials as other UID
2013-03-28 14:32:50 -07:00
Maggie Benthall
38fa64a7a5 am 02e8ca3e: Merge "Respect user restrictions about adding/removing accounts, sideloading" into jb-mr2-dev
* commit '02e8ca3e9ad966bd523241aaa1eecf58865027a8':
  Respect user restrictions about adding/removing accounts, sideloading
2013-03-28 12:20:07 -07:00
Maggie Benthall
02e8ca3e9a Merge "Respect user restrictions about adding/removing accounts, sideloading" into jb-mr2-dev 2013-03-28 19:17:14 +00:00
Kenny Root
7422474c72 Add ability to install credentials as other UID
We need the ability to install from the system UID to wifi UID
to explicitly bind WiFi credentials to the WiFi profile. This adds the
ability for Wifi Settings to invoke installation of a PKCS12 file for
the wifi UID.

Bug: 8183258
Change-Id: I357c4387baf7e2f6fd6acc9046d9e6b52fdd4bb0
2013-03-28 11:35:24 -07:00
Maggie Benthall
0c5a401a58 Respect user restrictions about adding/removing accounts, sideloading
Hide or disable options in the settings app when the user is restricted from
making changes.

Remove "Add account" button from Settings menu, and "remove account" option from menu in AccountSyncSettings.
Remove sideloading checkbox in SecuritySettings.

Also handle replacement of UserManager.isShareLocationToggleAllowed() with hasUserRestriction, which takes a restriction key string.

Change-Id: I34c74fd5aed8956ba00f92e3d3c657b608454dfe
2013-03-27 18:12:44 -04:00
Amith Yamasani
07aa7b8e18 am 0fb0d016: Merge "Split User settings into limited and trusted." into jb-mr2-dev
* commit '0fb0d016dd51b0d8b882d92de58f5c2ea28a9208':
  Split User settings into limited and trusted.
2013-03-27 12:36:52 -07:00
Amith Yamasani
0fb0d016dd Merge "Split User settings into limited and trusted." into jb-mr2-dev 2013-03-27 19:30:55 +00:00
Amith Yamasani
864e3b7c51 Split User settings into limited and trusted.
Also show avatars with the circular frame like on lockscreen.

Change-Id: I032d842555b2f50a07166460f9cfb1963366dbb1
2013-03-27 12:27:01 -07:00
Irfan Sheriff
1e1baa824b am 05d67f62: Merge "Allow wildcard for bypass proxy" into jb-mr2-dev
* commit '05d67f62b7370b3bbe3bf691ae01b8a46dd04606':
  Allow wildcard for bypass proxy
2013-03-26 15:44:43 -07:00
Irfan Sheriff
05d67f62b7 Merge "Allow wildcard for bypass proxy" into jb-mr2-dev 2013-03-26 22:41:17 +00:00
Amith Yamasani
f1c9b70801 am 86ecd3c4: Merge "Device Admin Settings changes for Device Owner" into jb-mr2-dev
* commit '86ecd3c437be3478ee17347df46ae53af0eef5ba':
  Device Admin Settings changes for Device Owner
2013-03-26 15:31:35 -07:00
Amith Yamasani
86ecd3c437 Merge "Device Admin Settings changes for Device Owner" into jb-mr2-dev 2013-03-26 22:27:29 +00:00
Irfan Sheriff
b7cb3744da Allow wildcard for bypass proxy
Allow *.example.com to be bypassed

Bug: 7422561
Change-Id: Ia7bd2d5b0a19794ae3bcccb8d6b78aeb2ba9c5fb
2013-03-26 15:08:52 -07:00
Irfan Sheriff
54d4aefe0f am 61c30fe2: Merge "Fix monkey crash" into jb-mr2-dev
* commit '61c30fe2d14573378321d3a8df21ffb14a54e43b':
  Fix monkey crash
2013-03-26 14:26:06 -07:00
Irfan Sheriff
61c30fe2d1 Merge "Fix monkey crash" into jb-mr2-dev 2013-03-26 21:17:55 +00:00
Irfan Sheriff
ca8e9cd383 Fix monkey crash
Bug: 8011964
Change-Id: Idafdb7b3bc22d3280e0aa93877b7e09a23270149
2013-03-26 14:11:36 -07:00
Amith Yamasani
f3f7c1dfb7 Device Admin Settings changes for Device Owner
Disable the list entry for an active device owner, as it can't be deactivated.

Change-Id: I833561f91ae60dff8226f9118c9e3b012e5e194f
2013-03-26 13:07:25 -07:00
Eric Laurent
2c2bf97dd4 Display vibrate icon in volume menu
When a tablet is in vibrate mode, the notification
volume icon in the volume menu should be vibrate
and not silent.

Bug 7235006

Change-Id: I460a579a7796f8fb2cac8ff581a98f23e57d1bb0
2013-03-25 18:43:39 -07:00
Jeff Sharkey
551dd1f8ae am c64fad39: Merge "Fix Data Usage restrict logic, scrolling." into jb-mr2-dev
* commit 'c64fad3917c7dc421cf541a1d5fb11ab77b24ca0':
  Fix Data Usage restrict logic, scrolling.
2013-03-25 23:19:57 +00:00
Jeff Sharkey
c64fad3917 Merge "Fix Data Usage restrict logic, scrolling." into jb-mr2-dev 2013-03-25 23:13:22 +00:00
Jeff Sharkey
92b518c9aa Fix Data Usage restrict logic, scrolling.
Bug: 8141491
Change-Id: I4e94666c59d91fb112477781ab340fd25d03de27
2013-03-25 16:13:00 -07:00
Jeff Sharkey
1c2d34f2f8 am 8111e3d7: Merge "Read NumberPicker value after finishing edit." into jb-mr2-dev
* commit '8111e3d734b35588377cfcce412c7cdcb0da8aec':
  Read NumberPicker value after finishing edit.
2013-03-25 22:18:47 +00:00
Jeff Sharkey
d277de911d Read NumberPicker value after finishing edit.
Bug: 6881204
Change-Id: I736c9205b69914353f88028a3794db6cd43c4c74
2013-03-25 15:11:25 -07:00
Eric Laurent
45cfac3e10 am 18e688bd: Merge "Do not display volume settings if volume is fixed" into jb-mr2-dev
* commit '18e688bdd27b2e8821ec08c6775a0b0dae1b9f71':
  Do not display volume settings if volume is fixed
2013-03-25 17:16:28 +00:00
Eric Laurent
18e688bdd2 Merge "Do not display volume settings if volume is fixed" into jb-mr2-dev 2013-03-25 17:09:49 +00:00
Eric Laurent
296d9bb612 Do not display volume settings if volume is fixed
When the configuration option config_useFixedVolume is true
indicating that stream volumes cannot be modified, the volume
settings submenu is not available.

Bug 8161458

Change-Id: I6d76a2f85c642778ae8c4caa7347b50f659c1def
2013-03-21 17:40:20 -07:00
Irfan Sheriff
b3f78d9972 am 871bbbd0: Merge "Notify user that scans are still active" into jb-mr2-dev
* commit '871bbbd0d64bab970f7fba228af2779c1fcbcc46':
  Notify user that scans are still active
2013-03-22 00:19:51 +00:00
Irfan Sheriff
871bbbd0d6 Merge "Notify user that scans are still active" into jb-mr2-dev 2013-03-22 00:15:13 +00:00
Irfan Sheriff
d3863aa664 Notify user that scans are still active
Bug: 8141918
Change-Id: I115ce2ac57125b8ffbb34245dc25effd4b3bebb0
2013-03-21 17:09:43 -07:00
Daniel Sandler
da8690558b am 05f9c75a: Merge "Add some extra info to the notification list rows." into jb-mr2-dev
* commit '05f9c75a7b9793f5a712029aad365926aaddf4a8':
  Add some extra info to the notification list rows.
2013-03-21 22:06:41 +00:00
Daniel Sandler
9aee0b475f am 158d57a5: Merge "Optimizations in the notification list:" into jb-mr2-dev
* commit '158d57a5d1820cd1c4479ab71da55c8840a964e1':
  Optimizations in the notification list:
2013-03-21 22:06:40 +00:00
Daniel Sandler
d744a53acf am 76c4a1bf: Merge "Keep up with INotificationListener changes." into jb-mr2-dev
* commit '76c4a1bf7c1f8e2b895bd99aa4815954e9e9bc16':
  Keep up with INotificationListener changes.
2013-03-21 22:06:40 +00:00