OSDN Git Service

android-x86/packages-apps-Settings.git
11 years agoMerge "Follow API changes to NotificationListener." into jb-mr2-dev
Daniel Sandler [Thu, 25 Apr 2013 21:04:01 +0000 (21:04 +0000)]
Merge "Follow API changes to NotificationListener." into jb-mr2-dev

11 years agoFollow API changes to NotificationListener.
Daniel Sandler [Thu, 25 Apr 2013 21:01:01 +0000 (17:01 -0400)]
Follow API changes to NotificationListener.

Requires change If3062b9f in f/b

Bug: 8656860
Change-Id: Ib3dc57489b7308f0515a2a19c5c6451607ff1796

11 years agoMerge "CircleFramedDrawable incorrectly has implicit dependency on the hosting view...
Svetoslav [Thu, 25 Apr 2013 20:32:46 +0000 (20:32 +0000)]
Merge "CircleFramedDrawable incorrectly has implicit dependency on the hosting view size." into jb-mr2-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Thu, 25 Apr 2013 19:15:31 +0000 (19:15 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 25 Apr 2013 19:05:11 +0000 (12:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iad94d22f497a67893855012a0732678f25f8e50d
Auto-generated-cl: translation import

11 years agoDisabled apps should also be shown in restricted profiles app list
Amith Yamasani [Thu, 25 Apr 2013 18:03:33 +0000 (11:03 -0700)]
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

11 years agoCircleFramedDrawable incorrectly has implicit dependency on the hosting view size.
Svetoslav [Thu, 25 Apr 2013 17:33:08 +0000 (10:33 -0700)]
CircleFramedDrawable incorrectly has implicit dependency on the hosting view size.

CircleFramedDrawable was trying to draw itself as big as the hosting view by
looking at the canvas size. However, due to inconsistent API behavior for the
cases with and without hardware acceleration the canvas size returns the
size of clipped canvas or the size of the entire canvas, respectively. While
we should fix the inconsistent API behavior, it is not correct for a lower
level component to know about the higher level one, i.e. a drawable trying
to infer the size of the hosting view. The hosting view should set the size
of the drawable. This change removes the dependency on the host view size and
if one wants to enlarge the drawable, he/she should just set the scale.

bug:8671059

Change-Id: Idc572da7dff60fd10cb37d3c3eca27aac2c0a21f

11 years agoMerge "The touch exploration capability is dynamically granted pre-JellyBeanMR2....
Svetoslav [Thu, 25 Apr 2013 01:44:50 +0000 (01:44 +0000)]
Merge "The touch exploration capability is dynamically granted pre-JellyBeanMR2." into jb-mr2-dev

11 years agoThe touch exploration capability is dynamically granted pre-JellyBeanMR2.
Svetoslav [Wed, 24 Apr 2013 22:03:41 +0000 (15:03 -0700)]
The touch exploration capability is dynamically granted pre-JellyBeanMR2.

Since the enable touch exploration capability is dynamically granted by
the user for apps targeting pre-JellybeanMR2 API level, we have to avoid
caching copies of the service info.

Framework change:https://googleplex-android-review.googlesource.com/#/c/301722

bug:8633951

Change-Id: I2b409ca92931d1409e885d6f54e0f10cbece2e80

11 years agoMerge "Rename limited users to restricted profiles" into jb-mr2-dev
Amith Yamasani [Wed, 24 Apr 2013 21:54:15 +0000 (21:54 +0000)]
Merge "Rename limited users to restricted profiles" into jb-mr2-dev

11 years agoRename limited users to restricted profiles
Amith Yamasani [Wed, 24 Apr 2013 21:21:06 +0000 (14:21 -0700)]
Rename limited users to restricted profiles

Bug: 8705996
Change-Id: Ibf6a2e0e14ce095758fb9be982710b584b76f15d

11 years agoMerge "UI compliance for WifiSettings" into jb-mr2-dev
Maggie Benthall [Wed, 24 Apr 2013 19:58:23 +0000 (19:58 +0000)]
Merge "UI compliance for WifiSettings" into jb-mr2-dev

11 years agoUI compliance for WifiSettings
Maggie Benthall [Tue, 23 Apr 2013 19:03:22 +0000 (15:03 -0400)]
UI compliance for WifiSettings

Rename and reword string that appears in WifiSettings when user is
restricted from modifying the networks.

Bug: 8696370
Change-Id: I1945550c05163ebff9602e4ba8ba890fece61265

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 24 Apr 2013 17:25:21 +0000 (10:25 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iddaad41f96f86f10ac141f29c97beb396c949715
Auto-generated-cl: translation import

11 years agoMerge "Final refactoring of the user/profile settings screen." into jb-mr2-dev
Amith Yamasani [Wed, 24 Apr 2013 01:49:07 +0000 (01:49 +0000)]
Merge "Final refactoring of the user/profile settings screen." into jb-mr2-dev

11 years agoFinal refactoring of the user/profile settings screen.
Amith Yamasani [Tue, 23 Apr 2013 18:44:59 +0000 (11:44 -0700)]
Final refactoring of the user/profile settings screen.

Name restricted users as restricted profiles and group them all
together.

Bug: 8697415
Change-Id: I18acc6b61bfb12a8e1540eb022a73b29783789e1

11 years agoAdd support to display regulatory info from *#07#.
Jake Hamby [Tue, 9 Apr 2013 22:48:25 +0000 (15:48 -0700)]
Add support to display regulatory info from *#07#.

Add a new action and Activity so the phone dialer can display
regulatory info via "*#07#".

Regulatory info is supplied per device by a Settings app resource
overlay. This overlay must set the boolean resource
"config_show_regulatory_info" to true, and provide either a drawable
named "regulatory_info.png" with the info in graphical form, or a
string resource named "regulatory_info_text" containing the required
information in HTML format.

Bug: 8259869
Change-Id: I73c1431a1a6d1736f9d3e4bd5be7e3771c85cbcb

11 years agoMerge "Fix repeating apps on pause/resume" into jb-mr2-dev
Amith Yamasani [Tue, 23 Apr 2013 17:13:46 +0000 (17:13 +0000)]
Merge "Fix repeating apps on pause/resume" into jb-mr2-dev

11 years agoFix repeating apps on pause/resume
Amith Yamasani [Mon, 22 Apr 2013 20:37:58 +0000 (13:37 -0700)]
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

11 years agoMerge "Fix Clear Credentials item" into jb-mr2-dev
Kenny Root [Mon, 22 Apr 2013 23:46:02 +0000 (23:46 +0000)]
Merge "Fix Clear Credentials item" into jb-mr2-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Mon, 22 Apr 2013 21:45:38 +0000 (21:45 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoFix Clear Credentials item
Kenny Root [Mon, 22 Apr 2013 20:41:18 +0000 (13:41 -0700)]
Fix Clear Credentials item

This should be enabled whenever there is a credential in the keystore
since there can be unencrypted credentials in there now.

Bug: 8651830
Change-Id: I52a8262011d744d782b35d97deaabcba3b23f32b

11 years agoAdding UI for editing the name and the picture of a limited user.
Svetoslav [Mon, 15 Apr 2013 19:20:39 +0000 (12:20 -0700)]
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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 22 Apr 2013 18:04:06 +0000 (11:04 -0700)]
Import translations. DO NOT MERGE

Change-Id: I08d8d19f84ddbc4ea46f4c750803af0d22199919
Auto-generated-cl: translation import

11 years agoMerge "Several improvements and fixes in restrictions UI" into jb-mr2-dev
Amith Yamasani [Fri, 19 Apr 2013 23:48:11 +0000 (23:48 +0000)]
Merge "Several improvements and fixes in restrictions UI" into jb-mr2-dev

11 years agoSeveral improvements and fixes in restrictions UI
Amith Yamasani [Fri, 19 Apr 2013 22:27:52 +0000 (15:27 -0700)]
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

11 years agoMerge "Fix bug #8665924 Native arabic numerals in the bluetooth pairing ui" into...
Fabrice Di Meglio [Fri, 19 Apr 2013 21:20:03 +0000 (21:20 +0000)]
Merge "Fix bug #8665924 Native arabic numerals in the bluetooth pairing ui" into jb-mr2-dev

11 years agoFix bug #8665924 Native arabic numerals in the bluetooth pairing ui
Fabrice Di Meglio [Fri, 19 Apr 2013 20:50:59 +0000 (13:50 -0700)]
Fix bug #8665924 Native arabic numerals in the bluetooth pairing ui

- force LATIN digits for passkey

Change-Id: Ifc7fc746677df4c1e9013ecfe6e9f4887f2d4f1d

11 years agoMerge "Change SettingsAppWidgetProvider export to be false" into jb-mr2-dev
Matthew Xie [Fri, 19 Apr 2013 18:42:54 +0000 (18:42 +0000)]
Merge "Change SettingsAppWidgetProvider export to be false" into jb-mr2-dev

11 years agoAdd hints to some text fields for RTL
Jean Chalard [Fri, 19 Apr 2013 12:46:14 +0000 (21:46 +0900)]
Add hints to some text fields for RTL

Having a hint makes sure the cursor is positioned in the right
end of the text field by default for both LTR and RTL locales.
This fixes the user dictionary "add to dictionary" interface
parts, and the "connect to hidden network" interface.

Bug: 8654823
Change-Id: I7c83d35734e53da94bb949e362c5260934ef0b76

11 years agoChange SettingsAppWidgetProvider export to be false
Matthew Xie [Fri, 19 Apr 2013 06:43:42 +0000 (23:43 -0700)]
Change SettingsAppWidgetProvider export to be false

This will protect settings from external broadcaster.
bug 7961958

Change-Id: Id6d0bf83ef19f2b5c2641231cba2dc65a1492797

11 years agoMerge "Fix sort order of InputMethodSubtype" into jb-mr2-dev
Satoshi Kataoka [Fri, 19 Apr 2013 03:04:26 +0000 (03:04 +0000)]
Merge "Fix sort order of InputMethodSubtype" into jb-mr2-dev

11 years agoMerge "Fix issue #8647812: Hide app ops choice from settings shortcut" into jb-mr2-dev
Dianne Hackborn [Fri, 19 Apr 2013 01:27:07 +0000 (01:27 +0000)]
Merge "Fix issue #8647812: Hide app ops choice from settings shortcut" into jb-mr2-dev

11 years agoMerge "Replacing accessibility service permissions with capability attributes." into...
Svetoslav [Fri, 19 Apr 2013 00:56:59 +0000 (00:56 +0000)]
Merge "Replacing accessibility service permissions with capability attributes." into jb-mr2-dev

11 years agoFix issue #8647812: Hide app ops choice from settings shortcut
Dianne Hackborn [Thu, 18 Apr 2013 22:07:19 +0000 (15:07 -0700)]
Fix issue #8647812: Hide app ops choice from settings shortcut

Change-Id: Ifa26a70f4614d3530cc27b360df2b6d5f03b28e3

11 years agoFix sort order of InputMethodSubtype
Satoshi Kataoka [Thu, 18 Apr 2013 16:09:02 +0000 (01:09 +0900)]
Fix sort order of InputMethodSubtype

Bug: 8638372
Change-Id: I65d30f968708dc836635f687aa51b51816daccdb

11 years agoReorganize users screen
Amith Yamasani [Thu, 18 Apr 2013 01:27:01 +0000 (18:27 -0700)]
Reorganize users screen

As per product/ux feedback, move around and rename the users.
Settings button for some users.

Fix crash in limited user when clicking on the user:
Bug: 8494377

Change-Id: I346d12646d32608b01f2c2c2c866b6da51408618

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Thu, 18 Apr 2013 03:41:23 +0000 (03:41 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoReplacing accessibility service permissions with capability attributes.
Svetoslav [Wed, 17 Apr 2013 01:54:53 +0000 (18:54 -0700)]
Replacing accessibility service permissions with capability attributes.

Accessibility services can perform special operations such as retrieve
the screen content, enable explore by touch, etc. To ensure the user
is aware that the service will perform special operations we were using
permissions. However, the special operations cannot be performed unless
the service is really enabled by the user and it is at this point that
we want to notify the user about the service capabilities.

This change adds the list of the service capabilities to the enable
warining dialog such that the user can asses whether to he/she is fine
with this service performing certain special operations.

Main change:https://googleplex-android-review.googlesource.com/#/c/298110/

bug:8633951

Change-Id: I1617fa82126b9a674cb74a15d7004a7cc007c7d3

11 years agoEnsure WFD switch is removed along with settings fragment.
Jeff Brown [Thu, 18 Apr 2013 02:22:05 +0000 (19:22 -0700)]
Ensure WFD switch is removed along with settings fragment.

Bug: 8340072
Change-Id: I8d203725ef1bfa5b1b5e5c224fa57d5feaa9db5a

11 years agoMerge "Move owner info from Settings.Secure to LockSettings" into jb-mr2-dev
Jim Miller [Wed, 17 Apr 2013 20:37:29 +0000 (20:37 +0000)]
Merge "Move owner info from Settings.Secure to LockSettings" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 17 Apr 2013 18:15:26 +0000 (11:15 -0700)]
Import translations. DO NOT MERGE

Change-Id: I04afe54c24573ae6980c1140aede0e0d3b0a06f8
Auto-generated-cl: translation import

11 years agoChanges to deal with restrictions API change
Amith Yamasani [Wed, 17 Apr 2013 17:47:34 +0000 (10:47 -0700)]
Changes to deal with restrictions API change

Bug: 8633967
Change-Id: I5d8e843c850ad3eff900409a9006666ddf91b061

11 years agoRemove wifi/bt restrictions choice for limited users
Amith Yamasani [Tue, 16 Apr 2013 22:39:47 +0000 (15:39 -0700)]
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

11 years agoMove owner info from Settings.Secure to LockSettings
Jim Miller [Tue, 16 Apr 2013 03:27:55 +0000 (20:27 -0700)]
Move owner info from Settings.Secure to LockSettings

Fixes bug 8512972

Change-Id: I3eb68ace44c51daa012547908e28544a2d94847d

11 years agoMerge "Remove old KeyStore API call sites" into jb-mr2-dev
Kenny Root [Mon, 15 Apr 2013 20:45:16 +0000 (20:45 +0000)]
Merge "Remove old KeyStore API call sites" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Apr 2013 18:12:49 +0000 (11:12 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia5a4c8320ec06c7aee2eeb272fc62939a7b63cce
Auto-generated-cl: translation import

11 years agoDon't show developer options to secondary users
Amith Yamasani [Sun, 14 Apr 2013 01:30:59 +0000 (18:30 -0700)]
Don't show developer options to secondary users

Show just a message that developer options are not available for the user.

Also fix silent exit of AddAccount operation by showing a toast that user
cannot add accounts.

Bug: 7409523
Bug: 8519646
Bug: 7304007

Change-Id: Id3f430d568d6b7151ac55f86dbc0ef91803fa10c

11 years agoMerge "Disable apps that require an account on a limited user" into jb-mr2-dev
Amith Yamasani [Sat, 13 Apr 2013 22:54:18 +0000 (22:54 +0000)]
Merge "Disable apps that require an account on a limited user" into jb-mr2-dev

11 years agoDisable apps that require an account on a limited user
Amith Yamasani [Sat, 13 Apr 2013 00:56:34 +0000 (17:56 -0700)]
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

11 years agoRemove old KeyStore API call sites
Kenny Root [Sat, 13 Apr 2013 00:34:13 +0000 (17:34 -0700)]
Remove old KeyStore API call sites

Remove the call sites that don't have the flags specified. This is to
ensure that callers know what flags they're setting.

Bug: 8122243
Change-Id: I59e38efbab6ad60a905ce8678a340da2088b19c9

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Fri, 12 Apr 2013 23:06:30 +0000 (23:06 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Implement Settings app UX for when a user has wifi config locked down." into...
Maggie Benthall [Fri, 12 Apr 2013 21:28:18 +0000 (21:28 +0000)]
Merge "Implement Settings app UX for when a user has wifi config locked down." into jb-mr2-dev

11 years agoMerge "User restrictions for creds storage & user removal" into jb-mr2-dev
Emily Bernier [Fri, 12 Apr 2013 20:22:03 +0000 (20:22 +0000)]
Merge "User restrictions for creds storage & user removal" into jb-mr2-dev

11 years agoMerge "Embed the app restrictions fragment in the dual-pane settings." into jb-mr2-dev
Amith Yamasani [Fri, 12 Apr 2013 17:58:03 +0000 (17:58 +0000)]
Merge "Embed the app restrictions fragment in the dual-pane settings." into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 12 Apr 2013 17:56:21 +0000 (10:56 -0700)]
Import translations. DO NOT MERGE

Change-Id: I55d1e2ad4c165c7098054dadaa79ea3e6896fc89
Auto-generated-cl: translation import

11 years agoMerge "Limit device name length" into jb-mr2-dev
Irfan Sheriff [Fri, 12 Apr 2013 16:55:13 +0000 (16:55 +0000)]
Merge "Limit device name length" into jb-mr2-dev

11 years agoLimit device name length
Irfan Sheriff [Fri, 12 Apr 2013 05:26:28 +0000 (22:26 -0700)]
Limit device name length

Bug: 8599677
Change-Id: Ifce5579c0a65c98a4faaad286a7255b2e63d2a76

11 years agoEmbed the app restrictions fragment in the dual-pane settings.
Amith Yamasani [Fri, 12 Apr 2013 01:21:07 +0000 (18:21 -0700)]
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

11 years agoUser restrictions for creds storage & user removal
Emily Bernier [Thu, 11 Apr 2013 20:24:56 +0000 (16:24 -0400)]
User restrictions for creds storage & user removal

Change-Id: I423e729f73ece6209875d2f8d194d0d11c975c20

11 years agoMerge "Forcing the settings apk to be built with the zz_ZZ pseudolocale. This will...
Benjamin Poiesz [Thu, 11 Apr 2013 22:12:10 +0000 (22:12 +0000)]
Merge "Forcing the settings apk to be built with the zz_ZZ pseudolocale. This will enable Settings to show the effects of the zz_ZZ pseudolocale when selected in the LocalePicker." into jb-mr2-dev

11 years agoForcing the settings apk to be built with the zz_ZZ pseudolocale.
Benjamin Poiesz [Thu, 4 Apr 2013 23:14:13 +0000 (16:14 -0700)]
Forcing the settings apk to be built with the zz_ZZ pseudolocale.
This will enable Settings to show the effects of the zz_ZZ pseudolocale when selected in the LocalePicker.

Bug #8556677

Change-Id: I68ffc81454865dec94a3c1460019d1efce00ea49

11 years agoImplement Settings app UX for when a user has wifi config locked down.
Maggie Benthall [Thu, 11 Apr 2013 19:45:58 +0000 (15:45 -0400)]
Implement Settings app UX for when a user has wifi config locked down.

When the user is restricted from configuring wifi:
- Leave the on/off button enabled
- Hide all menu options
- Hide all networks, and display a message saying:
 "This user is not allowed to configure wireless networks."

Change-Id: I20193b552ea071740686bd9091637459e9b668b5

11 years agoMake sure Settings app restrictions show up
Amith Yamasani [Thu, 11 Apr 2013 18:12:35 +0000 (11:12 -0700)]
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

11 years agoMerge "Implement Settings app UX for when a user has bluetooth config locked down...
Maggie Benthall [Thu, 11 Apr 2013 14:04:39 +0000 (14:04 +0000)]
Merge "Implement Settings app UX for when a user has bluetooth config locked down." into jb-mr2-dev

11 years agoImprove app list for limited users
Amith Yamasani [Thu, 11 Apr 2013 04:59:18 +0000 (21:59 -0700)]
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

11 years agoFirst accessibility device disabled if enableing a second one is canceled.
Svetoslav [Thu, 11 Apr 2013 00:33:37 +0000 (17:33 -0700)]
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

11 years agoMerge "Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats...
Dianne Hackborn [Wed, 10 Apr 2013 21:14:22 +0000 (21:14 +0000)]
Merge "Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats" into jb-mr2-dev

11 years agoFix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats
Dianne Hackborn [Wed, 10 Apr 2013 19:50:32 +0000 (12:50 -0700)]
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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 10 Apr 2013 18:27:46 +0000 (11:27 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ifb727fcd1cfd28e78a2f405ee5cbba21e1999ab3
Auto-generated-cl: translation import

11 years agoMerge "Select text in user name dialog" into jb-mr2-dev
Amith Yamasani [Wed, 10 Apr 2013 00:29:12 +0000 (00:29 +0000)]
Merge "Select text in user name dialog" into jb-mr2-dev

11 years agoSelect text in user name dialog
Amith Yamasani [Wed, 10 Apr 2013 00:26:43 +0000 (17:26 -0700)]
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

11 years agoMerge "Add FW support for CellInfo RIL commands." into jb-mr2-dev
Wink Saville [Tue, 9 Apr 2013 22:50:40 +0000 (22:50 +0000)]
Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Tue, 9 Apr 2013 19:26:15 +0000 (19:26 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Properly remove experimental WebView preference when unavailable." into jb...
Ben Murdoch [Tue, 9 Apr 2013 19:00:41 +0000 (19:00 +0000)]
Merge "Properly remove experimental WebView preference when unavailable." into jb-mr2-dev

11 years agoProperly remove experimental WebView preference when unavailable.
Jared Duke [Tue, 9 Apr 2013 17:09:03 +0000 (10:09 -0700)]
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

11 years agoMerge "Send app restrictions broadcast to stopped apps as well" into jb-mr2-dev
Amith Yamasani [Tue, 9 Apr 2013 18:09:40 +0000 (18:09 +0000)]
Merge "Send app restrictions broadcast to stopped apps as well" into jb-mr2-dev

11 years agoSend app restrictions broadcast to stopped apps as well
Amith Yamasani [Tue, 9 Apr 2013 18:05:18 +0000 (11:05 -0700)]
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

11 years agoPotential fix for a monkey-related NPE
Amith Yamasani [Tue, 9 Apr 2013 17:22:47 +0000 (10:22 -0700)]
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

11 years agoAdd FW support for CellInfo RIL commands.
Wink Saville [Fri, 5 Apr 2013 22:04:05 +0000 (15:04 -0700)]
Add FW support for CellInfo RIL commands.

Add being able to setCellInfoListRate.

Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1

11 years agoImplement Settings app UX for when a user has bluetooth config locked down.
Maggie Benthall [Mon, 8 Apr 2013 20:05:38 +0000 (16:05 -0400)]
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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 8 Apr 2013 19:47:32 +0000 (12:47 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ib3ac2b538aa44464e84db39d318f828b656eb759
Auto-generated-cl: translation import

11 years agoMerge "Allow multiuser use of keystore" into jb-mr2-dev
Kenny Root [Mon, 8 Apr 2013 17:58:37 +0000 (17:58 +0000)]
Merge "Allow multiuser use of keystore" into jb-mr2-dev

11 years agoAllow multiuser use of keystore
Kenny Root [Mon, 8 Apr 2013 16:56:05 +0000 (09:56 -0700)]
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 cc48b0104e4d81592055a578a33f2a59f29bf907)

Bug: 7249554
Change-Id: I419474151380c29e49e50451befbbdf3af65b175

11 years agoFix "no notification listeners" text.
Daniel Sandler [Mon, 8 Apr 2013 16:01:33 +0000 (12:01 -0400)]
Fix "no notification listeners" text.

Bug: 8454150
Change-Id: I6b02367e2be9f31fdf0a54d7fc0c49f8c82922d7

11 years agoInstalledAppDetails: allow revocable permission.
Nick Kralevich [Sat, 6 Apr 2013 01:36:15 +0000 (18:36 -0700)]
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

11 years agoNotification listeners can be enabled in Settings>Security.
Daniel Sandler [Thu, 4 Apr 2013 18:30:04 +0000 (14:30 -0400)]
Notification listeners can be enabled in Settings>Security.

Also known as android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS.

Bug: 8454150
Change-Id: I0c2433bf58ba4c78cd461326bd014535c7f67578

11 years agoReference new StatusBarNotification and INotificationListener packages.
Daniel Sandler [Sat, 23 Mar 2013 01:29:51 +0000 (18:29 -0700)]
Reference new StatusBarNotification and INotificationListener packages.

Requires change I1be46f82 in f/b.

Bug: 8199624
Change-Id: I2ebf7fde793dd932c5fadb308f8a0b93e18d9afa

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Fri, 5 Apr 2013 18:48:15 +0000 (18:48 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 5 Apr 2013 18:07:06 +0000 (11:07 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ide4cc0e303747966dd29a5c849a2d9023b92e098
Auto-generated-cl: translation import

11 years agoMerge "Adding developer toggle for using Chromium WebView." into jb-mr2-dev
Kristian Monsen [Fri, 5 Apr 2013 17:41:34 +0000 (17:41 +0000)]
Merge "Adding developer toggle for using Chromium WebView." into jb-mr2-dev

11 years agoMerge "More fix for bug #8505156 WiFi properties dialog is having some issues in...
Fabrice Di Meglio [Thu, 4 Apr 2013 17:59:50 +0000 (17:59 +0000)]
Merge "More fix for bug #8505156 WiFi properties dialog is having some issues in RTL mode" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 3 Apr 2013 18:14:39 +0000 (11:14 -0700)]
Import translations. DO NOT MERGE

Change-Id: I5b8551dbf8daff54103023c68f8214b135dd07c1
Auto-generated-cl: translation import

11 years agoMore fix for bug #8505156 WiFi properties dialog is having some issues in RTL mode
Fabrice Di Meglio [Wed, 3 Apr 2013 01:36:43 +0000 (18:36 -0700)]
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

11 years agoMerge "pre-provide the mvno data of the edited apn" into jb-mr2-dev
Robert Greenwalt [Tue, 2 Apr 2013 19:20:12 +0000 (19:20 +0000)]
Merge "pre-provide the mvno data of the edited apn" into jb-mr2-dev

11 years agopre-provide the mvno data of the edited apn
Sungmin Choi [Thu, 21 Mar 2013 06:42:27 +0000 (15:42 +0900)]
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

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Mon, 1 Apr 2013 19:37:24 +0000 (19:37 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "When user has DISALLOW_USB_FILE_TRANSFER set, disable settings controls."...
Maggie Benthall [Mon, 1 Apr 2013 18:50:29 +0000 (18:50 +0000)]
Merge "When user has DISALLOW_USB_FILE_TRANSFER set, disable settings controls." into jb-mr2-dev

11 years agoBetter app filtering for limited users
Amith Yamasani [Mon, 1 Apr 2013 05:40:26 +0000 (22:40 -0700)]
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

11 years agoImplement proper settings restrictions
Amith Yamasani [Mon, 1 Apr 2013 00:50:55 +0000 (17:50 -0700)]
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