Commit Graph

752 Commits

Author SHA1 Message Date
tim peng
59d56cee0b Merge "Add quality preference controller for Bluetooth developer option" 2019-12-11 02:18:05 +00:00
tim peng
d8bb8b3383 Merge "Add channel mode preference controller for Bluetooth developer option" 2019-12-11 02:17:49 +00:00
tim peng
ea1106494d Merge "Add codec dialog preference controller for Bluetooth developer option" 2019-12-10 02:49:17 +00:00
TreeHugger Robot
821db5c036 Merge "Add sample rate preference for Bluetooth developer option" 2019-12-10 01:42:16 +00:00
Winson Chung
d9fcb5109e Updating developer winscope tile to start sysui tracing
Bug: 144854916
Test: Manual, toggle winscope tile, ensure the sysui trace
      is written to disk

Change-Id: I26b5ca41c7538eb90723c5d8f52a0df1d5ce9812
2019-12-09 16:39:21 -08:00
timhypeng
6a1b765d74 Add quality preference controller for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I42b6ecdc0b661f9057db23405785351980f04056
2019-12-09 15:27:10 +08:00
TreeHugger Robot
41eff9f631 Merge "Add quality preference for Bluetooth developer option" 2019-12-09 06:06:37 +00:00
timhypeng
bd80f7f949 Add channel mode preference controller for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: Ibf2238ee8b5d3a9d91ea40fea16aa44583a22cc0
2019-12-09 13:38:49 +08:00
TreeHugger Robot
efa2229556 Merge "Add channel mode preference for Bluetooth developer option" 2019-12-09 05:37:21 +00:00
timhypeng
8b5790dcc0 Add bit per sample preference controller for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I8cde0d80d3533368dce6d101d49036fc97627526
2019-12-09 13:17:25 +08:00
timhypeng
8e2aa11e3a Add codec dialog preference controller for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I5cff61f9f90d9e6a125455685a3608be043f6e7c
2019-12-09 13:14:58 +08:00
tim peng
e655695690 Merge "Add bit per sample preference for Bluetooth developer option" 2019-12-09 05:12:12 +00:00
timhypeng
588a1ca250 Add sample rate preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I5cae9498082d1839add63d2bc01e29639a0c20ee
2019-12-09 13:10:28 +08:00
timhypeng
dc05caec4d Add quality preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I025557ec0977a1585cf65bfacc4a01020c9ea19a
2019-12-09 12:55:45 +08:00
timhypeng
4db1f25f3b Add channel mode preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: Iace94d24d8d395366c8fb78863d2fe09ecd0f60d
2019-12-09 12:31:30 +08:00
PO HUNG CHEN
1ff95c6ef0 Merge "Show terms of service before install GSI/DSU" 2019-12-09 03:41:00 +00:00
PO HUNG CHEN
7f244d5163 Merge "Add a GSI/DSU Loader to the developer option." 2019-12-09 03:36:46 +00:00
timhypeng
19f0230520 Add bit per sample preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: Idaf9be96f4e48acf46cbf53ae7f7d100db002c7c
2019-12-09 11:27:10 +08:00
tim peng
d100099ecc Merge "Add codec dialog preference for Bluetooth developer option" 2019-12-09 03:21:47 +00:00
timhypeng
2e5dabf88b Add codec dialog preference for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I27966cedf915b66e6ce1e4ece2fd854dc21a2841
2019-12-06 15:37:14 +08:00
Howard Chen
60acb519c0 Show terms of service before install GSI/DSU
Test: settings->developer option->debug::DSU Loader
Bug: 144248769
Change-Id: Id5fa7f88544191736eb0c5db6334fd367c1be426
2019-12-05 13:29:53 +08:00
timhypeng
bea3a6e6c8 Add new HD audio preference controller for Bluetooth developer option
- move HD audio switch from codec to upper layer

Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: Ic9a3aa9666d2e105c762fec818c9a47383a6ecd2
2019-12-04 13:04:12 +08:00
Howard Chen
d5f3a0ca75 Add a GSI/DSU Loader to the developer option.
The Generic System Image (GSI) is a pure Android implementation with unmodified
Android Open Source Project (AOSP) code. The Dynamic System Updates (DSU) is a
Android Q feature that can download a system image and boot into it without the
factory rom being corrupted. This CL adds a DSU Loader which is a friendly
front-end that offers developers the ability to boot into GSI with one-click.
The DSU loader also offers the flexibility to overwrite the default setting
and load OEMs owned images.

Bug: 140090894
Test: click settings->developer option->debug::DSU Loader
    make -j32 RunSettingsRoboTests
Change-Id: Ia2a1b69b52047dd841dedf7f07b07f7ad3e65d46
2019-12-04 12:30:01 +08:00
tim peng
cef4313ea0 Merge "Add base dialog preference controller for new Bluetooth developer option" 2019-12-03 07:12:17 +00:00
tim peng
1082bca0ee Merge "Add base preference controller for new Bluetooth developer option" 2019-12-03 07:12:17 +00:00
tim peng
2e092f5f83 Merge "Add base preference for new Bluetooth developer option" 2019-12-03 07:11:59 +00:00
timhypeng
78b0edfe3c Add base dialog preference controller for new Bluetooth developer option
Bug: 142227996
Test: manual
Change-Id: I15335d9c783b5ddba1b93322449f345f450d587f
2019-12-03 09:35:53 +08:00
Abhijeet Kaur
af95719337 Merge "Make Settings UI fuse flag "settings_fuse" persistent" 2019-12-02 15:48:28 +00:00
timhypeng
54d06d368d Add base preference controller for new Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I9d10019228bc575f4ac38494e4dd27d672d5da6d
2019-12-02 14:45:42 +08:00
timhypeng
fdd98bd9ff Add base preference for new Bluetooth developer option
Bug: 142227996
Test: manual
Change-Id: I23c11072a326473bdc7ce169c6c2fb970a8f828d
2019-11-28 17:09:36 +08:00
Alan Stokes
86cc060515 Minor code simplification.
Test: atest VerifyAppsOverUsbPreferenceControllerTest
Bug: 135751498
Change-Id: I51696147a211792e53cc6178e0912c760d667034
2019-11-26 11:39:22 +00:00
Andrei-Valentin Onea
da820e2289 Merge "Add compatibility change preference" am: 0e7b8f7a93 am: 5f2ee93a4b
am: 555425a990

Change-Id: Ifd5e10c2aab269ca67356f68d1adcfeda0938f66
2019-11-25 07:19:21 -08:00
Alan Stokes
2afeb5f43f Stop relying on PACKAGE_VERIFIER_ENABLE.
This setting is being removed, and it no longer controls whether a
package verifier will be invoked. (Each verifier may have its own
controls, but they are outside the framework.)

Test: atest VerifyAppsOverUsbPreferenceControllerTest
Bug: 135751498
Change-Id: I78029c3529f331a88fde42a7aac5c155954f825e
2019-11-22 14:39:01 +00:00
Andrei-Valentin Onea
5f2ee93a4b Merge "Add compatibility change preference"
am: 0e7b8f7a93

Change-Id: Ied50da0e1cdda7c390603f184ae614dd8584025b
2019-11-22 06:06:39 -08:00
Andrei Onea
486fd49e87 Add compatibility change preference
Add UI for modifying the compatibility change overrides per-app.

Test: make RunSettingsRoboTests ROBOTEST_FILTER=PlatformCompatDashboardTest
Bug: 138280620
Change-Id: I07c7602e7a439e47b0b1fa59b047231afbbc0ab6
2019-11-21 11:48:07 +00:00
Abhijeet Kaur
a667372c56 Make Settings UI fuse flag "settings_fuse" persistent
Bug: 144419848
Test: The value of system property settings_fuse persists after reboot
Change-Id: I207e72fdc56785dbde350e01f753c865294a3eba
2019-11-20 11:07:13 +00:00
Evan Rosky
f55bd86185 Add a developer option which allows non-resizables in freeform
Bug: 138594779
Test: manual + pref test
Change-Id: I1620189799dc83cb1c255ca30c4ef29e73e73756
2019-11-14 17:00:35 -08:00
Tsung-Mao Fang
31dd22cc4c Remove redundant code
Don't need to define onResume and onPause again.

Test: Rebuild
Change-Id: I470ced021d1ffab13659335b54db0b01b5766940
2019-11-13 12:36:43 +08:00
Raff Tsai
1eccd55a70 Remove mobile network v1
Fixes: 142920912
Test: rebuild, robolectric
Change-Id: Ib365ba712af62729ca35abbc370aef087ce52a90
2019-11-05 17:54:54 +08:00
Raff Tsai
b3b6236e64 Fix feature flag page animation
- Move add preference code to displayPreference()

Fixes: 143192095
Test: manual
Change-Id: Ib735ecd11fec6a3d45c9743577ea309755d6b010
2019-10-24 00:26:02 +08:00
Raff Tsai
c898775914 Hide search box if it is called in initial setup wizard
- Search box is hidden if user set intent extra isSetupFlow true

Fixes: 135717823
Test: search box is hidden in the following command
adb shell am start -a android.settings.SETTINGS --ez isSetupFlow true

Change-Id: Ia3d955c9390d6b0eef9391b9b35b6a483eb63d26
2019-10-18 02:08:38 +00:00
Raff Tsai
966fa01423 Use SettingsLib Indexable
- Use SettingsLib Indexable
- Directly use resource id in getPreferenceScreenResId

Bug: 135053028
Test: roboletric
Change-Id: I05f493b55e8b6e2091301e9231ba5615215618e6
2019-09-25 18:24:56 +08:00
Raff Tsai
ac3e0d0988 Directly use BaseIndexableProvider
- Add function getXmlResourceId, Fragments don't need to write
xml resource id twice.
- Remove getPreferenceControllers from Indexable.java. Because it will
move to SettingsLib later for other apps which don't need this function

Bug: 135053028
Test: robolectric
Change-Id: I1e74519aecdea3dde64a5aea79f08d766dbc0003
2019-09-24 00:35:52 +08:00
Emilian Peev
78db757cad Developer option off must not affect laser sensor
Turning developer settings to on or off must not
change the current laser sensor preference.

Bug: 140016130
Test: mma ROBOTEST_FILTER=CameraLaserSensorPreferenceControllerTest,
manual using Settings application

Change-Id: Ieb30527e5df97abcb00a6624e1ced93f9198c713
2019-09-20 09:01:06 -07:00
Raff Tsai
1f30b1cd67 Merge similar BaseSearchIndexProvider code together
Bug: 135053028
Test: robolectric, check search_index.db contains the same items
Change-Id: If3c18a170b0e671690df1fdf26e59a421d2c48cd
2019-09-12 11:09:09 +08:00
Mady Mellor
0c47113a5b qt-r1-bubbles-dev @ build 5835883
Test: presubmit setup on source branch

Bug: 129158983
Bug: 136034310
Bug: 137876221
Change-Id: If2b813f24cf5998829fe417e32179c5e8283d308
2019-08-29 17:54:26 -07:00
Sunny Shao
b97eda4ff5 Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the FeatureFlagsDashboard page.

Fixes: 139046148
Test: manual test
Change-Id: I6363f265a9c8b996141b7d7547c450cb70e2a7cd
2019-08-07 17:48:32 +08:00
tmfang
a2be917dbe Change owner for wifi and development
Test: Rebuilt
Change-Id: Ide41b0076f1a30ee3e7f65ca2499cab718876288
2019-07-20 08:00:19 +08:00
Mady Mellor
22c920cc01 Use the Global value rather than the Secure value
Fixes: 137876221
Test: manual - have setting in dev options turned off, post a bubble
               => no bubble appears
             - have setting in dev options turned on, post a bubble
               => bubble appears

Change-Id: I4490b978059a73b45fa8d09bf28e05965f42eec1
2019-07-18 14:40:04 -07:00
Mill Chen
e8bb058d14 Avoid oem-unlock preference controller crash
Openning developer options will crash if the device doesn't support
oem_unlock module. We added a condition to check that the
oem_unlock_supported property is existing before getting OemLockManager.

Fixes: 136108893
Test: robotests
Test: lunch aosp_cf_x86_phone-eng; m dist; acloud create --local-image
Test: lunch sdk_gphone_x86-eng; make; emulator
Change-Id: I2c1821fbdd18e3e8162a492e1e15dd34c8aec803
2019-07-09 16:52:22 +08:00