Commit Graph

119556 Commits

Author SHA1 Message Date
TreeHugger Robot
b077db1b48 Merge "Support accessibility for battery usage in U (2)" 2023-01-17 11:58:38 +00:00
TreeHugger Robot
023dc91342 Merge "Support accessibility for battery usage in U (1)" 2023-01-17 11:13:40 +00:00
Milton Wu
546c507aec Move bimetrics v2 tests to unit/
Move biometrics enrollment v2 tests from robotests/ back to unit/

Bug: 265723532
Test: atest FingerprintRepositoryTest CredentialModelTest
      AutoCredentialViewModelTest FingerprintEnrollIntroViewModelTest
      FingerprintEnrollProgressViewModelTest
      FingerprintEnrollmentViewModelTest
Change-Id: Id35e52a97df757f8c4473c5bf7f46ba051816d42
2023-01-17 18:13:21 +08:00
Jason Chiu
5a0d63c5cd Update the About device icon for tablet
Fix: 252728840
Test: visual
Change-Id: I5e772ef30be82da276bc0d7bf97c586992723365
2023-01-17 09:50:31 +00:00
Zaiyue Xue
ce336ae7f4 Support accessibility for battery usage in U (2)
Fix b/248406644 TalkBack announce the incorrect day of the week for the Battery usage chart.

Request accessibility focus in mHandler.post() to avoid UI timing unsync.

Bug: 248406644
Fix: 248406644
Test: manual
Change-Id: I866cbba670e1bc4735088663241b1aad4d2f9c86
2023-01-17 17:42:31 +08:00
Kuan Wang
c28daecbc5 Use battery unplugging event to compute the full charge start time on
Pixel devices.

Test: make RunSettingsRoboTests + manual
Bug: 256124406
Change-Id: I80b33db6e25ac0c693c50ddf93b6343c0fea942f
2023-01-17 17:38:35 +08:00
Zaiyue Xue
a52da7b599 Support accessibility for battery usage in U (1)
Fix b/265746746: TalkBack doesn't have any feedback after the actual double-tap of day bar and bi-hourly bar.

When users double clicked a time slot in battery usage chart with TalkBack on, jump the accessibility focus to the app list category title to let users know what happened after click.

screen record: https://drive.google.com/file/d/1ZuKQDBiTA2F8hHZDFvNx5nJEP-rMA0eZ/view?usp=sharing&resourcekey=0-2Q552VNxN4QwI2b5sdnvqg

Bug: 265746746
Fix: 265746746
Test: manual
Change-Id: I5485e714149014a96318fd88e8f8c854dde6cb67
2023-01-17 17:36:19 +08:00
TreeHugger Robot
452d69e6e8 Merge "Relocate biometrics enrollment v2 tests" 2023-01-17 07:27:05 +00:00
TreeHugger Robot
adca3e7662 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 732da7a440 -s ours am: e4c447eb02 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I88d50351374e0f66298475442d8e5b8b9f701b0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 07:12:22 +00:00
Bill Yi
456a71fa70 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 57d520e0f2 -s ours am: 56e7ec7646 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic883900b8301863645f73af61b2f4580fac839b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 07:12:11 +00:00
TreeHugger Robot
e4c447eb02 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 732da7a440 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3be509cbcafb130c43e1057b1aaa67cf6746fc88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 06:35:40 +00:00
Bill Yi
56e7ec7646 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 57d520e0f2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib3dc39b5e25f7f3301fac437c345c21ab4741ee8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 06:35:18 +00:00
Zoey Chen
9ce459ef5d [Settings] Set the height as WRAP_CONTENT
Screenshot: https://hsv.googleplex.com/5975564079857664

Bug: 262337876
Test: manual
Change-Id: I1d40d71e39da9ce9096ea813df4ce5862dbc9f9b
2023-01-17 06:29:30 +00:00
TreeHugger Robot
732da7a440 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-01-17 05:59:39 +00:00
TreeHugger Robot
8d4cf2b2c8 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-mainline-prod 2023-01-17 05:57:34 +00:00
TreeHugger Robot
d9674b2a9d Merge "Import translations. DO NOT MERGE ANYWHERE" 2023-01-17 05:57:01 +00:00
TreeHugger Robot
57ef58e068 Merge "Import translations. DO NOT MERGE ANYWHERE" 2023-01-17 05:57:01 +00:00
TreeHugger Robot
009601eca0 Merge "Ignore unit test to avoid timing issue" 2023-01-17 05:46:47 +00:00
TreeHugger Robot
f7c187f8df Merge "Force Settings to align locales of embedded activities" 2023-01-17 05:40:53 +00:00
TreeHugger Robot
818d07ab76 Merge "5/ Refine SetupChooseLockPattern layout by design" into tm-qpr-dev am: 66e23eb89c am: daa9003533
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20877556

Change-Id: Icd977f0dad0dc81750a97bf189432bf14a48d889
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 05:08:12 +00:00
TreeHugger Robot
daa9003533 Merge "5/ Refine SetupChooseLockPattern layout by design" into tm-qpr-dev am: 66e23eb89c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20877556

Change-Id: I1c14caa62062f58fa43ed0861d8f527ddcade3d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 04:29:04 +00:00
Calvin Pan
f03d4106fa Force Settings to align locales of embedded activities
Android 13 introduces the feature of per-app language that allows
users to set a preferred language for each app. However, Settings
embeds many activities from different apps, which may cause
multiple languages to be displayed on one Settings page.

Enable TaskLocaleOverride to align the locales of activities
launched in the same task.

Bug: 199277729
Test: Verified on Cuttlefish
Change-Id: I9ee2b8c481f9c0cb5f17eb1cea037317df35e9d9
2023-01-17 04:27:39 +00:00
tom hsu
5baac40801 Ignore unit test to avoid timing issue
- This is a race condition. Ignore it first and improve it later

Bug: b/265733270
Test: atest passed
Change-Id: I6c206483dd588c04a8ab2433915862909c526906
2023-01-17 12:24:05 +08:00
TreeHugger Robot
66e23eb89c Merge "5/ Refine SetupChooseLockPattern layout by design" into tm-qpr-dev 2023-01-17 03:56:35 +00:00
Bonian Chen
54d34de25f Merge "[Settings] Enable some compatibility with Material 3" 2023-01-17 03:51:04 +00:00
TreeHugger Robot
b823e208aa Merge "Fix b/265632782: Battery usage app list changed when entering the app details page and back" 2023-01-17 03:44:51 +00:00
TreeHugger Robot
35eb29742c Merge "Remove additional and unused action" 2023-01-17 03:25:47 +00:00
Milton Wu
c132008623 Relocate biometrics enrollment v2 tests
Put biometrics enrollment v2 tests into tests/robotests/

Bug: 265723532
Test: RunSettingsRoboTests2 FingerprintRepositoryTest
      CredentialModelTest AutoCredentialViewModelTest
      FingerprintEnrollIntroViewModelTest
      FingerprintEnrollmentViewModelTest

Change-Id: I94804c07e0278713fcfb6e9889edc5092cfd9d13
2023-01-17 10:15:05 +08:00
TreeHugger Robot
0bebfe26f2 Merge "FingerprintEnrollmentActivity UI test" 2023-01-16 22:18:33 +00:00
Milton Wu
13d681f914 FingerprintEnrollmentActivity UI test
Add test cases in FingerprintEnrollmentActivity UI tests for
FindSensor fragments.

Bug: 260957816
Test: atest FingerprintEnrollmentActivityTest
Change-Id: I1a256f09a1a5ebe43d6d563e62397f0dd2a1e4cb
2023-01-17 00:07:31 +08:00
Zaiyue Xue
16dfab6b31 Fix b/265632782: Battery usage app list changed when entering the app details page and back
This only happens on the first time the Settings package is installed.
Discussed with Chaohui, the old showSystemApp() logic in Settings->Apps has some issues. This cl updates the logic to the new logic Chaohui provided.

Bug: 265632782
Fix: 265632782
Test: manual
Change-Id: I65ca150cc685409f69b8950b131feb198662f055
2023-01-16 18:48:13 +08:00
Ankita Vyas
96e6398e52 Merge "AppClone: Add animation and description text in Cloned Apps page." 2023-01-16 09:37:40 +00:00
Bonian Chen
81cac6c110 [Settings] Enable some compatibility with Material 3
To avoid some Material 3 components from getting crashes.

Bug: 264605869
Change-Id: If41241c939435903a65fe6ab06fd4e1b5ee8c01b
Test: local
2023-01-16 09:25:51 +00:00
Tom Hsu
402e9cc532 Merge "Remove the unit test which has problem." 2023-01-16 09:22:54 +00:00
SongFerng Wang
0ceedc8d04 Merge "Revert "[MEP] psim->esim, don't skip carrierConfigChanged with subId -1"" into tm-qpr-dev am: f71b548285 am: 40838101dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20973543

Change-Id: I573b4835887ef22ed832291d881123690b9d5d5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-16 08:58:31 +00:00
SongFerng Wang
40838101dd Merge "Revert "[MEP] psim->esim, don't skip carrierConfigChanged with subId -1"" into tm-qpr-dev am: f71b548285
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20973543

Change-Id: Iff0e0f03886e414c36d508e5b17541514c1171f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-16 08:21:26 +00:00
tom hsu
00bfd7e299 Remove the unit test which has problem.
Bug: b/265613591
Test: atest passed
Change-Id: I0df58e76171fdc49f405cb88d20469b0693f0041
2023-01-16 15:56:18 +08:00
SongFerng Wang
f71b548285 Merge "Revert "[MEP] psim->esim, don't skip carrierConfigChanged with subId -1"" into tm-qpr-dev 2023-01-16 07:44:37 +00:00
Kuan Wang
b427e8f02a Merge "Not show time information in battery optimization page when opened from Settings -> Apps" 2023-01-16 07:02:38 +00:00
Kuan Wang
1d58de3395 Merge "Add latest battery usage data when exporting battery usage data to EBS and Settings -> Apps" 2023-01-16 07:02:27 +00:00
Kuan Wang
96aee4896b Not show time information in battery optimization page when opened from
Settings -> Apps

Test: make RunSettingsRoboTests + manual
Bug: 265130434
Change-Id: Ie7ae6a97041f490e81adbe8e0c530799e09a7c66
2023-01-16 12:07:07 +08:00
TreeHugger Robot
bf386f73d3 Merge "Fix b/265409044: The battery usage page auto goes up when coming back from app details page." 2023-01-16 03:59:03 +00:00
Kuan Wang
54d7cd8a7a Add latest battery usage data when exporting battery usage data to EBS
and Settings -> Apps

Test: manual
Bug: 265130434
Change-Id: I1c6c1a831416d596b5bd71c6499f4c4672dbcdea
2023-01-16 11:44:53 +08:00
Bill Yi
4cf4ed7c7a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3b51a03c3cc8bb0c2d04b325d5108278792228a7
2023-01-15 19:27:58 -08:00
Bill Yi
57d520e0f2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I981c21d4e5212beb0252f2ea8704015045383fac
2023-01-15 19:23:55 -08:00
Bill Yi
d1b9e868a4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iac185d80c9f92f8f780adee83aabcd5698ff34d1
2023-01-15 19:20:15 -08:00
Bill Yi
9079430596 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I53a234d7805064773be4dc133dbb7d6c81ae7075
2023-01-15 19:17:23 -08:00
Bill Yi
ef1959a4e7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6d5a9e79cae81b0121a7aca947c96aeb9caa8234
2023-01-15 19:15:49 -08:00
Bill Yi
c14829ec35 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaa0abbc8a1f7b3bb4c799cfdd19bdfd8f6d6b1ac
2023-01-15 19:13:00 -08:00
Bill Yi
c536718dce Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0fb641ea66f2b5eba54806062660216d34792424
2023-01-15 19:09:48 -08:00