Commit Graph

34857 Commits

Author SHA1 Message Date
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
Fan Zhang
a278962dbc Refactor DefaultAppPicker to a general radio button picker
Bug: 36557316
Test: make RunSettingsRoboTests
Change-Id: I52985e527e55697cf29f8d97d775d4bbed025beb
2017-03-23 12:41:31 -07:00
TreeHugger Robot
f7e9d46370 Merge "Finalize strings for enterprise privacy" 2017-03-23 19:39:24 +00:00
Stephen Chen
91d13c1a3f Set WIFI_IP_SETTINGS as intent for ConfigureWifiSettings.
Bug: 34392691
Test: make, test intent on device.
Change-Id: Iaf692c0bff25763606d0c4cf0626ad13d0249d2f
2017-03-23 12:06:42 -07:00
Robin Lee
b0fa61685c Update strings for work sounds
Test: manual inspection, see pictures
Change-Id: Ib0bc4b95ee6edaefe18cbabbd9c23a6883aa9e97
2017-03-23 19:00:26 +00:00
Doris Ling
93582995da Add page Settings->Security & lock screen->Lock screen preferences.
- add the new preference screen that contains configuration for lock
screen notification, add user when locked, and owner info.
- refactor SecuritySettings to use the new owner info controller.

Fix: 36163515
Test: make RunSettingsRoboTests

Change-Id: I3bada8f652f89ed0af7aebc03f0bf2f637296b4d
2017-03-23 11:35:20 -07:00
TreeHugger Robot
866497392d Merge "Update final Wi-Fi strings." 2017-03-23 18:31:22 +00:00
Ajay Panicker
5f968a57c7 Merge "AVRCP version interop pereference (2/3)" am: db66a7b664 am: da582fa40d
am: 0ae97550ee  -s ours

Change-Id: Ibe4bc0f1bc067d2fb7560e2b03e09e1dea8c70ee
2017-03-23 18:08:44 +00:00
Ajay Panicker
0ae97550ee Merge "AVRCP version interop pereference (2/3)" am: db66a7b664
am: da582fa40d

Change-Id: I79cb69494d6d3860494f4fa36f44095e1d2c6c6f
2017-03-23 18:03:57 +00:00
Ajay Panicker
250e18c439 Add default value to Bluetooth AVRCP version property get
When the property isn't set a crash can occur since we try to look up an
empty property value.

Bug: 36531010
Test: Open Developer options after a factory reset
Change-Id: I82c0fde00774ab1a4f3e4c44a715c74d4a7804e9
2017-03-23 10:57:30 -07:00
Ajay Panicker
da582fa40d Merge "AVRCP version interop pereference (2/3)"
am: db66a7b664

Change-Id: Ia70a81c027d2e81b01f279c2816de41ef915c0f8
2017-03-23 17:56:28 +00:00
Treehugger Robot
db66a7b664 Merge "AVRCP version interop pereference (2/3)" 2017-03-23 17:49:58 +00:00