Commit Graph

2985 Commits

Author SHA1 Message Date
Stanley Tng
321fa78629 Merge "Remove Hearing Aid toggle in Settings" into pi-dev
am: 03ca09dac1

Change-Id: I647b2cc3d721ba6d6c2ab65b488dcfc597aec1ee
2018-05-18 11:34:25 -07:00
TreeHugger Robot
03ca09dac1 Merge "Remove Hearing Aid toggle in Settings" into pi-dev 2018-05-18 18:11:29 +00:00
Stanley Tng
854714d5ea Remove Hearing Aid toggle in Settings
The Hearing Aid toggle in the Device Details page of Hearing Aids in the
Settings App is to be removed.

Bug: 79921361
Test: Manual testing with the Settings App
Change-Id: I8a557112c45fc0004181a58fa5c7794dc0ebe107
2018-05-17 08:55:32 -07:00
hjchangliao
c8d48b58dd Merge "Add new method refreshSummary(Preference)" into pi-dev
am: 0da4fbe5f4

Change-Id: I8f60fb98e141efe4052fdb97510901e5efe5d379
2018-05-16 18:15:29 -07:00
TreeHugger Robot
0da4fbe5f4 Merge "Add new method refreshSummary(Preference)" into pi-dev 2018-05-17 00:43:04 +00:00
hjchangliao
62b9844a8b Add new method refreshSummary(Preference)
Refactor code which update summary in updateState,
Move them into new method refreshSummary.

Fixes: 67997698
Fixes: 67997726
Test: make RunSettingsLibRoboTests
Change-Id: Icbcedcd08efa2103042ba40a756e8d4b615e1352
Merged-In: Icbcedcd08efa2103042ba40a756e8d4b615e1352
2018-05-16 19:03:05 +00:00
ryanywlin
f1cef39580 Merge "Add connection state summary for android auto" into pi-dev
am: c443a7cbef

Change-Id: I5130eceb4a79a3a44f0f7df45034e622b79898fa
2018-05-16 00:02:33 -07:00
TreeHugger Robot
c443a7cbef Merge "Add connection state summary for android auto" into pi-dev 2018-05-16 06:52:20 +00:00
Fan Zhang
2f8f73e98c Merge "Update misc settingslib icons" into pi-dev
am: ee555d5f90

Change-Id: I70da049c0efd0f14ae8521a7b505c7294dd5758d
2018-05-15 19:54:51 -07:00
TreeHugger Robot
ee555d5f90 Merge "Update misc settingslib icons" into pi-dev 2018-05-16 02:46:53 +00:00
Fan Zhang
eb0c976995 Update misc settingslib icons
- new icon size for edit pencil
- removed home.xml, it's not needed by anything except test

Bug: 77982107
Test: visual
Change-Id: I451bc12c4a57e5f61e7c561c394b00bd95e7228d
2018-05-16 01:38:39 +00:00
Ryan Lin
9ac3f4c6cc Merge "Add summaries for Bluetooth audio active device status" into pi-dev
am: c82ab5e7ca

Change-Id: I4997efc1ed7b44303e6a422eba6814c07f6d2cef
2018-05-15 18:24:25 -07:00
ryanywlin
e26aecd57b Add connection state summary for android auto
Androd auto still need the summaries with "Connected*" strings,
use separate method for android auto.

Bug: 78936284
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=CachedBluetoothDeviceTest -j28
Change-Id: I0a5dff4ae231108f528f1cd2e2a25b2f4633ac99
2018-05-16 01:08:06 +00:00
Ryan Lin
c82ab5e7ca Merge "Add summaries for Bluetooth audio active device status" into pi-dev 2018-05-16 00:52:44 +00:00
Evan Laird
d249371450 Merge "Center QS icons (wifi, invert colors, night light)" into pi-dev
am: 80b03d227e

Change-Id: I73dd1736180782a3b3273a112c48688e3d6a578e
2018-05-15 16:13:02 -07:00
ryanywlin
aaf7c0f736 Add summaries for Bluetooth audio active device status
Restore string formating for android auto summaries.

Bug: 78936284
Test: rebuild
Change-Id: Ifef26f5edc33589178098a77ade827f3e96dad82
2018-05-15 22:24:02 +08:00
Evan Laird
522f656ef9 Center QS icons (wifi, invert colors, night light)
Test: look at qs; avoid angst
Change-Id: Id0e57c188a877de68bcd2d50d4f41d05e7dc8c82
Fixes: 67310956
Bug: 74344964
2018-05-14 20:26:31 -04:00
Bill Yi
f586f76388 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8b4031e16a8aaf7ae199721f134c90a023a5e563
2018-05-12 10:29:46 -07:00
Evan Laird
5331f1982e Merge "GM2 icon updates" into pi-dev
am: 733a4b9948

Change-Id: I4d18584f82a418d9b8f7288f509d53ac341d777d
2018-05-11 14:50:07 -07:00
TreeHugger Robot
733a4b9948 Merge "GM2 icon updates" into pi-dev 2018-05-11 21:38:21 +00:00
Doris Ling
ba5b6dd1ed Merge "Rename settings category." into pi-dev
am: 24044a78bd

Change-Id: I257ed814d67116c6a476a207ad7dbd8089533bda
2018-05-11 13:56:16 -07:00
TreeHugger Robot
24044a78bd Merge "Rename settings category." into pi-dev 2018-05-11 20:49:35 +00:00
Ryan Lin
70d7f682c1 Merge "Add Bluetooth callback for device connection state changed" into pi-dev
am: 15aa546a37

Change-Id: I110340139c1455dfe43ce4e5688ef40ee6118698
2018-05-11 13:20:33 -07:00
Ryan Lin
15aa546a37 Merge "Add Bluetooth callback for device connection state changed" into pi-dev 2018-05-11 19:53:19 +00:00
Evan Laird
3f200006e7 GM2 icon updates
(2nd of many)

Pushing this up to close out a few bugs and get these into rotation

- ic_qs_cancel (x icon)
- ic_delete & ic_screenshot_delete (trash cans)
- stat_sys_dnd, ic_qs_dnd, ic_dnd (dnd obviously)
- ic_mode_edit & ic_screenshot_edit (pencil)
- ic_feedback (feedback for app-crashing dialog)
- ic_signal_flashlight (qs flashlight)
- ic_headset & ic_headset_mic
- ic_help_actionbar (question mark in settings)
- ic_info_outline_24dp (SettingsLib info icon)
- ic_volume* (volume rocker icons)
- ringer + vibrate (volume rocker, status bar, qs)
- Global actions menu (restart, power, screenshot)
- settings icons

Test: visual
Bug: 74344964
Bug: 74418623
Fixes: 76150662
Fixes: 76150721
Change-Id: I4cd9959de0156074b0d1e2978163984f7b761671
2018-05-11 14:23:25 -04:00
Doris Ling
b76cd97091 Rename settings category.
- from night light to night display.

Change-Id: Ib09e1b9299478dc4e8dcee935e29c6886d9dc7b8
Fixes: 79530682
Test: make RunSettingsLibRoboTests
2018-05-11 10:53:57 -07:00
ryanywlin
44de3a076d Add Bluetooth callback for device connection state changed
With the new Multi-A2DP/HFP support, need to add profile connection state
changed callback for every BT device connect/disconnect to profile.

Bug: 76447449
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=LocalBluetoothProfileManagerTest -j28
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=BluetoothEventManagerTest -j28
Change-Id: Iaaec369e8d10f9b1270491632fb5c91de1e28571
2018-05-11 22:05:58 +08:00
Evan Laird
9252fbc726 Merge "Battery saver color changes" into pi-dev
am: 4ee9b14c14

Change-Id: I10401ad57f32066b961ba8a7fe9d33cab9bff93b
2018-05-11 07:02:22 -07:00
TreeHugger Robot
4ee9b14c14 Merge "Battery saver color changes" into pi-dev 2018-05-11 13:48:43 +00:00
Doris Ling
23ab3fdff7 Merge "Add new category keys." into pi-dev
am: 158d5b7b01

Change-Id: Ia50d80bea7235ae5e17dd0f23f49d0b0c48e1d81
2018-05-10 18:02:35 -07:00
Evan Laird
d783c8af01 Battery saver color changes
Outline the battery with 1dp colorError border when in powersave mode to
make it more obvious.

Also un-bold the '+'. Doesn't look so wonderful

Test: turn on power save mode; look at it
Fixes: visual
Bug: 78638798
Change-Id: I9c649814764c41893c972d707449ad30095a131d
2018-05-10 19:46:52 -04:00
Doris Ling
245992c880 Add new category keys.
Adding 2 new category keys for injecting dynamic tiles:
- night light
- gestures

Bug: 79530682
Bug: 79532703
Test: make RunSettingsLibRoboTests
Change-Id: I4e7f10c8abdf425f24d5b51bcc8a5f80faca5281
2018-05-10 13:29:38 -07:00
Lei Yu
b0117c480b Merge "Add new method in PowerWhitelistBackend" into pi-dev
am: 8003f88b8f

Change-Id: I717a96b93b6a322deb2e2a364c0238db2fa36e51
2018-05-10 13:27:27 -07:00
Lei Yu
8003f88b8f Merge "Add new method in PowerWhitelistBackend" into pi-dev 2018-05-10 20:10:41 +00:00
Wei Wang
d57da95ef8 Merge "Extend Location setting to show location usage within 24 hours." into pi-dev
am: 1d74075099

Change-Id: I819ed21c9d890d7f9b9c83e95d0f014bebad0343
2018-05-10 11:57:20 -07:00
Wei Wang
74b15db41f Extend Location setting to show location usage within 24 hours.
Bug: 79089524

Test: manual, unit test.
Change-Id: I0058479a3b8e139c68c688e6e14f837a335bba6f
Merged-In: I0058479a3b8e139c68c688e6e14f837a335bba6f
2018-05-10 17:21:50 +00:00
Lei Yu
3aec6d1e3f Add new method in PowerWhitelistBackend
New method takes packageName array and check whether there is doze
package inside.

Bug: 77924141
Test: RunSettingsLibRoboTests
Change-Id: I54d1882397e7bc14176cdd44f2b773952a304e44
2018-05-08 18:23:02 -07:00
android-build-team Robot
ef38b83e9d Merge "Import translations. DO NOT MERGE" into pi-dev 2018-05-08 21:41:34 +00:00
Ying Zheng
e5860a84cf Merge "Deprecate UserManagerHelper in SettingsLib, use CarUserManagerHelper." into pi-dev
am: ec443f99aa

Change-Id: I3db5f47a6e2e5fc902c935eeda2aec31be5f6421
2018-05-08 13:34:04 -07:00
Ying Zheng
ec443f99aa Merge "Deprecate UserManagerHelper in SettingsLib, use CarUserManagerHelper." into pi-dev 2018-05-08 20:22:09 +00:00
Bill Yi
1add5aa3d0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I96be3cc38b6c433685e187b85303a1ed584b6108
2018-05-08 12:01:09 -07:00
Ying Zheng
1178db379b Deprecate UserManagerHelper in SettingsLib, use CarUserManagerHelper.
Bug: 79417730
Test: Build
Change-Id: I49b8e7bca5ae9b036e191fbdc14e1bb459b132fb
2018-05-08 09:53:12 -07:00
android-build-team Robot
92be8661c3 Merge "a11y edits to dnd dialog and volume ring toggle" into pi-dev
am: 478e0805a0

Change-Id: Iad1b606e04a9a27093eebfbce7eca8db1df87d4f
2018-05-07 11:18:12 -07:00
android-build-team Robot
478e0805a0 Merge "a11y edits to dnd dialog and volume ring toggle" into pi-dev 2018-05-07 18:05:28 +00:00
Beverly
f138ba29de a11y edits to dnd dialog and volume ring toggle
- don't use announce in the dnd enable dialog - instead make the radio
button content a live region
- add hints to volume dialog ring button and edit content descriptions

Change-Id: I4b0db5e9d8dc6df3f48a4eccad1045d7baca4031
Fixes: 78914992
Fixes: 76385188
Test: manual
2018-05-04 20:59:13 +00:00
Bill Yi
d91fbc044a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4d327036dd090e1a3e36a79b75164f2d6a734519
2018-05-04 12:47:50 -07:00
android-build-team Robot
39545635a6 Merge "Fix the line split for LDAC Playback Quality title string" into pi-dev
am: 94862e7699

Change-Id: I6ed88ae8566fae9b7ea89e10d504fd3bbf8d2a96
2018-05-03 13:45:49 -07:00
android-build-team Robot
94862e7699 Merge "Fix the line split for LDAC Playback Quality title string" into pi-dev 2018-05-03 20:32:15 +00:00
android-build-team Robot
32d93d5d0d Merge "Remove unused string for Bluetooth Active device summary" into pi-dev
am: dbeff868c3

Change-Id: Ib2387468eed847cb1ec9d5416bab48306dfe2fe7
2018-05-03 11:52:39 -07:00
Pavlin Radoslavov
4a0f48232d Remove unused string for Bluetooth Active device summary
The string with ID "bluetooth_audio_active_device_summaries" is not
needed anymore. It has been replaced / superseded by strings with IDs
"bluetooth_active_battery_level" and "bluetooth_active_no_battery_level".

Bug: 74134939
Bug: 73007419
Test: make -j40 RunSettingsRoboTests
      make -j40 RunSettingsLibRoboTests

Change-Id: I929221f93806a50e3d61d50ea194d06eeecdbd24
2018-05-02 18:24:18 -07:00