Commit Graph

52548 Commits

Author SHA1 Message Date
Jun Lan
cd516c8d46 Fix work profile apps are in Uninstalled
Context: work profile apps needs to pass userId to packageManager to get the uid.
Fixed screenshot: https://screenshot.googleplex.com/AkXfMWvmREyQJvv

Bug: 315477872
Fix: 315477872
Test: manual
Change-Id: I96eb42ef6ce27f15415f0e1fc32060d69b3fab2d
2023-12-18 10:28:16 +00:00
Haijie Hong
cce5ff810d Provide Spatializer in BluetoothFeatureProvider for Spatial Audio toggle
BUG: 316490612
Test: atest BluetoothDetailsSpatialAudioControllerTest
Change-Id: I7fdb671d5395e08c517af58e88b4aeb48f193e5d
2023-12-18 06:32:32 +00:00
Wu Ahan
1ab510bc3c Merge "Update help animation per new spec" into main 2023-12-18 05:14:57 +00:00
Chaohui Wang
7429837eab Merge "Use single queryDetailsForDevice if possible" into main 2023-12-18 04:44:43 +00:00
Andy Yu
e6e57cffbd Add Settings switch to disable Game default frame rate
This patch adds a new toggle under Developer settings. It defaults
to off, meaning game default frame rate is not disabled. Users
can choose to togge it on to disable game default frame rate.

When a user toggles this switch, it calls to GameManagerService
to update the frame rate of games that are currently in the
foreground and coming games.

screenshots:
https://screenshot.googleplex.com/8jTWyNBhJm7zC4x
https://screenshot.googleplex.com/5junmXtuHnRxyL2

Bug: 286084594
Bug: 306266471
Test: m; flash
Test: atest
SettingsRoboTests:GameDefaultFrameRatePReferenceControllerTest
Change-Id: Ide843f61e57e244d6e1fc30f93b2358b2bcb655b
2023-12-15 13:20:17 -08:00
Chaohui Wang
51fc4bef49 Use single queryDetailsForDevice if possible
To improve performance.

Since queryDetailsForDevice() also aggregated the uids into one,
the apps list in DataUsageList still needs another separated api call.

Fix: 315449973
Test: manual - on DataUsageList page
Test: unit tests
Change-Id: I96c23dd7d0d40ecd183e0fb0f61329db42dae1ab
2023-12-16 02:01:22 +08:00
Joseph Vincent
0bdf8e9c1a Merge "Add intent to start Private Space setup/settings" into main 2023-12-15 16:38:18 +00:00
Jason Hsu
cb9870b087 Merge "[HA Audio Output] Change category according to the audio definition" into main 2023-12-15 13:23:46 +00:00
Jakob Schneider
e06d787e2a Add temporary system property checks in addition in addition to flag checks.
This was agreed on to enable dogfood testing on P9 without enabling the full
feature in QPR3. https://docs.google.com/document/d/1ZItkXfyKO2e235-EdisHASE6Dcl2hqATnieo6aJrsbY/edit?tab=t.0#bookmark=id.64wdrt989i3r

Test: manual
Bug: 315461548
Change-Id: I2ef71fd40d4afb83b9b73a977856e2912a5c87be
2023-12-15 13:23:10 +00:00
Manish Singh
132252da27 Merge "Don't show setting if private profile is locked" into main 2023-12-15 13:04:09 +00:00
Chaohui Wang
007ef134b6 Hide MMS messages if switch mobile data automatically
Per designer's comment, hide the "MMS messages" if user cannot use it to
control MMS.

Fix: 303759893
Test: manual - turn "Switch mobile data automatically" on / off
Test: unit test
Change-Id: I874524c0cedb48f7daf87f32920e26428ae78c89
2023-12-15 17:00:22 +08:00
Chelsea Hao
facd2f7197 Merge "[Audiosharing] Use new API to start private broadcast." into main 2023-12-15 06:45:59 +00:00
Chun-Ku Lin
b4665e6714 Merge "Apply Setup styles to the a11y edit shortcut full screen." into main 2023-12-14 22:51:31 +00:00
Chun-Ku Lin
d92f17cdf5 Merge "Convert a11y shortcut edit screen to a full screen." into main 2023-12-14 22:19:08 +00:00
Chun-Ku Lin
9d6bf1b784 Apply Setup styles to the a11y edit shortcut full screen.
Bug: 300302098

Test: atest AccessibilitySetupWizardUtilsTest
Test: atest EditShortcutsPreferenceFragmentTest (Unable to make
Robolectric inflate the view of the edit shortcut fragment with the Setup wizard
theme)
Test: manual (Launch the setup wizard and check the screen)

Change-Id: I2995e914d622e9865101ef16e3b280c65371a252
2023-12-14 20:50:45 +00:00
Chun-Ku Lin
64e946c7fa Convert a11y shortcut edit screen to a full screen.
Bug: 300302098

Flag: adb shell device_config put accessibility com.android.settings.accessibility.edit_shortcuts_in_full_screen true

Test: manual
Test: atest com.android.settings.accessibility.shortcuts

Change-Id: I0b5e367fed962ff01036122ce7ff32a8ae47fbc3
2023-12-14 20:50:33 +00:00
Tetiana Meronyk
ebfd6f87f4 Merge "Revert "Disable multiuser toggle om COPE device and add explanat..."" into main 2023-12-14 17:54:48 +00:00
Anna Bauza
e6c9a08ab7 Integrating new Avatar Picker App in Settings
Bug: 309426522
Test: manual
Change-Id: Ie5831cec9ebb7a8d5cfabc93300ca2d6cadb944b
2023-12-14 16:01:47 +00:00
Tetiana Meronyk
1a81a9e942 Revert "Disable multiuser toggle om COPE device and add explanat..."
Revert submission 25262217-fix_mu_for_cope

Reason for revert: This issue requires a different approach to the solution.

Reverted changes: /q/submissionid:25262217-fix_mu_for_cope

Change-Id: Ic6e8afd76cb0af88612cf5a6cd34a0c7f50759c4
2023-12-14 15:38:03 +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
Yiyi Shen
ca6b0f7506 [Audiosharing] Use new API to start private broadcast.
Test: Manual
Bug: 305620450
Change-Id: I7607acdbc647c7c06969fda588ba159a8fb47ed0
2023-12-14 09:12:18 +00: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
92f28a17c8 Add intent to start Private Space setup/settings
Bug: 310027945
Test: Manual
Change-Id: I9df2b239ba24ac44c65a4cb3c18214bbc27bbcec
2023-12-13 18:27:19 +00:00
Anna Zhuravleva
9ad57d4cc0 Log start of sign in flow
Test: statsd_testdrive
https://paste.googleplex.com/4692799132270592
Bug: 315947418
Change-Id: I94a1a44596206c15a5497fd8aec1d8a2628f03e3
2023-12-13 16:35:32 +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
Ziad Youssef
e41e5444e9 Block the disable option for WebView Default package
Test: atest ApplicationFeatureProviderImplTest

Bug: 308907090

Change-Id: I21785975b965b04895849d2df71fa2f2b4cb4b2d
2023-12-13 12:43:19 +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
Vincent Wang
54a1c53c2a Add talkback feedback when setting passowrd/pin/pattern complete
Bug: 297959385
Test: 1. Enable talkback
      2. Change or Set a password/pattern/pin
      3. Check if there is a feedback after setting complete
Change-Id: I9a63bc99575e27b504dd3130e416f65dac068b4e
2023-12-13 08:23:40 +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
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
Valentin Iftime
fe331f1f8f Move vibrate while unlocked behind a flag
Keep this feature disabled for the initial release.

Test: atest NotificationAttentionHelperTest

Bug: 270456865
Change-Id: Ia80cc0c147bbc94fa5faf8e2f12a339a9355d332
2023-12-12 15:32:14 +01: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