Revert "Guest mode UX flow updates to user settings"
Revert submission 16545010-kedarc-ephemeral-guest
Reason for revert: A conflicting CL got merged after presubmits were triggerred, will rebase and push again
Reverted Changes:
I86a5a1571:Guest mode updates to resolve privacy concerns in ...
I7cf205883:Guest mode UX flow updates to user settings
Change-Id: I91093a241f31a82f427be24d03e6c922779ceed0
- Add API in IUserManager to allow setting ephemeral user flag
- Implement and export this API in UserManagerService and UserManager
- Set guest as ephermal by default when createGuest in UserManager is called
- Handle guest user switching in UserSwitcherController for the case
of dynamic change of ephemeral state
- Add persistant notification when in guest mode to indicate
- if guest session is new or previously used.
- if guest session will be cleared on exit or not
- Add buttons in persistant notification to reset or exit guest
- Add flags to enable/disable this feature
Bug: 214031645
Screenshots: go/ephemeral-guest-b-214031645-ux
Test: Manual test using sunfish, atest SystemUITests, atest SettingsRoboTests
Change-Id: I86a5a15715cc6dde0eae93d38cd1c5cef33d7c67
Bug: 224618257
Test: adb shell cmd device_config get/put voice_interaction \
restart_period_in_seconds works fine
Test: the value is expected by command: adb shell dumpsys \
voiceinteraction | grep RESTART_PERIOD_SECONDS
Change-Id: Icd8d19c2a482d0d6b9bf0432e2176ca10f3bd2eb
This reverts commit 3048dbaac5.
Reason for revert: abandoning this feature, no longer adding a separate timeout
Change-Id: Ic35b7b94b1e4a49c1fc56f29627577d2d9a40174
Now use the namespace "activity_manager_ca".
Reason: When the device boots up, phenotype will reset all the values
in "activity_manager". To avoid it, we use a different namespace.
Test: atest ComponentAliasTests ComponentAliasTests1 ComponentAliasTests2
Bug: 196254758
Change-Id: I540417a1e1b612424e8426981c1e02e1c68132f8
Bug: 216332461, 222022449
Test: Unit test
Change-Id: Idcd5740583ca9fe4b711ef7a9466daa74047aea5
(cherry picked from commit 20b021ff3eb5c9c6de0ec061551c76f61e0a7a3e)
Introduce stylus handwriting settings and check if its enabled before
calling IMM#startStylusHandwriting()
Bug: 219777744
Test: atest StylusHandwritingTest
Change-Id: Id58b2eb66a0a1178743d08921918f3d9d717546c
- Add a listener for the new setting Settings.Secure.STATUS_BAR_SHOW_VIBRATE_ICON
- Rebuild any IconManager that receives an updated blocklist
- Assert that any blocklist changes come in on the main thread
Test: atest CollapsedStatusBarFragmentTest
Bug: 220144337
Change-Id: I667b5c57ef646c57a2f6912df7d233b1b5c0f89d
Merged-In: I667b5c57ef646c57a2f6912df7d233b1b5c0f89d
- Add a listener for the new setting Settings.Secure.STATUS_BAR_SHOW_VIBRATE_ICON
- Rebuild any IconManager that receives an updated blocklist
- Assert that any blocklist changes come in on the main thread
Test: atest CollapsedStatusBarFragmentTest
Bug: 220144337
Change-Id: I667b5c57ef646c57a2f6912df7d233b1b5c0f89d
Use device config to control whether autofill dialog feature is enabled.
To support this, the autofill namespace of DeviceConfig needs to be exposed
for AutofillManager to read in the app thread.
There are augmented_autofill_mode, smart_suggestion_supported_modes and
compat_mode_allowed_packages existed in autofill space. These can be made
app readable.
Bug: 210926084
Test: atest android.autofillservice.cts.dialog.LoginActivityTest
Change-Id: Idfb846656a0c26eba1db4f8ef6ec427ae4ca666d
This is more correct. Android devices, even under ideal conditions,
don't track UTC (which contains leap seconds and uses the SI definition
of a second) but use a clock based on Unix epoch time (no leap seconds,
but clocks may skip/stop or smear around leap seconds to ensure a fixed
number of second increments per calendar day when leap seconds are
applied to UTC).
Bug: 218802673
Test: Compile only
Change-Id: I0c557e2231f87ea1b99e3935f79af15bccf91da4
Introduce a LAUNCHER_TASKBAR_EDUCATION_SHOWING setting for taskbar to
indicate that the education is about to be shown or is currently
showing.
After the taskbar education is dismissed, the letterbox education will
only be shown for a different task or for the same task once its compat
state changes and the letterbox education is eligible to be shown.
Bug: 214590804
Test: N/A
Change-Id: Ia8512e5f188fe421adf1de2fc8a0422b9cc79c76
This new timeout will only apply when the device is docked, while still honoring any maximum timeouts set by DevicePolicyManager or WM.
Test: atest PowerManagerServiceTest
Test: locally on device, modifying the setting manually via adb
Bug: 213908097
Change-Id: I3d992154723fa8871f7c1c24607b16a35c42fb87