Jiashen Wang
0b3f266d19
Merge "[SIM Dialog Migration] Add SIM dialogs to support screen rotation" am: 831172e9a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12750115
Change-Id: I0185fcae6d03bedc27dde544bdaf586f0bbf05df
2020-10-08 18:00:08 +00:00
Jiashen Wang
831172e9a8
Merge "[SIM Dialog Migration] Add SIM dialogs to support screen rotation"
2020-10-08 17:46:03 +00:00
jasonwshsu
26f1b5f65c
Add data class PreferredShortcut to replace inner class UserShortcutType
...
* Add basic function equals(), hashcode() into data class
* Change flatternToString() to toString()
* Change constructor to fromString(flatternToString)
Bug: 158540780
Test: atest PreferredShortcutTest
Change-Id: I0ee46dd940d22ff9f168b95fe75d9cff2f0fddfb
2020-10-08 10:53:48 +00:00
timhypeng
eee759ea29
Update rule of launching media output dialog
...
-Do not hide Media Output Dialog in Settings, and let dialog handles
-Hide Media output slice panel when launching dialog
Bug: 155822415
Test: make -j50 RunSettingsRoboTests
Change-Id: I16732f625f100b259d6e53c85db40af0ec1652c5
2020-10-08 16:29:28 +08:00
timhypeng
3084d063f3
Update OutputSwitcher from MediaOutputSlice to MediaOutputDialog in Settings
...
-Update entry point at media indicator in volume panel
-Update entry point at remote media slice in volume panel
-Update entry point at remote volume group in Sound Settings
-Update entry point at media output preference in Sound Settings
-Hide Media output dialog when the caller is not active
Bug: 155822415
Test: make -j50 RunSettingsRoboTests
Change-Id: Ib6c86067522925c439f336644e4d027dbae3379c
2020-10-08 16:18:43 +08:00
timhypeng
1268629fda
Fix java.lang.ArrayIndexOutOfBoundsException in RemoteVolumeGroupController
...
-Caused by removing and adding preference at the same time
-Make preference operation method synchronized
-Not to update preference by removing and adding. To check session status and update its content to preference
-Post to UI thread to handle the onDeviceListUpdate() callback from framework
Bug: 170049403
Test: make -j50 RunSettingsRoboTests
Change-Id: Ibfc11e1bd99ba2e578b5d9e7dcc9132e372b68dd
2020-10-08 07:43:46 +00:00
Arc Wang
352d1e8e53
Merge "[Settings] Remove failure JUnit test cases" am: ca40e8d31c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12771901
Change-Id: I17c1173e6999d72691c3db0695b8811a4ce890f5
2020-10-08 07:12:58 +00:00
Arc Wang
ca40e8d31c
Merge "[Settings] Remove failure JUnit test cases"
2020-10-08 06:57:35 +00:00
TreeHugger Robot
6c4ce6f8aa
Merge "Add randomized MAC (last used)" am: 5446e7a7c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12769319
Change-Id: Ibc63e72fcb303fb462c2089469721c19c0523a93
2020-10-08 04:10:31 +00:00
TreeHugger Robot
5446e7a7c4
Merge "Add randomized MAC (last used)"
2020-10-08 03:42:00 +00:00
TreeHugger Robot
fa0076c7c6
Merge "Revert "Add the FLAG_IMMUTABLE flag for creating a PendingIntent"" am: 2e307f804a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12784439
Change-Id: Ie812e9db3b5e7f63979276bba15e274fe43bea9c
2020-10-08 02:13:34 +00:00
TreeHugger Robot
2e307f804a
Merge "Revert "Add the FLAG_IMMUTABLE flag for creating a PendingIntent""
2020-10-08 01:42:50 +00:00
xshu
19eabbff63
Add randomized MAC (last used)
...
Makes it clear that when a network is disconnected, the randomized MAC
address shown is the last used one. (ie. it could change in the next
connection depending on whether enhanced MAC randomization is active)
Bug: 170166681
Test: Manually verified that the new text is shown for disconnected
networks.
Change-Id: I4aec47b2de68c077e6fdc7efa96d39e6666d4c86
2020-10-07 14:20:16 -07:00
TreeHugger Robot
757bf244ae
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: f0313f1328 -s ours am: ad20bb4875 -s ours am: 6884db1c4f -s ours am: af667e87c3 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12779297
Change-Id: I090d332b9eae5982f996db0be0ef8ed4ae05cbbf
2020-10-07 19:15:59 +00:00
TreeHugger Robot
3a513ed985
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: d0147558bb -s ours am: 7e1d22baf9 -s ours am: c70687517a -s ours am: d774d729cd -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12782680
Change-Id: I4f4022803119294c2b087c278ea51c9ba8506374
2020-10-07 19:15:45 +00:00
TreeHugger Robot
af667e87c3
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: f0313f1328 -s ours am: ad20bb4875 -s ours am: 6884db1c4f -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12779297
Change-Id: Ia191268ed2423cca8410769ceef111d6883d15d4
2020-10-07 18:48:46 +00:00
TreeHugger Robot
d774d729cd
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: d0147558bb -s ours am: 7e1d22baf9 -s ours am: c70687517a -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12782680
Change-Id: I819e2f8fa12ca2c07eaec9cf02f23d5ff8f27d0e
2020-10-07 18:48:20 +00:00
TreeHugger Robot
6884db1c4f
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: f0313f1328 -s ours am: ad20bb4875 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12779297
Change-Id: I5d4f16f1ac17690f33d46e58bd994018c6a37635
2020-10-07 18:34:26 +00:00
TreeHugger Robot
c70687517a
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: d0147558bb -s ours am: 7e1d22baf9 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12782680
Change-Id: I4f96a36f90c43421b6d670dc236a46779c79f142
2020-10-07 18:34:13 +00:00
TreeHugger Robot
ad20bb4875
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: f0313f1328 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12779297
Change-Id: Iba3addc036b56f1a5ab431368e3f1dac952897ef
2020-10-07 18:19:37 +00:00
TreeHugger Robot
7e1d22baf9
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: d0147558bb -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12782680
Change-Id: Ibceea2a0db7cd86d1060c3035d1306127e921ebf
2020-10-07 18:19:00 +00:00
TreeHugger Robot
f0313f1328
Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master
2020-10-07 18:03:32 +00:00
TreeHugger Robot
d0147558bb
Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master
2020-10-07 17:49:45 +00:00
Daniel Chapin
ee1360f13c
Revert "Add the FLAG_IMMUTABLE flag for creating a PendingIntent"
...
This reverts commit 334968c113 .
Reason for revert: Bug: 170280415
Change-Id: Idaa269406d6c1609c75f0dfba1f7fa9daf979101
2020-10-07 17:47:36 +00:00
Bill Yi
4c00a7338e
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I194219f78cffa0b5e0c6e3230158dd700a7fc31a
2020-10-07 07:10:55 -07:00
Arc Wang
63e015962c
[Settings] Remove failure JUnit test cases
...
This change removes all the files which have any failure JUnit test case.
Bug: 168429329
Test: atest --test-mapping tests/unit:postsubmit
Change-Id: I1665565760f9dfc185bf9b8dd871ee106eba5dd5
2020-10-07 21:26:09 +08:00
Bill Yi
d387c33f9a
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Iffd874c0f7449ca10692e382178347b5c9db8088
2020-10-07 06:24:54 -07:00
TreeHugger Robot
cfa667bb95
Merge "Preliminary classification for homepage IA grouping" am: 351821e688
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12771755
Change-Id: I33d1e46bd4d9a5e39056a906ab1fffbf9390531d
2020-10-07 11:52:53 +00:00
TreeHugger Robot
351821e688
Merge "Preliminary classification for homepage IA grouping"
2020-10-07 11:40:13 +00:00
Jason Chiu
e4b2b77452
Reduce the flickering of injected items when package is changed
...
Root cause:
Settings listens to four package-related broadcasts in order to refresh
injected items because UI data may change. However, when the system is
updating apps on the first boot, it triggers a burst of broadcasts. For
each broadcast Settings will reload and then redraw all injected items,
which leads to the flickering.
Solution:
1. When Settings recieves a broadcast, check if there are already two
reloading tasks to avoid redundant updates.
2. In the reloading task, check if any injected item is changed, added,
or removed to notify categories changed.
3. Only refresh the UI when any of the changed items belongs to the
current page.
Bug: 166785977
Bug: 168309941
Test: manual, robotest
Change-Id: I77745b60f84510554bff1870a5bb7a8013eab528
Merged-In: I77745b60f84510554bff1870a5bb7a8013eab528
(cherry picked from commit 20df25e6b9 )
2020-10-07 17:49:17 +08:00
TreeHugger Robot
59c9d42963
Merge "Implement advanced device battery prediction" am: 2489494cd3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12555477
Change-Id: Ia51f957c068f8009ad0a795b35228896edc03ed3
2020-10-07 07:46:34 +00:00
Stanley Wang
078aa9b7f6
Fix the DUS Loader item can't be searched.
...
The preference must be PreferenceControllerMixin or
BasePreferenceController otherwise it can't be searched.
Fixes: 169805654
Test: robotest Settings
Change-Id: I792467f141617ab189e80f9c42b4c58b1c2fa9fe
2020-10-07 14:45:47 +08:00
TreeHugger Robot
2489494cd3
Merge "Implement advanced device battery prediction"
2020-10-07 02:14:16 +00:00
Andras Kloczl
156b44339a
Add user name photo dialog to user creation in SysUI am: 2ac45dd49e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12352922
Change-Id: I016c7a74d4f1b04b904e52ca87879a354bad93d9
2020-10-06 23:25:11 +00:00
Andras Kloczl
2ac45dd49e
Add user name photo dialog to user creation in SysUI
...
- Move user creation dialog related resources to SettingsLib
- Change dialog showing logic in UserSettings because
EditUserInfoController contracts have changed.
- Show UserCreatingDialog when user is being created
- Fix crash when phone is rotated during user creation
Test: manual test
Doc: http://shortn/_cJE9o6pBZR
Screenrecord: http://shortn/_Jy5Q0lTAUL
Bug: 147653252
Change-Id: I15e15ad88b768a5b679de32c5429d921d850a3cb
2020-10-06 20:43:52 +01:00
Yanting Yang
4dd4567bfc
Preliminary classification for homepage IA grouping
...
Bug: 168166015
Test: robotest & visual
Change-Id: If02639d8a5b8886e036b30c5c654c27db5837b62
2020-10-06 20:40:53 +08:00
Alexander Dorokhine
7d952e6ad1
[automerger skipped] Merge "Migrate away from deprecated Truth APIs." am: c5a500bf07 am: 1b69ab26e9 am: 94fa8e0921 am: 01236ed32f -s ours am: 0488650aa0 -s ours
...
am skip reason: Change-Id I76f9c37cb699ce6ab8715ffe35d11668ccbceea1 with SHA-1 46e85a2fad is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1449661
Change-Id: I8c5e459eadfefe9deaceba3f3af9357d1dcbfe33
2020-10-06 12:36:07 +00:00
Alexander Dorokhine
0488650aa0
[automerger skipped] Merge "Migrate away from deprecated Truth APIs." am: c5a500bf07 am: 1b69ab26e9 am: 94fa8e0921 am: 01236ed32f -s ours
...
am skip reason: Change-Id I76f9c37cb699ce6ab8715ffe35d11668ccbceea1 with SHA-1 46e85a2fad is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1449661
Change-Id: Ia3f030f48315b88be8606576f563ee39707df8f8
2020-10-06 11:47:10 +00:00
Alexander Dorokhine
01236ed32f
Merge "Migrate away from deprecated Truth APIs." am: c5a500bf07 am: 1b69ab26e9 am: 94fa8e0921
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1449661
Change-Id: I82dd6eb5510fd7e35bd2c0473725dc24780ce219
2020-10-06 11:17:56 +00:00
Alexander Dorokhine
94fa8e0921
Merge "Migrate away from deprecated Truth APIs." am: c5a500bf07 am: 1b69ab26e9
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1449661
Change-Id: I86b367dd8c072aeb8de4a610e7cf6c19fc5c8287
2020-10-06 11:05:22 +00:00
Alexander Dorokhine
1b69ab26e9
Merge "Migrate away from deprecated Truth APIs." am: c5a500bf07
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1449661
Change-Id: Ifd04dfaf4e806be9ed084a7241ac1fba781511e1
2020-10-06 10:19:41 +00:00
Alexander Dorokhine
c5a500bf07
Merge "Migrate away from deprecated Truth APIs."
2020-10-06 09:46:44 +00:00
Hugh Chen
fa75a469da
Implement advanced device battery prediction
...
This CL implements prediction of advanced device to
let users know what time their advanced device will
be out of battery.
Bug: 153706138
Test: make -j42 SettingsGoogle
Change-Id: Iadf2f1fa425ff5f0fa1abed681d82d13c392db62
2020-10-06 17:38:08 +08:00
TreeHugger Robot
f46426dbe5
Merge "Move isMediaOutputDisabled() from Utils to LocalMediaManager" am: 1ae5e59c32
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12686596
Change-Id: I376a32dc009c56f0cf97aae5b79f832838755c17
2020-10-06 09:00:31 +00:00
TreeHugger Robot
1ae5e59c32
Merge "Move isMediaOutputDisabled() from Utils to LocalMediaManager"
2020-10-06 08:40:15 +00:00
Alexander Dorokhine
063ebd24cd
Merge "Migrate away from deprecated Truth APIs." am: 7aadf2da70
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12641063
Change-Id: I66482548777336464930eb90711bef3c0f96e937
2020-10-06 07:26:51 +00:00
Alexander Dorokhine
6decca7890
Migrate away from deprecated Truth APIs.
...
This is a transitional step towards truth 1.0.1, where these APIs have
been completely removed.
Bug: 168765701
Test: m checkbuild
Merged-In: I76f9c37cb699ce6ab8715ffe35d11668ccbceea1
Change-Id: I76f9c37cb699ce6ab8715ffe35d11668ccbceea1
(cherry picked from commit 46e85a2fad )
2020-10-06 00:25:04 -07:00
Alexander Dorokhine
7aadf2da70
Merge "Migrate away from deprecated Truth APIs."
2020-10-06 07:06:00 +00:00
TreeHugger Robot
ea13379c95
Merge "Add the FLAG_IMMUTABLE flag for creating a PendingIntent" am: 4eb4e06ee4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12763543
Change-Id: I5110af2d37569bcbdd3f8fbd4c4023edf32c2e07
2020-10-06 06:47:01 +00:00
TreeHugger Robot
4eb4e06ee4
Merge "Add the FLAG_IMMUTABLE flag for creating a PendingIntent"
2020-10-06 06:29:09 +00:00