Commit Graph

45297 Commits

Author SHA1 Message Date
ryanywlin
953af4ed8c Merge "Identify cast mode properly in audio switch" into pi-dev
am: 16f00964a8

Change-Id: I14d7c5cf940565bd4171ba23e93b4f2521756fd9
2018-04-17 18:15:03 -07:00
Doris Ling
b8e04863b8 Merge "Fix text alignment in supported links dialog." into pi-dev
am: 0dc5bcdff6

Change-Id: Ib5e1fa9f62fe4e0df9abfe6935ce43789a0bfddb
2018-04-17 18:14:27 -07:00
TreeHugger Robot
16f00964a8 Merge "Identify cast mode properly in audio switch" into pi-dev 2018-04-18 01:11:33 +00:00
Xiangyu/Malcolm Chen
7f367a5682 Merge "Clean Sms raw table when resetting network." into pi-dev am: 1340c3283c
am: 5227b14762

Change-Id: If945c6118066819cce988bc448c04095cb7f0e93
2018-04-17 18:02:49 -07:00
TreeHugger Robot
0dc5bcdff6 Merge "Fix text alignment in supported links dialog." into pi-dev 2018-04-18 01:02:03 +00:00
Xiangyu/Malcolm Chen
5227b14762 Merge "Clean Sms raw table when resetting network." into pi-dev
am: 1340c3283c

Change-Id: Ie3e2bab305ede65e47bfabfa1f5e29100aced5b9
2018-04-17 17:57:44 -07:00
Xiangyu/Malcolm Chen
1340c3283c Merge "Clean Sms raw table when resetting network." into pi-dev 2018-04-18 00:49:34 +00:00
tmfang
f1191f6bf9 KeyboardLayoutPickerFragment uses DashboardFragment
- Build a controller to generate a list of preferences and add to screen.
- Move some logic to controller.
- Add some test cases for controller.

Test: manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.inputmethod
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.dashboard
      atest UniquePreferenceTest
Change-Id: I4ebe486ade3439b9814b11866c402dcf881f21a7
2018-04-17 17:35:29 -07:00
ryanywlin
7be15cdd23 Identify cast mode properly in audio switch
- Use STREAM_MUSIC to idetify cast mode

- Use STREAM_MUSIC to detect wired headset

Bug: 78141750
Test: make RunSettingsRoboTests
ROBOTEST_FILTER="MediaOutputPreferenceControllerTest" -j40

Change-Id: I92273d41d3debfc3d6327c4ca09143a2dd9b1cb6
2018-04-17 23:47:42 +00:00
ryanywlin
435e4ad516 Merge "Replace deprecated APIs in audio switcher." into pi-dev am: a46dd4bd4b
am: 746c972c53

Change-Id: Ie537c98ba03e22fd23df3ba58ba3dc729b58027b
2018-04-17 16:36:49 -07:00
Doris Ling
3ca1391b25 Fix text alignment in supported links dialog.
- align the supported link textview at viewStart.

Change-Id: If323ffe1423059b5e37a9fc94606118fac3d0204
Fixes: 78161872
Test: visual
2018-04-17 16:36:49 -07:00
Salvador Martinez
19a17d0a6e Merge "Update preference to set password field" into pi-dev am: 13c45045de
am: 46ed260d0e

Change-Id: I5cecf70da96f7b30659b341f3bdae65fb6b491d5
2018-04-17 16:35:51 -07:00
Fan Zhang
c7c81fa5d7 Merge "Fix text alignment with rtl languages in entity header." into pi-dev am: 7298297007
am: 7a9b76f841

Change-Id: I0ca3923539e72d7efd0ce98ddac06c0811b9f60d
2018-04-17 16:33:57 -07:00
Doris Ling
db2255b000 Merge "Update icon for security settings." into pi-dev am: 3e3b496738
am: 59c8620745

Change-Id: I44c9c526b1e77107bd69ace16ecd9779ab25b73f
2018-04-17 16:30:26 -07:00
Doris Ling
807ee34fff Fix text alignment in SIM lock dialog.
- set the text alignment to view start when we bind the view.

Change-Id: Ia7f32d7a422a8a18d092d1ff808f792ab1980e87
Fixes: 78165098
Test: visual
2018-04-17 16:24:19 -07:00
ryanywlin
746c972c53 Merge "Replace deprecated APIs in audio switcher." into pi-dev
am: a46dd4bd4b

Change-Id: If17e7d14fbb18ee8849ce7fcb3f270df422a2f72
2018-04-17 16:18:49 -07:00
TreeHugger Robot
a46dd4bd4b Merge "Replace deprecated APIs in audio switcher." into pi-dev 2018-04-17 23:10:44 +00:00
Salvador Martinez
46ed260d0e Merge "Update preference to set password field" into pi-dev
am: 13c45045de

Change-Id: I7c8f10af2c5b8514865eb83a49bede123f3403a3
2018-04-17 16:08:21 -07:00
Fan Zhang
7a9b76f841 Merge "Fix text alignment with rtl languages in entity header." into pi-dev
am: 7298297007

Change-Id: Ifa6e23aa7a5ea12309793b82c2c1a0056b45601f
2018-04-17 16:04:15 -07:00
Doris Ling
59c8620745 Merge "Update icon for security settings." into pi-dev
am: 3e3b496738

Change-Id: I8c2be3da00c85ac0e1a901d66ed3dfb42e82202a
2018-04-17 16:03:05 -07:00
TreeHugger Robot
13c45045de Merge "Update preference to set password field" into pi-dev 2018-04-17 22:58:54 +00:00
Malcolm Chen
0508cb5c46 Clean Sms raw table when resetting network.
There has been issues when Sms raw table somehow stores orphan
fragments. They lead to garbled message when new fragments come
in and combied with those stale ones. While we work on proper
fixes, one of the options we offer to the user if it happens again,
is to reset all network settings which will clean up this table.

Bug: 77910620
Test: manual test
Change-Id: Ib80c395fb9a1501f35716fdca43df3e5c87893c7
2018-04-17 15:57:18 -07:00
TreeHugger Robot
7298297007 Merge "Fix text alignment with rtl languages in entity header." into pi-dev 2018-04-17 22:51:07 +00:00
Pengquan Meng
8095cfcf72 Merge "Remove wrong usage of DoNotTranslate" 2018-04-17 22:35:24 +00:00
TreeHugger Robot
3e3b496738 Merge "Update icon for security settings." into pi-dev 2018-04-17 22:33:26 +00:00
Fan Zhang
ad2c990f5b Disable autofill on choose password layout am: 014ed74845
am: 99b7fd2d54

Change-Id: Ib87e87aa75c4c7b9bc1ae74424152ad7fd986683
2018-04-17 15:28:06 -07:00
Fan Zhang
99b7fd2d54 Disable autofill on choose password layout
am: 014ed74845

Change-Id: Ibb71a14a55ef0acc304ef3730d6e89bd2f5492e7
2018-04-17 15:13:40 -07:00
ryanywlin
dca308e56d Replace deprecated APIs in audio switcher.
- Remove isWiredHeadsetOn() and isBluetoothA2dpOn()
in MediaOutputPreferenceController.

- Remove isWiredHeadsetOn() and isBluetoothScoOn()
in HandsFreeProfileOutputPreferenceController.

- Replace with AudioManager.getDevicesForStream().

- Update test cases.

Bug: 78141441
Test: make RunSettingsRoboTests ROBOTEST_FILTER="MediaOutputPreferenceControllerTest" -j40
Test: make RunSettingsRoboTests ROBOTEST_FILTER="HandsFreeProfileOutputPreferenceControllerTest" -j40
Test: make RunSettingsRoboTests ROBOTEST_FILTER="AudioOutputSwitchPreferenceControllerTest" -j40
Change-Id: Ic57c40badf0fd5633f1b7412d63a0b5417d0f47a
2018-04-18 05:57:27 +08:00
Doris Ling
f2dce9fac2 Update icon for security settings.
- also fix the issue of dynamic tile icon is being cached and not
updated properly.

Change-Id: I9289260340c1cddc4123fda88c366d658a11ddfc
Fixes: 74255242
Test: visual
2018-04-17 14:33:15 -07:00
Fan Zhang
f0125b830a Fix text alignment with rtl languages in entity header.
TextViews should align at viewStart to make numerics like version
number display in RTL format.

Also cleaned up style so we can share the same style on all entity
header textviews.

Change-Id: I25a93d33e9fb95a9eba7b368438cb33bb67a434a
Fixes: 78173905
Test: visual
2018-04-17 14:30:08 -07:00
Matthew Fritze
fa816e5487 Merge "Add getDescendants to Settings Slice Provider" into pi-dev am: 1257466d0b
am: 9b916e43aa

Change-Id: I80281ec8e58c44cde2dd3bbf7aead88e2c7154dc
2018-04-17 14:27:56 -07:00
Pengquan Meng
4e0c446856 Remove wrong usage of DoNotTranslate
We use the attritube 'translatable="false"' to mark a string that should
not be translated.

Bug: 78187305
Test: no test
Change-Id: I4b80f969a9a5c337e3658debc43fd810350b57eb
2018-04-17 21:25:02 +00:00
Beverly
b74e635270 Merge "Get rid of charging sounds toggle" into pi-dev am: adec029f70
am: cbc6bd837d

Change-Id: Icbbcc62572671aab98a97fb7f28cd4a72a6875ba
2018-04-17 13:59:34 -07:00
TreeHugger Robot
24048a5ee1 Merge "WallpaperTypeSettings use DashboardFragment" 2018-04-17 20:55:26 +00:00
TreeHugger Robot
2ff24e3829 Merge "Migrate UserDictionaryList to DashboardFragment" 2018-04-17 20:53:35 +00:00
Matthew Fritze
9b916e43aa Merge "Add getDescendants to Settings Slice Provider" into pi-dev
am: 1257466d0b

Change-Id: I5c3c1fa93beb2654f56777ff1f4e0a0c35d27f6b
2018-04-17 13:53:33 -07:00
Fan Zhang
014ed74845 Disable autofill on choose password layout
Change-Id: I5f09282cfa07c546172d0921e02db98b4b4c2fff
Fixes: 78173714
Test: manual
2018-04-17 13:33:41 -07:00
Beverly
cbc6bd837d Merge "Get rid of charging sounds toggle" into pi-dev
am: adec029f70

Change-Id: Ied1d520e4119e5a33126d14624865de56456b7bf
2018-04-17 13:31:32 -07:00
Mill Chen
f4b328e723 WallpaperTypeSettings use DashboardFragment
- Build a controller to generate/manage a list of preferences.
- Move some logics to the controller and add tests.

Bug: 73899467
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wallpaper
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core
Test: atest SettingsGatewayTest UniquePreferenceTest
Change-Id: I519a76ff34bcd4195b0ad6ad406a8f66371923d2
2018-04-17 13:02:08 -07:00
Lei Yu
710d5fc886 Force update all suggestions but app restriction
When there is configuration change(icicle is not null), still
force update all suggestion except app restriction.

App restriction is not stateless: state HANDLED only happens when
there is anomaly and it disappear in next cycle. So we should only
update it when necessary.

Change-Id: Ifb7a1c477962a0c78b5455a5fbc078590fd408f2
Fixes: 77973093
Test: RunSettingsRoboTests
2018-04-17 12:41:25 -07:00
Emily Chuang
5e3718d354 Migrate UserDictionaryList to DashboardFragment
- Build a controller to generate/manage a list of preferences.
- Move some logics to the controller and add tests.

Test: manual
Test: make RunSettingsRoboTests -j
      atest UniquePreferenceTest SettingsGatewayTest
Change-Id: Ia3d885cb8917c7d5498b87818e24b938f0d95dbb
2018-04-17 12:27:24 -07:00
TreeHugger Robot
1257466d0b Merge "Add getDescendants to Settings Slice Provider" into pi-dev 2018-04-17 19:21:20 +00:00
Matthew Fritze
ba7c8e61ce Merge "Update a Slice Uri when unavailable" into pi-dev am: 1ee83ac460
am: 3f82559732

Change-Id: I9924d4a2fe8ce0e9b1eadf27c72f5039abf7265f
2018-04-17 12:17:08 -07:00
Fan Zhang
9d20c4b0ef Merge "Remove empty_search_image from Settings." into pi-dev am: aac0198923
am: fd7afc7429

Change-Id: I9169d296db4ef6a7361434953697882401f16737
2018-04-17 12:13:28 -07:00
TreeHugger Robot
adec029f70 Merge "Get rid of charging sounds toggle" into pi-dev 2018-04-17 19:13:11 +00:00
Matthew Fritze
3f82559732 Merge "Update a Slice Uri when unavailable" into pi-dev
am: 1ee83ac460

Change-Id: I30b6c083af547ca5f0fffb7a8797adba5b89d9a3
2018-04-17 12:01:02 -07:00
TreeHugger Robot
1ee83ac460 Merge "Update a Slice Uri when unavailable" into pi-dev 2018-04-17 18:45:39 +00:00
Fan Zhang
fd7afc7429 Merge "Remove empty_search_image from Settings." into pi-dev
am: aac0198923

Change-Id: If0b4c9c6d37f0a9e0160ff5d59e60d1aa02ae1a3
2018-04-17 11:42:57 -07:00
TreeHugger Robot
aac0198923 Merge "Remove empty_search_image from Settings." into pi-dev 2018-04-17 18:24:33 +00:00
Julia Reynolds
7d5f0bb018 Merge "Show suppression msg under ringer slider" into pi-dev am: 68f331d452
am: 1351e761c8

Change-Id: I71b7a1ce25f3754ef2041419f2ddde33d48fa7e7
2018-04-17 11:22:04 -07:00