Commit Graph

59218 Commits

Author SHA1 Message Date
Bonian Chen
fd8e319801 Merge "[Settings] Replace isImsRegistered" 2020-02-13 17:25:57 +00:00
Julia Reynolds
3b29ff2559 Mode dnd title back to title bar
Test: manual
Fixes: 149183896
Change-Id: Ib5e0c3c79e3b36f58d9196a8435250230275a3f7
2020-02-13 11:17:04 -05:00
Raff Tsai
c793bd4761 Fix test case error
Fixes: 149473766
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.deviceinfo.storage"
Change-Id: I94c857f1ed806ce5f6727a0159dd6e49a20e532a
2020-02-14 00:02:24 +08:00
TreeHugger Robot
1e7ecc1ad5 Merge "Show the footer when global switch is off." 2020-02-13 15:34:31 +00:00
Menghan Li
14c548e38a Merge "Remove on/off information if the services cannot toggle service on/off" 2020-02-13 15:33:48 +00:00
Menghan Li
ca7ca5595d Merge "Fine tunes the color correction layout" 2020-02-13 15:04:01 +00:00
menghanli
04a46cb7c6 Remove on/off information if the services cannot toggle service on/off
Bug: 148837311
Test: Manual test
Change-Id: I57e0ed33bebc41cde99008bb2ed014c63194c52a
2020-02-13 10:41:30 +00:00
Jason Chiu
cd5267c3c9 Fix the header talkback bug in DND schedule page
- set unselectable for LayoutPreference in xml
- use the correct done() API to modify the given LayoutPreference

Bug: 146848260
Test: robotest, manual
Change-Id: I29a00d788fbf87efd0b89e9b6bfa50d1ff24d466
2020-02-13 10:08:25 +00:00
Yi-Ling Chuang
1a6a7e76bd Add a feature flag for contextual home V2.
Bug: 143055685
Test: rebuild
Change-Id: I8c610967fbd47f025fd1015a0772d854a436c3b2
2020-02-13 18:04:09 +08:00
Zhen Zhang
31f1a34629 Add a Preference into "Network & internet" for new tethering UI
Adding a MasterSwitchPreference into "Network & internet" and create
corresponding controller. The preference is hidden by the feature flag.
It does NOT affect the existing UI.

Bug: 146147778
Test: CodeInspectionTest, TetherPreferenceControllerTest,
NetworkDashboardFragmentTest
Change-Id: Ida8e088efbb22d0c983acecbc420672206392dad
2020-02-12 23:55:02 -08:00
menghanli
a8b9f30d11 Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (2/n)
Bug: 142529032
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityShortcutPreferenceControllerTest
Change-Id: Ic55d4fd8db0678b8fccbbb6ef1d217b47a5094bd
2020-02-13 15:44:11 +08:00
menghanli
0922c5a292 Fine tunes the color correction layout
Bug: 145968068
Test: Manual test
Change-Id: I291f2669c110ff6571039da2d224015dfef85488
2020-02-13 15:21:43 +08:00
ChenJean
fb85c52c32 Support autoclick secondary action (5/n)
Seekbar UI show complete on all of devices.

Bug: 146019277
Test: manual
Change-Id: I18227db46ba5040082b9a4a691ad8e5233e3e269
2020-02-13 15:14:48 +08:00
TreeHugger Robot
be94018ba9 Merge "Handle null case in AppStateAppOpsBridge" 2020-02-13 06:44:30 +00:00
Menghan Li
c359bdf884 Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (1/n)" 2020-02-13 06:28:42 +00:00
menghanli
40f9e47bb7 Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (1/n)
Bug: 142529032
Test: Manual test
Change-Id: Icfff02b25b1c83598774dd1708e145c0cf9447d7
2020-02-13 06:27:07 +00:00
Tsung-Mao Fang
1958a27d24 Ignore two broken tests
Bug: 149352891
Test: run robo test
Change-Id: I835e2170e1513fe5cfc2473c5537147c8d4eb113
2020-02-13 14:17:26 +08:00
Bonian Chen
4ad801403a Merge "[Settings] Performance tuning for intent ACTION_ENHANCED_4G_LTE_CHANGED" 2020-02-13 04:59:15 +00:00
Raff Tsai
c9d9888465 Merge "Fix no action in Settings storage" 2020-02-13 03:04:01 +00:00
Automerger Merge Worker
20cae52e36 [automerger skipped] RESTRICT AUTOMERGE am: f8396c5cc0 am: df93007555 -s ours
am skip reason: subject contains skip directive

Change-Id: I9e4df805b06035c553a9810c327b41670e0e46f2
2020-02-13 00:24:16 +00:00
Automerger Merge Worker
df93007555 RESTRICT AUTOMERGE am: f8396c5cc0
Change-Id: I348080b2dc5d6ee8074a1e6275a4bb8644caa417
2020-02-13 00:12:19 +00:00
Peiyong Lin
89bc735369 Show the footer when global switch is off.
In the original implementation we showed a footer when global switch is off,
however, this was broken due to some refactor. This patch fixes the issue where
we don't set the visibility of the footer when global switch is on/off.

Bug: b/148626177
Test: make RunSettingsRoboTests ROBOTEST_FILTER=GraphicsDriver
Change-Id: I0f0763ee1551199cc8611c650350a2adbdf402ed
2020-02-12 16:03:51 -08:00
Yiwen Chen
54114d7895 Merge "Device config flag clean up." 2020-02-12 22:07:42 +00:00
Zach Johnson
6c562f763a Merge "Revert "Pass in active device to all BluetoothA2dp APIs in packa..."" 2020-02-12 21:39:48 +00:00
Daniel Bright
4d6527e063 Merge "Repoint ACTION_SECRET_CODE + ACTION_SIM_STATE_CHANGED" 2020-02-12 18:35:17 +00:00
Daniel Chapin
2be6fc2afe Revert "Pass in active device to all BluetoothA2dp APIs in packa..."
Revert submission 10253996-bt-a2dp-no-null

Reason for revert: b/149361880
Reverted Changes:
If43934374: Pass in active device to all BluetoothA2dp APIs in...
I22dd1ca36: Make sure calls to BluetoothA2dp APIs pass non-nul...
If6475af6f: Require user pass in a non-null BluetoothDevice to...
I9d0e2c89c: Pass in active device to all BluetoothA2dp APIs in...
I1faa6174d: Need to now pass in active device instead of null ...
I69a941a7e: Pass in active device to all BluetoothA2dp APIs in...

Change-Id: I1d8660b11c917cf657e61478d58794182e17ec1a
2020-02-12 17:16:10 +00:00
Jason Chiu
d13734fe59 Merge "Revise homepage sticky cards UI" 2020-02-12 15:58:52 +00:00
TreeHugger Robot
4bd4a72d5a Merge "Update notification history text styles" 2020-02-12 13:11:03 +00:00
Bonian Chen
569f760c12 [Settings] Replace isImsRegistered
Replace isImsReigstered() by callback from ImsMmTelManager.

Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=SimStatusDialogControllerTest
Change-Id: I904da749df7074918d205ebd004a173ed109c561
2020-02-12 21:10:07 +08:00
TreeHugger Robot
6b37d72c1b Merge "Revert "Revert "Show "Add users from lock screen" dependent on secure lock screen.""" 2020-02-12 13:01:53 +00:00
TreeHugger Robot
009b7c0c44 Merge "Fix some settings can't load data correctly." 2020-02-12 12:23:37 +00:00
TreeHugger Robot
83a24365cf Merge "Fix the setting image contrast ratio of the settings_button is too low." 2020-02-12 12:22:49 +00:00
Jason Chiu
55563896be Revise homepage sticky cards UI
- revmove material card layout
- remove slice header's divider
- add dividers below each sticky cards
- simplify contextual_slice_full_tile layout

Bug: 149371123
Test: visual
Change-Id: I13a8af21f565114220a093409e2a9ca664a57b02
2020-02-12 19:15:26 +08:00
menghanli
5638acbc82 Use HTML text preference for rich content
Implements for Color Correction, Color Inversion, and Magnify

Bug: 148837311
Test: Manual test
Change-Id: I5e5b311b6ae8e42cca3ef9048c8b8b0de52d13bc
2020-02-12 19:12:26 +08:00
TreeHugger Robot
f75e69acf7 Merge "Add null check of MediaDevice" 2020-02-12 11:08:36 +00:00
TreeHugger Robot
db818cb53c Merge "Fix Wifi & Bluetooth slice can't show on search result" 2020-02-12 10:39:28 +00:00
Edgar Wang
a454aef159 Fix some settings can't load data correctly.
Bug: 149108580
Test: manual & robotest
Change-Id: I0cdbe350dd1c3b3edeae0b837c95d464f36541cc
2020-02-12 18:22:13 +08:00
Tsung-Mao Fang
59e1e64258 Handle null case in AppStateAppOpsBridge
AppStateAppOpsBridge#getEntries returns null if no app
is requesting AppStateAppOpsBridge#mPermissions,
which would cause the settings app to crash in
AppStateAppOpsBridge#loadAllExtraInfo or
AppStateAppOpsBridge#loadAppOpsStates.

Try to skip null case here and set null for extraInfo
when we get null from AppStateAppOpsBridge#getEntries.

Change-Id: Iac03ec11869eeac62fa055da26b4b7a10dc65bb8
Fix: 147479269
Test: Open All files access and no crash.
2020-02-12 18:17:08 +08:00
Edgar Wang
7312defa4a Fix Wifi & Bluetooth slice can't show on search result
root cause: we remove wifi & bluetooth preference screen key from search
indexing, this cause these 2 special slices can't map to correct key

solution: rename preference key for mapping

Bug: 149366072
Test: robotest & manual
Change-Id: Id424e63c4f97ccd6f58a80aaa414807774159512
2020-02-12 17:07:34 +08:00
menghanli
f1a4a825fc Fix the setting image contrast ratio of the settings_button is too low.
Bug: 149269156
Test: Manual test by accessibility scanner
Change-Id: Ie5e5283fc54debe15c6e12575a1db04ffa154635
2020-02-12 16:53:39 +08:00
Zhen Zhang
c56872348f Merge "Update summary for WifiTetherDisablePreference accordingly" 2020-02-12 06:18:00 +00:00
Bonian Chen
f9bf994ae0 Merge "[Settings] Code refactor for Wifi calling IMS API" 2020-02-12 06:14:31 +00:00
Bonian Chen
cf19596829 Merge "[Settings] Data roaming warning only when turn ON" 2020-02-12 06:14:20 +00:00
Raff Tsai
a2e77a0e85 Fix no action in Settings storage
- Pass wrong user id in view holder

Fixes: 149028747
Test: 1. Add new user, and change th new user
      2. Take a camera shot under the new user
      3. go to Settings -> Storage -> photo & video -> Image
      4. Should open file brower

Change-Id: I0af532748ec19f62897911b1bb6ece9b21b844c3
2020-02-12 13:20:19 +08:00
Zhen Zhang
bb3ddcb602 Merge "Fix bug: Add some controllers to AllInOneTetherSettings Lifecycle" 2020-02-12 05:12:53 +00:00
timhypeng
716777d3ad Replace preference with remote media preference group in xml
-remove previous preference controller and its test cases
-update sound setting test case

Bug: 147395289
Test: make -j42 RunSettingsRoboTests
Change-Id: I9e383e11370a13868fdbcb76eafef5aedad895c5
2020-02-12 04:57:18 +00:00
Bonian Chen
ac68e5b23f Merge "[Settings] Avoid binding with phone process" 2020-02-12 04:31:21 +00:00
Bonian Chen
d833301c25 Merge "[Settings] Avoid rendering hidden preferences" 2020-02-12 04:30:35 +00:00
TreeHugger Robot
579859082a Merge "Fix a11y issues in notification history" 2020-02-12 04:18:35 +00:00
TreeHugger Robot
8163bc5630 Merge "Catch named intent to launch history" 2020-02-12 03:44:30 +00:00