Stanley Wang
3f6c9dc1e4
Use MainSwitchPreference to replace the button style switches. am: 10b7a7d483
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13425300
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7a38f9068927cb866132635740d1aea74f701dc4
2021-02-02 13:00:32 +00:00
Stanley Wang
10b7a7d483
Use MainSwitchPreference to replace the button style switches.
...
Fix: 177967926
Fix: 177968295
Fix: 177967925
Fix: 177968078
Test: Run robotest and apply the widget in Settings and see the ui
Change-Id: Ie854de96e5495fa564fb8a097ed4547bbd2b10c5
2021-02-02 08:39:37 +00:00
Wilson Wu
fb718d4f95
Merge "Apply ResultCallback to DevelopmentTiles" into sc-dev am: 70864998c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13425387
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iaefc138d6691a0cb7de5e0e3e5a8e291445fcc63
2021-02-02 08:09:16 +00:00
Wilson Wu
70864998c4
Merge "Apply ResultCallback to DevelopmentTiles" into sc-dev
2021-02-02 07:35:56 +00:00
Wesley.CW Wang
62eabdb6f2
Update battery saver column to PrimarySwitchPreference (1/2) am: 8d9fe815b0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13413813
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I95996112b18e49d8696d3f3a6de5dc0779323f68
2021-02-02 06:37:41 +00:00
Wesley.CW Wang
8d9fe815b0
Update battery saver column to PrimarySwitchPreference (1/2)
...
- Change battery saver entry column to new design
Screenshot: https://screenshot.googleplex.com/9a9Gxm3McJVmLkD.png
Bug: 177407113
Test: make RunSettingsRoboTests -j40
Change-Id: I513bc4371518645f4e725df27f2cb978cec284e8
2021-02-02 06:13:08 +00:00
Jiashen Wang
1c205502ef
Merge "Slot Change Receiver Migration" into sc-dev am: 428273765b am: e6da71456f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13411837
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I506f49bf863d8f32b07dd93a5ce5ef27a5bc1d27
2021-02-02 01:17:07 +00:00
Jiashen Wang
43714a0c71
Merge "Change Settings to be able to receive timeout values from LPA" into sc-dev am: 8cfa4c8c97 am: 966973f422
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13431258
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic6d8f22db3a18610ca2110cca1cced61abda2566
2021-02-02 01:15:47 +00:00
Jiashen Wang
428273765b
Merge "Slot Change Receiver Migration" into sc-dev
2021-02-01 23:57:09 +00:00
Jiashen Wang
8cfa4c8c97
Merge "Change Settings to be able to receive timeout values from LPA" into sc-dev
2021-02-01 23:56:37 +00:00
TreeHugger Robot
fbdfc8fcb0
Merge "[Provider Model] Fix InternetPreferenceControllerTest failed issue." into sc-dev am: b40e5dc89d am: 953dc45f77
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13451766
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9d691374d9ff85d56e9032bab1ece092ca1c56a0
2021-02-01 18:27:33 +00:00
TreeHugger Robot
b40e5dc89d
Merge "[Provider Model] Fix InternetPreferenceControllerTest failed issue." into sc-dev
2021-02-01 17:00:04 +00:00
Tsung-Mao Fang
0942bf2582
Merge "Tweak the ui based on the Android S design" into sc-dev am: 77382001fa am: fdd8331363
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13448953
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibd7dfb3f5e3bf0f26f1b6c525ffa80256b9227a4
2021-02-01 15:19:40 +00:00
Zoey Chen
9657379d70
Merge "[Provider Model] Add Learn more in the WFC footer" into sc-dev am: 68c2d0bdf6 am: 81941b9aa3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13448951
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Idf3c92e01b5445a8829d84daecf0929599d09281
2021-02-01 15:19:15 +00:00
Tsung-Mao Fang
77382001fa
Merge "Tweak the ui based on the Android S design" into sc-dev
2021-02-01 14:39:04 +00:00
Weng Su
5cf4cf2660
[Provider Model] Fix InternetPreferenceControllerTest failed issue.
...
- Bypass system resource
Bug: 179016907
Test: manual test
- atest InternetPreferenceControllerTest
Change-Id: I860eb3173f112a7d3f820701afb1a96a06d4a296
2021-02-01 14:37:38 +00:00
Zoey Chen
68c2d0bdf6
Merge "[Provider Model] Add Learn more in the WFC footer" into sc-dev
2021-02-01 14:10:29 +00:00
Tsung-Mao Fang
23e77a557a
Tweak the ui based on the Android S design
...
- Use TopIntro preference to show introduction text
Change-Id: Ic2304dab188848dfa6ef8a0429fd5b7ad40cf0af
Test: See the screenshot- https://screenshot.googleplex.com/AMS64EGe5Fcdfn8
Fix: 177997785
2021-02-01 20:46:43 +08:00
TreeHugger Robot
25250d48e3
Merge "The wifi list is not null at no signal room" into sc-dev am: 3cdb93cbf9 am: 696d722216
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13432400
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia7fa6236ba4608d5ea5a4e9c3ddf2c9c1caa9028
2021-02-01 09:17:10 +00:00
Zoey Chen
4f05555f4f
[Provider Model] Add Learn more in the WFC footer
...
UX deck: https://screenshot.googleplex.com/4DxGCxgEsujhEpy.png
Implementation: https://screenshot.googleplex.com/5yZhQMQwwRZQkge.png
Bug: 178898044
Test: make
Change-Id: Icfde927e6781303b6016b0ec13201fd7052191d3
2021-02-01 16:57:57 +08:00
Jeremy Goldman
ba8f1ad06f
Merge "SubscriptionUtil checks that SubscriptionInfo is null before accessing." into sc-dev
2021-02-01 08:16:42 +00:00
TreeHugger Robot
3cdb93cbf9
Merge "The wifi list is not null at no signal room" into sc-dev
2021-02-01 07:53:18 +00:00
Weng Su
65bab8d5f8
Merge "[Provider Model] Fix Internet preference crash" into sc-dev am: 548569e3eb am: 52394b4245
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13425304
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic1ebca917ca4657bf72a0e3698723d8bae1d9610
2021-02-01 07:29:50 +00:00
Weng Su
548569e3eb
Merge "[Provider Model] Fix Internet preference crash" into sc-dev
2021-02-01 06:12:11 +00:00
SongFerngWang
705f1df886
The wifi list is not null at no signal room
...
- check the wifi list's size for error message.
- fix the carrier's summary display "connect" at no signal room
Bug: 177390298
Test: atest ProviderModelSliceHelperTest
atest ProviderModelSliceTest
Change-Id: I692aadd01a290cce2438b0d3c084bef8d8d3fa24
2021-02-01 13:58:49 +08:00
Jeremy Goldman
b3fc7e5b10
Merge "SubscriptionUtil checks that SubscriptionInfo is null before accessing."
2021-02-01 05:03:30 +00:00
Jeremy Goldman
3dd2878437
SubscriptionUtil checks that SubscriptionInfo is null before accessing.
...
Test: atest -c SubscriptionUtilTest
Bug: 178707680
Change-Id: I03938405929c3307460107671bbe695ee5e0f6e9
2021-02-01 05:01:49 +00:00
TreeHugger Robot
1e5f36106c
Merge "[Security Report] Fix Settings WifiScanModeActivity Overlaid issue" into sc-dev am: 7b0563946e am: 0fa4f7b2a0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13432403
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I526dfa0b9f3d64d935dcf45ac232bcb350de02f6
2021-02-01 03:29:33 +00:00
Manish Singh
becac249e3
Merge "Add Settings UI for MTP transcoding over USB." into sc-dev
2021-02-01 03:17:29 +00:00
Jeremy Goldman
daf7550a86
SubscriptionUtil checks that SubscriptionInfo is null before accessing.
...
Test: atest -c SubscriptionUtilTest
Bug: 178707680
Change-Id: I03938405929c3307460107671bbe695ee5e0f6e9
2021-02-01 10:45:18 +08:00
TreeHugger Robot
7b0563946e
Merge "[Security Report] Fix Settings WifiScanModeActivity Overlaid issue" into sc-dev
2021-02-01 02:36:29 +00:00
Jiashen Wang
595884ed04
Change Settings to be able to receive timeout values from LPA
...
Bug: 171846124
Test: Tested manually
Change-Id: I547315eabd7cc873b0dda7a3bb2d09c84225ddd3
2021-01-31 21:38:28 +00:00
TreeHugger Robot
5d1ada1af0
Merge "Rearrange System settings" into sc-dev am: b94db4b157 am: d70ee0b66e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13429147
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I54d9c8dd4a82532c967d69321b84d9376b30b049
2021-01-29 21:11:15 +00:00
TreeHugger Robot
19a5d6c31c
Merge "Fix the transition of the up-button." into sc-dev am: 20fa1428bc am: 228bb300c8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13432390
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I73eb15432bf29538bb679ff2505ff7c629acd823
2021-01-29 21:10:52 +00:00
TreeHugger Robot
cd0dc43bc6
Merge "[Provider Model] Dynamically update the Internet Panel title" into sc-dev am: 097361797a am: 395203a5e3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13425388
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3743842bc7f068a1028cb5a6fbd529a5c7a11212
2021-01-29 21:10:23 +00:00
TreeHugger Robot
870705c66b
Merge "Hide esos setting if no app provides esos functionality" into sc-dev am: 16fa77369f am: 3042a14e5a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13428621
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie1a6532df8fb04e07037cffb110fc0cfbb44a023
2021-01-29 21:10:14 +00:00
Manish Singh
29a6c26d80
Add Settings UI for MTP transcoding over USB.
...
Enabling "Transcode exported media" means that the media transferred
from the device via MTP over USB would be transcoded, if necessary. This
switch also sets / unsets the sys.fuse.transcode_mtp system property.
"Transcode exported media" category would be accessible only when the
"File transfer / Audio Auto" or "PTP" radio button has been selected. We
are including PTP also since PTP supports transfer of videos.
Adding UsbDetailsTranscodeMtpController in a separate preference
category than "Charge connected device" primarily because they seemed to
be different in their own rights.
Here are a few screenshots:
https://screenshot.googleplex.com/8jeMstnSFsTtVCS.png
https://screenshot.googleplex.com/76hNz4iXp5dcX4M.png
https://screenshot.googleplex.com/AkTngE5hDDJCovv.png
https://screenshot.googleplex.com/4uQYGXuuSQLoz3w.png
BUG: 158466651
Test: manual testing. Also added unit test.
Change-Id: I2603a9bffed3320c193cc08f867bd67d9848da18
(cherry picked from commit 974662936e )
2021-01-29 20:22:05 +00:00
TreeHugger Robot
b94db4b157
Merge "Rearrange System settings" into sc-dev
2021-01-29 14:06:58 +00:00
Edgar Wang
bd0dd5d886
Rearrange System settings
...
- Fork system_dashboard_fragment_v2 for dev.
- Reorder the preference
- Remove summary
Bug: 174965365
Test: manual & robotest
Change-Id: Icc994f3b2e38ad54958deb5c9f80b6cd085029f0
2021-01-29 12:10:58 +00:00
Weng Su
d47d8e4fc5
[Security Report] Fix Settings WifiScanModeActivity Overlaid issue
...
- Disallowed non system overlay windows
- Screenshot
https://screenshot.googleplex.com/77fJ9QN6pV4zFYc
Bug: 174047492
Test: manual test
Change-Id: Ia7acad6d456ce5ebea2d982d4cb063d4f28cbfff
2021-01-29 17:51:29 +08:00
TreeHugger Robot
20fa1428bc
Merge "Fix the transition of the up-button." into sc-dev
2021-01-29 09:09:32 +00:00
TreeHugger Robot
e7515466ea
Merge "The UI is not immediately updated" into sc-dev
2021-01-29 07:56:42 +00:00
Yi-Ling Chuang
c55901d2c0
Fix the transition of the up-button.
...
We've applied a new transition from Search to Settings, where if users
click on the up-button, the transition will not be applied. Hence, this
CL makes the up-button behave the same as the back key to address this.
- Also remove the transition target as it is not necessary.
Fixes: 177968777
Test: 1. Search "Gesture"
2. Click on "Gesture"
3. Tap the up-button and see the applied transition
Change-Id: I046424f244426750d98046703c05ae0a1d567c67
2021-01-29 15:40:36 +08:00
TreeHugger Robot
097361797a
Merge "[Provider Model] Dynamically update the Internet Panel title" into sc-dev
2021-01-29 07:37:50 +00:00
SongFerngWang
c0b8f62b57
The UI is not immediately updated
...
Solution: Add Data Connection State listener by PhoneStateListener.
Bug: 178350321
Test: atest NetworkProviderWorkerTest
Change-Id: I692209035332bfd463537988f4e3ce166414031e
(cherry picked from commit 59958e663d )
Merged-In: I692209035332bfd463537988f4e3ce166414031e
2021-01-29 06:52:11 +00:00
Weng Su
fc3a51ed3f
[Provider Model] Fix Internet preference crash
...
- Post on main thread for UI update
- Add NPE checking
Bug: 178670562
Test: manual test
- atest InternetPreferenceControllerTest
Change-Id: I6c37f7dc19f9f9bbc75b36415a47aa1366dc5f5e
2021-01-29 12:57:36 +08:00
TreeHugger Robot
16fa77369f
Merge "Hide esos setting if no app provides esos functionality" into sc-dev
2021-01-29 04:31:59 +00:00
Wilson Wu
fa01bf30ba
Apply ResultCallback to DevelopmentTiles
...
In CL[1], the startImeTrace and stopImeTrace apply
the ResultCallback mechanism. Change corresponding
API usages in DevelopmentTiles.
We are also working on getting rid of direct dependecy
on IInputMethodManager from Settings.(see b/175742251)
[1]: I3eafbc28ed3acf3ba859885bf201cb06b3149b94
Bug: 163453493
Test: make RunSettingsRoboTests ROBOTEST_FILTER="WinscopeTraceTest"
Test: 1) Enable the Winscope Trace tile
2) Do some actions like open keyboard
3) Disable the Winscope Trace tile
4) Grad a bugreport and verify trace on go/Winscope
Change-Id: I6733e8b500f5e02d4e14cde4ab7a46f4f716f5d0
2021-01-29 11:00:48 +08:00
Ben Chung
c22313c741
Add accessibility shortcuts fragment in a11y settings
...
Accessibility settings category restructure, add accessibility shortcuts
fragment for related accessibility services.
Bug: 174829936
Test: atest AccessibilityShortcutsFragmentTest, atest AccessibilitySettingsTest
Change-Id: I9706906863872bc60d31eae54bbf3a35d70e812e
2021-01-28 23:57:55 +00:00
Jiashen Wang
b54d25ee13
Slot Change Receiver Migration
...
Implemented slot change cases when pSIM is inserted and removed.
Bug: 153811431
Bug: 170508680
Test: Manually tested
Change-Id: Ib0a96da1d7d702f7c64e75b929c73b8548f8e459
2021-01-28 14:15:53 -08:00