Andrii Kulian
aa8cf9bcfd
Merge "Sticky placeholder and adjacent finish rule in Settings" into sc-v2-dev am: 0ac5228e54
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16176771
Change-Id: I7e1f194c31af59696990102e5ac75ddec07f6441
2021-11-11 03:58:39 +00:00
Andrii Kulian
0ac5228e54
Merge "Sticky placeholder and adjacent finish rule in Settings" into sc-v2-dev
2021-11-11 03:44:38 +00:00
YUKAI HUNG
a1d72c11c5
Merge "Fix incorrect usage for the logging method to cause no data in WW" into sc-v2-dev am: 6e12a31e5f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16221114
Change-Id: I2d78a4287aa740f1e583c8f570d52c2dc8d90bf7
2021-11-10 09:50:59 +00:00
YUKAI HUNG
6e12a31e5f
Merge "Fix incorrect usage for the logging method to cause no data in WW" into sc-v2-dev
2021-11-10 09:34:55 +00:00
Arc Wang
51a7c73af7
Merge "[Large sceen] Don't go Settings 2-pane deep link flow if not task root" into sc-v2-dev am: 7c86d3d7a7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16221116
Change-Id: I75147641e475df2c98135c956a4bb6ef3ee12d69
2021-11-10 09:06:45 +00:00
Arc Wang
8458e95650
Merge "[Large screen] Shows MobileNetworkActivity in 2-pane" into sc-v2-dev am: 084cfd4142
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16221122
Change-Id: I6b2bc1859de60b495e84fcfab10474d5791a6290
2021-11-10 09:06:34 +00:00
Arc Wang
7c86d3d7a7
Merge "[Large sceen] Don't go Settings 2-pane deep link flow if not task root" into sc-v2-dev
2021-11-10 08:52:07 +00:00
Arc Wang
0f5e75e098
[Large sceen] Don't go Settings 2-pane deep link flow if not task root
...
When a full screen or a non-Settings-app ActivityA starts ActivityB of
a SettingsActivity, splitInfos will be empty and it unexpectedly goes
Settings 2-pane deep link flow.
This change checks if an Activity is not task root, don't go Settings
2-pane deep link flow.
Bug: 205497007
Test: manual
SUW -> Vision settings
Check if it goes Settings 2-pane deep link flow.
Change-Id: I0822fbe71fdde47ce7c070986371a4dfea84992c
2021-11-10 08:50:10 +00:00
Arc Wang
084cfd4142
Merge "[Large screen] Shows MobileNetworkActivity in 2-pane" into sc-v2-dev
2021-11-10 08:46:00 +00:00
ykhung
101dc6878a
Fix incorrect usage for the logging method to cause no data in WW
...
Fix incorrect usage for the logging method to cause the schedule type
and percentage data is not logged into the WW, since
MetricsFeatureProvider doesn't support log Pair.of() data into the
WestWorld or Clearcut directly, it is used for EventLogWriter only
Bug: 202906853
Test: make SettingsRoboTests
Change-Id: I9f1d157c77df9bd74f441105318790a2505a9c01
2021-11-10 15:39:30 +08:00
Tom Hsu
d0c1f6eb92
Merge "Let activity of "add language" fit settingsactivity style." into sc-v2-dev am: 50726121b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16220935
Change-Id: Ie39a2fc21627305052910669cdacbd16ff329ece
2021-11-10 07:18:12 +00:00
Tom Hsu
50726121b4
Merge "Let activity of "add language" fit settingsactivity style." into sc-v2-dev
2021-11-10 07:06:59 +00:00
Arc Wang
80887b6be3
[Large screen] Shows MobileNetworkActivity in 2-pane
...
MobileNetworkActivity has launchMode singleTask, it makes
the Activity shows in full screen instead of 2-pane.
This change register SplitPairRule for the Activity to show
in 2-pane. However, there are other objects which starts
MobileNetworkActivity, it still needs later CL to refine
and register SplitPairRule for other objects which starts
MobileNetworkActivity.
Bug: 204039043
Test: manual
Settings -> Network & Internet -> SIMs
Change-Id: Ia15c17c88efd46c5bb2b41aa21848293b9ff5610
2021-11-10 14:39:47 +08:00
Andrii Kulian
8061973e3d
Sticky placeholder and adjacent finish rule in Settings
...
Bug: 204829538
Test: Open Settings in landscape in two panes, rotate to portrait to stack, rotate back to split
Change-Id: I5790962051d0b01902f3b50e958848eff7cf7334
2021-11-09 22:32:58 -08:00
TreeHugger Robot
0f6c95d4fd
Merge "Fix "battery saver" not in the top seaching result for indexing" into sc-v2-dev am: 5afb04e1b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16220939
Change-Id: I38c253e43ca1165916550503b13276bcf23b672a
2021-11-10 02:18:39 +00:00
ykhung
64e49a9393
Fix "battery saver" not in the top seaching result for indexing
...
Bug: 204964119
Test: make SettingsRoboTests
Change-Id: Ifbbf979abe9e96e7af66ec20173e996793d2703e
2021-11-10 00:11:09 +08:00
TreeHugger Robot
22b763486d
Merge "Fix incorrect usage for the logging method to cause no data in WW" into sc-v2-dev am: 6f6149c7ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16220930
Change-Id: Iefc9f1b9719bd1cc57bf79d7d8d873a4f4dbc995
2021-11-09 15:22:38 +00:00
tom hsu
0c0daf7034
Let activity of "add language" fit settingsactivity style.
...
Bug: 202104027
Test: Maunal test. see b/202104027#5
Change-Id: I1f087885912179bb501ae72d0eb50bb8280dcbc0
2021-11-09 21:22:09 +08:00
ykhung
48c3533cd0
Fix incorrect usage for the logging method to cause no data in WW
...
Fix incorrect usage for the logging method to cause the schedule type
and percentage data is not logged into the WW, since
MetricsFeatureProvider doesn't support log Pair.of() data into the
WestWorld or Clearcut directly, it is used for EventLogWriter only
Bug: 202906853
Test: make SettingsRoboTests
Change-Id: I0ca87ca96647f025adbd23f9f93a3cbd5f7d8579
2021-11-09 21:01:40 +08:00
Treehugger Robot
9c564e9016
Merge "Add entry point for adaptive brightness settings" am: d3d24b65ac am: f7836dd7bc am: bd105d62e0 am: 38f57dc3d7
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1698500
Change-Id: I5df7284a5193b57cb18524a7ae9360fbe64cac26
2021-11-09 08:35:20 +00:00
Treehugger Robot
38f57dc3d7
Merge "Add entry point for adaptive brightness settings" am: d3d24b65ac am: f7836dd7bc am: bd105d62e0
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1698500
Change-Id: I2a2c8d7828b07e519ecb2736f9c1d5d0940fea24
2021-11-09 08:18:41 +00:00
Treehugger Robot
bd105d62e0
Merge "Add entry point for adaptive brightness settings" am: d3d24b65ac am: f7836dd7bc
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1698500
Change-Id: I50db46670b28fe29d5f5c3911ea09fd5b99f1c9d
2021-11-09 08:00:04 +00:00
Hugh Chen
4640a2a077
RESTRICT AUTOMERGE Fix make Bluetooth discoverable without additional permission am: b1adf980a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16144999
Change-Id: Ieb2beb22a55230c7e7f283f6886b340b7821d67f
2021-11-09 07:27:19 +00:00
Hugh Chen
be094163b8
RESTRICT AUTOMERGE Fix make Bluetooth discoverable without additional permission am: 58d81fbbb4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16130956
Change-Id: I6572efe48fb0ad0159e0177459d1929aaa4f86ce
2021-11-09 07:24:27 +00:00
Hugh Chen
a079b5013b
RESTRICT AUTOMERGE Fix make Bluetooth discoverable without additional permission am: d7c50f7952
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16145000
Change-Id: Ia0d8f0d631d9b973ac7318f6a732a71d04d330ef
2021-11-09 07:19:03 +00:00
TreeHugger Robot
8072964193
Merge "RESTRICT AUTOMERGE Fix make Bluetooth discoverable without additional permission" into sc-v2-dev
2021-11-09 06:58:39 +00:00
TreeHugger Robot
cd467e99d8
Merge "Check if pref is disabled by admin" into sc-v2-dev am: 87b3974dfd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16199770
Change-Id: I670cde971b45484e54b951a90e507acc7ef0c1dc
2021-11-08 16:34:32 +00:00
TreeHugger Robot
87b3974dfd
Merge "Check if pref is disabled by admin" into sc-v2-dev
2021-11-08 16:16:53 +00:00
TreeHugger Robot
23848cfc80
Merge "AF passwords settings: Start activity as new task." into sc-v2-dev am: 309426bbea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16212117
Change-Id: I59f2c97b65b593857ef4d311ef2f3bd91949e401
2021-11-08 08:32:21 +00:00
TreeHugger Robot
309426bbea
Merge "AF passwords settings: Start activity as new task." into sc-v2-dev
2021-11-08 08:18:22 +00:00
TreeHugger Robot
0d252521dd
Merge "Fix phone shows incorrect pairing code in pairing dialog" into sc-v2-dev am: 3f5d3cc0f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16183665
Change-Id: If4876e9ebcfc670202d73a03d96a4632850546f4
2021-11-08 07:49:39 +00:00
TreeHugger Robot
3f5d3cc0f3
Merge "Fix phone shows incorrect pairing code in pairing dialog" into sc-v2-dev
2021-11-08 07:34:32 +00:00
Ahaan Ugale
dc816116c5
AF passwords settings: Start activity as new task.
...
Settings app has a new 2-pane layout for larger screens. Activities that
belong to other apps must now be started as a new task.
Fix: 197702325
Test: manual
Change-Id: Iaf800b7f9e6bf5d925047fed49d848f4d3973df7
2021-11-07 23:10:53 -08:00
Julia Reynolds
42896d7fe1
Check if pref is disabled by admin
...
Test: robotests
Fixes: 137638270
Change-Id: I39953d5b7466281cff7a9a7ffaeb5ba99ab12934
2021-11-05 18:07:58 +00:00
Jun Ono
89c2c5e9c0
Add entry point for adaptive brightness settings
...
Test: adb shell am start -a android.settings.ADAPTIVE_BRIGHTNESS_SETTINGS
Bug: 187332145
Change-Id: Ifd81bfb3b0abc3ea10a062cb49fab20f6ef3fdfc
2021-11-05 17:27:41 +00:00
TreeHugger Robot
5f87b783af
Merge "Fine tune the homepage scrolling behavior" into sc-v2-dev am: 244df10d90
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16182700
Change-Id: Ic2903d78e94cdf49d655b51ce84be85be9a4d634
2021-11-05 11:37:13 +00:00
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
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
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
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
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
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