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
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/8jTWyNBhJm7zC4xhttps://screenshot.googleplex.com/5junmXtuHnRxyL2
Bug: 286084594
Bug: 306266471
Test: m; flash
Test: atest
SettingsRoboTests:GameDefaultFrameRatePReferenceControllerTest
Change-Id: Ide843f61e57e244d6e1fc30f93b2358b2bcb655b
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
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
NetworkRequestDialogActivity's internal state gets reset if
Configuration change happens, for example rotation or resize.
This change prevents such an unwanted restart of Activity.
Bug: 314893682
Test: resizing the dialog won't trigger restart.
Change-Id: Ia628db81b76d8b15f2ac11f53652e444c44f564d
(cherry picked from commit c53818a4569ce011820732d842eaa57ab1bcc52b)
The chain constraint on checkbox and title somehow doesn't work well in
RTL language. Remove the chain works.
Bug: 300302098
Test: Manual
Change-Id: I11b63250754fd8b5c0b0793ea8fff4c13df97e63
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
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
isAvailable_lockSetToPinOrPw_shouldReturnTrue() was never functional and is not a valid test case because the functionality was removed in a later patchset within ag/21369281
Test: PinPrivacyPreferenceControllerTest
Bug: b/313612259
Flag: NONE
Change-Id: Id8c91b8d7267a74eb84225e73043f1d4308b6ce0
- Returns the BaseSavedState.EMPTY_STATE to avoid the exception.
Fixes: 312585313
Test: manual test
Change-Id: If21ca5e914a5ee5aff3fbeeee9595bb77a8fc3d0
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