Commit Graph

41682 Commits

Author SHA1 Message Date
jackqdyulei
cf1ce05ce5 Decouple BluetoothDevicePreference and DeviceListPreferenceFragment
The BluetoothDevicePreference need to know whether to display with an
invalid name. However pass in the whole fragment is over-killing.

This cl decouple it for several reasons:
1. In P, BluetoothDevicePreference will be used in other fragment.
2. In preference lifecycle from end user side, this flag is constant.

Bug: 69333961
Test: RunSettingsRoboTests
Change-Id: I3dbcd2a4aafa3ead74371534250e5e7c3ee221f7
2017-11-20 10:11:20 -08:00
TreeHugger Robot
d332f5c316 Merge "Add owners files to notification test dirs" 2017-11-20 18:10:59 +00:00
Jeffrey Huang
07394c9931 Merge "Enable flag for about phone v2" 2017-11-20 18:10:14 +00:00
Julia Reynolds
8603c7ea62 Add owners files to notification test dirs
Test: make
Change-Id: I63778c68f1ab9edc36a9e12aa1729f8fd6a5e073
2017-11-20 16:40:47 +00:00
Julia Reynolds
a87cee11b6 Restore group block button.
Test: RunSettingsRoboTests
Bug: 63927402
Change-Id: I2e8163082d81d696dce2082be49a16c85458672b
2017-11-20 09:11:57 -05:00
Pavel Grafov
4559ddeb09 Merge "Block editing of locked down wifi network from details page." 2017-11-20 11:38:19 +00:00
TreeHugger Robot
e68467e03d Merge "Use res-auto as app xml namespace instead of settings." 2017-11-18 02:27:20 +00:00
TreeHugger Robot
01a225fd7f Merge "Create version 2 of InstalledAppDetails" 2017-11-18 01:23:43 +00:00
Fan Zhang
74c61d1fef Use res-auto as app xml namespace instead of settings.
This is necessary for SettingsIntelligence to parse settings:keywords
when indexing search stuff.

Bug: 64938328
Test: rerun tests
Change-Id: I0d8885c854852020dfa0b9faa3044d4a1b82f8f2
2017-11-17 16:49:54 -08:00
TreeHugger Robot
eacfbf5221 Merge "Delete DevelopmentSettings.java" 2017-11-18 00:05:59 +00:00
Doris Ling
529e207986 Create version 2 of InstalledAppDetails
- this is the first step for converting InstalledAppDetails into
DashboardFragment
- add a feature flag to determine whether to show the new installed app
detail page.
- decouple the fragment from AppInfoBase: extends from
SettingsPreferenceFragment directly and copy all codes from
AppInfoBase.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: If1ab5b216620eaba1d6bde20e65e7a602931fd94
2017-11-17 15:37:34 -08:00
TreeHugger Robot
2575d3fd45 Merge "Update code to match FeatureFlagUtils interface change." 2017-11-17 22:20:05 +00:00
jeffreyhuang
cb823d5983 Delete DevelopmentSettings.java
- Remove the old DevelopmentSettings
 - Remove references to the feature flag

Fixes: 65522949
Test: make RunSettingsRoboTests -j40
Change-Id: Ie2eb3465127d79a027de6bb58a47bb15e3094f89
2017-11-17 13:52:33 -08:00
TreeHugger Robot
1eaf52aad4 Merge "Remove the private dns dialog in developer page" 2017-11-17 20:34:34 +00:00
Cody Northrop
dd6b82948a Merge "Rootless GPU Debug" 2017-11-17 20:33:24 +00:00
Fan Zhang
264b8b5c08 Update code to match FeatureFlagUtils interface change.
Bug: 36222960
Test: rerun robotests
Change-Id: Iecaaf2dfa1ec0a7f6754e74b723d619e16ec93bf
2017-11-17 11:16:46 -08:00
jackqdyulei
46257a6889 Remove the private dns dialog in developer page
This code is added in go/aog/524415. Since we added this dialog
in network page(ag/3193880), we could delete it in developer
page safely.

Bug: 68030013
Test: Build
Change-Id: Id306160f4a87599ebbb68a86606c672ef800cd8a
2017-11-17 10:44:06 -08:00
jeffreyhuang
b025f06a50 Enable flag for about phone v2
Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I0a41fdafadf71e20b76f999005dac66b6a52f570
2017-11-17 10:14:00 -08:00
Pavel Grafov
d429225640 Block editing of locked down wifi network from details page.
Test: make ROBOTEST_FILTER=WifiDetailPreferenceControllerTest RunSettingsRoboTests
Bug: 68990370
Change-Id: Idceb064486afd93bc8b2f52d605a788520de8e56
2017-11-17 18:11:25 +00:00
Cody Northrop
4e7f57add6 Rootless GPU Debug
This commit adds a new toggle to allow loading GPU debug
layers from the base directory of debuggable applications.

It corresponds to changes to GraphicsEnvironment to look for
matching application and layer list, which are then selectively
passed on the native components, like the Vulkan loader.

Bug: 63708377
Test: Manual, CTS tests to follow
Change-Id: Id6917a7b34df4a37905fafe08a4c1b6503abbb0c
2017-11-17 11:06:35 -07:00
TreeHugger Robot
222f4447a3 Merge "Code cleanup in Zen Mode Settings" 2017-11-17 18:01:53 +00:00
Beverly
495c646744 Code cleanup in Zen Mode Settings
Changes in response to code review from automerged commit ag/3171711

Test: make -j40 RunSettingsRoboTests
Bug: n/a
Change-Id: I5df3db4e8ff421ca9911c84ae3f621a0e3d08092
2017-11-17 11:05:34 -05:00
TreeHugger Robot
268de492c8 Merge "Add test and fix null keys in search providers." 2017-11-16 23:21:51 +00:00
Jeffrey Huang
12108840a0 Merge "Dynamic advanced button for about phone v2" 2017-11-16 21:55:29 +00:00
Jeffrey Huang
5022cb21b0 Merge "Copy controllers from about phone v1 to v2" 2017-11-16 21:09:27 +00:00
Jeffrey Huang
75077060f2 Merge "Additional search terms for about phone v2" 2017-11-16 21:09:00 +00:00
Fan Zhang
7d5c9ace64 Add test and fix null keys in search providers.
- Add keys to some screens.
- Remove dynamic saved network/turst agent from search provider.
- Remove dynamic print services from printsettings.

Bug: 69384409
Test: atest
Change-Id: I62dce27d52585badb2a8953a05084e35dbae2f7d
2017-11-16 12:57:45 -08:00
Jie Cheng
079b1ee5d7 Merge "Preference SimSettingsActivity not aligned correctly" am: 8d3d166823 am: c6525f5e24
am: 74ffa3a130

Change-Id: If48f4ca4e945835a5006253e8f7eba44e4316e6e
2017-11-16 20:32:00 +00:00
Jie Cheng
74ffa3a130 Merge "Preference SimSettingsActivity not aligned correctly" am: 8d3d166823
am: c6525f5e24

Change-Id: I2516b9132982104ef870d79a7c63c7d002f036de
2017-11-16 20:20:45 +00:00
Jie Cheng
c6525f5e24 Merge "Preference SimSettingsActivity not aligned correctly"
am: 8d3d166823

Change-Id: I67a977b974ddbf42b01647e4ca02d7d9dfe1b61d
2017-11-16 20:18:44 +00:00
Treehugger Robot
8d3d166823 Merge "Preference SimSettingsActivity not aligned correctly" 2017-11-16 20:14:27 +00:00
TreeHugger Robot
d672cdd136 Merge "Add search to phone number preference" 2017-11-16 19:44:25 +00:00
jeffreyhuang
6182c048af Copy controllers from about phone v1 to v2
- Add feedback, device fcc, and manual controllers

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: Id2aeaa3a18cc83360e252df32f19a69ecd12f59f
2017-11-16 10:56:09 -08:00
Jie Cheng
e0aa432978 Preference SimSettingsActivity not aligned correctly
The preference SimSettingsActivity in the screen "Network & Internet"
never uses a summary. However the text for this preference ("SIM cards")
is top aligned in order to make room for an extra line for the
non-existing summary.

Solved by setting the summary to @string/summary_empty for the
preference SimSettingsActivity. This will make the text in the
preference to align correctly and not leave extra room for a summary.

Test: manual - Checked that preference SimSettingsActivity is correctly
aligned in screen "Network & Internet".
Bug: 69405185
Change-Id: I1a1b3fa7253bbf2a5299f54cc8c4d3e857ca059c
2017-11-16 15:57:08 +00:00
Fan Zhang
8db327c14f Merge "Catch exception when checking WifiDisplay availability" am: 7a08901d1b am: 6d5e7bf41f
am: 7d72837179

Change-Id: Icd680a4790dfbf694ae15f044ab6ffab02435727
2017-11-16 01:38:12 +00:00
Fan Zhang
7d72837179 Merge "Catch exception when checking WifiDisplay availability" am: 7a08901d1b
am: 6d5e7bf41f

Change-Id: I8e1453bdd39ce220381a3368846bb137c4878dd4
2017-11-16 01:36:10 +00:00
Fan Zhang
6d5e7bf41f Merge "Catch exception when checking WifiDisplay availability"
am: 7a08901d1b

Change-Id: I426208a605e3771238bd91c135e47faf1b559e58
2017-11-16 01:33:31 +00:00
Treehugger Robot
7a08901d1b Merge "Catch exception when checking WifiDisplay availability" 2017-11-16 01:27:57 +00:00
Andrew Sapperstein
0efac4693f Update Settings to use DeviceDefault colored button
Uses new Widget.DeviceDefault.Button.Colored style.
Also updates some of the styles to use DeviceDefault
instead of Material styles for a bunch of button styles.

Bug: 64122537
Bug: 69314526
Test: ag/3228846
Change-Id: I478dfdb5ea67ae1882cfee66050ed44fcda3d80d
2017-11-15 17:23:24 -08:00
jeffreyhuang
848e904eed Dynamic advanced button for about phone v2
- Set the number of tiles for the advanced button based on the device's
 sim count

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I86a5e95476eb93a94607e8c379b132a80a5a1fc5
2017-11-15 16:14:38 -08:00
jeffreyhuang
4e087a3b0d Add search to phone number preference
- implement preference controller mixin

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I907420e49c710427c4cd3ad6fccb2f58f99164ea
2017-11-15 15:35:53 -08:00
jeffreyhuang
4181a573e6 Additional search terms for about phone v2
Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I07172133aa61a36c8c499237d4acaa6a2f392ba0
2017-11-15 15:28:23 -08:00
Fan Zhang
e0fdec2750 Catch exception when checking WifiDisplay availability
Change-Id: Ic2f17905babf43e92a825b8b5b4f8aac7d8ff001
Fixes: 68013053
Test: robotests
2017-11-15 15:12:14 -08:00
TreeHugger Robot
a1df3b1eee Merge "Add control to save button." 2017-11-15 23:06:00 +00:00
Fan Zhang
a590aa8de7 Merge "Misc fixes" 2017-11-15 22:40:31 +00:00
TreeHugger Robot
d76496dca1 Merge "Added zen settings messages and calls preferences." 2017-11-15 21:59:47 +00:00
Bruno Martins
b011e2a55b Merge "Settings: Add notification channel for SIM selection" am: c543d5ba26 am: 7431ad3a80
am: 440373dbde

Change-Id: I605e13adb0e050ee73e646fa13c62f88271271b6
2017-11-15 21:59:25 +00:00
Bruno Martins
440373dbde Merge "Settings: Add notification channel for SIM selection" am: c543d5ba26
am: 7431ad3a80

Change-Id: Ic3241dfe4bc53a1206fb92a1a5c8f0b91cedfca0
2017-11-15 21:56:18 +00:00
Bruno Martins
7431ad3a80 Merge "Settings: Add notification channel for SIM selection"
am: c543d5ba26

Change-Id: I72ac5944b8b4dc3eb2ad38c89ec8eb12f83b019d
2017-11-15 21:54:16 +00:00
Treehugger Robot
c543d5ba26 Merge "Settings: Add notification channel for SIM selection" 2017-11-15 21:45:41 +00:00