Commit Graph

34568 Commits

Author SHA1 Message Date
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
Doris Ling
c6d4a8dab2 Update text for security & screen lock page.
Bug: 36540633
Test: builds
Change-Id: I68c5243aaf359a69cdd6632dd8009bbb1357d99a
2017-03-23 14:42:01 -07:00
TreeHugger Robot
be716e423b Merge "Update text for Users & accounts page." 2017-03-23 21:23:53 +00:00
TreeHugger Robot
bf3ba3d121 Merge "Update the donut view to handle new string." 2017-03-23 21:21:53 +00:00
TreeHugger Robot
bc27c06c5b Merge "Refactor DefaultAppPicker to a general radio button picker" 2017-03-23 21:13:58 +00:00
TreeHugger Robot
7d2b05b26a Merge "Update the system info dialog." 2017-03-23 20:56:49 +00:00
Doris Ling
841de7dae3 Update settings homepage summary text.
- add prefix to storage summary
- update Sound summary to upper case DND
- update System summary text to add time.

Change-Id: Ic0c66c0fefee1a1f1556775d82b5431bbae73600
Bug: 36375846
Test: builds
2017-03-23 13:45:36 -07:00
Fan Zhang
a0c2c11bbf Change "When in VR mode" to full screen radio button picker
Change-Id: I619af85f9c4a2c32daca786f49e898fde9b593f8
Fix: 36557316
Test: make RunSettingsRoboTests
2017-03-23 13:44:23 -07:00
TreeHugger Robot
115fe23f49 Merge "Update strings for work sounds" 2017-03-23 20:43:41 +00:00
Daniel Nishi
3414a6904b Badge the icons for profile storage screen.
Fixes: 36224168
Test: Settings Robotest
Change-Id: I27f0540aaa639b1248347ad41c8f1b711fe65fe7
2017-03-23 13:36:20 -07:00
Doris Ling
fe768e9e22 Update string for Connected devices page.
- update Bluetooth summary text "Connected to" and "Not connected"
- update USB summary text "Charging" and "Supplying"
- update Printing summary to "... on" or "off

Change-Id: I39a809b560a5c6cc6a0e217315dfabb2c4d1a129
Fix: 36234108
Test: builds
2017-03-23 13:22:52 -07:00
TreeHugger Robot
4433c8ce3d Merge "Add page Settings->Security & lock screen->Lock screen preferences." 2017-03-23 20:05:33 +00:00
Selim Cinek
8d164e659d Changed the ambient display setting name
The new screen is now called Incoming notification screen

Bug: 36516811
Change-Id: I71f9a6e86b0fd98a8c39e3ed19208366cea1892e
2017-03-23 13:01:28 -07:00
Doris Ling
81f22e88f9 Update text for Users & accounts page.
- add back the summary loader for UserSettings
- remove "configure" preference category
- add summary for Auto sync data and update the title

Change-Id: Ia00397f775f86d0e160a54783a8518847fce8de8
Bug: 36540644
Test: builds
2017-03-23 12:56:33 -07:00