Commit Graph

634859 Commits

Author SHA1 Message Date
Bill Yi
b65e29dfe4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4d3b9dbb96ea0bcb0bdfc5e83ae0fad68531c5a2
2021-03-20 11:51:33 +00:00
Jason Hsu
fc3b47ce62 [automerger skipped] Merge changes from topic "accessibility_floating_menu_controller" into sc-dev am: 23c4fc41ae -s ours
am skip reason: skip tag Change-Id I2cbe690040a7e4ad15c1340a5ee146eb315b1d27 with SHA-1 bc4516eb22 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13901445

Change-Id: Ida965dcf412d1f9001613a7c3711dd4b5efaaad5
2021-03-19 05:49:10 +00:00
Alex Buynytskyy
b21e83186c Merge "[incfs] Use a more efficient getBlockCount() for incfs v2" into sc-dev am: 8212a70a54
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13921423

Change-Id: Iddf2ce20c35377fef84cffb964a4f1fba6cf296a
2021-03-19 05:48:52 +00:00
Treehugger Robot
a50572ab73 Merge "CaptivePortalData: use CharSequence in VenueFriendlyName API" am: 47157e7711 am: 4bdea2a29b am: 281f77c93c am: eae3a9e4e3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1640985

Change-Id: I11296c79a3983329d5887f0298f271f4699ba0e4
2021-03-19 05:48:39 +00:00
TreeHugger Robot
88b492729a [automerger skipped] Merge "TelephonyRegistry: Pass featureId to LocationAccessPolicy" into rvc-qpr-dev am: 1c9ac73a78 -s ours am: 7c330732a1 -s ours am: ad53327da3 -s ours
am skip reason: skip tag Change-Id I3a5afddfc151e06f5deb0220620bbd40849626c4 with SHA-1 923b6d8678 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13896657

Change-Id: I726086ce3d50f0d077123037b5b5e0388663a3c1
2021-03-19 05:48:05 +00:00
TreeHugger Robot
d651159e5b [automerger skipped] Merge changes from topic "accessibility_floating_menu_widget" into sc-dev am: 62d3178166 -s ours
am skip reason: skip tag Change-Id Ib86713cd6a48e102cb9088beb6353391caeadc83 with SHA-1 0a2e8f9a56 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13896648

Change-Id: I721f2aa259e45686318856bcd3cabac449ad9dee
2021-03-19 05:47:35 +00:00
Jason Hsu
23c4fc41ae Merge changes from topic "accessibility_floating_menu_controller" into sc-dev
* changes:
  Set to accessibility floating menu mode when navigation mode is gestural
  Add the string for the accessibility floating menu tooltip
  Set default value of accessibility button mode
  Handle the phone get booted case to show accessibility floating menu
  Handle the basic logic to show or hide accessibility floating menu
  Observer for the accessibility button mode and notify its listeners for the changes
2021-03-19 05:43:52 +00:00
jasonwshsu
37efae848a Set to accessibility floating menu mode when navigation mode is gestural
cherry picked from commit bc4516eb22

Bug: 173938894
Test: manual test
Change-Id: I2cbe690040a7e4ad15c1340a5ee146eb315b1d27
Merged-In: I2cbe690040a7e4ad15c1340a5ee146eb315b1d27
2021-03-19 13:41:02 +08:00
jasonwshsu
f20f7a11d2 Add the string for the accessibility floating menu tooltip
Cherry picked from commit 232aa33473

Bug: 182532449
Bug: 175365399
Test: build pass
Change-Id: Ie352b1f9274b7f63133d53a1cfe27f6deb4cf00a
Merged-In: Ie352b1f9274b7f63133d53a1cfe27f6deb4cf00a
2021-03-19 13:40:58 +08:00
jasonwshsu
12e09d1017 Set default value of accessibility button mode
Set floating menu mode by default, but if the user uses accessibility button in the navigation bar to trigger their accessibility features before migration, then set it to keep the navigation button mode.

Cherry picked from commit a87f05d552

Bug: 173940304
Test: 1. Push old version of db and apk
      2. Enable/Disable accessibility features in navigation bar
      3. Push new version of db and apk
Change-Id: I465eb2190f0e1ca9a6a6be928752a07d5e9576da
Merged-In: I465eb2190f0e1ca9a6a6be928752a07d5e9576da
2021-03-19 13:40:54 +08:00
jasonwshsu
e24d701f4c Handle the phone get booted case to show accessibility floating menu
* AccessibilityManager might not ready when the phone just got booted.

Cherry picked from commit bf0ab7163d

Bug: 173940864
Test: atest AccessibilityFloatingMenuControllerTest
Change-Id: I0339597cd53ca5daade427fef257bfddb3b86bd8
Merged-In: I0339597cd53ca5daade427fef257bfddb3b86bd8
2021-03-19 13:40:49 +08:00
jasonwshsu
5154c4cfae Handle the basic logic to show or hide accessibility floating menu
* AccessibilityFloatingMenuController will listen to the changes from AccessibilityButtonTargetsObserver and AccessibilityButtonModeObserver then handle the visibility of FloatingMenu
* Add abstract class SecureSettingsContentObserver to handle a registry of listeners of specific types and dispatch changes to child

Cherry picked from commit 523514fd24

Bug: 173940864
Test: atest AccessibilityButtonTargetsObserverTest AccessibilityButtonModeObserverTest AccessibilityFloatingMenuControllerTest
Change-Id: I07fded55340644bce84a3f17a7a4da950268d2d2
Merged-In: I07fded55340644bce84a3f17a7a4da950268d2d2
2021-03-19 13:40:45 +08:00
jasonwshsu
c1e28cc20e Observer for the accessibility button mode and notify its listeners for the changes
* Update accessibility button state (visibility) in navigationbar when
accessibility button mode listener receive the changes.

Cherry picked from commit 2c60295be9

Bug: 173938894
Bug: 173940864
Test: atest AccessibilityButtonModeObserverTest
Change-Id: I03b961c95a20e4698491443012beb3ab73333199
Merged-In: I03b961c95a20e4698491443012beb3ab73333199
2021-03-19 13:40:40 +08:00
Alex Buynytskyy
8212a70a54 Merge "[incfs] Use a more efficient getBlockCount() for incfs v2" into sc-dev 2021-03-19 05:35:53 +00:00
Treehugger Robot
eae3a9e4e3 Merge "CaptivePortalData: use CharSequence in VenueFriendlyName API" am: 47157e7711 am: 4bdea2a29b am: 281f77c93c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1640985

Change-Id: I933407d55e33a2cfac44ded44bc58fc0deb9da80
2021-03-19 05:32:21 +00:00
TreeHugger Robot
ad53327da3 [automerger skipped] Merge "TelephonyRegistry: Pass featureId to LocationAccessPolicy" into rvc-qpr-dev am: 1c9ac73a78 -s ours am: 7c330732a1 -s ours
am skip reason: skip tag Change-Id I3a5afddfc151e06f5deb0220620bbd40849626c4 with SHA-1 923b6d8678 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13896657

Change-Id: Id68871258509c3cd77b0dc66d5d4fa2b281643ba
2021-03-19 05:31:54 +00:00
Treehugger Robot
281f77c93c Merge "CaptivePortalData: use CharSequence in VenueFriendlyName API" am: 47157e7711 am: 4bdea2a29b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1640985

Change-Id: I5c04566c379e2cad164d55050ffdc9152432dfd3
2021-03-19 05:27:46 +00:00
TreeHugger Robot
62d3178166 Merge changes from topic "accessibility_floating_menu_widget" into sc-dev
* changes:
  Add new floating action menu for Accessibility targets. (5/n)
  Add new floating action menu for Accessibility targets. (4/n)
  Add new floating action menu for Accessibility targets. (3/n)
  Add new floating action menu for Accessibility targets. (2/n)
  Add new floating action menu for Accessibility targets. (1/n)
2021-03-19 05:26:47 +00:00
Remi NGUYEN VAN
2a213ca200 Merge "Remove Preconditions usage in TestNetworkSpecifier" into sc-dev am: 6dae2c8f59
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13925147

Change-Id: I08b826673f5b934f65d2951b6534c3e0eaaa27ee
2021-03-19 05:04:25 +00:00
Remi NGUYEN VAN
1c9c38d082 Merge "Revert "Revert "Remove connectivity dependency on Preconditions""" into sc-dev am: 636397a6d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13925146

Change-Id: I51fc17d68d2cc872e7a5aa71a2aa5deaa5928218
2021-03-19 05:03:33 +00:00
Remi NGUYEN VAN
79fbba0a0b [automerger skipped] Merge "Add TEST_NETWORK_SERVICE to module API" am: 7e26e33269 am: 6d208315f8 am: 3e876a2147 -s ours am: 698a529458 -s ours
am skip reason: skip tag Change-Id I0690251ddfcdaa8a34830e110b75869a370de389 with SHA-1 d31b35212c is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1629260

Change-Id: Ibfa5d33d267992957899815c7ff46943d94a8279
2021-03-19 05:02:42 +00:00
Remi NGUYEN VAN
6dae2c8f59 Merge "Remove Preconditions usage in TestNetworkSpecifier" into sc-dev 2021-03-19 04:49:52 +00:00
Remi NGUYEN VAN
636397a6d6 Merge "Revert "Revert "Remove connectivity dependency on Preconditions""" into sc-dev 2021-03-19 04:49:06 +00:00
Treehugger Robot
4bdea2a29b Merge "CaptivePortalData: use CharSequence in VenueFriendlyName API" am: 47157e7711
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1640985

Change-Id: I26db95ad9d91dec40a62b7e4c4c0b77133ddb5d3
2021-03-19 04:42:53 +00:00
TreeHugger Robot
7c330732a1 [automerger skipped] Merge "TelephonyRegistry: Pass featureId to LocationAccessPolicy" into rvc-qpr-dev am: 1c9ac73a78 -s ours
am skip reason: skip tag Change-Id I3a5afddfc151e06f5deb0220620bbd40849626c4 with SHA-1 951ceccfd7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13896657

Change-Id: Idfbcc609fcab6c9f83cb91fc65c705dc0e761728
2021-03-19 04:41:48 +00:00
Remi NGUYEN VAN
698a529458 [automerger skipped] Merge "Add TEST_NETWORK_SERVICE to module API" am: 7e26e33269 am: 6d208315f8 am: 3e876a2147 -s ours
am skip reason: skip tag Change-Id I0690251ddfcdaa8a34830e110b75869a370de389 with SHA-1 d31b35212c is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1629260

Change-Id: Icef19df8c50013e369dcecba883928787ea20733
2021-03-19 04:28:10 +00:00
TreeHugger Robot
1c9ac73a78 Merge "TelephonyRegistry: Pass featureId to LocationAccessPolicy" into rvc-qpr-dev 2021-03-19 04:16:53 +00:00
Treehugger Robot
47157e7711 Merge "CaptivePortalData: use CharSequence in VenueFriendlyName API" 2021-03-19 04:13:36 +00:00
TreeHugger Robot
73d71641ec Merge changes from topic "sc_reverts_for_b_183104573" into sc-dev am: c665c08f04
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13922479

Change-Id: Ia048e6f4d906d9af76487bab20e2b1ca4fbc88d6
2021-03-19 04:03:40 +00:00
Haining Chen
687a1bfcba Merge "Add biometric component info and face type into SensorPropertiesInternal" into sc-dev am: 82a38b099e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13793823

Change-Id: I32943a83c6da27d83702cc85b69b00dc48fa44c7
2021-03-19 04:02:57 +00:00
TreeHugger Robot
c665c08f04 Merge changes from topic "sc_reverts_for_b_183104573" into sc-dev
* changes:
  Revert "Correct recycling to take setViewId into account."
  Revert "Ensure the view being recycled has been inflated before."
2021-03-19 03:50:31 +00:00
Haining Chen
82a38b099e Merge "Add biometric component info and face type into SensorPropertiesInternal" into sc-dev 2021-03-19 03:49:10 +00:00
Yurii Zubrytskyi
4375a74535 [incfs] Use a more efficient getBlockCount() for incfs v2
v2 IncFS driver gives a very lightweight function to check the
loading progress on a file, use it instead of counting the
filled ranges

+ remove the unused mockable toString(IncFsFileId)

Bug: 183067554
Test: atest IncrementalServiceTest
Change-Id: Icd3bd891d671b27654f4194787a15a00cba1eb80
2021-03-19 03:46:40 +00:00
Chris Li
bb101c1f12 Merge "Fix non-resizable split flicker tests" into sc-dev am: 667d242404
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13882033

Change-Id: I80d0241e663b4633595363b370e770ce80565b1d
2021-03-19 03:44:06 +00:00
Remi NGUYEN VAN
3e876a2147 Merge "Add TEST_NETWORK_SERVICE to module API" am: 7e26e33269 am: 6d208315f8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1629260

Change-Id: I3cd53e2c9f9ed61153b083661ff0402cf1eb607b
2021-03-19 03:44:03 +00:00
Peter_Liang
1b682704fd Add new floating action menu for Accessibility targets. (5/n)
Action:
AccessibilityFloatingMenu has two shape types, one is oval style, the other is half oval style.
- Half oval shape when dragging.
- Oval shape when dropping.
The patch will provide the capability of switch shape type by dragging into the screen edge or out.

Cherry picked from commit 0a2e8f9a56

Bug: 173958541
Test: atest AccessibilityFloatingMenuTest
AccessibilityFloatingMenuViewTest AccessibilityTargetAdapterTest

Change-Id: Ib86713cd6a48e102cb9088beb6353391caeadc83
Merged-In: Ib86713cd6a48e102cb9088beb6353391caeadc83
2021-03-19 11:35:39 +08:00
Peter_Liang
2f5db39366 Add new floating action menu for Accessibility targets. (4/n)
Patch action:
1. Drag and drop anywhere on the screen.
2. Stick on the closest left side or right side of the screen when dropping.
3. Apply the different styles.
 - Half oval style when dropping.
 - Oval style when dragging.

Cherry picked from commit adad00ef6f

Bug: 173958541
Test: atest AccessibilityFloatingMenuTest
AccessibilityFloatingMenuViewTest AccessibilityTargetAdapterTest

Change-Id: I5f207b86b9ca4342f1414230c4d7524c59f48953
Merged-In: I5f207b86b9ca4342f1414230c4d7524c59f48953
2021-03-19 11:35:26 +08:00
Peter_Liang
596c9fab0a Add new floating action menu for Accessibility targets. (3/n)
Patch action:
Obsevers the settings key and update the corresponding status.

Cherry picked from commit ff5466d31a

Bug: 173958541
Test: atest AccessibilityFloatingMenuTest AccessibilityFloatingMenuViewTest AccessibilityTargetAdapterTest
Change-Id: Ic3a499f48613519313802298ee09b1e06abf1b1d
Merged-In: Ic3a499f48613519313802298ee09b1e06abf1b1d
2021-03-19 11:35:22 +08:00
Peter_Liang
1b38ff82bc Add new floating action menu for Accessibility targets. (2/n)
Patch action:
1. Update the style depends on the settings icon and size key.
2. Under half circle shape mode, the menu will enlarge touch area.

Cherry picked from commit c26ac8c638

Bug: 173958541
Test: atest AccessibilityFloatingMenuTest AccessibilityFloatingMenuViewTest AccessibilityTargetAdapterTest
Change-Id: Iec53ef71d7e0abe5c7619d4e5f67862ca56dfd1f
Merged-In: Iec53ef71d7e0abe5c7619d4e5f67862ca56dfd1f
2021-03-19 11:35:09 +08:00
Peter_Liang
cd10a1bc49 Add new floating action menu for Accessibility targets. (1/n)
Goals:
- Trigger actions of accessibility features would be grouped into the floating menu.

Patch action:
1. Use current Accessibility Target functions to get the corresponding data.
2. The position of the floating menu is at the bottom-right corner of the screen initially.
3. Support dark theme.

Bug: 173958541
Test: atest AccessibilityFloatingMenuTest AccessibilityFloatingMenuViewTest
Change-Id: I28e729520d4eb8ecb0bcc41d4de9d1499380e7f5
Merged-In: I28e729520d4eb8ecb0bcc41d4de9d1499380e7f5
(cherry picked from commit 2be49c9be9)
2021-03-19 11:33:56 +08:00
Chris Li
667d242404 Merge "Fix non-resizable split flicker tests" into sc-dev 2021-03-19 03:19:26 +00:00
Peter Collingbourne
68b33c3774 Merge "Add missing null check for mBatteryPercentView." into sc-dev am: f1c8817e0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13922246

Change-Id: I0613b718fc7a4a2d678a8eca5d9229810cb61ad7
2021-03-19 03:12:25 +00:00
Paul Hu
e94dfb815f Merge "Fix CS external dependencies on CarrierDefaultApp" am: 25be9509b8 am: e51271ca2f am: 7f507fe7fe am: 184a284502
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1644389

Change-Id: I34c3034a96673bd8a3bd83a20b47314970f65f79
2021-03-19 03:12:13 +00:00
Chalard Jean
2d9e406258 Merge "Check for FEATURE_TELEPHONY instead of CM" am: 6df94880b3 am: 318bbccc3e am: a7a1251b04 am: 93b894cd80
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1639905

Change-Id: I197411ed5f195f24bd2913d7d062f3bf21fa3246
2021-03-19 03:11:45 +00:00
Remi NGUYEN VAN
829ef1a723 Merge "Add InetAddressCompat" am: b648508ccb am: 23511a3eba am: 0afced9423 am: a860abf1da
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1645289

Change-Id: I9a3e72021c7fdb82e9eb1d3118f48f5c5b72b30e
2021-03-19 03:11:29 +00:00
Remi NGUYEN VAN
c9fcc4d396 Merge "Move network selection utils to Connectivity" am: c9f553c7ed am: 295bcd9be7 am: 73d3166547 am: 2f355196c5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1645291

Change-Id: Ifdfc5366c66c69f64ee3a33d977684829af1fcde
2021-03-19 03:11:11 +00:00
Treehugger Robot
5eda07de81 [automerger skipped] Merge "Keystore 2.0: Fix diagnosing invalid key in CipherSpiBase." am: be1b1d5550 am: 1ade004e0f am: 6f06dae1c3 -s ours am: bd38846660 -s ours
am skip reason: skip tag Change-Id Idc9c7dc2614a47818227a06fe76078f72c0c1f57 with SHA-1 a1963a9b64 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1646146

Change-Id: I1ec49997479cf8119c6afa4520322f2bfd776740
2021-03-19 03:10:46 +00:00
Treehugger Robot
44c8963cc8 [automerger skipped] Merge "Keystore 2.0: No longer install the legacy provider." am: e72a7b4f1b am: 02ee21ec65 am: d27fb1090a -s ours am: 579d132d4d -s ours
am skip reason: skip tag Change-Id I0d71d3c9cdd586a508827eb26120c872cb8643ea with SHA-1 d2d4c69a66 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1645706

Change-Id: Ibbec363017dfb40c695f00bb23d5db9c4ada2b82
2021-03-19 03:10:02 +00:00
Kai Shi
ba6240a7d3 [automerger skipped] Merge "Add the LCE system API" am: 26ba4d0d09 am: 855075a2c2 am: 1224d2650b -s ours am: e7c4fb3919 -s ours
am skip reason: skip tag Change-Id I5899acf02006a164e31f9b82aeaa7974dd6d2869 with SHA-1 5d530fab23 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1643471

Change-Id: I688fa8acd3351a905acaef1d14bd1a9fc69dd46a
2021-03-19 03:09:28 +00:00
Amit Mahajan
fb8d631ab4 [automerger skipped] Merge "Clarifying documentation for SliceInfo per API council feedback." am: afb77c6f83 am: ddc8641c01 am: f36b5ff898 -s ours am: 058270b9a6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1642743

Change-Id: I8c9627f90fcb153b195cdc2eb4b35015e174e3e1
2021-03-19 03:08:58 +00:00