Commit Graph

98280 Commits

Author SHA1 Message Date
TreeHugger Robot
244df10d90 Merge "Fine tune the homepage scrolling behavior" into sc-v2-dev 2021-11-05 11:22:49 +00:00
Jason Chiu
ae5327d4bb Fine tune the homepage scrolling behavior
Scroll to the highlight position before showing homepage.

Bug: 199017944
Bug: 204946469
Test: visual
Change-Id: I11708f42180a3af22855ac7b5f53460f737ed208
2021-11-05 18:21:59 +08:00
Arc Wang
22560d8286 [Large screen] Set SplitPairRule for DeepLinkHomepageActivity am: 82eeacf275 am: 3a655fd1ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16183661

Change-Id: I928a9bd19e51585cc5720125e46a0ed34da2c297
2021-11-05 09:51:46 +00:00
Arc Wang
3a655fd1ec [Large screen] Set SplitPairRule for DeepLinkHomepageActivity am: 82eeacf275
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16183661

Change-Id: I7369fb99dea1ecd7b00a5fb399441a1cde8b0e68
2021-11-05 09:34:51 +00:00
Hugh Chen
13375e5f44 Fix phone shows incorrect pairing code in pairing dialog
Add PendingIntent.FLAG_UPDATE_CURRENT to let peding intent can
be updated the intent extra.

Bug: 204133175
Test: make -j64 RunSettingsRoboTests
Change-Id: I42966432dacc3727d31231d10aa07b782bb1d92e
2021-11-05 09:22:13 +00:00
Arc Wang
82eeacf275 [Large screen] Set SplitPairRule for DeepLinkHomepageActivity
Setting app should set SplitPairRule for all the alias of
SettingsHomepageActivity to handle all the different
launch cases.

Bug: 204156913
Bug: 204399375
Test: manual
      1. Launch settings in unfold screen
      2. Fold screen
      3. Launch wallpaper app
      4. Unfold screen
Change-Id: I3ad33a750ef19390bc8dc3fb4dc6f1c80630d57f
2021-11-05 08:33:59 +00:00
TreeHugger Robot
bdea62f707 Merge "Remove ACCESS_COARSE_LOCATION permission checking" 2021-11-05 07:28:15 +00:00
TreeHugger Robot
5ade0ebf72 Merge "[Large screen] SplitListener may not provide correct information" into sc-v2-dev am: 672185ffe7 am: 54fec9c294
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16183654

Change-Id: I9cfaa9a65542406797d3428568932a1c4370912d
2021-11-05 05:12:35 +00:00
TreeHugger Robot
54fec9c294 Merge "[Large screen] SplitListener may not provide correct information" into sc-v2-dev am: 672185ffe7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16183654

Change-Id: I0ec9b59130b9e5b5849cad1bd095823b45204ed3
2021-11-05 04:56:14 +00:00
TreeHugger Robot
672185ffe7 Merge "[Large screen] SplitListener may not provide correct information" into sc-v2-dev 2021-11-05 04:39:50 +00:00
Joe Bolinger
c0906cfee7 Merge "Set a min height for pattern setup." into sc-v2-dev am: 774c2181ea am: ba9f4f66a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16194774

Change-Id: Ib94e00609e0b29d7e9480152883870fabb58e327
2021-11-05 03:13:50 +00:00
Arc Wang
488f79cab5 [Large screen] SplitListener may not provide correct information
SettingsActivity may send Settings 2-pane deep link Intent to
SettingsHomepageActivity if split callback tells that there is no
SplitInfo.

Wallpaper app sends deep link Intent to SettingsHomepageActivity,
and then SettingsHomepageActivity starts Wallpaper app page.
The flow should be 2-pane organized but the split callback tells
that splitInfos is empty.

This change checks if the Intent is from SettingsHomepageActivity
to prevent the Intent loop by the bug.

Bug: 205206004
Test: manual
      Long click Launcher -> Wallpaper & style
Change-Id: I6b9d76c136238e556384e891ae1700ae7c1bb41f
2021-11-05 11:07:33 +08:00
Joe Bolinger
ba9f4f66a8 Merge "Set a min height for pattern setup." into sc-v2-dev am: 774c2181ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16194774

Change-Id: I18756d98be500c0337278161909766ad157aec81
2021-11-05 03:01:18 +00:00
Joe Bolinger
774c2181ea Merge "Set a min height for pattern setup." into sc-v2-dev 2021-11-05 02:45:07 +00:00
TreeHugger Robot
71ab9aefcb Merge "Register rule for wallpaper entry" into sc-v2-dev am: 6c24e5bc33 am: d34752cce6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16180475

Change-Id: I90e42051ccdf056da7899bf5a04125d3d945fe20
2021-11-05 01:25:37 +00:00
TreeHugger Robot
d34752cce6 Merge "Register rule for wallpaper entry" into sc-v2-dev am: 6c24e5bc33
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16180475

Change-Id: If731d818bef7f8bc3e20144ac9e45930f88ecd43
2021-11-05 01:12:45 +00:00
TreeHugger Robot
6c24e5bc33 Merge "Register rule for wallpaper entry" into sc-v2-dev 2021-11-05 01:00:08 +00:00
Joe Bolinger
e55568a7ba Set a min height for pattern setup.
Fix: 194022156
Test: manual (set pattern in SUW with largest font/display size)
Change-Id: I82a0bb5aec122e9d65e4b17ea45166091deea02a
2021-11-05 00:24:36 +00:00
YUKAI HUNG
8d70e92bff Revert "[Settings] Ignore failed test case"
This reverts commit 7cc1c69db5.

Reason for revert: test whether is can be passed or not

Change-Id: I08c538f1b5be0a5cfe299d1c9c0affb801b34dc2
2021-11-04 22:12:19 +00:00
Weng Su
a27167dbd8 Remove ACCESS_COARSE_LOCATION permission checking
- The calling package needs ACCESS_FINE_LOCATION permission to get WiFi
result data.

- The ACCESS_COARSE_LOCATION permission is not allowed.

Bug: 185126813
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiDialogActivityTest

Change-Id: I2c9013a74d173066270b422ae2179b0d1018f2d7
2021-11-05 01:36:13 +08:00
TreeHugger Robot
e87862a245 Merge "[Large screen] Check if it's in 2-pane before 2-pane deep link flow" into sc-v2-dev am: ea216fd2f3 am: c1935f79d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16151659

Change-Id: Ia4d70cfe584ba35c517b0c82ccefd082008e3c41
2021-11-04 11:48:29 +00:00
TreeHugger Robot
c1935f79d6 Merge "[Large screen] Check if it's in 2-pane before 2-pane deep link flow" into sc-v2-dev am: ea216fd2f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16151659

Change-Id: I00976f8dbb0ed7449f8bd7865bc84242c8de533f
2021-11-04 11:31:07 +00:00
TreeHugger Robot
ea216fd2f3 Merge "[Large screen] Check if it's in 2-pane before 2-pane deep link flow" into sc-v2-dev 2021-11-04 11:06:19 +00:00
Tsung-Mao Fang
b3db40a02b Register rule for wallpaper entry
We should keep consistent split rule for wallpaper and other home menu
item. So, we create this cl to register the split rule for wallpaper.

Also, I do some minor refactoring in this cl for reusing existing
method and better code quality.

Test: Go to wallpaper, and click back key. App can close.
Fix: 204406425
Fix: 204364572

Change-Id: Ia7de9483b351d1121cc26c4af1cb8a89ad0a16bc
2021-11-04 18:48:59 +08:00
TreeHugger Robot
d1f20d673e Merge "Update "Mobile network standby" attribute label into "Mobile network"" into sc-v2-dev am: c425a4ae93 am: 8e9b44ea7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16182698

Change-Id: I2b01076c97aad16df7ed6576a1b13cbfc6c23bd1
2021-11-04 10:28:06 +00:00
Bill Yi
e707a01291 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: 4933470166 -s ours am: 8f132e48f6 -s ours am: 7493a1c8f1 -s ours am: 9d554450b0 -s ours am: 4f343aa6d1 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: I8dcb550e79c5bedbc185b8c7082e598cf324abb0
2021-11-04 10:28:01 +00:00
Bill Yi
1166b15eba [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 579555c158 -s ours am: 7a05400c26 -s ours am: d51e96b212 -s ours am: 84b11eefca -s ours am: 299447cadd -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: I8ae71b99d6f9ab635a2151031a1c96edae3d7a41
2021-11-04 10:27:53 +00:00
Bill Yi
350d0558db [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: d18efb1358 -s ours am: c95b61f5f3 -s ours am: 7f0820ba09 -s ours am: 90d2c5ded2 -s ours am: 270ce09842 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: Ibf423f8498874e124523790dc658aee4a421e92a
2021-11-04 10:27:45 +00:00
Bill Yi
c18ab5a1df [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: 4933470166 -s ours am: 8f132e48f6 -s ours am: 7493a1c8f1 -s ours am: 3bf6443c3b -s ours am: b5e306ce19 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: Ide9a4e48f9106836ea7f8d80cfea8bfd6563baef
2021-11-04 10:27:37 +00:00
Bill Yi
7b2e11262b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 579555c158 -s ours am: 7a05400c26 -s ours am: d51e96b212 -s ours am: 73606b9c56 -s ours am: 881e62e394 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: I984dcb4889056e4456d193bc39f304f8a0d98680
2021-11-04 10:27:30 +00:00
Bill Yi
6765fb6247 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: d18efb1358 -s ours am: c95b61f5f3 -s ours am: 7f0820ba09 -s ours am: 0db68469ef -s ours am: 5d72e96a66 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: I64d2850b601962e50a8c888f544f324feb815f83
2021-11-04 10:27:22 +00:00
Automerger Merge Worker
b606cbbf33 Merge "[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 6510b1715b -s ours am: 4a273e4c6b -s ours am: 38c9bb9362 -s ours am: f7939d35f5 -s ours" into sc-v2-dev-plus-aosp am: 927b097a41 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: Ib2691558725ee71f2991a6edcd747f4bcd76d54c
2021-11-04 10:27:14 +00:00
Bill Yi
be0b12a7e4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 6510b1715b -s ours am: 4a273e4c6b -s ours am: 38c9bb9362 -s ours am: 899f7414bf -s ours am: 236065badf -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: I2f06dca654b6d39338cc2c32aa66f5eb6e7215f1
2021-11-04 10:27:06 +00:00
Bill Yi
c18aa6e6a2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: 4933470166 -s ours am: 8f132e48f6 -s ours am: ba11c08f71 -s ours am: b91416b6fd -s ours am: 740477dc52 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: I767755e6640964361343984d88011fdee18934a1
2021-11-04 10:26:53 +00:00
Bill Yi
613a6550b2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 579555c158 -s ours am: 7a05400c26 -s ours am: b2daff0ad3 -s ours am: bbc8fcad51 -s ours am: 28029299e1 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: Ie7338d97d484d3deb10f122ec8e7fdfcc1eca872
2021-11-04 10:26:40 +00:00
Bill Yi
baaf9add4d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: d18efb1358 -s ours am: c95b61f5f3 -s ours am: a7e7987804 -s ours am: d858a497fb -s ours am: cd5b3be99c -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: If411a198c355d587f131adea126234fa3a48d4d0
2021-11-04 10:26:31 +00:00
Bill Yi
f26224b4f6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 6510b1715b -s ours am: 4a273e4c6b -s ours am: 25be092f3b -s ours am: 59793f8785 -s ours am: fcad28e786 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: I031c1f7fa69760a02e9c3b988880f5892cc583b7
2021-11-04 10:25:50 +00:00
TreeHugger Robot
8e9b44ea7d Merge "Update "Mobile network standby" attribute label into "Mobile network"" into sc-v2-dev am: c425a4ae93
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16182698

Change-Id: I729cd092754422afd7c44cef0d5873336b070f80
2021-11-04 10:09:24 +00:00
Bill Yi
4f343aa6d1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: 4933470166 -s ours am: 8f132e48f6 -s ours am: 7493a1c8f1 -s ours am: 9d554450b0 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: I76c78ef0e60e9e0d7a751619faad20446e38f698
2021-11-04 10:09:19 +00:00
Bill Yi
299447cadd [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 579555c158 -s ours am: 7a05400c26 -s ours am: d51e96b212 -s ours am: 84b11eefca -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: Ia6880875ca99d515a7caabb6bfd3c37cbf9d719c
2021-11-04 10:09:07 +00:00
Bill Yi
270ce09842 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: d18efb1358 -s ours am: c95b61f5f3 -s ours am: 7f0820ba09 -s ours am: 90d2c5ded2 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: I5bed915b927474bb065dd2fe6bc09cc1b2e13906
2021-11-04 10:08:55 +00:00
Bill Yi
b5e306ce19 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: 4933470166 -s ours am: 8f132e48f6 -s ours am: 7493a1c8f1 -s ours am: 3bf6443c3b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: I1a3fb538e393ace6b707234c69d15cb079027933
2021-11-04 10:08:49 +00:00
Bill Yi
881e62e394 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 579555c158 -s ours am: 7a05400c26 -s ours am: d51e96b212 -s ours am: 73606b9c56 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: I294595254738f98a3fa14dfad15eac1f1320e96c
2021-11-04 10:08:42 +00:00
Bill Yi
5d72e96a66 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: d18efb1358 -s ours am: c95b61f5f3 -s ours am: 7f0820ba09 -s ours am: 0db68469ef -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: Id4632a2959dc03a8ca5c49377f048e4b17241882
2021-11-04 10:08:35 +00:00
Automerger Merge Worker
927b097a41 Merge "[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 6510b1715b -s ours am: 4a273e4c6b -s ours am: 38c9bb9362 -s ours am: f7939d35f5 -s ours" into sc-v2-dev-plus-aosp 2021-11-04 10:08:31 +00:00
Bill Yi
236065badf [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 6510b1715b -s ours am: 4a273e4c6b -s ours am: 38c9bb9362 -s ours am: 899f7414bf -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: I8bbfedad9d1311e409d57c00cbaa6572e90e3b1e
2021-11-04 10:08:28 +00:00
Bill Yi
d0723669a1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 6510b1715b -s ours am: 4a273e4c6b -s ours am: 38c9bb9362 -s ours am: f7939d35f5 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: I99766bfbe4e6591ab5ce0dbff5e2ea3638b4b8ed
2021-11-04 10:08:26 +00:00
Bill Yi
740477dc52 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: 4933470166 -s ours am: 8f132e48f6 -s ours am: ba11c08f71 -s ours am: b91416b6fd -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: I2fd187e36a1b672b9dc234c94b24d0a6f90ed60c
2021-11-04 10:08:22 +00:00
Bill Yi
28029299e1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a69cc3921 -s ours am: 5f68234c40 -s ours am: e99626cbca -s ours am: 579555c158 -s ours am: 7a05400c26 -s ours am: b2daff0ad3 -s ours am: bbc8fcad51 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185415

Change-Id: I41a08651f1fe19ea556270e9385fecf577d34131
2021-11-04 10:08:14 +00:00
Bill Yi
cd5b3be99c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 64149823f2 -s ours am: 8736277f07 -s ours am: 775e9c5605 -s ours am: b78ee724ae -s ours am: d18efb1358 -s ours am: c95b61f5f3 -s ours am: a7e7987804 -s ours am: d858a497fb -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16185416

Change-Id: I46719d2f90003ee63828bfb8d4f87ea4dc22ccac
2021-11-04 10:08:07 +00:00