Commit Graph

38291 Commits

Author SHA1 Message Date
Julia Reynolds
b70d3d5c13 Update method name
Test: RoboTests
Bug: 184709662
Change-Id: I3a998a151f9647efae00909e2b4f88fa27d645eb
2021-06-09 09:53:09 -04:00
Yi-Ling Chuang
cc6643e01c Merge "Suppress Shared Axis transiiton on the SIM dialog" into sc-dev am: 562ad29721 am: 8adbf695e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880642

Change-Id: Ic4314e05df46b2772fe0142c8c18684a71f07929
2021-06-09 13:36:21 +00:00
Yi-Ling Chuang
aba4103920 Merge "Suppress Shared Axis transiiton on the SIM dialog" into sc-dev am: 562ad29721
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880642

Change-Id: I13353feb811de25053023358d955db1eff957bf5
2021-06-09 13:19:12 +00:00
Yi-Ling Chuang
562ad29721 Merge "Suppress Shared Axis transiiton on the SIM dialog" into sc-dev 2021-06-09 13:06:59 +00:00
Zoey Chen
8ca5e6a336 Merge "[Settings] Fix test failure of WFC group" into sc-dev am: 38b22563f8 am: 3cf088904c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912500

Change-Id: I9534a266ccfa4f6101314316dc71eb61d7ab3e26
2021-06-09 12:11:36 +00:00
YUKAI HUNG
1699b39562 Merge "Resolve locale not update issues in the chart view" into sc-dev am: 4248531508 am: 3cc2a79f44
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912493

Change-Id: I069690c8c4ec0cf09a79184d843c935b1337b4b6
2021-06-09 12:11:26 +00:00
Zoey Chen
5047a5d041 Merge "[Settings] Fix test failure of WFC group" into sc-dev am: 38b22563f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912500

Change-Id: I7f407bf133d33034cf936319e989043c9086490a
2021-06-09 11:56:43 +00:00
YUKAI HUNG
bf203b18e5 Merge "Resolve locale not update issues in the chart view" into sc-dev am: 4248531508
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912493

Change-Id: I7ada919a6e9d6eeea477858e1d71a4323ede1966
2021-06-09 11:56:29 +00:00
Zoey Chen
38b22563f8 Merge "[Settings] Fix test failure of WFC group" into sc-dev 2021-06-09 11:43:47 +00:00
YUKAI HUNG
4248531508 Merge "Resolve locale not update issues in the chart view" into sc-dev 2021-06-09 11:43:41 +00:00
PETER LIANG
352d6c35ed Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb am: 150dd5fa0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310

Change-Id: I92b751501a6c00a046c0d87a5ed1e41eefbf606c
2021-06-09 11:14:49 +00:00
PETER LIANG
575ae9574e Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310

Change-Id: I76e0436b02f078a750562f434bb28e3f81644644
2021-06-09 11:01:22 +00:00
Weng Su
e3d6d635bd Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev am: 635e57bd4e am: c390be0a48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891919

Change-Id: I71c205542f369b7870dcfce4c7b6960cdb8d7a13
2021-06-09 10:47:34 +00:00
PETER LIANG
d2c4944cbb Merge changes I99fb2ed2,Iba18bfab into sc-dev
* changes:
  Support the lottie image file for the banner in Accessibility Settings.
  Fixing the animation of drawable couldn't play automatically for the banner.
2021-06-09 10:44:10 +00:00
Weng Su
bd31f36a2e Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev am: 635e57bd4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891919

Change-Id: Icd43216660f67f288f8515e5ce29d13294074d9f
2021-06-09 10:26:22 +00:00
Peter_Liang
3ce3a93e71 Support the lottie image file for the banner in Accessibility Settings.
Action:
Currently, the ImageView component couldn’t handle the lottie image from raw resource folder,  so temporarily using the LottieAnimationView from settingsLib to support lottie image for the banner of Accessibility settings.

Bug: 186065724
Bug: 179451422
Test: atest AnimatedImagePreferenceTest
Change-Id: I99fb2ed26085c73bc262c58001de8dec3078e1d0
2021-06-09 10:11:23 +00:00
Weng Su
635e57bd4e Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev 2021-06-09 10:05:51 +00:00
Arc Wang
bdb70b1078 Tweak UI of CardPreference and ContextualCard
- CardPreference uses settingslib_preference
  layout to fix title/summary alignment issue.

- Remove stroke for CardPreference and ContextualCard.

- Set colorSurface as default card background color.

Bug: 188599776
Test: manual visual
Change-Id: Id0ee40be60de1f7605849490ee43eae4b9420abb
2021-06-09 17:43:43 +08:00
Arc Wang
7b85f2af24 'Free up space' uses CardPreference
For material next style.

Bug: 188599776
Test: make RunSettingsRoboTests ROBOTEST_FILTER=CardPreferenceTest
Change-Id: Ibaf4d11ab44017453498676db00cff1e49c83b9d
2021-06-09 17:35:33 +08:00
Alex Johnston
7db8142435 Credential management app UI tweaks
Credential management app Settings screen
* Add uninstall certificates button
* Reformat summary
* Remove dividing lines
Request manage credentials screen
* Make requesting app name bold

Manual testing
* Install TestDPC and select 'Request to
  manage credentials'
* Verify app name is bold and select allow
* Install a certificate as the cred mng app
  via TestDPC
* Go to Setting > Security > Encryption
  & Credentials > Credential Management App
* Verify screen looks like mocks
* Select 'Remove certificates' and
  verify all certificates installed by the
  cred mng app are removed
Settings screen: https://screenshot.googleplex.com/C6n9bnwkw843jgf
Request screen: https://screenshot.googleplex.com/5qH44NXKKGRsdHs

Bug: 189416800
Test: manual testing
      CredentialManagementAppControllerTest
      CredentialManagementAppFragmentTest
      CredentialManagementAppButtonsControllerTest
      CredentialManagementAppHeaderControllerTest
      RequestManageCredentialsTest
Change-Id: I71334b231ae7cefbc055e2575eda5418da2548b4
2021-06-09 10:13:53 +01:00
Zoey Chen
ff0c06f20a [Settings] Fix test failure of WFC group
Bug: 190569916
Test: atest NetworkProviderWifiCallingGroupTest
Change-Id: Ie520f3709eb0751150fdbda1f14e878ba21e22c4
2021-06-09 09:07:50 +00:00
ykhung
2a75186e4b Resolve locale not update issues in the chart view
- read locale from configuration rather than Locale.getDefault
- refine 12-24 format to align the current status bar short style
- resolve locale change not update chart percentage label
- extend timestamp label in the chart graph from 4 to 5 labels

Bug: 190150515
Bug: 190422902
Bug: 190226837
Test: make SettingsRoboTests
Change-Id: I5347964900123a6d112dbc37c2af87eb7d73f1d2
2021-06-09 16:11:15 +08:00
Weng Su
8af8dfd83a [Provider Model] Update the no internet unavailable icon
- Show the no internet unavailable icon when Airplane mode is turned on

Bug: 189205157
Test: manual test
Change-Id: I0f630708fa60fe85177b23a833d40321fcfbffda
2021-06-09 16:07:11 +08:00
Alex Johnston
4ef1438512 RequestManageCredentials landscape mode
* Split screen into two halves, where the left
  side includes the title and the right side
  includes the recycler view, floating action
  button and action buttons.
* https://screenshot.googleplex.com/6Co6kn2DyXZRGNZ
* https://screenshot.googleplex.com/6uwHAGuRHjNcStN

Bug: 189193577
Test: manual testing via TestDPC
      RequestManageCredentialsTest
Change-Id: I9c82a7471c885658aacb40b22166ec801e2833ca
2021-06-09 09:06:49 +01:00
Bonian Chen
6546d68217 [Settings] Change API for backup calling supporting status
Change API for detecting backup calling supporting status.

Bug: 182326102
Test: local
Change-Id: I4bda5f518e042ba23f48cddd3b4c8baebc5e2330
2021-06-09 07:35:41 +00:00
Bonian Chen
137e7610b8 [Settings] Change API for backup calling supporting status
Change API for detecting backup calling supporting status.

Bug: 182326102
Test: local
Change-Id: I4bda5f518e042ba23f48cddd3b4c8baebc5e2330
2021-06-09 15:25:03 +08:00
tom hsu
4f3ac2fcbd [Settings] Resolves unsynced infomation between status bar and settings
When activity go to background, the UI message shall be saved, and When
 activity is back to foreground, the UI shows previous state first.
 The situation make unsynced info between status bar and settings's
 page.

Bug: 187091965
Test: Maunal Test
Test: atest passed
Change-Id: I7db2876e91c00126ebfa9dfa5b87d04c1f717e72
2021-06-09 15:19:48 +08:00
Stanley Wang
3df28f0aad Merge "Fix the problem of the TalkBack function can not be turned on." into sc-dev am: bbab97c955 am: 5a257c43a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891917

Change-Id: I3ed5c930ab1fb717fb7aca1ad38f11dab38dbdbb
2021-06-09 07:04:40 +00:00
Stanley Wang
d7875ab8a8 Merge "Fix the problem of the TalkBack function can not be turned on." into sc-dev am: bbab97c955
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891917

Change-Id: I3804164b0b78e26baecca0ae62294f77b109c636
2021-06-09 06:49:39 +00:00
Stanley Wang
bbab97c955 Merge "Fix the problem of the TalkBack function can not be turned on." into sc-dev 2021-06-09 06:37:29 +00:00
Menghan Li
313ce94b88 Merge "Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut" into sc-dev am: c4609d14f4 am: 57f5ad34be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860442

Change-Id: I2c3c1ce430174be7261f1b121d63589f5f1b5e87
2021-06-09 06:04:14 +00:00
Menghan Li
87fd9a6816 Merge "Move DialogEumn into AccessibilityDialogUtils" into sc-dev am: 0a9d2385f0 am: f9934b37d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860441

Change-Id: I66b8de764f6b69a40264a122100e81c8adc169d9
2021-06-09 06:04:09 +00:00
Tsung-Mao Fang
72aa238948 Merge "Remove the large space when searching region list" into sc-dev am: 0a8ab3a543 am: 5371a47dcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880232

Change-Id: I6d0ab930d9406f7097dc35979f9799055ab0cb62
2021-06-09 06:04:00 +00:00
Menghan Li
830a8c2aa1 Merge "Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut" into sc-dev am: c4609d14f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860442

Change-Id: I30a1f10296ec42a900f2648a701dd52e60900a56
2021-06-09 05:47:45 +00:00
Menghan Li
154699afe1 Merge "Move DialogEumn into AccessibilityDialogUtils" into sc-dev am: 0a9d2385f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860441

Change-Id: Ib34df88b17d4322596b982b552e320c0aa5327a2
2021-06-09 05:47:37 +00:00
Tsung-Mao Fang
fd9cca8aed Merge "Remove the large space when searching region list" into sc-dev am: 0a8ab3a543
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880232

Change-Id: I88be0e9d792f6b593d878d8f5e360e062dfcedc1
2021-06-09 05:47:25 +00:00
Menghan Li
c4609d14f4 Merge "Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut" into sc-dev 2021-06-09 05:42:08 +00:00
Menghan Li
0a9d2385f0 Merge "Move DialogEumn into AccessibilityDialogUtils" into sc-dev 2021-06-09 05:41:00 +00:00
Tsung-Mao Fang
0a8ab3a543 Merge "Remove the large space when searching region list" into sc-dev 2021-06-09 05:34:23 +00:00
Joshua Mccloskey
e80c5cddd2 BiometricEnrollIntroduction button update
No longer show the "No thanks" button until the user has
scrolled to the bottom of the introduction text.

This applies for both face and fingerprint enroll introduction screens.

Fixes: 189268868
Test: Manual
Change-Id: I0ccf6ae1d329df06f769f05288706ef22183bc21
2021-06-08 22:25:16 -07:00
Matt Casey
644b57d003 Merge "Update system settings to honor device defaults for assistant invocation" into sc-dev am: fc10ab9c98 am: eaaff9bf24
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14843840

Change-Id: Ic159ec4279f66aed983600f1801e11e5b2b7c761
2021-06-08 19:58:49 +00:00
Matt Casey
ac1a9c59a2 Merge "Update system settings to honor device defaults for assistant invocation" into sc-dev am: fc10ab9c98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14843840

Change-Id: I73d3ecd7950d90593acf5118baf536a3dc62974a
2021-06-08 19:29:44 +00:00
Matt Casey
fc10ab9c98 Merge "Update system settings to honor device defaults for assistant invocation" into sc-dev 2021-06-08 19:02:06 +00:00
Weng Su
8c29ff0a27 [Provider Model] Fix the panel non responsive issue
Bug: 187340277
Test: manual test
atest -c ProviderModelSliceTest

Change-Id: Ie27a5049b2cab05b7c7936395d0db85c3c594d96
2021-06-09 00:35:53 +08:00
menghanli
e771cbb1aa Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut
Bug: 190022774
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=AccessibilityShortcutPreferenceFragmentTest
Change-Id: I1cae8fbed059ba7c309126e2dff46adfb48cffd8
2021-06-08 22:58:05 +08:00
Stanley Wang
fab609f892 Fix the problem of the TalkBack function can not be turned on.
- Check the states of the switch and the accessibility service.
  If the states are different, update the state of accessibility
  service.

Fix: 190309601
Test: robotest and test the TalkBack manually.
Change-Id: Id8c28223b1958087e7cdc481348487376afa2203
2021-06-08 20:34:55 +08:00
Tsung-Mao Fang
11c4b2c51e Remove the large space when searching region list
Collapse the tool bar when we're doing search for
a better user experience.
And we don't allow user can expand the tool bar at this moment
since it will see a large space at this moment.

Fix: 181741353
Test: Open the page and don't see a huge space now.
Change-Id: Iec5ebe9b22a2aad15dc8cf90113a64c358ee447e
2021-06-08 11:44:38 +00:00
Yi-Ling Chuang
4d7da4a425 Remove FLAG_ACTIVITY_NEW_TASk when there is transition
Making activities launch in a separate task breaks the page transition.
Reviewed the history of the addition of these flags, they seem stale and
are no longer needed, so remove these when the transition is applied.

Bug: 189412031
Test: Tap on any badged entry and see it being launched in the same
task.

Change-Id: I60b2ec0b2772cd3bdc8c4ebbc83cedd2a603492a
2021-06-08 18:55:49 +08:00
Giuliano Procida
7362a2b843 Merge "Revert "Apply SettingsLib SeekBarPreference to Settings"" into sc-dev am: ef0e09f7a3 am: d26cb5c9a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880698

Change-Id: Id629bec6759ee8611f842d7ee7c840fe077a298e
2021-06-08 10:04:28 +00:00
Giuliano Procida
13ba3ea00d Merge "Revert "Apply SettingsLib SeekBarPreference to Settings"" into sc-dev am: ef0e09f7a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880698

Change-Id: I528cb33907aab069a37fecf24c39de614b5bc0f2
2021-06-08 10:02:19 +00:00