This reverts commit fb43f54289.
Reason for revert: Software Cursor not launching in Android U
Test: manual
Change-Id: I3f27b7d8958f455a580758192794308d5f91d152
1. Used Android Studio to auto generate the equals
and hashCode method.
2. e-order the field to match the database column order.
3. Better readability for toString().
Bug: 239607619
Test: atest SubscriptionDatabaseManagerTest
Change-Id: Ibc80d41f3019a4ebb012358f3369d69222925214
This reverts commit 36e81f298f.
Reason for revert: Software Cursor will not be launching in Android U
Test: manual
Change-Id: Ibf70015d294e03aa74d839c0caa64bf3542b341f
Add new column enabled_mobile_data_policies and copy the legacy data_enabled_override_rules to the new column. Future
read/write will only apply to the new column, and the legacy column will not be synced.
Bug: 244064524
Test: atest TelephonyManagerTest + TelephonyDatabaseHelperTest + TelephonyProviderTest + manual upgrade and observe user setting is preserved
Change-Id: I460c24909fb1eae689d02cedc76e24e87674a891
This is for feature gating a feature expansion to App Info -> App Details to include MBAs on top of existing Playstore Apps.
Change-Id: I7b3e296c310f19a01bc83b129b95021e92df3abb
Bug: 244215932
Previously we only auto enable factory system trust agents when the
devices is booted for the first time. This change added logic to detect
newly installed/enabled trust agents, and enable them if appropriate.
Fixes: b/243705470
Test: atest FrameworksMockingServicesTests:TrustManagerServiceTest
Change-Id: I3c345a44cfcfccc6f7e2507ba37e378b6b16bd98
In case seeing the unexpected fallback keyboard layout when focusing to
the window without an editor from the app has shown the IME.
Note that this behaviour change affects when the IME focus switching to
the next window with following configurations from an IME shown window:
1) SOFT_INPUT_STATE_UNCHANGED state without an editor
2) SOFT_INPUT_STATE_VISIBLE state without an editor
3) SOFT_INPUT_STATE_ALWAYS_VISIBLE state without an editor
Also, we guarded this platform behavior with DeviceConfig platform flag
in input method manager namespace.
Fix: 240701729
Bug: 243897178
Test: manual as issue steps
1) In Launcher, swiping up to enter all apps page.
2) Tap the search bar to show IME
3) Type "Keep" to show Keeps app's shortcut
4) Tap Keeps app's shortcut
5) Verify IME won't be shown on top of Keeps app's activity
(As the app set SOFT_INPUT_STATE_UNCHANGED without focusing an
editor by default)
Test: atest KeyboardVisbilityControltest#\
ImeInvisible_softInputAdjustNothingFromImeShownApp
Change-Id: I0c502bec5c5e21dabde08d610a9a1969c1229b08
The settings and systemUI use the LocalBluetoothLeBroadcast and
they use different sharedPreferences since the context is different.
It causes the data are not consistent.
Solution: Add data into ContentProvider, and listen the data changed
by the ContentObserver.
Bug: 243107842
Test: build pass. manual test in local.
atest SettingsBackupTest
atest SettingsValidatorsTest
Change-Id: I5f8367f3eb8e2dafa2986004dd8540de41409192
Merged-In: I5f8367f3eb8e2dafa2986004dd8540de41409192
The settings and systemUI use the LocalBluetoothLeBroadcast and
they use different sharedPreferences since the context is different.
It causes the data are not consistent.
Solution: Add data into ContentProvider, and listen the data changed
by the ContentObserver.
Bug: 243107842
Test: build pass. manual test in local.
atest SettingsBackupTest
atest SettingsValidatorsTest
Change-Id: I5f8367f3eb8e2dafa2986004dd8540de41409192
The e2e BiometricController need to access this field to enabled
Fingerprint Virtual HAL.
Test: atest sysui-biometrics-jank
Test: atest BiometricMicrobenchmark:BiometricPromptMicroBenchmark
Bug: 236074209
Change-Id: Iab85a16777b16ac4710521a6ba4bb32737157b2d
Settings.
The original implementation was designed to allow users to individually
enable/disable certain complications. However, we have since decided to
simplify the complication controls around a single master toggle. This
fixes an issue where when new complications are added, we will no longer
switch the toggle to off in Settings.
Bug: 241469874
Test: atest ComplicationTypesUpdaterTest
Test: atest DreamBackendTest
Test: manually on device
Change-Id: I1bbfbbe2abd6398b74bcd0b9ba601583a1403bef
Add a new setting that controls whether media on lock screen is enabled,
disregarding the notifications status. The new setting is available
under media and privacy settings.
Bug: 229915240
Test: atest MediaHierarchyManagerTest
Test: atest KeyguardMediaControllerTest
Change-Id: I6adaa00ead1660488e4114d303c4394751ff87e8
Using option panel, user can change window magnification options(change size, scale, allow diagonal scrolling)
When turn on change size, user can change window magnification size by dragging the edge of the window or 3 type size.
and turn on allow diagonal scrolling feature, user can move the window diagonally
and can change scale
Feature cherry-picked from https://partner-android-review.googlesource.com/c/platform/frameworks/base/+/2235963
Test: unit and manual
Bug: b/188136191
Change-Id: I4f045c5c334ba4c99c893bdbc44f2c1f62cd9067
This setting is replaced by device config flag. So it's no longer
needed.
Bug: 196111331
Test: device build successful
Change-Id: I7d4fc7d8666281cdef9438dd2df406428806b767