Commit Graph

59356 Commits

Author SHA1 Message Date
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
TreeHugger Robot
9ccbadebab Merge "Rename GameDriver* to GraphicsDriver*." 2020-02-12 02:43:03 +00:00
Thomas Devaux
3f0b74cf84 Merge "Auto-open Captive Portal when user clicks on open network." 2020-02-12 02:37:58 +00:00
Jason Chiu
cc781a38ef Merge "Change the font weight of the slice title to medium" 2020-02-12 02:25:20 +00:00
Stanley Wang
b53efae0ab Merge "Fix security issue for using mock location without permission." 2020-02-12 02:23:52 +00:00
Julia Reynolds
49880c3faf Catch named intent to launch history
Test: manual
Bug: 137396965
Change-Id: I8d076b72dd9b74a9d9cb482113f5638203bd462d
2020-02-12 02:12:05 +00:00
TreeHugger Robot
5a5ca79af4 Merge "Link PACKAGE_USAGE_STATS with LOADER_USAGE_STATS" 2020-02-12 01:56:31 +00:00
Automerger Merge Worker
75906f358a [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 226ef3d100 -s ours am: 707aeaca7d -s ours am: d8ffaba4ae -s ours
am skip reason: subject contains skip directive

Change-Id: Icf69aef2d391a2b18441abc26310b1aa53185216
2020-02-12 01:55:46 +00:00
Zhen Zhang
15ec99114d Update summary for WifiTetherDisablePreference accordingly
The summary of this preference is depenent on other two preferences for
USB tether and Bluetooth tether. The summary is updated accordingly.

Bug: 146818850
Test: CodeInspectionTest, WifiTetherDisablePreferenceControllerTest,
manually test.

Change-Id: I366d10a43814ea0d7def466b1976928f17875029
2020-02-11 17:48:21 -08:00
Automerger Merge Worker
d8ffaba4ae [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 226ef3d100 -s ours am: 707aeaca7d -s ours
am skip reason: subject contains skip directive

Change-Id: Idff5a28b6a63996c4f89cfa4493154ddfe022cde
2020-02-12 01:38:27 +00:00
TreeHugger Robot
ff6e341509 Merge "Add remote media slice in volume panel" 2020-02-12 01:34:15 +00:00
TreeHugger Robot
910cc87fcb Merge "tether setting: fix test error: updateDisplay_shouldUpdateValue" 2020-02-12 01:33:13 +00:00
Jean Chen
2819ef134e Merge "Support autoclick secondary action (4/n)" 2020-02-12 01:28:12 +00:00
Automerger Merge Worker
707aeaca7d [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 226ef3d100 -s ours
am skip reason: subject contains skip directive

Change-Id: Id2f88bf0aa3ce2da5a1666798d1a71e1e20ff62a
2020-02-12 01:22:22 +00:00