Commit Graph

34931 Commits

Author SHA1 Message Date
Fan Zhang
45f21c0aa4 Add new strings for system dashboard.
Bug: 35959817
Bug: 36458355
Test: builds
Change-Id: Iad80edff480a53019666f53dc34f52a8a4562094
2017-03-24 14:04:19 -07:00
Daniel Nishi
3d52a2277a New strings for Storage settings revamp.
Change-Id: Ic893ff8fd0d0c6ae7daae65798c83567782681ce
Fixes: 36197674
Test: None
2017-03-24 13:56:32 -07:00
Doris Ling
2004d6afc0 Update storage summary text.
add the summary text to be used when there is SD card.

Bug: 36375846
Test: builds
Change-Id: I53822c791ef43670626049da9cf7dc048350b4e3
2017-03-24 13:51:48 -07:00
Phil Weaver
296b7263ad A11y shortcut settings enhancement
Adding shortcut on/off switch, improving the service picker,
and adding a switch to enable the shortcut on the lock screen.

Also adjusted setting search code to avoid indexing the
accessibility shortcut aside from the main accessibility settings
page.

Bug: 35872328
Bug: 35219988
Test: Ran in a variety of conditions, ran existing settings test.
Also added basic robo test, verified existing robo tests pass.
Change-Id: I4da9bad74caf96d9c8f3640e7db5417b4ee5d602
2017-03-24 13:15:13 -07:00
Doris Ling
dd5693c6f4 Fix crash in TetherSettings.
In onCreate(), it checkes whether ui is restricted, and try to show an
empty screen by creating a new preference screen. However, when the
preference is not attached, it failed to get the next preference id.
Instead of replacing the current screen with a new one, remove all the
preferences on the screen.

Change-Id: I085bee025cfeabaf4aefacb717d145e668bd85e1
Fix: 36589767
Test: manual
2017-03-24 13:10:09 -07:00
Lei Yu
d3505c76cd Merge "Change dialog theme for dialog activity." 2017-03-24 20:01:23 +00:00
Saige McVea
6413604bbd Resolved accessibility service preference summary strings to use a common resource.
Test: Manual

Bug: 34682532

Change-Id: Idf617fb5008181a0739689e40fef6b3a86aaf72b
2017-03-24 12:48:11 -07:00
Casey Burkhardt
6075d46e85 Merge "Updates to Magnification Settings" 2017-03-24 19:35:20 +00:00
TreeHugger Robot
dedc8f18df Merge "Use DevicePolicyManager#isSecurityLoggingEnabled" 2017-03-24 19:11:12 +00:00
TreeHugger Robot
849d38b576 Merge "Set about phone subtext to device model string." 2017-03-24 18:50:51 +00:00
Yohei Yukawa
63ca922354 Merge "Deprecate IMM#showSoftInputUnchecked() part 2" 2017-03-24 18:50:24 +00:00
Amin Shaikh
04cae3b66a Populate summary for top level wifi picker options
Screenshot: https://drive.google.com/file/d/0B8qSkjrtrXEPLTh0ZTRnMWFWX2M/view

Bug: 36532777
Test: make RunSettingsRoboTests
Change-Id: I9b364ecc4d71de484216f848c853db91a2a08fa7
2017-03-24 17:49:06 +00:00
Amin Shaikh
bef3c6ddfd Update WriteWifiConfigToNfcDialog.
- Use the new WifiManager API to retrieve the WPS NFC token for the
current network.
- Add WifiManagerWrapper class to support testing because Robolectric
does not yet support testing Android O.

Bug: 35725168
Test: m RunSettingsRoboTests
Change-Id: I7805bdcbe02dc262083bcd371d4ad88d256f8089
2017-03-24 10:14:02 -07:00
TreeHugger Robot
60ec4d64ae Merge "Add strings for default apps" 2017-03-24 16:53:00 +00:00
Sergio Sancho
dc59fdd22f Merge "Adding new strings for the Settings changes on TTS for Android O." 2017-03-24 16:43:04 +00:00
Robin Lee
ad6dfe5562 Merge "String for blank security "user credentials" page" 2017-03-24 16:25:00 +00:00
Charles He
cce4e61260 VPN settings: update strings for always-on VPN
To conform with UX guidelines and conventions, the following changes are
made to the UI of app VPN's PreferenceFragment:
(1. Always-on toggle title stays the same)
2. Always-on toggle subtext changes from "active"/"inactive" to an
explanation of the feature
3. Lockdown toggle title is shortened
4. Lockdown toggle subtext is removed completely

And the following changes are made to the legacy VPN's ConfigDialog:
5. Error message that is displayed below the "Always-on VPN" checkbox
6. Replacing \u2019 with \'

Bug: 36382729
Test: manually navigate through VPN settings
Test: make SettingsRoboTests
Change-Id: If1b4faec8743dfbf6e3f8062b53190ad63700d25
2017-03-24 16:02:57 +00:00
TreeHugger Robot
38931ed7c1 Merge "Hide potentially invisible DO Disclosures by default" 2017-03-24 15:26:46 +00:00
Denis Kuznetsov
9992739299 Add strings for default apps
Bug: 32692748
Test: none
Change-Id: Ie37b70901463e763794bf4882c223623e46cb51a
2017-03-24 16:25:20 +01:00
liurong
2710b99d2f [VpnSettings]Crash when activity has been recycled
This is a case we found in monkey test, the main thread handles message while the activity has been recycled. It will raise a NullPointerException when we use getActivity() in following lines.
Assumpt the situation is: settings run in background and activity been recycled quickly, but handler still in the process.

Test: NA

Change-Id: I19db4f13e13294618ec8e42e4d9c54ce23504344
Signed-off-by: liurong <liurong@xiaomi.com>
2017-03-24 15:21:23 +00:00
Robin Lee
ccaf9c91fc UserCredentialsSettings: that fresh new blank look
Less obviously easy than it looks because we want to make it a
SettingsPreferenceFragment for consistency with the other blank
fragment implementations.

Fix: 30878596
Test: make RunSettingsRoboTests
Test: # open up Settings and have a look, uninstall cert, reinstall cert
Change-Id: Ifbe3132475c3104d76589a50dec3f436b9548585
2017-03-24 14:57:13 +00:00
TreeHugger Robot
169ab400a4 Merge "Enterprise string clean-up for O" 2017-03-24 14:27:51 +00:00
TreeHugger Robot
eda4347a90 Merge "Update List of apps on device string, remove "XX apps" string." 2017-03-24 14:20:42 +00:00
Sergio Sancho
a901817c29 Adding new strings for the Settings changes on TTS for Android O.
Change-Id: Ic984dfe3c9d1a1f8a308e5250d497f9024619421

Test: mmm -j20 packages/apps/Settings

Change-Id: I0e83c3793797da4488ce767e46f4597b3b66ab9e
2017-03-24 13:54:46 +00:00
Bartosz Fabianowski
296f7c4f0a Use DevicePolicyManager#isSecurityLoggingEnabled
Now that this method has been opened up to callers with system UID,
use it.

Bug: 36584321
Test: Settings runs (it would crash if it had no access to the method)

Change-Id: I30254ab08e434d5e2b58f41ddaf7d85b4dcd96b0
2017-03-24 14:50:54 +01:00
Bartosz Fabianowski
9290184ebf Hide potentially invisible DO Disclosures by default
Hiding/unhiding a pref triggers an animation. DO Disclosures that may
not be visible should be hidden by default so that they fade in if
applicable, not fade out if not applicable.

Also, the network and security logging disclosures should only be shown
if logging is currently on or was on in the past and a network log was
retrieved at least once.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I8c85f2f66ba295f145e5f5e79febb1b1a9bc6ede
2017-03-24 14:37:01 +01:00
Robin Lee
2dbd7039d1 String for blank security "user credentials" page
This is shown when the user doesn't have any private keys in TPM yet.

Bug: 30878596
Change-Id: Ic24acf4b5251ec442babfddd4d4212e05c461ec4
2017-03-24 13:29:11 +00:00
Julia Reynolds
993d6656f4 Notification & DND string changes
Test: make
Change-Id: I4273683184b109d055eb4706a640521a59f6faa1
Fixes: 36539297
2017-03-24 12:32:18 +00:00
Charles He
bc8285793a Enterprise string clean-up for O
Bug: 34326838
Test: make
Change-Id: I10fc5c2b377f0c0f0cf68732c2af6e01e270844f
2017-03-24 12:12:09 +00:00
Denis Kuznetsov
0c88ff4ed9 Update List of apps on device string,
remove "XX apps" string.

Bug: 32692748
Test: m RunSettingsRoboTests
Change-Id: I64f833497b5362f95cfc56a1057d97d9539ff029
2017-03-24 13:00:49 +01:00
Casey Burkhardt
9c7143c3e4 Updates to Magnification Settings
Restructures accessibility settings to support multiple
magnification modes.

Removes "preview" behavior within magnification settings

Test: Manual
Bug: 30960346
Bug: 36136580
Change-Id: I9f95b8ef2460f5178336e8cb44b10a2553d28ea9
2017-03-24 00:35:28 -07:00
TreeHugger Robot
6edba87daa Merge "Sort saved networks using case insensitive order." 2017-03-24 02:25:48 +00:00
TreeHugger Robot
b11abb9c3a Merge "Update string for Apps & notifications page." 2017-03-24 01:26:24 +00:00
TreeHugger Robot
a7216fdc14 Merge "Update string for battery optimization dialog" 2017-03-24 01:16:42 +00:00
TreeHugger Robot
7f83df4ca8 Merge "Set WIFI_IP_SETTINGS as intent for ConfigureWifiSettings." 2017-03-24 01:12:59 +00:00
TreeHugger Robot
8bf18d7d3f Merge "Add test for UserSetting's summary provider." 2017-03-24 00:50:34 +00:00
TreeHugger Robot
775cb1479b Merge "Change "When in VR mode" to full screen radio button picker" 2017-03-24 00:47:37 +00:00
Amin Shaikh
bfe6f21204 Sort saved networks using case insensitive order.
Bug: 36570745
Test: m RunSettingsRoboTests
Change-Id: Ie2b2d6dc012429f3ac57f24db26720e67e0bac13
2017-03-23 17:43:59 -07:00
Fan Zhang
d53859df7d Set about phone subtext to device model string.
Also remove useless custom preference

Fix: 36395109
Test: robotests
Change-Id: I07297e6ade6991a8262473c9f59c21d914300244
2017-03-23 17:33:33 -07:00
TreeHugger Robot
4a35585197 Merge "Fix bug: UserPreference's gear icon got accidentally hidden" 2017-03-24 00:10:37 +00:00
TreeHugger Robot
af632ab6b2 Merge "Update string for Connected devices page." 2017-03-23 23:42:15 +00:00
TreeHugger Robot
2cd20fb40c Merge "Update text for security & screen lock page." 2017-03-23 23:36:55 +00:00
Doris Ling
5b639527e1 Update string for Apps & notifications page.
Bug: 36376411
Test: builds
Change-Id: I3d1d9535f9aed652857f010e3f935f7edf132dd2
2017-03-23 16:30:13 -07:00
Doris Ling
8f62b9e70a Add test for UserSetting's summary provider.
Change-Id: I5197c109f65f4049e27e704552a2206b19919df3
Fix: 36540644
Test: make RunSettingsRoboTests
2017-03-23 16:08:39 -07:00
Fan Zhang
be59441258 Update string for battery optimization dialog
Change-Id: Iea95bec173ac6cdabc10c32ae51604f190f6f42f
Fix: 36569198
Test: builds
2017-03-23 15:48:15 -07:00
Fan Zhang
abbe272e6f Fix bug: UserPreference's gear icon got accidentally hidden
Change-Id: I9715c3aff20ca8b7a324bd2f8629755690ddc119
Fix: 36545470
Test: make RunSettingsRoboTests
2017-03-23 15:37:42 -07:00
TreeHugger Robot
510a1a696a Merge "Update settings homepage summary text." 2017-03-23 22:24:02 +00:00
TreeHugger Robot
6cbbbcfe1a Merge "Split the plurals strings with zero quantity." 2017-03-23 22:22:25 +00:00
Daniel Nishi
aaebe26678 Merge "Add icons to the main static storage setting prefs." 2017-03-23 22:16:19 +00:00
TreeHugger Robot
cd83259ef0 Merge "Changed the ambient display setting name" 2017-03-23 21:45:36 +00:00