Commit Graph

137631 Commits

Author SHA1 Message Date
Pawan Wagh
9be05afc88 Show progress bar till the applyPayload returns
Displaying a progress bar till the applyPayload from update_engine
returns.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Bug: 298214075
Change-Id: Ic8cf4df700505e7f10185ee0f08225411c6621e5
2024-01-12 17:14:03 +00:00
Pawan Wagh
008842edeb Call update engine to apply payload
Calling update engine to apply payload provided from boot_otas and
reboot on success. Updating different dialogues for 4k prompt.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Test: make RunSettingsRoboTests ROBOTEST_FILTER=Enable16kPagesPreferenceControllerTest
Bug: 295573133
Change-Id: Iab90a2c2fae5f6aefce95b2306db91c7b056d9f7
2024-01-12 17:13:31 +00:00
Pawan Wagh
8996ca9768 Developer option for booting with 16K pages
Adding developer option to boot with 16K compatible kernel. Adding
resources, layouts and dialog classes for 16k option. This needs
to integrated with update engine to make OTA switch happen.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Bug: 294614538
Change-Id: I3a24fed059eee99407e3486a7254285e0e4a251c
2024-01-12 16:51:16 +00:00
Jason Chiu
36dc648ca5 Merge "Finish HomepageActivity when it's not the root of a task and not singleTask." into main am: 4f4bb89a23
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2884507

Change-Id: I5b61af6e8d265bc62603554ff0236a62ba7f94a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-26 08:48:01 +00:00
Jason Chiu
4f4bb89a23 Merge "Finish HomepageActivity when it's not the root of a task and not singleTask." into main 2023-12-26 08:08:27 +00:00
Jason Chiu
706907b7b2 Finish HomepageActivity when it's not the root of a task and not singleTask.
HomepageActivity should be the first activity in a task, or be launched
in singleTask mode. Finishing it will bring up the previous activity in
the task.

Fix: 297857732
Fix: 309045575
Test: robotest
Change-Id: Iddcba1652060d755693dd20d0e350e3d6c1ae138
Merged-In: Iddcba1652060d755693dd20d0e350e3d6c1ae138
2023-12-26 02:08:14 +00:00
Treehugger Robot
80d344a4e1 Merge "Fix Java crash problem" into main 2023-12-14 14:12:27 +00:00
Shaowei Shen
859f225739 Merge "[PK Setting] add keyboard review under keyboard selection page" into main 2023-12-14 11:42:33 +00:00
sunnyshao
40d9abb773 Fix Java crash problem
- Returns the BaseSavedState.EMPTY_STATE to avoid the exception.

Fixes: 312585313
Test: manual test
Change-Id: If21ca5e914a5ee5aff3fbeeee9595bb77a8fc3d0
2023-12-14 17:21:25 +08:00
Manish Singh
aff8a7d231 Fix postsubmit test failures
Test: atest ProfileSelectFragmentTest
Bug: 314371622
Change-Id: Id31518fb92491e5a434cc4a3a95b6353d58a382f
2023-12-14 08:31:14 +00:00
Johannes Gallmann
f9cea6549a Merge "Readd predictive back developer setting" into main 2023-12-14 08:01:51 +00:00
Yiyi Shen
ced34f8672 Merge "[Audiosharing] Move time consuming work to background." into main 2023-12-14 07:30:55 +00:00
Yiyi Shen
6303736762 [Audiosharing] Move time consuming work to background.
Bug: 305620450
Test: manual
Change-Id: I9192d8ebbcd12d0bf13d0145d8a2e47cb8da5edd
2023-12-14 07:12:19 +00:00
shaoweishen
c08aad0ab4 [PK Setting] add keyboard review under keyboard selection page
Demo video as attached in bug.
Add new image view for keyboard layout review.
Reuse NewKeyboardLayoutPickerController under
NewKeyboardLayoutPickerFragment when get update for keyboard layout, get
preview image from inputManager and set to the view.

This feature will be guided with keyboard_layout_preview_flag, if the
flag is off, preview image from InputManager will be null.

Bug: 305588594
Test: Verified on device
Change-Id: Ic6f8e469d3cf7114dab6935304706ad42bf83608
2023-12-14 06:44:07 +00:00
Charlotte Lu
2ed4bfb67a Merge "Provide confirmation if creating new APN is not filled in enough and add a save button." into main 2023-12-14 06:23:01 +00:00
Charlotte Lu
92c0c12ddd Provide confirmation if creating new APN is not filled in enough and add a save button.
Test: Visual Test
Fix: 315112333, 315111729
Change-Id: Ic0044ca03baae138247489715c084980c01ae9b2
2023-12-14 13:40:02 +08:00
Yiyi Shen
03a41e0e03 Merge "[Audiosharing] Update the media device based on assistant callback" into main 2023-12-14 05:35:13 +00:00
Chelsea Hao
d51a1dc4ca Merge "[Audiosharing] Set visibility by active device." into main 2023-12-14 03:27:35 +00:00
Milton Wu
031cfcf93a Merge "Refine calibrator usage" into main 2023-12-14 03:00:23 +00:00
josephpv
d2d3453f81 Update USER_SETUP_COMPLETE setting after starting private space
On setting USER_SETUP_COMPLETE for private profile device is reapplied
to the profile

Bug: 311348071
Test: Verified device theme color is applied to profile
Change-Id: I25f3013aaf6cfc6925d858b461c1f2c6beb534f6
2023-12-13 14:31:47 +00:00
chelseahao
7edc93ec25 [Audiosharing] Set visibility by active device.
Also created header and button controller for detail page.

Bug: 305620450
Test: manual
Change-Id: I5e468a0fb9ce49ef0fd9a0b00b51084cfd416ce0
2023-12-13 19:10:12 +08:00
Jan Tomljanovic
303abbc3cc Merge "Always confirm eSim removal." into main 2023-12-13 10:54:43 +00:00
Yiyi Shen
bf6e273ccb [Audiosharing] Update the media device based on assistant callback
Bug: 305620450
Test: atest AvailableMediaDeviceGroupControllerTest
Change-Id: I7a19edb4e408c59ead553ec10fd9e963674518a6
2023-12-13 18:16:55 +08:00
MiltonWu
2feaa3fa25 Refine calibrator usage
Bug: 316103317
Test: Manually run the scenario
Change-Id: If57396696b6a7d10e289ab0f2e7b14148034d34b
2023-12-13 10:16:47 +00:00
Yiyi Shen
b107bfc9ac [Audiosharing] Fix volume control error display.
Avoid showing the volume control when the device is not acting as the
sharing source.

Bug: 305620450
Test: manual
Change-Id: I162681d5d0cd84d19c351dce8cfdf833734bbb1b
2023-12-13 17:31:49 +08:00
SongFerng Wang
928942c80f Merge "Add the flag to control the dual sim onboarding feature" into main 2023-12-13 08:16:29 +00:00
Yiyi Shen
a65cbf259c Merge "[Audiosharing] Refine text style." into main 2023-12-13 07:46:30 +00:00
SongFerng Wang
3d3159656c Add the flag to control the dual sim onboarding feature
Bug: 298898436
Bug: 298891941
Change-Id: I8ba94b6aab4056ce314d2d267cd79a5a6c1490e8
Test: Build pass
2023-12-13 07:15:47 +00:00
Jakob Schneider
accd9ca298 Merge "Fix settings tests where we relied on the resId." into main 2023-12-12 19:41:53 +00:00
Mark Kim
f1dd128c45 Make stable enableability of AppPermissionPreference, HibernationSwitchPreference buttons when app is archived
Test: n/a

Bug: 315770669
Change-Id: I0b4a1f8a2d3bbe9c6e8b59b5b1e16c606d26e8ed
2023-12-12 18:10:12 +00:00
Jakob Schneider
75b99cc6e4 Fix settings tests where we relied on the resId.
Test: HibernationSwitchPreferenceTest
Bug: 315957412
Change-Id: I1e941563c480de6c8cb15bc4c8b0876e2aa44824
2023-12-12 18:04:17 +00:00
Jan Tomljanovic
db1402a4df Always confirm eSim removal.
Test: atest DeleteSimProfilePreferenceControllerTest
Bug: 313604661

Change-Id: I0c43790bf43bedcc2e8075aa7be0b25876c731b4
2023-12-12 15:57:19 +00:00
Jigar Thakkar
11df0d4c17 Merge "Enable biometric support to unlock profiles" into main 2023-12-12 14:50:27 +00:00
Mark Kim
deca917b44 Merge "Reload buttons on App Info page after app archiving." into main 2023-12-12 14:38:50 +00:00
Johannes Gallmann
bc669dc879 Readd predictive back developer setting
Bug: 315859328
Test: atest BackAnimationPreferenceControllerTest
Test: Verifying that predictive back developer setting is present
Change-Id: I8734a4cb135fbeb0d1787ca2acf569948c08c9ed
2023-12-12 12:42:28 +00:00
Hani Kazmi
7580dac41b Merge "Update existing ECM settings to use new infrastructure" into main 2023-12-12 12:01:17 +00:00
Mark Kim
4345908c39 Merge "Add 'Restore' button to AppInfo screen" into main 2023-12-12 10:42:10 +00:00
Jakob Schneider
2368e260fe Merge "Change the strings on the opt-out toggle to also account for archiving." into main 2023-12-12 10:28:53 +00:00
YK Hung
cf48086210 Merge "Add screen timeout destination to settings" into main 2023-12-12 10:11:43 +00:00
YK Hung
249434d02b Merge "Add record for anomaly detect request source and clean up unused function." into main 2023-12-12 10:10:57 +00:00
Manish Singh
b31b54d5c3 Merge "Select the correct tab" into main 2023-12-12 10:04:19 +00:00
Chelsea Hao
65b8b5997f Merge "[Audiosharing] Impl pwd dialog and detail page" into main 2023-12-12 08:38:01 +00:00
mxyyiyi
ed7ce44f65 Add record for anomaly detect request source and clean up unused function.
Bug: 315905559
Test: make RunSettingsGoogleRoboTests ROBOTEST_FILTER="com.google.android.settings.fuelgauge.*"
Change-Id: I21a13a7910b21b27aac58143bd41c77e87c71953
2023-12-12 15:56:54 +08:00
David Liu
e642b4cf2d Merge "fixed NPE while initializing controllers by commenting out the failure one for temporal fix" into main 2023-12-12 07:07:53 +00:00
Wesley Wang
336c441db5 Add screen timeout destination to settings
When an intent with action android.settings.SCREEN_TIMEOUT_SETTINGS is
launched, ScreenTimeoutSettings should be shown in settings

Bug: 293813663
Test: manual and local build verify
Change-Id: I1340cd3c233aa5d36f45b53b0fd2b6924f3a1d75
2023-12-12 14:55:15 +08:00
Yiyi Shen
9687251040 [Audiosharing] Refine text style.
Bug: 305620450
Test: manual
Change-Id: I0b67ff1896556951451b5676b1b5d4ae39963524
2023-12-12 14:40:26 +08:00
Hyunho Shin
a2555df74c Merge "Add the condition to show the eSIM convert menu." into main 2023-12-12 06:33:33 +00:00
chelseahao
1bb099f872 [Audiosharing] Impl pwd dialog and detail page
Bug: 305620450
Test: manual

Change-Id: I2686aee4c3809c5f683a42b6440a5fd361e7be0b
2023-12-12 14:14:03 +08:00
Yiyi Shen
a51097d008 Merge "[Audiosharing] Add prefix to device list item text in adapter." into main 2023-12-12 05:36:54 +00:00
Yiyi Shen
f3e693d7a5 Merge "[Audiosharing] Fix test." into main 2023-12-12 05:35:44 +00:00