Steve Elliott
da4a874d84
Merge "New toggle for peoplehub in Notification settings"
2019-12-16 16:41:46 +00:00
Automerger Merge Worker
79c698f801
Merge "[Settings] Remove access of TelecomManager.from()" am: 90544355cd am: 0871f6bc97 am: 0419bccadc
...
Change-Id: I09b6f3bb2990d0b13c9cb58e4bfd7ad12d4178cd
2019-12-16 14:36:25 +00:00
Automerger Merge Worker
0419bccadc
Merge "[Settings] Remove access of TelecomManager.from()" am: 90544355cd am: 0871f6bc97
...
Change-Id: I992dfff13cca63e070a74066a78b53fb8fefe01d
2019-12-16 14:23:54 +00:00
Treehugger Robot
90544355cd
Merge "[Settings] Remove access of TelecomManager.from()"
2019-12-16 13:04:24 +00:00
TreeHugger Robot
d04ad97133
Merge "Only show Condtionals when the feature flag is on."
2019-12-16 10:36:49 +00:00
Yi-Ling Chuang
9bda9af186
Only show Condtionals when the feature flag is on.
...
We plan to deprecate Settings Conditionals as it seems
duplicated with quick settings. For now, we set the default
value of this flag to false to disalbe it. OEMs could still
enalbe this feature by setting the flag on.
Bug: 142927361
Test: robotests
Change-Id: Ifaf710caf0045cb185b3a8c3b04f1ce537f67896
2019-12-16 17:13:21 +08:00
Jason Chiu
d955ebcd61
Merge "[Settings] Add preference click metric log"
2019-12-16 08:58:35 +00:00
Bonian Chen
3a96d214d3
[Settings] Remove access of TelecomManager.from()
...
Replace TelecomManager.from() into public API access.
Bug: 146187127
Test: build pass
Change-Id: Id9fa32063a9a7ea5b9107315e50330fa5eca41b7
2019-12-16 08:48:05 +00:00
Automerger Merge Worker
107cd136a3
Merge "[Settings] Adopting public API" am: 8ddd0da0a1 am: 40d2a2dd8d am: 11fa77b023
...
Change-Id: I87282b78a9db6eb3611591f0c4702447b8470db4
2019-12-16 08:31:03 +00:00
Automerger Merge Worker
11fa77b023
Merge "[Settings] Adopting public API" am: 8ddd0da0a1 am: 40d2a2dd8d
...
Change-Id: I9a02b9a67658623c51f657d56e345b736b91977c
2019-12-16 08:15:54 +00:00
Bonian Chen
d230b552f5
Merge "[Settings] Unable to display disabled SIM (part 2)"
2019-12-16 08:05:17 +00:00
Bonian Chen
1247771b88
[Settings] Adopting public API
...
Replace SubscriptionManager#getActiveSubscriptionInfoList(true) by
SubscriptionManager#getActiveSubscriptionInfoList() since they're
equivalent.
Bug: 146312766
Test: build pass
Change-Id: Iab8a141277e0199f75a3419527e15d63669224fc
2019-12-16 06:35:43 +00:00
Jason Chiu
1281e595e4
[Settings] Add preference click metric log
...
- Move the log point of onPreferenceTreeClick from DashboardFragment to
it's super class InstrumentedPreferenceFragment for better coverage.
- Write the preference click metric log in PreferenceController handling
case in DashboardFragment which will skip super class's log point.
Bug: 137559984
Test: robotest
Change-Id: I67178f613c74f755e20fc9dc41319974cb02e83c
2019-12-16 10:57:09 +08:00
tim peng
8e25a3a658
Merge "Apply new preference and controller for Bluetooth developer option"
2019-12-16 01:24:53 +00:00
Automerger Merge Worker
00d32abf06
Merge "Revert "[Setting] Cleanup Unused SimSettings"" am: 487c94c11a am: 74a7a3cfb2
...
Change-Id: I02216936cd583e0a9a015287decdcb9f849ca45c
2019-12-14 01:23:03 +00:00
Automerger Merge Worker
cc63645bb2
Merge "[RadioInfo] Remove from Settings (into Telephony)" am: 0aac2dfab6 am: cfb6e23b21
...
Change-Id: I8c589476f6f365c2695bbacb026beebc4ea1c8db
2019-12-14 01:04:19 +00:00
Bonian Chen
487c94c11a
Merge "Revert "[Setting] Cleanup Unused SimSettings""
2019-12-14 01:01:38 +00:00
Bonian Chen
0aac2dfab6
Merge "[RadioInfo] Remove from Settings (into Telephony)"
2019-12-14 00:44:43 +00:00
Pinyao Ting
e6c023bed4
Revert "[Setting] Cleanup Unused SimSettings"
...
This reverts commit 0d9d341932 .
Reason for revert: Potential culprit for b/146229292 - verifying through Forrest before revert submission
Change-Id: I29a3ed1a44ea324e0fa88cda2e5baecb441f7922
2019-12-13 23:44:06 +00:00
Steve Elliott
bcfdbf4951
New toggle for peoplehub in Notification settings
...
Fixes: 146150828
Test: manual, atest
Change-Id: I7c21b81b1337ca0daf5b846f6ba9c7e6a239f09f
2019-12-13 20:47:18 +00:00
Ahmed ElArabawy
a53e186d50
Merge "Wifi: Replace dual_band with 5GHz band support"
2019-12-13 19:46:55 +00:00
Automerger Merge Worker
14b406fd8f
Merge "[Setting] Cleanup Unused SimSettings" am: 64b5882f9e am: a9692bdf36
...
Change-Id: I58672eccd38cae6eb2af2fae6ef57bdb432dc0e2
2019-12-13 18:05:19 +00:00
Bonian Chen
64b5882f9e
Merge "[Setting] Cleanup Unused SimSettings"
2019-12-13 17:35:59 +00:00
Bonian Chen
c5f3951970
[Settings] Unable to display disabled SIM (part 2)
...
1. Disabled SIMs are accessed through getAvailableSubscriptionInfoList()
API.
2. Support of DSDS enable/disable runtime change intent detection
3. Add support for AutoCloseable
Bug: 144172733
Test: Manual
Change-Id: Ibce65c854aee2ae07ca94cbdd4bd2ce656f5f2c8
2019-12-13 14:32:56 +00:00
Bonian Chen
3b85a17840
Merge "[Settings] Enabling first stage of threading"
2019-12-13 14:03:31 +00:00
TreeHugger Robot
6f0f1ee30e
Merge "Make some notification related slices public."
2019-12-13 14:01:21 +00:00
Bonian Chen
0d9d341932
[Setting] Cleanup Unused SimSettings
...
There's no entry to access SimSettings.
Remove this unused UI.
Bug: 131324863
Test: manual
Change-Id: Ic55161ab47ae8673caf774cc49914f3741569fab
Merged-In: I3f50e528eb409215371a125184502d3531bad0a8
2019-12-13 13:46:07 +00:00
Bonian Chen
3e747559f8
[Settings] Enabling first stage of threading
...
Settings app would move PreferenceController to run
in background thread in the near future.
To support this, change some of the design within these
essential components to allow:
1. Handler to run on non-main thread
2. Minimum multi-thread reentrance support
Bug: 146045802
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=GlobalSettingsChangeListenerTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ActiveSubsciptionsListenerTest
Change-Id: Ica5c942b919007d7d260feee632752d3353a6f18
2019-12-13 20:43:25 +08:00
TreeHugger Robot
5828d8aea4
Merge "Add a feature flag for Settings conditionals removal."
2019-12-13 09:36:44 +00:00
Automerger Merge Worker
ac838cd258
Merge "[Settings] Avoid access Controller from Slice" am: 5fb5d21b2d am: 9901d4262a am: 0e92e71139
...
Change-Id: I1773f81561c53e1a69204e2c3d58a00c16ff5f09
2019-12-13 08:34:33 +00:00
Automerger Merge Worker
0e92e71139
Merge "[Settings] Avoid access Controller from Slice" am: 5fb5d21b2d am: 9901d4262a
...
Change-Id: I842ec0be059ce9c2ee09ea80a344beeb071cfa22
2019-12-13 08:25:51 +00:00
Bonian Chen
5fb5d21b2d
Merge "[Settings] Avoid access Controller from Slice"
2019-12-13 08:07:27 +00:00
Bonian Chen
be5216cacb
[RadioInfo] Remove from Settings (into Telephony)
...
Moving RadioInfo and BandMode to Telephony app.
Bug: 123598192
Test: Manual test
Change-Id: Id32982fe3e6fbf686fafe94ecc6c8549c7a5243c
Merged-In: Id62a2bf4b2c44efcd48319734d1cab6ed969ee06
2019-12-13 07:17:53 +00:00
tim peng
f455e1719e
Merge "Add sample rate preference controller for Bluetooth developer option"
2019-12-13 07:09:08 +00:00
Bonian Chen
9d49e1b51f
[Settings] Avoid access Controller from Slice
...
AirplaneModePreferenceController is designed to be run in UI thread.
However, MobileDataSlice is designed to be run in SliceProvider.
Accessing AirplaneModePreferenceController within SliceProvider which
create a possibility of crash.
Bug: 145689275
Test: manual
Change-Id: Ic9eee407917a94c7247feb3afc709d4642cd9900
2019-12-13 13:34:12 +08:00
TreeHugger Robot
5a95c41795
Merge "wifi: Use constants from BatteryStatsManager"
2019-12-13 04:14:54 +00:00
Yi-Ling Chuang
cf0fbde078
Add a feature flag for Settings conditionals removal.
...
Bug: 142927361
Test: rebuild and manual
Change-Id: I795700c70c50bd8d18a64bfbe4293fd0fa0e2467
2019-12-13 12:11:11 +08:00
Yi-Ling Chuang
3f9f068ca9
Make some notification related slices public.
...
Only PreferenceControllers with isPublicSlice() set to true are exposed
to other apps. Others will be Settings only.
Bug: 141088937
Test: robotests
Change-Id: I6e7b9d45084ea9944143e606bfac56b2cae3e8a3
2019-12-13 11:43:03 +08:00
Ahmed ElArabawy
ead637e0c8
Wifi: Replace dual_band with 5GHz band support
...
As part of the support of the 6GHz band, the concept of dual-band is no
longer valid since we have more than 2 bands supported by Android and
can be checked on the device.
This commit replaces checks on dual-band support with an explicit check
on 5GHz band support.
Bug: 145936758
Bug: 139354972
Test: Manual
Change-Id: Ia118dedb573f61a148764146edf8091ae253a3e2
2019-12-12 16:36:23 -08:00
Automerger Merge Worker
d8c711d891
Merge "Remove calls to APIs no longer being supported" am: 30a4d24f03 am: 93df3c5ad6 am: 72ad627539
...
Change-Id: I2e9452f98d9bffd3647329b3b030692aeaa56a33
2019-12-12 21:47:18 +00:00
Automerger Merge Worker
72ad627539
Merge "Remove calls to APIs no longer being supported" am: 30a4d24f03 am: 93df3c5ad6
...
Change-Id: I2f101ddd172eb36148540821693802c7b0889e37
2019-12-12 21:33:53 +00:00
Treehugger Robot
30a4d24f03
Merge "Remove calls to APIs no longer being supported"
2019-12-12 21:13:46 +00:00
Automerger Merge Worker
df76207905
Merge "Dark theme settings activity" into qt-qpr1-dev am: 8b95d6ab2a am: cafec428ef
...
Change-Id: Ia345f84843f6df7f2e22ffc72988fc56935d9cf4
2019-12-12 21:10:38 +00:00
Automerger Merge Worker
cafec428ef
Merge "Dark theme settings activity" into qt-qpr1-dev am: 8b95d6ab2a
...
Change-Id: Iff1b55f02a99f8237b080d1bf31d33749f61ba6d
2019-12-12 20:51:46 +00:00
Jay Aliomer
8b95d6ab2a
Merge "Dark theme settings activity" into qt-qpr1-dev
2019-12-12 20:32:01 +00:00
Automerger Merge Worker
9880550b33
Merge "Use TelephonyManager API to check if device is voice capable." am: ae675ff282 am: 9b636c7c47 am: c5075647ee
...
Change-Id: I0a4929d0568297df99db37a5477fb9d5519c9f2b
2019-12-12 17:26:36 +00:00
Automerger Merge Worker
c5075647ee
Merge "Use TelephonyManager API to check if device is voice capable." am: ae675ff282 am: 9b636c7c47
...
Change-Id: Ie9c9e46206220f2208847b49919f61f15dfb1d77
2019-12-12 17:08:35 +00:00
Treehugger Robot
ae675ff282
Merge "Use TelephonyManager API to check if device is voice capable."
2019-12-12 16:48:01 +00:00
Roshan Pius
c68aab5f56
wifi: Use constants from BatteryStatsManager
...
Bug: 146009681
Test: Compiles
Change-Id: I99cf476ab0c5e8ad33ef6e1a0f586f7941b5af28
2019-12-12 05:56:05 -08:00
Automerger Merge Worker
37811f9754
Fix Settings crash when clicks Notifications am: 2790889921 am: be513533f3
...
Change-Id: Ie237c391bf2feeb85d10715f85286d1b8e672bc0
2019-12-12 10:19:48 +00:00