Commit Graph

10458 Commits

Author SHA1 Message Date
Irfan Sheriff
c591a8b95d 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
2013-04-29 09:42:22 -07:00
The Android Automerger
9fe2969624 merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-29 05:56:10 -07:00
Amith Yamasani
b4a0838d08 am b0171715: Three kinds of owner info - owner, user and profile
* commit 'b0171715876b672c94c8a5aaafde95ff47b234b4':
  Three kinds of owner info - owner, user and profile
2013-04-28 22:23:20 -07:00
Amith Yamasani
b017171587 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
2013-04-28 22:13:22 -07:00
Amith Yamasani
9649c3ebbe am c5b03657: Merge "Save app toggle state as soon as possible" into jb-mr2-dev
* commit 'c5b036571ed2eeae73b0551848e7f7efdc016a52':
  Save app toggle state as soon as possible
2013-04-27 22:01:09 -07:00
Amith Yamasani
c5b036571e Merge "Save app toggle state as soon as possible" into jb-mr2-dev 2013-04-28 04:58:54 +00:00
Kenny Root
d7d5f4d1bf am c814271f: Merge "Fix Clear Credentials item"
* commit 'c814271fe4117a6c94a314a349edd8d7222cf2c0':
  Fix Clear Credentials item
2013-04-27 15:01:04 -07:00
Kenny Root
c814271fe4 Merge "Fix Clear Credentials item" 2013-04-27 21:39:31 +00:00
Kenny Root
8eb42bd2e0 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.

(cherry picked from commit c4372c3e3f)

Bug: 8651830
Change-Id: Ie06f20cf90f5a359975cb30d67052f8867b429b9
2013-04-27 09:05:43 -07:00
Amith Yamasani
7b56d115ba 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
2013-04-26 15:18:33 -07:00
Svetoslav
7c2a89c9f5 am 4b43e21c: Merge "Scroll if an accessibility setting description does not fit the screen." into jb-mr2-dev
* commit '4b43e21c647864c8105394f353d4533777e7f9c7':
  Scroll if an accessibility setting description does not fit the screen.
2013-04-26 15:16:50 -07:00
Svetoslav
4b43e21c64 Merge "Scroll if an accessibility setting description does not fit the screen." into jb-mr2-dev 2013-04-26 22:14:47 +00:00
Baligh Uddin
584a902632 am 837526fc: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit '837526fceaa39f88ac468406108faacd557f2d28':
  Import translations. DO NOT MERGE
2013-04-26 14:53:26 -07:00
Baligh Uddin
837526fcea Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-26 21:50:35 +00:00
Svetoslav
3b2d307b89 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
2013-04-26 12:36:00 -07:00
Baligh Uddin
a69b41bb18 Import translations. DO NOT MERGE
Change-Id: I902e886b71e60da9c34d682a8b7c4f2453c06375
Auto-generated-cl: translation import
2013-04-26 10:52:46 -07:00
Amith Yamasani
4424d15949 am a7a93784: Always include default system IMEs for restricted profiles
* commit 'a7a93784d1f9798d37cb618def1a558f8d626f0f':
  Always include default system IMEs for restricted profiles
2013-04-26 10:47:18 -07:00
Amith Yamasani
a7a93784d1 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
2013-04-25 23:02:50 -07:00
Amith Yamasani
c3e973c5da am 0cb93523: Merge "Revert "Disabled apps should also be shown in restricted profiles app list"" into jb-mr2-dev
* commit '0cb93523b261c8779119ffa1cd7a45cf2d6b3814':
  Revert "Disabled apps should also be shown in restricted profiles app list"
2013-04-25 16:58:03 -07:00
Daniel Sandler
1344ec1918 am 77f71cb2: Merge "Follow API changes to NotificationListener." into jb-mr2-dev
* commit '77f71cb226203bf3f87eec749296feb3ecd18f43':
  Follow API changes to NotificationListener.
2013-04-25 16:58:02 -07:00
Svetoslav
259668d82f am 410e2df4: Merge "CircleFramedDrawable incorrectly has implicit dependency on the hosting view size." into jb-mr2-dev
* commit '410e2df458328d5375b35ef9a610da240293d06b':
  CircleFramedDrawable incorrectly has implicit dependency on the hosting view size.
2013-04-25 16:58:01 -07:00
Amith Yamasani
0cb93523b2 Merge "Revert "Disabled apps should also be shown in restricted profiles app list"" into jb-mr2-dev 2013-04-25 22:22:25 +00:00
Amith Yamasani
39d0fd84ad 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 90dcd7469b

Change-Id: Idd7c4f0f93a973b777889865e80c53caad759a63
2013-04-25 21:39:23 +00:00
Daniel Sandler
77f71cb226 Merge "Follow API changes to NotificationListener." into jb-mr2-dev 2013-04-25 21:04:02 +00:00
Daniel Sandler
fbfddb0d67 Follow API changes to NotificationListener.
Requires change If3062b9f in f/b

Bug: 8656860
Change-Id: Ib3dc57489b7308f0515a2a19c5c6451607ff1796
2013-04-25 17:01:37 -04:00
Svetoslav
410e2df458 Merge "CircleFramedDrawable incorrectly has implicit dependency on the hosting view size." into jb-mr2-dev 2013-04-25 20:32:46 +00:00
Baligh Uddin
740afcb64b am f6d483e6: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit 'f6d483e6c9c8ee7999d1380b18bf9f30539af228':
  Import translations. DO NOT MERGE
2013-04-25 12:17:41 -07:00
Baligh Uddin
f6d483e6c9 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-25 19:15:31 +00:00
Baligh Uddin
86ef1a5d76 Import translations. DO NOT MERGE
Change-Id: Iad94d22f497a67893855012a0732678f25f8e50d
Auto-generated-cl: translation import
2013-04-25 12:05:11 -07:00
Amith Yamasani
1957644448 am 90dcd746: Disabled apps should also be shown in restricted profiles app list
* commit '90dcd7469b7e776f508a0767b9db46005af0e8da':
  Disabled apps should also be shown in restricted profiles app list
2013-04-25 11:43:44 -07:00
Amith Yamasani
90dcd7469b 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
2013-04-25 11:03:33 -07:00
Svetoslav
8397ba603c 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
2013-04-25 10:41:15 -07:00
The Android Automerger
ac8257b814 merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-25 05:55:40 -07:00
Svetoslav
d8e88735c1 am d346a1ca: Merge "The touch exploration capability is dynamically granted pre-JellyBeanMR2." into jb-mr2-dev
* commit 'd346a1ca2d78df4532bf103e150610a5dbc948ce':
  The touch exploration capability is dynamically granted pre-JellyBeanMR2.
2013-04-24 18:49:23 -07:00
Svetoslav
d346a1ca2d Merge "The touch exploration capability is dynamically granted pre-JellyBeanMR2." into jb-mr2-dev 2013-04-25 01:44:50 +00:00
Svetoslav
5467207b47 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
2013-04-24 15:06:21 -07:00
Amith Yamasani
7200ae73c7 am 868acab2: Merge "Rename limited users to restricted profiles" into jb-mr2-dev
* commit '868acab2a0e82330f6b278f4f93284ca1b6e6225':
  Rename limited users to restricted profiles
2013-04-24 14:58:39 -07:00
Amith Yamasani
868acab2a0 Merge "Rename limited users to restricted profiles" into jb-mr2-dev 2013-04-24 21:54:16 +00:00
Amith Yamasani
8e6f99e22b Rename limited users to restricted profiles
Bug: 8705996
Change-Id: Ibf6a2e0e14ce095758fb9be982710b584b76f15d
2013-04-24 14:21:06 -07:00
Maggie Benthall
90dad6404c am 8bce7c37: Merge "UI compliance for WifiSettings" into jb-mr2-dev
* commit '8bce7c37d007a2e888c4742cf7ceee749ec573fa':
  UI compliance for WifiSettings
2013-04-24 13:00:25 -07:00
Maggie Benthall
8bce7c37d0 Merge "UI compliance for WifiSettings" into jb-mr2-dev 2013-04-24 19:58:24 +00:00
Baligh Uddin
cfa2954f1c am 243ecbe4: Import translations. DO NOT MERGE
* commit '243ecbe4f4acf8af7c7bf588a869a070f239b274':
  Import translations. DO NOT MERGE
2013-04-24 12:28:30 -07:00
Maggie Benthall
91c016de41 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
2013-04-24 19:21:10 +00:00
Baligh Uddin
243ecbe4f4 Import translations. DO NOT MERGE
Change-Id: Iddaad41f96f86f10ac141f29c97beb396c949715
Auto-generated-cl: translation import
2013-04-24 10:25:21 -07:00
The Android Automerger
901310445b merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-24 05:55:48 -07:00
Amith Yamasani
ed0cf41d3a am 99bde108: Merge "Final refactoring of the user/profile settings screen." into jb-mr2-dev
* commit '99bde10810b4a261045e10b0190b1a8f9d7764ac':
  Final refactoring of the user/profile settings screen.
2013-04-23 18:51:16 -07:00
Amith Yamasani
99bde10810 Merge "Final refactoring of the user/profile settings screen." into jb-mr2-dev 2013-04-24 01:49:07 +00:00
Amith Yamasani
fc8a383d42 Final refactoring of the user/profile settings screen.
Name restricted users as restricted profiles and group them all
together.

Bug: 8697415
Change-Id: I18acc6b61bfb12a8e1540eb022a73b29783789e1
2013-04-23 18:45:35 -07:00
Jake Hamby
9235944464 am 5e9bd86b: Add support to display regulatory info from *#07#.
* commit '5e9bd86bc6f89b1a743b04d69e793638ffb8cb41':
  Add support to display regulatory info from *#07#.
2013-04-23 15:25:24 -07:00
Jake Hamby
5e9bd86bc6 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
2013-04-23 13:06:54 -07:00