Commit Graph

10232 Commits

Author SHA1 Message Date
The Android Automerger
e41164e928 merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-11 05:55:58 -07:00
Amith Yamasani
d81a3f7368 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
2013-04-10 21:59:18 -07:00
Svetoslav
96cd9e7cc7 First accessibility device disabled if enableing a second one is canceled.
The value whether accessibility should stay enabled was incorrectly
computed and as a result accessibility was disaabled when the second
accessibility service enabling is canceled.

bug:7716830

Change-Id: Ic23c24b1ffa90811e21210aeeca158568ad37904
2013-04-10 17:33:42 -07:00
Dianne Hackborn
8c94273c73 Merge "Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats" into jb-mr2-dev 2013-04-10 21:14:22 +00:00
Dianne Hackborn
1d675e6546 Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats
Should be comparing with Bluetooth UID, not the wrong and broken GID.

Change-Id: I2cb33e25b0ae5a441a467c12d91860dcf36232dc
2013-04-10 12:50:32 -07:00
Baligh Uddin
fdc5489b56 Import translations. DO NOT MERGE
Change-Id: Ifb727fcd1cfd28e78a2f405ee5cbba21e1999ab3
Auto-generated-cl: translation import
2013-04-10 11:27:46 -07:00
The Android Automerger
071d2cf06f merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-10 05:56:49 -07:00
Amith Yamasani
80b1dfe46a Merge "Select text in user name dialog" into jb-mr2-dev 2013-04-10 00:29:12 +00:00
Amith Yamasani
583757908b 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
2013-04-09 17:26:43 -07:00
Amith Yamasani
3727018a5a Potential fix for a monkey-related NPE
Cache the content resolver so that async callbacks, events can
continue to get the cntent resolver when detached from the activity.
This should help with stability.

Bug: 8005271

Change-Id: Ia566bc312ce678b438004bdf4ed7537ac1604608
2013-04-09 16:05:16 -07:00
Wink Saville
460f24786a Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev 2013-04-09 22:50:41 +00:00
Baligh Uddin
f0e09bf702 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-09 19:26:15 +00:00
Ben Murdoch
f452008f5b Merge "Properly remove experimental WebView preference when unavailable." into jb-mr2-dev 2013-04-09 19:00:41 +00:00
Jared Duke
9225bc538d Properly remove experimental WebView preference when unavailable.
When the experimental WebView library is unavailable, properly remove it from
the appropriate preferences group.

Bug: 8572673
Change-Id: I34dd0720199c826ca12e0f991e2f6bd9c5ad35f3
2013-04-09 19:14:57 +01:00
Amith Yamasani
0a970caed4 Merge "Send app restrictions broadcast to stopped apps as well" into jb-mr2-dev 2013-04-09 18:09:40 +00:00
Amith Yamasani
872d4fba77 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
2013-04-09 11:05:18 -07:00
Amith Yamasani
350938ecc6 Potential fix for a monkey-related NPE
Cache the content resolver so that async callbacks, events can
continue to get the cntent resolver when detached from the activity.
This should help with stability.

Bug: 8005271

Change-Id: Ia566bc312ce678b438004bdf4ed7537ac1604608
2013-04-09 10:25:43 -07:00
The Android Automerger
0e130741ea merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-09 05:56:08 -07:00
Wink Saville
bf4712895a Add FW support for CellInfo RIL commands.
Add being able to setCellInfoListRate.

Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
2013-04-08 15:19:44 -07:00
Maggie Benthall
11b69bf86d Implement Settings app UX for when a user has bluetooth config locked down.
When a user has the user restriction DISALLOW_CONFIG_BLUETOOTH
- Remove all the menu items for searching and other config
- Hide "available" but non-paired devices
- Remove settings button from paired devices
- Remove ability to make the device visible to others

Change-Id: Icaebf29d3cce55d924fdd65449447b5b7a438bbe
2013-04-08 16:05:38 -04:00
Baligh Uddin
1d4bbaef8c Import translations. DO NOT MERGE
Change-Id: Ib3ac2b538aa44464e84db39d318f828b656eb759
Auto-generated-cl: translation import
2013-04-08 12:47:32 -07:00
Kenny Root
645e78d806 Merge "Allow multiuser use of keystore" into jb-mr2-dev 2013-04-08 17:58:37 +00:00
Kenny Root
c5550c2012 Allow multiuser use of keystore
Since keystore has been refactored to let muliple users use it
simultaneously, we can remove all the restrictions put into place to
prevent it.

(cherry picked from commit cc48b0104e)

Bug: 7249554
Change-Id: I419474151380c29e49e50451befbbdf3af65b175
2013-04-08 10:36:05 -07:00
Daniel Sandler
b8c4898c64 Fix "no notification listeners" text.
Bug: 8454150
Change-Id: I6b02367e2be9f31fdf0a54d7fc0c49f8c82922d7
2013-04-08 12:01:33 -04:00
The Android Automerger
2ecf44d6f8 merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-08 05:57:01 -07:00
Nick Kralevich
b26a61d643 InstalledAppDetails: allow revocable permission.
Modify the Settings app so that a user can revoke permissions,
using the new API added in AppSecurityPermissions.

Bug: 8332307
Change-Id: I4d6c10877e2c3cc284dbf9a43f79697914c0b192
2013-04-05 18:39:15 -07:00
Daniel Sandler
8f511b1709 Notification listeners can be enabled in Settings>Security.
Also known as android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS.

Bug: 8454150
Change-Id: I0c2433bf58ba4c78cd461326bd014535c7f67578
2013-04-05 15:38:08 -07:00
Daniel Sandler
865bdb2838 Reference new StatusBarNotification and INotificationListener packages.
Requires change I1be46f82 in f/b.

Bug: 8199624
Change-Id: I2ebf7fde793dd932c5fadb308f8a0b93e18d9afa
2013-04-05 15:37:55 -07:00
Daniel Sandler
79b9bfe56e Notification listeners can be enabled in Settings>Security.
Also known as android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS.

Bug: 8454150
Change-Id: I0c2433bf58ba4c78cd461326bd014535c7f67578
2013-04-05 19:57:03 +00:00
Daniel Sandler
e44f5e2bd6 Reference new StatusBarNotification and INotificationListener packages.
Requires change I1be46f82 in f/b.

Bug: 8199624
Change-Id: I2ebf7fde793dd932c5fadb308f8a0b93e18d9afa
2013-04-05 19:55:12 +00:00
Baligh Uddin
34e85f841c Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-05 18:48:15 +00:00
Baligh Uddin
92be13df55 Import translations. DO NOT MERGE
Change-Id: Ide4cc0e303747966dd29a5c849a2d9023b92e098
Auto-generated-cl: translation import
2013-04-05 11:07:06 -07:00
Kristian Monsen
a95604de1a Merge "Adding developer toggle for using Chromium WebView." into jb-mr2-dev 2013-04-05 17:41:34 +00:00
Fabrice Di Meglio
e68959de3a Merge "More fix for bug #8505156 WiFi properties dialog is having some issues in RTL mode" into jb-mr2-dev 2013-04-04 17:59:50 +00:00
Baligh Uddin
186e250ac7 Import translations. DO NOT MERGE
Change-Id: I5b8551dbf8daff54103023c68f8214b135dd07c1
Auto-generated-cl: translation import
2013-04-03 11:14:39 -07:00
Fabrice Di Meglio
f2a9717b93 More fix for bug #8505156 WiFi properties dialog is having some issues in RTL mode
- use setPaddingRelative() instead of setPadding()
- add missing android:textAlignment="viewStart"

Change-Id: I8b981fb64686067de5998e4e218b04126bf2b2f8
2013-04-02 18:36:43 -07:00
Robert Greenwalt
58f9cbd677 Merge "pre-provide the mvno data of the edited apn" into jb-mr2-dev 2013-04-02 19:20:13 +00:00
Sungmin Choi
cd1cb16bad pre-provide the mvno data of the edited apn
For mvno, user can add or edit mvno data field.
Pre-provide the mvno data of the edited apn when the user selects
one of the mvno types.
For example if user choose gid, populate the data field with the
current sim's gid1 data, or if user choose the SPN option, fill
in data with the current carrier string. If IMSI, fill in imsi data.

Change-Id: I1bc280054cc7cd37e78a279866cefd62872a19fb
2013-04-01 16:44:15 -07:00
Baligh Uddin
1c541aec2b Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-01 19:37:24 +00:00
Maggie Benthall
8d9b07edb1 Merge "When user has DISALLOW_USB_FILE_TRANSFER set, disable settings controls." into jb-mr2-dev 2013-04-01 18:50:30 +00:00
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
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
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
Baligh Uddin
494fd572cc Import translations. DO NOT MERGE
Change-Id: I846ec473107cdeeb6573445d8faa60ab83fa6946
Auto-generated-cl: translation import
2013-03-29 19:41:06 -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
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
Fabrice Di Meglio
fee612df19 Merge "Fix bug #8505156 WiFi properties dialog is having some issues in RTL mode" into jb-mr2-dev 2013-03-29 19:41:13 +00:00