481 Commits

Author SHA1 Message Date
Joe Onorato
13460a6cba Turn off verbose logs and remove log that is covered by verbose logs.
Bug: 27744135
Change-Id: I436cfd325f87b3b9205d50e92e2a70a50dd33344
2016-03-24 11:32:17 -07:00
Geoff Mendal
d65a05e5f1 Import translations. DO NOT MERGE
Change-Id: I78231875388818087268e1386bdf02165c745f18
Auto-generated-cl: translation import
2016-03-23 07:23:38 -07:00
Tony Mantler
ddba18ecc4 Move hint strings to SettingsLib
b/18246360

Change-Id: I638adcabcbe4bf0e2db7836b87c603bf9abc3763
2016-03-21 14:50:55 -07:00
Geoff Mendal
27a1dc1e22 Import translations. DO NOT MERGE
Change-Id: Iccb009c4e690d42ec7d4b01cc749dae3f691cdc5
Auto-generated-cl: translation import
2016-03-21 07:24:16 -07:00
Geoff Mendal
c4669182ae Import translations. DO NOT MERGE
Change-Id: Ib2a13f397c947838b0c3db6d0cf8d6de18268bea
Auto-generated-cl: translation import
2016-03-19 03:52:30 +01:00
Jason Monk
a2e759d963 Merge "Fix Settings home lifecycle" into nyc-dev 2016-03-17 13:32:20 +00:00
Gustav Sennton
4b187acf9c Merge "Change wording of WebView Implementation invalid-choice Toast." into nyc-dev 2016-03-17 10:53:24 +00:00
Svetoslav Ganov
3084bb8719 Merge "Disallow disabling of the package installer" into nyc-dev 2016-03-16 23:32:26 +00:00
Jason Monk
14ee8d7e17 Fix Settings home lifecycle
Bug: 26268813
Bug: 27330440
Change-Id: I6f5ab4a412b129728db3e8dff134c04272909997
2016-03-16 14:26:24 -04:00
Geoff Mendal
ed893367b9 Import translations. DO NOT MERGE
Change-Id: Iefbda82e967a365520cdf26df0728b8eb425c6a7
Auto-generated-cl: translation import
2016-03-16 07:27:26 -07:00
Sudheer Shanka
2893302afc Call preference.setEnabled only after updating disabledByAdmin state.
We check the value of disabledByAdmin state in setEnabled, so update it
first before calling setEnabled.

Bug: 27642236
Change-Id: Ie6c805b85a3afb87ffdaad0b80dbadc172b62d49
2016-03-14 14:59:52 -07:00
Nick Kralevich
3972507684 fix spelling
Change-Id: I82e64fa8a64be0fbfda748e6b57b5d339fd6f903
2016-03-12 15:00:50 -08:00
Gustav Sennton
ae71ddd154 Change wording of WebView Implementation invalid-choice Toast.
Add more intuitive and compact text for explaining that the chosen
WebView implementation is no longer invalid.

Bug: 27368515, 27424132
Change-Id: Ia0302964ebeecbd8f69eab436a58c8526359ec16
2016-03-10 18:15:23 +00:00
Tony Mantler
79d7e54f70 Merge "Remove redundant twiddling of Settings.Secure.ACCESSIBILITY_ENABLED" into nyc-dev 2016-03-10 16:54:10 +00:00
Sudheer Shanka
91f80006e5 Merge "Use compound drawable instead of image span." into nyc-dev 2016-03-10 15:58:25 +00:00
Sudheer Shanka
0dd17c8406 Merge "Fix description for the string disabled_by_admin." into nyc-dev 2016-03-10 01:05:37 +00:00
Sudheer Shanka
535b4e7eac Fix description for the string disabled_by_admin.
Change-Id: I229891fd6796521fc0b84f5ae5463b8697cf0934
2016-03-09 17:04:15 -08:00
Sudheer Shanka
8d774b752b Minor cleanup in RestrictedPreferenceHelper.setDisabledByAdmin.
Change-Id: I573ea3a0c4565c62d47c4458b7885a8cfbdf31cc
2016-03-09 14:48:19 -08:00
Tony Mantler
d48e0d44f6 Remove redundant twiddling of Settings.Secure.ACCESSIBILITY_ENABLED
This is handled by AccessibilityManagerService now

b/27477156

Change-Id: Ib55d753ec0bd07764780a126be4bb8e4a406d22d
2016-03-09 14:28:25 -08:00
Sudheer Shanka
f271fd5199 Use compound drawable instead of image span.
Bug: 27263531
Change-Id: Id35342c6656cd4b0f4b1756c903e9cf071293a14
2016-03-09 14:21:07 -08:00
Sudheer Shanka
d7061416eb Merge "Minor cleanup in restricted_icon." into nyc-dev 2016-03-09 17:03:38 +00:00
Sudheer Shanka
bc58e3faa1 Merge "Remove unused imports and variables." into nyc-dev 2016-03-09 17:03:33 +00:00
Sudheer Shanka
efbecddcb7 Remove unused imports and variables.
Bug: 27564074
Change-Id: I5eff9f673fe093a9068e94619cfe7eef10c0b4a9
2016-03-09 16:31:49 +00:00
Sudheer Shanka
65c000fd98 Minor cleanup in restricted_icon.
android:gravity doesn't have any effect for ImageView, remove it.

Bug: 27564074

Change-Id: Icb6e5dc2bfeb0b30b2b77cb56fc7439950eadce1
2016-03-09 16:31:28 +00:00
Jason Monk
4628b6c12a Merge "Support updates to the data usage graph" into nyc-dev 2016-03-09 15:40:56 +00:00
Martijn Coenen
502bc4e7a3 Merge "SettingsLib: Always update preference state." into nyc-dev 2016-03-09 10:30:40 +00:00
Sudheer Shanka
e8cd832eea Merge "Remove RestrictedDropDownPreference class." into nyc-dev 2016-03-08 22:58:00 +00:00
Jason Monk
0193a87196 Support updates to the data usage graph
Also make the graph a little bit more smooth.

Bug: 27278313
Change-Id: Ia9ff8a69691671c57cfaf6eb43e373a8386469ea
2016-03-08 16:35:05 -05:00
Tobias Sargeant
431a92d86d Increase char limit for webview multiprocess setting string
Change-Id: I6589052461aaa7a14a83d085373fa33e5509affc
2016-03-08 16:07:14 +00:00
Muyuan Li
19df1284d9 Making AccessibilityUtils interface multi-user aware
The getEnabledServices and setAccessibilityServiceState now have an
overloaded version to take in a userId parameter.

Bug: 27383941
Change-Id: I3ea648fd5f22cd2e9402686b83ca42976b5306f8
(cherry picked from commit 2d1c0154b1f9aeeb991dc96efb29aa53c76f4957)
2016-03-07 19:08:04 +00:00
Jason Monk
cea711916d Merge "Fix window insets for settings activities" into nyc-dev 2016-03-07 15:33:10 +00:00
Jason Monk
73f842917e Fix window insets for settings activities
Bug: 27276035
Change-Id: I48d8361f38dd7b708c49e71087e3e2ebf3f2df7a
2016-03-07 10:31:15 -05:00
Geoff Mendal
db0b359e90 Import translations. DO NOT MERGE
Change-Id: Ic8549a10856925a33d2fde60685914c59c9ac89e
Auto-generated-cl: translation import
2016-03-07 07:24:43 -08:00
Sudheer Shanka
32da6ae10c Remove RestrictedDropDownPreference class.
It is not being used any more.

Change-Id: I82919eaac21138d3466a5e152d1a1a17429609d2
2016-03-04 17:10:17 -08:00
Joe Onorato
93dcff0122 Turn down the logging a little bit.
Change-Id: I5760eb7d6d6ed5e8a3426e92c835e8a71e10cdbb
2016-03-04 12:21:30 -08:00
Svet Ganov
81fb0d4acd Disallow disabling of the package installer
bug:26426558

Change-Id: Ia40a146c37c219a6edbb5d0457b1fce45b021266
2016-03-04 09:27:26 -08:00
Udam Saini
9cf94182fc Merge "Only adds translucent status bar according to theme values." into nyc-dev 2016-03-03 21:45:10 +00:00
Udam Saini
48987f65df Only adds translucent status bar according to theme values.
On SUW screens, we do not want to add a translucent status bar. This
also affects ime insets when keyboards are shown.

bug:27479424
bug:27063940
Change-Id: Ic339a9d931f6580a9af8deea85ec5e5bb60f6cca
2016-03-03 13:25:10 -08:00
Sudheer Shanka
5f4defc61d Merge "Update restricted icon." into nyc-dev 2016-03-03 18:31:52 +00:00
Sudheer Shanka
31edc5ab0f Merge "Part1: Show the restricted lock icon in place of the pref widget." into nyc-dev 2016-03-03 18:26:46 +00:00
Sudheer Shanka
40400a648f Update restricted icon.
Bug: 25603665
Bug: 27263775
Change-Id: Ib66866cf536f15130f936d03d9328ee5b0b508c7
2016-03-02 19:08:51 -08:00
Ido Ofir
51e06e011d Merge "checking additional metadata and completed categories before displaying suggested actions in settings." into nyc-dev 2016-03-02 21:30:36 +00:00
Ido Ofir
d193c6729f checking additional metadata and completed categories before displaying
suggested actions in settings.

Bug: 27271616
Change-Id: I855bc03337b04c5ff685c102f44dfc0d6638592b
2016-03-02 09:58:59 -08:00
Geoff Mendal
6c9af03fce Import translations. DO NOT MERGE
Change-Id: I5f64277ff355790a3babb97dfeb37ecc892dfa71
Auto-generated-cl: translation import
2016-03-02 07:25:28 -08:00
Sudheer Shanka
923bc74c92 Part1: Show the restricted lock icon in place of the pref widget.
Add summary strings used for switch prefs if disabled by admin.

Bug: 25603665
Bug: 27263775
Change-Id: I88c2dd2e024f92da107bedc645641e285796d51f
2016-03-01 16:45:03 -08:00
Geoff Mendal
4cea6997ba Import translations. DO NOT MERGE
Change-Id: I8097eb86b2a7a2f60f182fdafbc4d942b9ed17f6
Auto-generated-cl: translation import
2016-02-29 07:25:23 -08:00
Martijn Coenen
6f02f56f52 SettingsLib: Always update preference state.
In case a RestrictedPreference can also be disabled
for other reasons than device admin, the state
of RestrictedPreferenceHelper may not be up-to-date
with the actual preference state. For example, the
"Android Beam" checkbox can be disabled by device
policy, but it can also be disabled by Settings itself
because NFC was turned off by the user.

To fix that, always update the Preference state.

Bug: 26907006
Change-Id: I27cde70beb82721dd4d423943a9898e022df8862
2016-02-29 12:16:52 +01:00
Jason Monk
2b087ab077 Merge "Expose bssids for AccessPoints" into nyc-dev 2016-02-26 16:01:47 +00:00
Jason Monk
60a82ffe45 Expose bssids for AccessPoints
Bug: 26271353
Change-Id: Id83cb8ae8f25247e2d8eec9c4e06604b7dbb5488
2016-02-25 13:55:03 -05:00
Jason Monk
6bea950bfa Guard against monkey crash
Bug: 27337783
Change-Id: Ifa1538a0a0521789a516f8cdbc0615a057611ce7
2016-02-25 13:07:41 -05:00