AL Ho
ae2893db10
Update Accessibility vibration settings.
...
- Get notification vibration and haptic feedback intensity respectively.
- Use xliffs to compose these strings.
- Use the version that passed in Vibrator.class to get Vibrator
instance.
- Refactor switch/case part in getSummary() of
VibrationIntensityPreferenceController.
Let AccessibilitySettings and VibrationIntensityPreferenceController
both call it.
- Add robolectric test for method: updateVibrationSummary().
- Refine test method, use real preference and test summary value.
- Remove redundancy.
Bug: 75322064
Test: make ROBOTEST_FILTER=AccessibilitySettingsTest RunSettingsRoboTests
Change-Id: Ia3c7447b1ab1e336b36ad439800b673821417e48
Merged-In: Ia3c7447b1ab1e336b36ad439800b673821417e48
2018-05-11 08:56:13 +00:00
AL HO
bf180cd6a9
[automerger skipped] Merge "Update Accessbility vibration settings." into pi-dev am: 204dcfdb4c
...
am: d507ddd71c
-s ours
Change-Id: Ia7063753b264c4baa9e3cf329a432419e8d05e76
2018-05-11 00:55:53 -07:00
AL HO
d507ddd71c
Merge "Update Accessbility vibration settings." into pi-dev
...
am: 204dcfdb4c
Change-Id: I946902304191ca136cdb960683cdf742cb8ff9a3
2018-05-11 00:23:51 -07:00
AL HO
204dcfdb4c
Merge "Update Accessbility vibration settings." into pi-dev
2018-05-11 07:11:14 +00:00
Fan Zhang
446b699fc3
[automerger skipped] Merge "Fix a strict mode violation in SystemUpdatePrefController" into pi-dev am: 9e629edb09
...
am: b76c1ba682
-s ours
Change-Id: I52c4160b9f2e5c713c0174b2e27e475b3ea44f31
2018-05-10 23:04:02 -07:00
Fan Zhang
b76c1ba682
Merge "Fix a strict mode violation in SystemUpdatePrefController" into pi-dev
...
am: 9e629edb09
Change-Id: Ibab3710f94c418dd345b76fb4d2fd3f486b8c499
2018-05-10 22:59:31 -07:00
TreeHugger Robot
9e629edb09
Merge "Fix a strict mode violation in SystemUpdatePrefController" into pi-dev
2018-05-11 05:49:29 +00:00
TreeHugger Robot
8c71d3853f
Merge "Fix a strict mode violation in SystemUpdatePrefController"
2018-05-11 04:46:53 +00:00
hughchen
0e5935f4d6
Merge "Add Pair new device on Bluetooth screen" into pi-dev am: b87eb6aa06
...
am: c183f43dfe
Change-Id: I94d06345dc2911298b9a45634f989516a0939694
2018-05-10 21:25:34 -07:00
hughchen
c183f43dfe
Merge "Add Pair new device on Bluetooth screen" into pi-dev
...
am: b87eb6aa06
Change-Id: I4ca53abcb7bb28cafc8b7527c82a97f6b70545f8
2018-05-10 21:20:59 -07:00
TreeHugger Robot
b87eb6aa06
Merge "Add “Pair new device” on Bluetooth screen" into pi-dev
2018-05-11 04:12:53 +00:00
Fan Zhang
93d3b5174d
Fix a strict mode violation in SystemUpdatePrefController
...
Change-Id: I4770b878b6f69318f08f8974c5c4d2690c5611d4
Bug: 78626509
Test: robotests
2018-05-11 03:45:48 +00:00
AL Ho
92216ae148
Update Accessbility vibration settings.
...
- Get notification vibration and haptic feedback intensity repectively.
- Use xliffs to compose these strings.
- Use the version that passed in Vibrator.class to get Vibrator
instance.
- Refactor switch/case part in getSummary() of
VibrationIntensityPreferenceController.
Let AccessibilitySettings and VibrationIntensityPreferenceController
both call it.
- Add robolectric test for method: updateVibrationSummary().
- Refine test method, use real preference and test summary value.
- Remove redundancy.
Bug: 75322064
Test: make ROBOTEST_FILTER=AccessibilitySettingsTest RunSettingsRoboTests
Change-Id: Ia3c7447b1ab1e336b36ad439800b673821417e48
Merged-In: Ia3c7447b1ab1e336b36ad439800b673821417e48
2018-05-11 11:13:25 +08:00
hughchen
15c7f76101
Add “Pair new device” on Bluetooth screen
...
* Add AddDevicePreferenceController in bluetooth_screen.xml
Bug: 79298886
Test: make -j50 RunSettingsRoboTests
Change-Id: I4e43e31d05c297ca206cd2b0f747bb615c3dfcd4
2018-05-11 10:25:46 +08:00
Lei Yu
90e7041170
Merge "Fix a bug in AnomalyDetectionJobService" into pi-dev am: b98039e263
...
am: 5740dd8604
Change-Id: I0b982809ccb0419b5773fb05c9b59f402dbbcbee
2018-05-10 18:26:48 -07:00
Doris Ling
56df32dc0b
Merge "Map the new category keys to the corresponding fragment." into pi-dev am: be5fa599be
...
am: b04528670b
Change-Id: I44e1cc9b2e631b19bb51079230821d5e59f496ec
2018-05-10 18:14:54 -07:00
Lei Yu
8dc15da1e0
Merge "Add help uri for smart battery page" into pi-dev am: 64135745b9
...
am: ae09975605
Change-Id: I04595941491f6d2747cbf7c6db03afad166fb6df
2018-05-10 18:14:00 -07:00
Lei Yu
5740dd8604
Merge "Fix a bug in AnomalyDetectionJobService" into pi-dev
...
am: b98039e263
Change-Id: Ie12a079ea1ab083772d3b6c08d2db51157a9315b
2018-05-10 18:05:59 -07:00
Doris Ling
b04528670b
Merge "Map the new category keys to the corresponding fragment." into pi-dev
...
am: be5fa599be
Change-Id: Ie55eee4ac77b9ce9be5f9d1ff3a0bb769fb2f5b9
2018-05-10 18:03:05 -07:00
Fan Zhang
4e24b3ffde
[automerger skipped] Merge "Remove search option in Magnification settings" into pi-dev am: f9b93310c5
...
am: ecd3b2da54
-s ours
Change-Id: I99a647a6f5b29093ce64be9c19622a3bde10a359
2018-05-10 18:02:38 -07:00
Lei Yu
b98039e263
Merge "Fix a bug in AnomalyDetectionJobService" into pi-dev
2018-05-11 00:49:22 +00:00
TreeHugger Robot
be5fa599be
Merge "Map the new category keys to the corresponding fragment." into pi-dev
2018-05-11 00:46:42 +00:00
Fan Zhang
bfeee279a8
Merge "Use shorter string for MasterClear to stop truncating title" into pi-dev am: 4d6375e052
...
am: baab651901
Change-Id: I9a024644f81a62bd5cfce912e96bb37320cdab31
2018-05-10 17:44:42 -07:00
Lei Yu
ae09975605
Merge "Add help uri for smart battery page" into pi-dev
...
am: 64135745b9
Change-Id: I85102ee5824c2b8e52b638cee17334fe65132c9f
2018-05-10 17:34:01 -07:00
Fan Zhang
4ca363470b
Fix a strict mode violation in SystemUpdatePrefController
...
Change-Id: I4770b878b6f69318f08f8974c5c4d2690c5611d4
Merged-In: I4770b878b6f69318f08f8974c5c4d2690c5611d4
Fixes: 78626509
Test: robotests
2018-05-11 00:32:01 +00:00
Lei Yu
1ac4967311
Merge "Add action for low battery tip" into pi-dev am: ed7101cd2a
...
am: c051396951
Change-Id: If2fee93c5ab5ba96fb843b11633f5704043b3067
2018-05-10 17:25:45 -07:00
TreeHugger Robot
64135745b9
Merge "Add help uri for smart battery page" into pi-dev
2018-05-11 00:12:31 +00:00
Fan Zhang
ecd3b2da54
Merge "Remove search option in Magnification settings" into pi-dev
...
am: f9b93310c5
Change-Id: I626e6ebf41395938abf74f004612e982a0ed8005
2018-05-10 17:01:45 -07:00
Fan Zhang
f9b93310c5
Merge "Remove search option in Magnification settings" into pi-dev
2018-05-10 23:56:02 +00:00
Lei Yu
c6b50f1d77
Merge "Update strings in battery settings." into pi-dev am: faa5c2281e
...
am: 37a0f5cf7d
Change-Id: I55da31048dd2804198272f8016e135860a5433ee
2018-05-10 16:54:00 -07:00
TreeHugger Robot
a3d991cc0c
Merge "Make it so client code does not tie tether to wifi"
2018-05-10 23:44:01 +00:00
Fan Zhang
baab651901
Merge "Use shorter string for MasterClear to stop truncating title" into pi-dev
...
am: 4d6375e052
Change-Id: I08afa778d2a7a6af1cbcf3493077c964caa8d5c1
2018-05-10 16:36:58 -07:00
TreeHugger Robot
4d6375e052
Merge "Use shorter string for MasterClear to stop truncating title" into pi-dev
2018-05-10 23:29:03 +00:00
TreeHugger Robot
c36030cc33
Merge "Add a new enum to support available/non-searchable settings"
2018-05-10 23:20:21 +00:00
Lei Yu
1e014ca87c
Merge "Use user doze whitelist in anomaly detection" into pi-dev am: d257c1a2d9
...
am: aeb5b38c52
Change-Id: Id75f81f42a2de2b459e6fd0c705e916324021959
2018-05-10 15:57:28 -07:00
Fan Zhang
dc00efa666
Use shorter string for MasterClear to stop truncating title
...
Change-Id: Ic1c639724c06d4671d4703b9862e77f673541f77
Fixes: 77904702
Test: visual
2018-05-10 15:19:12 -07:00
Fan Zhang
6600bbaf10
Merge "Remove search option in Magnification settings"
2018-05-10 22:14:06 +00:00
Lei Yu
c051396951
Merge "Add action for low battery tip" into pi-dev
...
am: ed7101cd2a
Change-Id: If303953ec4493c20d531b6845a392ba58585c483
2018-05-10 15:07:02 -07:00
TreeHugger Robot
ed7101cd2a
Merge "Add action for low battery tip" into pi-dev
2018-05-10 21:52:43 +00:00
Lei Yu
37a0f5cf7d
Merge "Update strings in battery settings." into pi-dev
...
am: faa5c2281e
Change-Id: I0196ea02f6e3ca9ff533feae1942540daa35e0c2
2018-05-10 14:51:03 -07:00
TreeHugger Robot
faa5c2281e
Merge "Update strings in battery settings." into pi-dev
2018-05-10 21:28:31 +00:00
Fan Zhang
8f699b270d
Add a new enum to support available/non-searchable settings
...
Bug: 72748524
Test: existing robotests
Change-Id: I46b2b4a4fa33d8a94de83829cc1eddc99e89b247
2018-05-10 13:53:59 -07:00
Doris Ling
24827a1c7b
Map the new category keys to the corresponding fragment.
...
- map category night_light to NightDisplaySettings
- map category gestures to GestureSettings
Bug: 79530682
Bug: 79532703
Test: make RunSettingsRoboTests
Change-Id: Idc45957d2515e148226897f58fcc358a8c7f37dd
2018-05-10 13:51:28 -07:00
rafftsai
17ebdcf6e6
Remove search option in Magnification settings
...
- AccessibilitySettingsForSetupWizardActivity add extra argument to hide
search and help menu. It applies to AccessibilitySettingsForSetupWizard.
Add extra in MagnificationPreferenceFragment when launch from SUW.
Fixes: 74195957
Test: am start -a android.settings.ACCESSIBILITY_SETTINGS_FOR_SUW
Change-Id: I8314e3a01907e0befa63b96271bfc2b15c5a1d50
Merged-In: I8314e3a01907e0befa63b96271bfc2b15c5a1d50
2018-05-10 20:51:07 +00:00
rafftsai
f5fffe3da6
Remove search option in Magnification settings
...
- AccessibilitySettingsForSetupWizardActivity add extra argument to hide
search and help menu. It applies to AccessibilitySettingsForSetupWizard.
Add extra in MagnificationPreferenceFragment when launch from SUW.
Fixes: 74195957
Test: am start -a android.settings.ACCESSIBILITY_SETTINGS_FOR_SUW
Change-Id: I8314e3a01907e0befa63b96271bfc2b15c5a1d50
2018-05-10 13:49:30 -07:00
Salvador Martinez
188af9439e
Make it so client code does not tie tether to wifi
...
The wifi service already handles turning off tethering if
multi-interface is/isn't supported. We don't need to do tie wifi
and tethering stuff together in the UI.
Test: robotests still pass
Bug: 79213401
Change-Id: I699dfe2d7646f248a54faa5a8429176697614cdf
2018-05-10 13:36:08 -07:00
Lei Yu
fd37f240a9
Add help uri for smart battery page
...
Bug: 77299457
Test: Build
Change-Id: I3d0ba355e0ded6f830eddd501f57af601c0b33c7
2018-05-10 13:25:06 -07:00
Lei Yu
aeb5b38c52
Merge "Use user doze whitelist in anomaly detection" into pi-dev
...
am: d257c1a2d9
Change-Id: I0d7d66e96395197baed09e012b52be83bb2f4129
2018-05-10 13:21:47 -07:00
Lei Yu
d257c1a2d9
Merge "Use user doze whitelist in anomaly detection" into pi-dev
2018-05-10 20:10:42 +00:00
Lei Yu
8d538ef12d
Add action for low battery tip
...
The action should be same as EarlyWarningTip.
1. Option to "turn on battery saver" is battery is low
2. Or show "battery saver is on" and take user to "battery saver" page.
Fixes: 76113067
Test: RunSettingsRoboTests
Change-Id: I896358305a8ae4cd97c3864bbf6e556b4d025dd7
2018-05-10 12:58:47 -07:00