Commit Graph

119886 Commits

Author SHA1 Message Date
Vania Januar
e0da6513dc Merge "Show Scribe toggle in Stylus settings only if supported by current IME." 2023-01-23 13:30:42 +00:00
Mariia Sandrikova
436ede94c3 Remove "nosensor" restriction from FallbackHome
This was previously added in I875fa6d112db23273026dbc39b5d32748d7e99f1 to match boot animation orientation. But the first system orientation after boot is no longer influenced by FallbackHome and instead is influenced by the default rotation in DisplayRotation#readDefaultDisplayRotation so it should be safe to remove this restriction.

On the other side, if we keep this restriction it can lead to orientation flickering on devices that have ignoreOrientationRequest enabled since "nosensor" is respected on them unlike other orientations so it's possible that FallbackHome and launcher orientations won't match.

Fix: 264329911
Test: manual
Change-Id: I688a4ba3d81c1fe908b9f88c3d601aaccc4f2119
2023-01-22 17:02:10 +00:00
Yanting Yang
d12a302183 Merge "Follow alphabetical sorting to make list the same with AOSP" 2023-01-21 05:37:10 +00:00
Steve Elliott
23049925a2 Merge "Setting to control seen notification filtering" into tm-qpr-dev am: c8a6db40ac am: 2891e33edb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21022067

Change-Id: I2ad7d426b9dbee84b440029a5d34124406ec78b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-21 00:17:17 +00:00
Steve Elliott
2891e33edb Merge "Setting to control seen notification filtering" into tm-qpr-dev am: c8a6db40ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21022067

Change-Id: Ibb65634f4c0f6b45dc8a769d4a45c363c4c63522
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 23:35:41 +00:00
Daniel Norman
383c10fe93 RESTRICT AUTOMERGE Updates Accessibilty Settings resources for sw600dp.
Includes some .java updates to automatically convert colors for lottie
animation files.

Fix: 261547883
Fix: 243905003
Fix: 243889447
Fix: 261544574
Test: launch cf_x86_64_tablet, open Settings > Accessibility
Test: Open "Color & motion" > "Color inversion"
Test: Open "Timing controls" > "Time to take action"
Test: Open "Caption preferences"
Test: Open "Magnification" > "Magnification shortcut"
Test: Open "Accessibility shortcuts" >
      "Accessibility button and gesture", change options
Test: Perform the above with both light and dark mode.
Change-Id: I46b75b53feb8870d3154744e058eb898e6011725
2023-01-20 23:32:20 +00:00
Steve Elliott
c8a6db40ac Merge "Setting to control seen notification filtering" into tm-qpr-dev 2023-01-20 23:22:56 +00:00
Sally Yuen
8b5407b741 Merge "Add extra dim banner for tablets" into tm-qpr-dev am: cc377605ef am: 2042f150af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20993963

Change-Id: I8ab7272512f2da1b3fa60ebd1057e42e642fed1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 18:54:44 +00:00
Aurélien Pomini
1849ca7259 Merge "Add discrete contrast UI slider in the setting" 2023-01-20 18:36:29 +00:00
Sally Yuen
2042f150af Merge "Add extra dim banner for tablets" into tm-qpr-dev am: cc377605ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20993963

Change-Id: I342811135a8d93a991f4aafda19d1f9365c0995a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 18:20:02 +00:00
Sally Yuen
cc377605ef Merge "Add extra dim banner for tablets" into tm-qpr-dev 2023-01-20 17:20:56 +00:00
TreeHugger Robot
0bc03ce795 Merge "Add a test method in DashboardFragmentRegistryTest." 2023-01-20 15:57:45 +00:00
TreeHugger Robot
df74838ede [automerger skipped] Merge "[DO NOT MERGE] Add SHA team into Settings OWNER" into tm-qpr-dev am: cd68d8f7a3 -s ours am: a8734588a4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21052004

Change-Id: Ib1ec979bfaa57932f06ff4c0bd46a47c220db9b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 14:41:12 +00:00
Yanting Yang
1235edd09d [automerger skipped] [DO NOT MERGE] Add SHA team into Settings OWNER am: dcc30118bf -s ours am: ff914cd6f6 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21052004

Change-Id: I0bc6d6493043f2b3f57defb9ecd9b8ddf4323334
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 14:41:06 +00:00
TreeHugger Robot
a8734588a4 [automerger skipped] Merge "[DO NOT MERGE] Add SHA team into Settings OWNER" into tm-qpr-dev am: cd68d8f7a3 -s ours
am skip reason: Merged-In I63122f5b2809224e7f8ff36adc31c1f1595de24d with SHA-1 e23a4e09db is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21052004

Change-Id: I6e20e2cb19345ffe5e17e16095ccde7703fa4fa9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 14:05:07 +00:00
Yanting Yang
ff914cd6f6 [automerger skipped] [DO NOT MERGE] Add SHA team into Settings OWNER am: dcc30118bf -s ours
am skip reason: Merged-In I63122f5b2809224e7f8ff36adc31c1f1595de24d with SHA-1 e23a4e09db is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21052004

Change-Id: I2fb5bb8efac723292226b969ad8f3730c9994b72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 14:04:15 +00:00
TreeHugger Robot
cd68d8f7a3 Merge "[DO NOT MERGE] Add SHA team into Settings OWNER" into tm-qpr-dev 2023-01-20 13:13:28 +00:00
Piotr Wilczyński
15fc5c13b2 [automerger skipped] Merge "Set display size to all displays" into tm-qpr-dev am: 0066afbe15 am: 059ddcbcb4 -s ours
am skip reason: Merged-In I3d6858a9b20798c2ad3b12a66db3484491682691 with SHA-1 93ac8a9ccd is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20664686

Change-Id: I0baaa10204a5cfcbbaad79f7c6c2a9e34be3bcf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 11:17:10 +00:00
Yanting Yang
b5e64f3411 Follow alphabetical sorting to make list the same with AOSP
Test: N/A
Change-Id: I0de69ec3abd911ff8f7e8c54d942921ceda9ea16
2023-01-20 10:25:48 +00:00
Piotr Wilczyński
059ddcbcb4 Merge "Set display size to all displays" into tm-qpr-dev am: 0066afbe15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20664686

Change-Id: Ib3d9210dab71e6aa600bfa9f6f9ec5b68ab68dbc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 10:11:00 +00:00
Piotr Wilczyński
0066afbe15 Merge "Set display size to all displays" into tm-qpr-dev 2023-01-20 09:39:50 +00:00
TreeHugger Robot
b39a71e434 Merge "Refine FingerprintEnrollmentActivity" 2023-01-20 09:04:40 +00:00
Yanting Yang
dcc30118bf [DO NOT MERGE] Add SHA team into Settings OWNER
Test: N/A
Change-Id: Ia534e08013b568044391c9cb86a0a68cb620538e
Merged-In: I9ab91f21558513b85847d9c513e7d50f9486c6ea
Merged-In: I63122f5b2809224e7f8ff36adc31c1f1595de24d
2023-01-20 16:44:42 +08:00
Treehugger Robot
657c7c9e0e [automerger skipped] Merge "Update OWNER list" am: f846e5cf0e am: 3e1e67aa9c am: e23a4e09db -s ours
am skip reason: Merged-In I9ab91f21558513b85847d9c513e7d50f9486c6ea with SHA-1 3e62033500 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2396592

Change-Id: I85107887b4ca75f6caded9a48b0418b5eba898c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 08:41:50 +00:00
Treehugger Robot
e23a4e09db Merge "Update OWNER list" am: f846e5cf0e am: 3e1e67aa9c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2396592

Change-Id: I63122f5b2809224e7f8ff36adc31c1f1595de24d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 08:07:47 +00:00
Treehugger Robot
3e1e67aa9c Merge "Update OWNER list" am: f846e5cf0e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2396592

Change-Id: I2d2cc997c8a01a42d4147029fe71e706a05b3daf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 07:35:43 +00:00
Treehugger Robot
f846e5cf0e Merge "Update OWNER list" 2023-01-20 06:53:33 +00:00
Milton Wu
df8d2d9da9 Refine FingerprintEnrollmentActivity
1. Add missing test cases for DeviceFoldedViewModel,
   DeviceRotationViewModel, and FingerprintEnrollFindSensorViewModel
2. Move most of init value of ViewModels into
   getDefaultViewModelCreationExtras
3. Fix FindSfpsFragment lottie because of incorrect rotation value.
4. Feed configuration change into DeviceFoldedViewModel

Bug: 260957195
Test: atest CredentialModelTest AutoCredentialViewModelTest
      DeviceFoldedViewModelTest DeviceRotationViewModelTest
      FingerprintEnrollFindSensorViewModelTest
      FingerprintEnrollIntroViewModelTest
      FingerprintEnrollProgressViewModelTest
      FingerprintEnrollmentViewModelTest
      FingerprintEnrollmentActivityTest
Change-Id: Ied55a895bc1774af5bdd256eccd806aaaa1680ef
2023-01-20 14:42:48 +08:00
TreeHugger Robot
b4f0636d28 Merge "Add SHA team into Settings OWNER" 2023-01-20 06:07:22 +00:00
Chaohui Wang
9995a592cc Merge "Update for getSystemPackageNames change" 2023-01-20 05:50:03 +00:00
Yanting Yang
5c959d8610 Update OWNER list
Test: N/A
Change-Id: Ibb67601aa44b690fd4ac3016329277f8cb89be64
Merged-In: I9ab91f21558513b85847d9c513e7d50f9486c6ea
2023-01-20 05:06:37 +00:00
Yilin Cai
8efd72e642 Add a test method in DashboardFragmentRegistryTest.
This is a followup of Edgar's comment in http://ag/21009318.

Test: atest SettingsUnitTests:com.android.settings.dashboard.DashboardFragmentRegistryTest
Bug: 242280896
Change-Id: Icecaf875b944a9a16986fae2d06a6ed84b29bc06
2023-01-20 12:52:18 +08:00
Ankita Vyas
5fc8308173 Merge "AppClone: Few fixes in Cloned Apps page." 2023-01-20 04:39:19 +00:00
Yilin Cai
b740a18bd5 Merge "Add external injection support in Special App Access." 2023-01-20 04:02:22 +00:00
Zaiyue Xue
10479caea9 Merge "Fix b/266045288: CPU and GPS usage is missing in battery usage system list" 2023-01-20 03:36:21 +00:00
Edgar Wang
3e62033500 Add SHA team into Settings OWNER
Change-Id: I9ab91f21558513b85847d9c513e7d50f9486c6ea
2023-01-20 02:51:53 +00:00
Tetiana Meronyk
2a06ccdfd5 Merge "Add UI metrics for granting admin rights from User Switcher" 2023-01-19 23:00:11 +00:00
Steve Elliott
f127bc13b0 Setting to control seen notification filtering
Test: manual
  1. adb shell settings put secure \
     lock_screen_show_only_unseen_notifications <0|1>
  2. Settings > Notifications > General > Show only new notifications on
     lock screen
  3. Toggle setting
  Observe: if setting is enabled, seen notifications are filtered from
           the lockscreen, and vice versa
Bug: 254647461
Change-Id: I4f6e35a1d918095cea25a97f72ddd08869ad9b31
2023-01-19 22:22:30 +00:00
Hao Dong
25bb53260b Merge "Fix UI bugs for udfps enroll in settings." 2023-01-19 21:24:07 +00:00
Zoey Chen
4fab96ffe5 [Settings] Do not insert subInfo repeatedly
Bug: 264322977
Test: manual
Change-Id: If1e9144c9d682befe5bccd3fa506ad82e2807b09
2023-01-19 20:25:35 +00:00
Daniel Norman
f86a0718b0 Fixes resource file exemption.
The previous version missed out on other file types (JSON motion files, mp4, etc.)

Change-Id: I2d1846ff1ab2461fe0c3716b02d1a323cb8af85b
2023-01-19 19:37:01 +00:00
Paul Hobbs
bc2ab6f662 Merge "Revert "[RRS] show resolution option on Settings page."" 2023-01-19 18:53:37 +00:00
Aurélien Pomini
fd3911ba29 Add discrete contrast UI slider in the setting
This slider is temporary and will be replaced by the final UI in the next couple weeks.

In this first version, the slider is added in Settings -> Accessibility -> Color and motion. It is discrete with three values.

The slider manipulates the setting currently named CONTRAST_LEVEL in Settings.Secure. This setting is ranging from [-1, 1] with a default value of 0. However, the three values of the slider correspond to the contrast values [0, 0.5, 1] respectively

Test: Manual: put a log before Settings.System.putFloatForUser, move the slider manually and verify the logs
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ContrastLevelSeekBar
Bug: 259091608
Change-Id: I2eaf751d6008ad20b3564dde2c0f4648cc6c8178
2023-01-19 15:28:12 +00:00
TreeHugger Robot
a09f21b156 Merge "Add unit test for Picture In Picture" 2023-01-19 14:03:01 +00:00
Zaiyue Xue
55f94517c0 Fix b/266045288: CPU and GPS usage is missing in battery usage system list
Already asked UX designer to provide new icons for CPU and GPS in
b/265364507.

Bug: 266045288
Fix: 266045288
Test: manual
Change-Id: Ia59c92de817958231d26c8839bc403be9ec5ad7c
2023-01-19 17:45:39 +08:00
Chaohui Wang
1732c22706 Add unit test for Picture In Picture
Bug: 260660819
Test: Unit test
Change-Id: I64917bf58082b49ffcfbb4926e8ccd26d2e7c5f4
2023-01-19 17:37:13 +08:00
Ankita Vyas
48279a0d72 AppClone: Few fixes in Cloned Apps page.
- Trigger uninstall as clone user
- Back navigation

Test: manual
Bug: 259022623
Change-Id: Ic9e0b20d371f6f0a5c70c84b3950e82ba43bc82e
2023-01-19 08:53:39 +00:00
Chaohui Wang
c4ee3fdf5b Update for getSystemPackageNames change
Bug: 266040895
Test: Make Settings
Change-Id: Iecdbe80861e812f58687d8509dbc1e2acee050a9
2023-01-19 16:11:48 +08:00
Zaiyue Xue
4c3532f5ed Fix b/265364380: Icon for Other is not showing up on light theme
screenshots after fix:
https://screenshot.googleplex.com/4Hm2fo44jVeuLWQ.png
https://screenshot.googleplex.com/6ZpW34AvXu9Hfvm.png

Bug: 265364380
Fix: 265364380
Test: manual
Change-Id: I2b73facba2704f4e01bd1e2d4f8e6f09dbca6286
2023-01-19 16:04:55 +08:00
TreeHugger Robot
c7c4689efb Merge "Fix the build failure in studiow." 2023-01-19 06:15:50 +00:00