Commit Graph

7298 Commits

Author SHA1 Message Date
Jason Sun
4fd1467783 Merge "Auto enable new system trust agents" into tm-qpr-dev am: 73ce3e64f0 am: 84435238c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19824313

Change-Id: I9b40c9f7f4e3c15da877fbc592aa77d4cef6147a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-21 21:42:25 +00:00
Jason Sun
84435238c4 Merge "Auto enable new system trust agents" into tm-qpr-dev am: 73ce3e64f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19824313

Change-Id: I79539f4e42c07d9eb694389febb0b32c15a2b265
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-21 21:37:29 +00:00
Aishwarya Mallampati
747cef74d3 Add user handle in SimInfo database.
Bug: 247166170
Test: Basic testing,
       atest com.android.providers.telephony.TelephonyDatabaseHelperTest,
       atest com.android.providers.telephony.TelephonyProviderTest
Change-Id: I899a9ecb93f6f972aa12233fe4380e6d05405791
2022-09-20 23:04:13 +00:00
Jason Sun
73ce3e64f0 Merge "Auto enable new system trust agents" into tm-qpr-dev 2022-09-20 19:48:17 +00:00
Xinyi Zhou
0ef0048f71 Merge "Add NAMESPACE_NEARBY String" am: 4339e51473 am: 9bd0f75bf4 am: f58897e737 am: f4b45a5faa am: 74cc53ca0c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2219630

Change-Id: Ie01317938b694443e22655695f83a1d572f11d66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 16:07:44 +00:00
Xinyi Zhou
74cc53ca0c Merge "Add NAMESPACE_NEARBY String" am: 4339e51473 am: 9bd0f75bf4 am: f58897e737 am: f4b45a5faa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2219630

Change-Id: I9df2cd99dd2a382ebda09e5acadb825fcc415798
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 15:27:56 +00:00
TreeHugger Robot
8a8c52ff39 Merge "1/ Add @TestApi on Settings.Secure.BIOMETRIC_VIRTUAL_ENABLED" 2022-09-19 06:02:44 +00:00
George Chan
44a5976d81 Added transparency metadata feature flag.
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
2022-09-16 19:05:27 +00:00
Xinyi Zhou
96e7030189 Add NAMESPACE_NEARBY String
Bug: 203579197
Test: -m
Change-Id: Id28a76af6c23f85fc1d4c1e7320f533f5604930f
2022-09-15 22:46:12 -07:00
Sarp Misoglu
eea390a0e1 Add backup_and_restore namespace to DeviceConfig
Test: m
Bug: 210083465
Change-Id: I0e987e7478524a278d38839e8522245f0b96dd23
2022-09-15 08:46:07 +00:00
Jason Sun
fb3f361d54 Auto enable new system trust agents
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
2022-09-13 20:44:25 +00:00
SongFerng Wang
2ef9f04680 Merge "[LE boradcast] save the data into ContentProvider" into tm-qpr-dev am: 86125487ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19834071

Change-Id: I5b1e341796db146ca44d7121ccb3a7f5be1e373c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-13 20:26:40 +00:00
TreeHugger Robot
e5038d35e6 Merge "Hide soft-keyboard when no editor is focused" 2022-09-13 10:38:39 +00:00
Ming-Shin Lu
a201f2123d Hide soft-keyboard when no editor is focused
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
2022-09-13 10:33:40 +00:00
SongFerngWang
e747702879 [LE boradcast] save the data into ContentProvider
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
2022-09-12 17:19:39 +08:00
SongFerngWang
45af3be3a1 [LE boradcast] save the data into ContentProvider
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
2022-09-12 17:05:35 +08:00
lbill
460f84f8c6 1/ Add @TestApi on Settings.Secure.BIOMETRIC_VIRTUAL_ENABLED
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
2022-09-12 06:07:03 +00:00
Lucas Silva
aa2f152da8 Merge "Cleanup dream complication setting to reflect single toggle users see in Settings." into tm-qpr-dev am: e16a86cf1c am: b0686e0194
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19699462

Change-Id: I13870fda358546ccd260d3829e12794f5eecf010
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 14:45:51 +00:00
Lucas Silva
b0686e0194 Merge "Cleanup dream complication setting to reflect single toggle users see in Settings." into tm-qpr-dev am: e16a86cf1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19699462

Change-Id: I95e0810838925833e869ed171bdafdd4b34dfe87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 14:16:59 +00:00
Lucas Silva
07cfa206f4 Cleanup dream complication setting to reflect single toggle users see in
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
2022-08-23 12:06:04 -04:00
Michael Mikhail
bb3501c4e7 Merge "Add media on lock screen setting" into tm-qpr-dev am: c24db189bf am: 5228968a74
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19472070

Change-Id: I71156cec0a680d9403c3e5126ae188216f56fb20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 15:22:40 +00:00
Michael Mikhail
5228968a74 Merge "Add media on lock screen setting" into tm-qpr-dev am: c24db189bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19472070

Change-Id: I2bb99a98c7c683f86157e00553ecc47cf276f4f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 15:04:04 +00:00
Michael Mikhail
e9a364e665 Add media on lock screen setting
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
2022-08-19 18:45:24 +00:00
Lauren Winston
b3403373ea Merge "Add Settings.Secure values for Software Cursor settings for hiding trigger hints and for shifting the trigger region when the keyboard is opened." 2022-08-19 17:14:51 +00:00
Lauren Winston
36e81f298f Add Settings.Secure values for Software Cursor settings for hiding
trigger hints and for shifting the trigger region when the keyboard is
opened.

More context for these settings: https://docs.google.com/document/d/1hh2eY1a6wsOmOajxOUm8Xt8DT29oUvH9x0mCH83pnvk/edit#heading=h.e572ymeclvtl

Bug: 242218807
Test: SettingsBackupTest
Change-Id: I67e6d1ed0261a592aba0cb75a8e900c07683f667
2022-08-18 21:09:45 +00:00
Richard Chang
27ede8767f Merge "Add DeviceConfig namespace for Vendor System Native Boot" into tm-qpr-dev am: 62c2538016
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19604137

Change-Id: Id0d1887e8d8705afc4a68065d722d00efdc43c7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 14:23:07 +00:00
Richard Chang
62c2538016 Merge "Add DeviceConfig namespace for Vendor System Native Boot" into tm-qpr-dev 2022-08-18 13:58:18 +00:00
Tyler Freeman
d897158618 Merge "feat(magnify): add window magnification settings panel UI" 2022-08-16 21:04:53 +00:00
Hyunki Kim
186ff1690c feat(magnify): add window magnification settings panel UI
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
2022-08-16 13:22:46 -07:00
Richard Chang
369a102e2d Merge "Add DeviceConfig namespace for Vendor System Native Boot" 2022-08-16 08:57:09 +00:00
Josh Yang
c3936d91c1 Merge "Remove unused setting WEAR_ACTIVITY_AUTO_RESUME_TIMEOUT_MAX_RESET_COUNT" 2022-08-12 18:48:19 +00:00
Richard Chang
2ccae742a9 Add DeviceConfig namespace for Vendor System Native Boot
Bug: 241730607
Test: Build
Change-Id: I568e5e98d1af602ce363962341c5655085aa2ab7
Merged-In: I8cd86f14d5aec72cdf93985217e501ad7d13a229
2022-08-12 17:35:01 +00:00
Richard Chang
8ef59a139e Add DeviceConfig namespace for Vendor System Native Boot
To avoid conflicts, merge master first then cherrypick to tm-qpr-dev.

Bug: 241730607
Test: Build
Change-Id: I8cd86f14d5aec72cdf93985217e501ad7d13a229
2022-08-12 17:28:13 +00:00
Ats Jenk
93d34df27a Merge "Core changes to support desktop mode option" into tm-qpr-dev am: 86b968c0c9 am: 7f786f5e3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18975016

Change-Id: Ie5303001ba4b75ce7d35b3ebf0a88b3f6675258d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-12 17:06:30 +00:00
Ats Jenk
7f786f5e3c Merge "Core changes to support desktop mode option" into tm-qpr-dev am: 86b968c0c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18975016

Change-Id: Ic5ba63af426fc20349761b01bc6860edd2c76bb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-12 16:40:24 +00:00
Josh Yang
c0cbf685cf Remove unused setting WEAR_ACTIVITY_AUTO_RESUME_TIMEOUT_MAX_RESET_COUNT
This setting is replaced by device config flag. So it's no longer
needed.

Bug: 196111331
Test: device build successful
Change-Id: I7d4fc7d8666281cdef9438dd2df406428806b767
2022-08-12 00:57:28 +00:00
TreeHugger Robot
9ecc5a0017 Merge "Revert "Revert "Turn on TARE by default.""" 2022-08-11 18:51:31 +00:00
Harshad Dhabu
3f58fb59b9 Merge "Add new key EARLY_UPDATE_STATUS to Settings Provider" 2022-08-11 18:19:08 +00:00
Ats Jenk
e03065a00c Core changes to support desktop mode option
Internal system setting for enabling desktop mode prototype behavior.
This setting is triggered initially by a developer tile.
WM Shell in SystemUI will be listening for changes to this setting and
update the windowing mode respectively.

Bug: 241944030
Test: atest SettingsBackupTest
Change-Id: Ie7172d602b55e079b1fac4c83886f00cbb9baa18
2022-08-11 08:55:35 -07:00
Harshad Dhabu
53740204b2 Add new key EARLY_UPDATE_STATUS to Settings Provider
DD: go/wear-dd-early-updates

This CL pulls in changes from ag/16838775 and ag/17944526
for frameworks/base project.
Bug: 228080209
Bug: 217656696

Change-Id: Ia492c12798404d6d8abc8139f738d6d77bf3cb61
(cherry picked from commit eb7f8c41496eb30a22b1c9d256adf8602a9d1f92)
2022-08-10 20:41:50 +00:00
Mihir Patel
9064a4ef80 Merge "Reporting the Autofill IDs and Positions of active views in list view" into tm-qpr-dev am: 25192d7d0c am: f333fa0c93
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19054708

Change-Id: I2cbfe0cea3466bf0da1119ee9de1e52152ce6694
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-10 18:07:43 +00:00
Kristi Saney
f6a9009aee Merge "Add secure settings key for software cursor." 2022-08-10 18:02:44 +00:00
Mihir Patel
f333fa0c93 Merge "Reporting the Autofill IDs and Positions of active views in list view" into tm-qpr-dev am: 25192d7d0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19054708

Change-Id: I6b8ffade431d057334147ae9cd5386afbad13cbc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-10 17:41:15 +00:00
Mihir Patel
25192d7d0c Merge "Reporting the Autofill IDs and Positions of active views in list view" into tm-qpr-dev 2022-08-10 16:35:13 +00:00
Mihir Patel
a6e0f74c90 Reporting the Autofill IDs and Positions of active views in list view
Test: atest CtsContentCaptureServiceTestCases, observed events reported only once on scroll and stop as well as on fling
Bug: 211899037
Change-Id: Id67fcc360bf63fcab1d9f345c31d2bf7b9a173d6
2022-08-09 15:37:50 -07:00
Kristi Saney
fb43f54289 Add secure settings key for software cursor.
Context for this setting: https://docs.google.com/document/d/1hh2eY1a6wsOmOajxOUm8Xt8DT29oUvH9x0mCH83pnvk/edit#heading=h.e572ymeclvtl

Bug: 240718050
Test: SettingsBackupTest

Change-Id: I325cff738116887f65d6254703b4ce14328c7d86
2022-08-09 21:45:24 +00:00
Kweku Adams
3acb05b9ca Revert "Revert "Turn on TARE by default.""
This reverts commit 8f906c80ad.

Reason for revert: Original revert was not needed. Behavior change was expected.

Change-Id: I15aa9e0695228a5fa17f59ce79ae8dd47812e537
2022-08-08 18:37:01 +00:00
TreeHugger Robot
da29e3e38b Merge "Revert "Turn on TARE by default."" 2022-08-05 18:51:33 +00:00
Kweku Adams
8f906c80ad Revert "Turn on TARE by default."
This reverts commit 00eef6e5be.

Reason for revert: http://b/241284782

Change-Id: I6a30da8227589c640ff16e264b50383e1fd5716b
2022-08-05 13:50:06 +00:00
TreeHugger Robot
8094e1199d Merge "Turn on TARE by default." 2022-08-03 17:28:43 +00:00