Commit Graph

57178 Commits

Author SHA1 Message Date
TreeHugger Robot
0a2a6cfef7 Merge "Add page creation latency for updatePreferenceStates" 2019-12-02 02:44:00 +00:00
Goven Liu
df1118d61c Merge "[Wi-Fi] Add one network request case for adding Wi-Fi for apps feature." 2019-11-29 03:28:05 +00:00
Bonian Chen
9b26611ce1 Merge "Consider subId when loading Wfc string resources" am: 9c2c1b4784 am: 944689abd6
am: 6c1861b3c0

Change-Id: I3d8c02c344d0aa70952dca9aac6597ca6b36a4db
2019-11-28 07:30:09 -08:00
Bonian Chen
6c1861b3c0 Merge "Consider subId when loading Wfc string resources" am: 9c2c1b4784
am: 944689abd6

Change-Id: I6bfa2099cdb382109c90f0c3b9ea76a2a7df4d19
2019-11-28 07:28:07 -08:00
Bonian Chen
944689abd6 Merge "Consider subId when loading Wfc string resources"
am: 9c2c1b4784

Change-Id: Ib680198aff74daa31d5ca0413ca3dd869b3126af
2019-11-28 07:26:07 -08:00
Bonian Chen
9c2c1b4784 Merge "Consider subId when loading Wfc string resources" 2019-11-28 15:22:21 +00:00
TreeHugger Robot
702cc1d223 Merge "Fix bottom zone is transparent in add network page" 2019-11-28 11:45:23 +00:00
Tsung-Mao Fang
a641cdae50 Fix bottom zone is transparent in add network page
Override clipToPadding and clipToChildren attributes
to prevent view from overlapping problem.

Change-Id: I3493d80d89950545ea74b76e25c6f55069f83f5e
Fix: 145332638
Test: visual
2019-11-28 17:25:08 +08:00
Neil Fuller
5d49eeb3d5 [automerger skipped] Merge "Switch settings to use TimeDetector" am: d32eee26e3 am: 5ef64ad89b
am: 3296857f38 -s ours
am skip reason: change_id I671bf0e7e7364f64f1397d524c6277591eb4e22e with SHA1 9861696306 is in history

Change-Id: I0d02b8b75e2e5481946fead9520b14b7e21f8789
2019-11-28 01:04:26 -08:00
Sunny Shao
e5e82400ac Add page creation latency for updatePreferenceStates
- The updatePreferenceStates is called in the onResume. Here creates a new enum to
  record the elapsed time.

Bug: 137558156
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.dashboard
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core
Change-Id: I02bdbeecd61fbc0082eea19ea64cbfe7541a6970
2019-11-28 17:00:31 +08:00
Neil Fuller
3296857f38 Merge "Switch settings to use TimeDetector" am: d32eee26e3
am: 5ef64ad89b

Change-Id: I8901a6595677380013cc3d063426a4dfead18b97
2019-11-28 00:59:44 -08:00
Neil Fuller
5ef64ad89b Merge "Switch settings to use TimeDetector"
am: d32eee26e3

Change-Id: I1f3c05b986768be9c29043eea51143d6ab22bd12
2019-11-28 00:54:40 -08:00
Neil Fuller
d32eee26e3 Merge "Switch settings to use TimeDetector" 2019-11-28 08:47:32 +00:00
govenliu
7b6b93b4f8 [Wi-Fi] Add one network request case for adding Wi-Fi for apps feature.
Handle adding one network case, add UI components and process saving/connecting flow.

Bug: 136472483
Test: Add unit test cases to test one network in list case and null list case, and also check if the SSID set correct or not.
Change-Id: I99f804a967575538c9dc3f1faabb2b507e92e558
2019-11-28 16:39:06 +08:00
TreeHugger Robot
913bde21ff Merge "Make some existing slices public." 2019-11-28 08:12:01 +00:00
TreeHugger Robot
c0662d26c2 Merge "Make some accessibility related slices public." 2019-11-28 08:12:01 +00:00
TreeHugger Robot
a9dcd4d726 Merge "Make some gesture related slices public." 2019-11-28 08:12:01 +00:00
TreeHugger Robot
97b9b3debe Merge "Make some device info related slices public." 2019-11-28 08:12:01 +00:00
TreeHugger Robot
ec422880b1 Merge changes from topic "expose_slices"
* changes:
  Make some display related slices public.
  Make all TogglePreferenceController slice-able.
2019-11-28 08:12:01 +00:00
Yi-Ling Chuang
2516848b30 Make some device info related slices public.
Only PreferenceControllers with isPublicSlice() set to true are exposed
to other apps. Others will be Settings only.

Bug: 141088937
Test: robotests
Change-Id: Id38fd0203a4efc812e30990491786b4d8aff8902
2019-11-28 14:38:30 +08:00
Yi-Ling Chuang
430c16c012 Make some existing slices public.
Only PreferenceControllers with isPublicSlice() set to true are exposed
to other apps. Others will be Settings only.

Bug: 141088937
Test: robotests
Change-Id: I5934e89bc1b268fdd44acd630621fa46987728ff
2019-11-28 14:32:15 +08:00
Yi-Ling Chuang
30a62c074c Make some accessibility related slices public.
Only PreferenceControllers with isPublicSlice() set to true are exposed
to other apps. Others will be Settings only.

Bug: 141088937
Test: robotests
Change-Id: If0fa79f7c270b10f8f1a47cb5f914d19566dedfb
2019-11-28 14:31:48 +08:00
Yi-Ling Chuang
1089f7c695 Make some gesture related slices public.
Only PreferenceControllers with isPublicSlice() set to true are exposed
to other apps. Others will be Settings only.

Bug: 141088937
Test: robotests
Change-Id: I0b54e752c5982f13193590db47dc3a84dde5311d
2019-11-28 14:31:00 +08:00
Yi-Ling Chuang
31719321af Make some display related slices public.
Only PreferenceControllers with isPublicSlice() set to true are exposed
to other apps. Others will be Settings only.

Bug: 141088937
Test: robotests
Change-Id: I2a36da4ac4bb14a4d2ac7b89ab2bb3ebf8e655f7
2019-11-28 14:29:33 +08:00
Yi-Ling Chuang
617458b07c Make all TogglePreferenceController slice-able.
All the descendants of TogglePreferenceController are now slice-able by
default, where every controller can still disable it by overriding this
value. Though all of them are now slice-able, doesn't necessarily means
they are exposed publicly as we set the default value of isPublicSlice()
to false. For those that want to be public ones will have to override
this value.

Bug: 141088937
Test: robotests
Change-Id: I2ea529c11f0177cd6c55754b632cd1fea1dcc48f
2019-11-28 14:12:41 +08:00
Stanley Wang
304957b1fb Merge "Add work profile items of Account page to dynamic index." 2019-11-28 03:45:58 +00:00
Raff Tsai
e7ff0891bb Merge "Separate personal/work tab in LocationSettings" 2019-11-27 16:42:03 +00:00
Neil Fuller
3c794261a5 Switch settings to use TimeDetector
Switch settings to use TimeDetector when setting the system clock rather
than using AlarmManager directly.

Bug: 140712361
Test: treehugger
Test: manual
Test: make -j30 RunSettingsRoboTests ROBOTEST_FILTER=TimePreferenceControllerTest
Test: make -j30 RunSettingsRoboTests ROBOTEST_FILTER=DatePreferenceControllerTest
Change-Id: I671bf0e7e7364f64f1397d524c6277591eb4e22e
Merged-In: I671bf0e7e7364f64f1397d524c6277591eb4e22e
(cherry picked from commit 9861696306)
2019-11-27 16:36:59 +00:00
Neil Fuller
2280fe5ce0 Merge "Switch settings to use TimeDetector" 2019-11-27 16:15:03 +00:00
Raff Tsai
2f18d7d2cb Merge "Fix talkback speak wrong item" 2019-11-27 15:44:48 +00:00
Neil Fuller
9861696306 Switch settings to use TimeDetector
Switch settings to use TimeDetector when setting the system clock rather
than using AlarmManager directly.

Bug: 140712361
Test: treehugger
Test: manual
Test: make -j30 RunSettingsRoboTests ROBOTEST_FILTER=TimePreferenceControllerTest
Test: make -j30 RunSettingsRoboTests ROBOTEST_FILTER=DatePreferenceControllerTest
Change-Id: I671bf0e7e7364f64f1397d524c6277591eb4e22e
2019-11-27 14:04:08 +00:00
Torbjorn Eklund
4f44b44168 Consider subId when loading Wfc string resources
Consider subId when loading string resources in screen
WifiCallingSettingsForSub and Wi-Fi Calling slice.

This ensures that correct string resources is loaded in multi sim
scenario when operators are using customized strings.

Bug: 129893058
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiCallingPreferenceController
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiCallingSliceHelper
Change-Id: Ia5b763d4b59f7e738cb741b778bb859884a85198
2019-11-27 14:35:07 +01:00
TreeHugger Robot
c050807cdc Merge changes from topic "query_nonpublic_slices"
* changes:
  Enable Settings Search to query private Slices.
  Add the impl for the ability to query non-public Slices
2019-11-27 11:09:31 +00:00
Stanley Wang
8015cbab9e Add work profile items of Account page to dynamic index.
- Add "Work profile settings" & "Remove work profile"
to dynamic index

Test: manual & robotests AccountPreferenceControllerTest
Change-Id: I122269927fd466bc8fbce1dd68faa372a6a7477b
Bugs: 69907442
2019-11-27 18:44:12 +08:00
TreeHugger Robot
0c247b82a5 Merge "Make Settings self-injected toggle switch searchable" 2019-11-27 10:02:33 +00:00
Jason Chiu
05599b89d2 Make Settings self-injected toggle switch searchable
- only skip ActivityTile
- skip items that has no static title

Bug: 132812768
Test: robotest
Change-Id: Idb3c111966c1dd96e2886aca2c7ead3b57ba119e
2019-11-27 17:11:26 +08:00
Raff Tsai
d91a1c3710 Fix talkback speak wrong item
Fixes: 145251855
Test: manual
Change-Id: I041d9fd6416e5ae5a12ea51fd8b70ca2f233f480
2019-11-27 16:55:22 +08:00
TreeHugger Robot
dff37d694d Merge "Minor code simplification." 2019-11-27 07:24:51 +00:00
TreeHugger Robot
190860a35e Merge "Focus remains on the button after turning on/off" 2019-11-27 05:01:09 +00:00
Bonian Chen
a6a4fb2c37 Merge "IMS: Grey out Wifi calling option when either sub is having call." am: 262b4f7434 am: 37e02742a4
am: b61f54519b

Change-Id: Ia60aa3828cb0b4a28e72ae43fb47a09982ae0b5f
2019-11-26 17:51:38 -08:00
Bonian Chen
b61f54519b Merge "IMS: Grey out Wifi calling option when either sub is having call." am: 262b4f7434
am: 37e02742a4

Change-Id: I81eac0ecd2948e7b5bd6b92ae90b349ab46675e7
2019-11-26 17:49:06 -08:00
Bonian Chen
37e02742a4 Merge "IMS: Grey out Wifi calling option when either sub is having call."
am: 262b4f7434

Change-Id: I59a18265dc053386854c6c4b4b30e90c287b34e8
2019-11-26 17:46:38 -08:00
Bonian Chen
262b4f7434 Merge "IMS: Grey out Wifi calling option when either sub is having call." 2019-11-27 01:35:23 +00:00
Roshan Pius
9f5fc3c6da Merge "Revert "Settings(wifi): Allow mainline wifi stack to use network request dialog"" 2019-11-26 19:22:18 +00:00
Jay Aliomer
c6dec5780a Merge "Fix Master: Add settings for scheduling dark theme" 2019-11-26 15:44:20 +00:00
Beverly
a30cb1158f Focus remains on the button after turning on/off
Test: manually test talkback
Fixes: 145181672
Change-Id: I16ceb81dd686e4a18354dfd464c7683ba94df79d
2019-11-26 15:37:42 +00:00
Alan Stokes
86cc060515 Minor code simplification.
Test: atest VerifyAppsOverUsbPreferenceControllerTest
Bug: 135751498
Change-Id: I51696147a211792e53cc6178e0912c760d667034
2019-11-26 11:39:22 +00:00
TreeHugger Robot
66b82d06ab Merge "Add new bit per sample dialog layout for new Bluetooth developer option" 2019-11-26 10:44:04 +00:00
Bonian Chen
573cda658e [automerger skipped] Merge "[Setting] Fix merge conflict" am: 67805d8e5e am: ec4e1a14e0
am: 42eec15834 -s ours
am skip reason: change_id I5dfb71ceb87a8f658ef7fbceacf460ef8d35593a with SHA1 0f844d168b is in history

Change-Id: I8254182adcae306506742d4f67cc03a1465c3293
2019-11-26 02:14:42 -08:00
Bonian Chen
42eec15834 Merge "[Setting] Fix merge conflict" am: 67805d8e5e
am: ec4e1a14e0

Change-Id: I716436a78316eb111fa53bb6834d81934f7830f1
2019-11-26 02:11:19 -08:00