OSDN Git Service

android-x86/packages-apps-Settings.git
10 years agoAllow hidden apps to opt-out
Amith Yamasani [Thu, 6 Jun 2013 21:48:07 +0000 (14:48 -0700)]
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

10 years agoam 9cd1d5e2: (-s ours) am a9a28d2f: am f96a86c9: am 6d80d477: am 0bccd7e7: am 5f28c77...
Dianne Hackborn [Thu, 6 Jun 2013 19:51:50 +0000 (12:51 -0700)]
am 9cd1d5e2: (-s ours) am a9a28d2f: am f96a86c9: am 6d80d477: am 0bccd7e7: am 5f28c77b: am d6086125: Fix issue #9074296: Device Admins can activate in a way...

* commit '9cd1d5e2c07248e9cc22721d9373ebf1fcf9dba2':
  Fix issue #9074296: Device Admins can activate in a way...

10 years agoam a9a28d2f: am f96a86c9: am 6d80d477: am 0bccd7e7: am 5f28c77b: am d6086125: Fix...
Dianne Hackborn [Thu, 6 Jun 2013 19:35:00 +0000 (12:35 -0700)]
am a9a28d2f: am f96a86c9: am 6d80d477: am 0bccd7e7: am 5f28c77b: am d6086125: Fix issue #9074296: Device Admins can activate in a way...

* commit 'a9a28d2feeccdd2deacf6fcfb96abfcdeed58ddf':
  Fix issue #9074296: Device Admins can activate in a way...

10 years agoam f96a86c9: am 6d80d477: am 0bccd7e7: am 5f28c77b: am d6086125: Fix issue #9074296...
Dianne Hackborn [Thu, 6 Jun 2013 19:32:46 +0000 (12:32 -0700)]
am f96a86c9: am 6d80d477: am 0bccd7e7: am 5f28c77b: am d6086125: Fix issue #9074296: Device Admins can activate in a way...

* commit 'f96a86c99d7505e15a39266967cf4d4d75295af1':
  Fix issue #9074296: Device Admins can activate in a way...

10 years agoam 6d80d477: am 0bccd7e7: am 5f28c77b: am d6086125: Fix issue #9074296: Device Admins...
Dianne Hackborn [Thu, 6 Jun 2013 19:30:51 +0000 (12:30 -0700)]
am 6d80d477: am 0bccd7e7: am 5f28c77b: am d6086125: Fix issue #9074296: Device Admins can activate in a way...

* commit '6d80d477391c6ad14a6bcdb044c3351de4e20481':
  Fix issue #9074296: Device Admins can activate in a way...

10 years agoam 0bccd7e7: am 5f28c77b: am d6086125: Fix issue #9074296: Device Admins can activate...
Dianne Hackborn [Thu, 6 Jun 2013 19:29:04 +0000 (12:29 -0700)]
am 0bccd7e7: am 5f28c77b: am d6086125: Fix issue #9074296: Device Admins can activate in a way...

* commit '0bccd7e7f4d6fe4d5c7e1fef151f50ebed7addaf':
  Fix issue #9074296: Device Admins can activate in a way...

10 years agoam 5f28c77b: am d6086125: Fix issue #9074296: Device Admins can activate in a way...
Dianne Hackborn [Thu, 6 Jun 2013 19:26:39 +0000 (12:26 -0700)]
am 5f28c77b: am d6086125: Fix issue #9074296: Device Admins can activate in a way...

* commit '5f28c77bc64deb132082eaab0ebd544ba5111bd0':
  Fix issue #9074296: Device Admins can activate in a way...

10 years agoam d6086125: Fix issue #9074296: Device Admins can activate in a way...
Dianne Hackborn [Thu, 6 Jun 2013 19:23:05 +0000 (12:23 -0700)]
am d6086125: Fix issue #9074296: Device Admins can activate in a way...

* commit 'd60861258169083f3174734af821fc8078ec5d2f':
  Fix issue #9074296: Device Admins can activate in a way...

10 years agoMerge "Fix NullPointerException at RunningState" into jb-mr2-dev
Amith Yamasani [Thu, 6 Jun 2013 18:16:31 +0000 (18:16 +0000)]
Merge "Fix NullPointerException at RunningState" into jb-mr2-dev

10 years agoFix NullPointerException at RunningState
Johan Redestig [Fri, 5 Oct 2012 08:33:16 +0000 (10:33 +0200)]
Fix NullPointerException at RunningState

getServiceInfo returns null if you have a service defined in the
manifest as: <service android:name=".Xxx" android:exported="false" />
or and in an <application> with no label or icon.
Dont crash the Settings application because of that.

Change-Id: I6f9f69c130e610b7e4ab66426177b7bade1e1515

10 years agoFix issue #9074296: Device Admins can activate in a way...
Dianne Hackborn [Wed, 22 May 2013 18:29:36 +0000 (11:29 -0700)]
Fix issue #9074296: Device Admins can activate in a way...

...that makes it impossible to deactive/uninstall them

Don't allow device admins to directly launch the add UI if
they are malformed.

(cherry picked from commit 8274b6770219a469ab8a5254206d0d81bd5c96d3)

Changes due to make the cherry-pick apply:
* Replaced PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS with 0
  in the PackageManager.queryBroadcastReceivers invocation. The above
  constant was introduced in API Level 18 only. DeviceAdminSettings
  class from which this fix was extracted is not passing in the above
  flag when it invokes queryBroadcastReceivers either.

Change-Id: I64d2792cd06bacbd4bfc600a10046d51a9383606

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 3 Jun 2013 18:48:00 +0000 (11:48 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Fri, 31 May 2013 22:43:38 +0000 (22:43 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

10 years agoDon't show scan-always text if it is off.
Robert Greenwalt [Thu, 30 May 2013 18:33:36 +0000 (11:33 -0700)]
Don't show scan-always text if it is off.

bug:9206410
Change-Id: If7e06f50d3d8db6ea198f437d4d268e65ec96c16

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 30 May 2013 02:29:10 +0000 (19:29 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Wed, 29 May 2013 03:56:37 +0000 (03:56 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

10 years agoMerge "Improved logic for Skip warning message" into jb-mr2-dev
Russell Brenner [Tue, 28 May 2013 20:22:40 +0000 (20:22 +0000)]
Merge "Improved logic for Skip warning message" into jb-mr2-dev

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

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

10 years agoImproved logic for Skip warning message
Russell Brenner [Fri, 24 May 2013 21:28:08 +0000 (14:28 -0700)]
Improved logic for Skip warning message

Use ConnectivityManager instead of TelephonyManager to determine
how device is connected.

Bug: 9118704
Change-Id: I5c1db90500591ca67e927976066a46e1f66e2e60

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 23 May 2013 07:31:54 +0000 (00:31 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Update strings for clarity about restricted profiles" into jb-mr2-dev
Amith Yamasani [Wed, 22 May 2013 22:04:59 +0000 (22:04 +0000)]
Merge "Update strings for clarity about restricted profiles" into jb-mr2-dev

10 years agoMerge "Ensure all active Device Admins are listed." into jb-mr2-dev
Alex Klyubin [Wed, 22 May 2013 21:06:32 +0000 (21:06 +0000)]
Merge "Ensure all active Device Admins are listed." into jb-mr2-dev

10 years agoUpdate strings for clarity about restricted profiles
Amith Yamasani [Wed, 22 May 2013 19:51:30 +0000 (12:51 -0700)]
Update strings for clarity about restricted profiles

Bug: 9051422
Bug: 9051178
Change-Id: I1b88286fdd0db27bb6980d0ebbc846370fd0082e

10 years agoFix issue #9074296: Device Admins can activate in a way...
Dianne Hackborn [Wed, 22 May 2013 18:29:36 +0000 (11:29 -0700)]
Fix issue #9074296: Device Admins can activate in a way...

...that makes it impossible to deactive/uninstall them

Don't allow device admins to directly launch the add UI if
they are malformed.

Change-Id: I0d3140222d8015f680e1f199bddae2221ee0e726

10 years agoEnsure all active Device Admins are listed.
Alex Klyubin [Wed, 22 May 2013 16:06:35 +0000 (09:06 -0700)]
Ensure all active Device Admins are listed.

Bug: 9074296
Change-Id: Ifb70c12ccea6628042b98a18186816887cb4477b

10 years agoWrite restriction bundle right away for required apps.
Amith Yamasani [Tue, 21 May 2013 23:07:28 +0000 (16:07 -0700)]
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

11 years agoDon't mutate all instances of app icons in Settings
Amith Yamasani [Mon, 20 May 2013 22:56:47 +0000 (15:56 -0700)]
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

11 years agoMerge "Load the avatar icon if it's not yet in the activity view" into jb-mr2-dev
Amith Yamasani [Sat, 18 May 2013 00:37:14 +0000 (00:37 +0000)]
Merge "Load the avatar icon if it's not yet in the activity view" into jb-mr2-dev

11 years agoLoad the avatar icon if it's not yet in the activity view
Amith Yamasani [Fri, 17 May 2013 20:32:26 +0000 (13:32 -0700)]
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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 17 May 2013 19:17:02 +0000 (12:17 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Hide notification listeners setting if no listeners." into jb-mr2-dev
John Spurlock [Thu, 16 May 2013 15:36:26 +0000 (15:36 +0000)]
Merge "Hide notification listeners setting if no listeners." into jb-mr2-dev

11 years agoMerge "Return proper result code after creating pin/password lock" into jb-mr2-dev
Amith Yamasani [Thu, 16 May 2013 00:01:42 +0000 (00:01 +0000)]
Merge "Return proper result code after creating pin/password lock" into jb-mr2-dev

11 years agoReturn proper result code after creating pin/password lock
Amith Yamasani [Wed, 15 May 2013 18:26:19 +0000 (11:26 -0700)]
Return proper result code after creating pin/password lock

When adding a new restricted profile, user must enter some lockscreen
security. For PIN/password, return the result code (instead of cancelled)
so that UserSettings can proceed with adding the profile.

Bug: 8909229
Change-Id: I3567d7dfac869e38762f9e2a45d8ec83c51fa657

11 years agoHide notification listeners setting if no listeners.
John Spurlock [Wed, 15 May 2013 13:38:10 +0000 (09:38 -0400)]
Hide notification listeners setting if no listeners.

Hide the new notification listeners management setting when
no listeners using this API are available.

Bug: 8454150
Change-Id: Iae9f975e7b5a3cdf55ff7d0c6aea7e84166d53b3

11 years agoMerge "Add a settings icon to restricted profile config header" into jb-mr2-dev
Amith Yamasani [Tue, 14 May 2013 21:54:27 +0000 (21:54 +0000)]
Merge "Add a settings icon to restricted profile config header" into jb-mr2-dev

11 years agoAdd a settings icon to restricted profile config header
Amith Yamasani [Mon, 13 May 2013 21:54:48 +0000 (14:54 -0700)]
Add a settings icon to restricted profile config header

This is to make it obvious that the header invokes user info settings.

Bug: 8888002

Also fix a minor copy/paste error in contentDesription attribute.

Change-Id: I3a90b0d691df8302fee696d82c5819f43109ae8e

11 years agoMerge "Remove wifi scan-always dialog." into jb-mr2-dev
Robert Greenwalt [Mon, 13 May 2013 21:11:19 +0000 (21:11 +0000)]
Merge "Remove wifi scan-always dialog." into jb-mr2-dev

11 years agoRemove wifi scan-always dialog.
Robert Greenwalt [Mon, 13 May 2013 18:39:08 +0000 (11:39 -0700)]
Remove wifi scan-always dialog.

When wifi is switched off we no longer want a notification dialog
about scan-always, instead using in-panel text.

bug:8907190
Change-Id: I707f306a056068d92f69070873f1e6330b598b1e

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 13 May 2013 16:42:52 +0000 (09:42 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Settings crashing if there are no installed accessibility services." into...
Svetoslav [Wed, 8 May 2013 21:33:13 +0000 (21:33 +0000)]
Merge "Settings crashing if there are no installed accessibility services." into jb-mr2-dev

11 years agoSettings crashing if there are no installed accessibility services.
Svetoslav [Wed, 8 May 2013 19:14:15 +0000 (12:14 -0700)]
Settings crashing if there are no installed accessibility services.

If there is no installed accessibility services and the user goes into
the accessibility settings section, the app crashes. This is due to a
lacking null pointer check against the list of installed services
returned by the accessibility manager. We should not have returned
null, rather an empty list - too late now, sigh...

bug:8871034

Change-Id: Id3800d398af83868862847fa7ed861a9dee61c8f

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

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 6 May 2013 18:59:20 +0000 (11:59 -0700)]
Import translations. DO NOT MERGE

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 3 May 2013 20:12:52 +0000 (13:12 -0700)]
Import translations. DO NOT MERGE

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 1 May 2013 17:43:33 +0000 (10:43 -0700)]
Import translations. DO NOT MERGE

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

11 years agoShow correct A2DP connection status in Bluetooth settings.
Jake Hamby [Fri, 26 Apr 2013 21:38:15 +0000 (14:38 -0700)]
Show correct A2DP connection status in Bluetooth settings.

When BluetoothSettings is entered via QuickSettings while an A2DP
device is connected, we aren't showing the device connection
status in the UI, because the device list is created before we've
connected to the A2DP and Headset profile services, and we weren't
refreshing the device list UI after getting the callback for
onServiceConnected() and retrieving the list of connected devices.

Add a line to HeadsetServiceListener.onServiceConnected() to call
device.refresh() after we call device.onProfileStateChanged() to
refresh the device list UI. Also copy the logic into A2dpProfile's
onServiceConnected() callback so it will refresh the UI for any
connected A2DP devices.

The reason this bug doesn't show up when entering BT settings
from the main Settings screen is because the onServiceConnected()
callbacks happen before the device list is initialized, so the
UI items are created with the correct connection status. For the
same reason, the bug doesn't occur if the Settings app is already
running and we re-enter it via Bluetooth QuickSettings.

Bug: 8724247
Change-Id: I1a993636ecab18dd6e980e3b4d2485bbed256d74

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 30 Apr 2013 07:42:26 +0000 (00:42 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Add reminder about scan settings on wifi off" into jb-mr2-dev
Irfan Sheriff [Mon, 29 Apr 2013 22:59:00 +0000 (22:59 +0000)]
Merge "Add reminder about scan settings on wifi off" into jb-mr2-dev

11 years agoPrompt to set a screen lock when adding a restricted profile
Amith Yamasani [Mon, 29 Apr 2013 17:43:05 +0000 (10:43 -0700)]
Prompt to set a screen lock when adding a restricted profile

Bug: 8735493

If there's no screen lock, prompt to take the user to set a lock.
On return, check if user set the screen lock. If so, add the restricted
profile, otherwise don't add it.

Fix a small layout issue: Bug: 8721209

Change-Id: I2a18fea50a1d810d6a7fa82038b460ca4e03d5a0

11 years agoAdd reminder about scan settings on wifi off
Irfan Sheriff [Fri, 26 Apr 2013 22:11:26 +0000 (15:11 -0700)]
Add reminder about scan settings on wifi off

Notify the user that scans will be available when
wifi is turned off

Bug: 8732391
Change-Id: If232bfb9f6c3976059bde11280318901c35161e7

11 years agoThree kinds of owner info - owner, user and profile
Amith Yamasani [Mon, 29 Apr 2013 05:13:22 +0000 (22:13 -0700)]
Three kinds of owner info - owner, user and profile

Bug: 8736733

Put the summary "Restricted profile" under the user name in app restrictions panel.
Bug: 8736734

Change-Id: I6b724bd10a9246eb57831bffb737a48c01e0c285

11 years agoMerge "Save app toggle state as soon as possible" into jb-mr2-dev
Amith Yamasani [Sun, 28 Apr 2013 04:58:53 +0000 (04:58 +0000)]
Merge "Save app toggle state as soon as possible" into jb-mr2-dev

11 years agoSave app toggle state as soon as possible
Amith Yamasani [Fri, 26 Apr 2013 21:55:01 +0000 (14:55 -0700)]
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

11 years agoMerge "Scroll if an accessibility setting description does not fit the screen." into...
Svetoslav [Fri, 26 Apr 2013 22:14:46 +0000 (22:14 +0000)]
Merge "Scroll if an accessibility setting description does not fit the screen." into jb-mr2-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Fri, 26 Apr 2013 21:50:35 +0000 (21:50 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoScroll if an accessibility setting description does not fit the screen.
Svetoslav [Fri, 26 Apr 2013 17:45:33 +0000 (10:45 -0700)]
Scroll if an accessibility setting description does not fit the screen.

1. Certain accessibility settings are shown on a separate screen with
   a toggle switch and a description. Sometimes the description does not
   fit the screen. The preference framework is using a list view for
   holding the description item. This list view was disabled, thus not
   scrolling (done to avoid drawable state change on click). Now the
   list view is enabled and the drawable state change on click problem
   is solved by setting the selector and divider drawables to a
   transparent one.

2. The layout for the list item that shows the feature description had
   an unnecessary linear layout.

bug:8632146

Change-Id: Ib81a8513158d5b8d90fa80f57720c8590022ae1a

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

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

11 years agoAlways include default system IMEs for restricted profiles
Amith Yamasani [Fri, 26 Apr 2013 04:35:54 +0000 (21:35 -0700)]
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

11 years agoMerge "Revert "Disabled apps should also be shown in restricted profiles app list...
Amith Yamasani [Thu, 25 Apr 2013 22:22:25 +0000 (22:22 +0000)]
Merge "Revert "Disabled apps should also be shown in restricted profiles app list"" into jb-mr2-dev

11 years agoRevert "Disabled apps should also be shown in restricted profiles app list"
Amith Yamasani [Thu, 25 Apr 2013 21:39:23 +0000 (21:39 +0000)]
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

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