Commit Graph

45256 Commits

Author SHA1 Message Date
hughchen
fdd3081b66 Merge "Remove the divider" into pi-dev am: d119530976
am: b0cf8a6ea9

Change-Id: Ib07759e3269788d8b406aab1581893c188a43626
2018-04-17 18:53:52 -07:00
Matthew Fritze
c82cf95105 Merge "Add A11y Slices" into pi-dev
am: bc4c392ff4

Change-Id: I255331e6b490f29011818feca9ff97e2d37dff1b
2018-04-17 18:48:52 -07:00
hughchen
b0cf8a6ea9 Merge "Remove the divider" into pi-dev
am: d119530976

Change-Id: Ic99a52552568a96d04c2b1ec6f6d6dd39ecc1685
2018-04-17 18:48:01 -07:00
TreeHugger Robot
bc4c392ff4 Merge "Add A11y Slices" into pi-dev 2018-04-18 01:44:58 +00:00
TreeHugger Robot
d119530976 Merge "Remove the divider" into pi-dev 2018-04-18 01:41:13 +00:00
TreeHugger Robot
90cdd27d89 Merge "KeyboardLayoutPickerFragment uses DashboardFragment" 2018-04-18 01:29:49 +00:00
Jan Nordqvist
d4c7973615 Fixing incorrect method to launch mobile data plan app.
Bug: 77529772

Test: manual
Change-Id: Id102cb11bcbcc94b139caff47195364e281850e3
2018-04-17 18:21:25 -07:00
ryanywlin
fc5ce91866 Merge "Identify cast mode properly in audio switch" into pi-dev am: 16f00964a8
am: 953af4ed8c

Change-Id: I6fad4cf0fa1a07b9c3ac34370dc2c320bdcc2196
2018-04-17 18:20:34 -07:00
Doris Ling
9565db51c8 Merge "Fix text alignment in supported links dialog." into pi-dev am: 0dc5bcdff6
am: b8e04863b8

Change-Id: I30d53776d45a02b5af6828e19900a7d1873086e6
2018-04-17 18:19:57 -07:00
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