Commit Graph

642589 Commits

Author SHA1 Message Date
Stanley Wang
ee50d90e9d Improve the features of IllustrationPreference.
- Support the dynamic color.
  The colors of the illustration's labels can be changed.
  We create a mapping table of colors and labels.
  According to this mapping table, preference can
  apply the corresponding colors to the illustration.
- Support the middle ground view.
  User can overlay a view on top of the illustration.
- Support the auto scale of illustration.
- Update the layout to prevent the animation cropping.

Fix: 189199177
Test: rebotest and see the UI.
Change-Id: Ib02cbc5bb99ab8014d7ee7ed630a6721968a49ab
2021-06-03 11:25:53 +08:00
Bill Yi
6356587fb3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9e9687b2dc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0bf06bd9a95448a89a2abfb51d284c93dcb24ce3
2021-05-31 05:20:34 +00:00
Bill Yi
9e9687b2dc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I630e4398aeae640508ad3dacf3a23444bf9d1ad8
2021-05-31 03:15:12 +00:00
Sergey Volnov
0a40c03eb1 Merge "speech: TEST_MAPPING CtsVoiceRecognitionTestCases" into sc-dev 2021-05-28 09:13:52 +00:00
Songchun Fan
0d68016aea [incremental/metrics] report uid of last read error
BUG: 187354818
Test: atest service.incremental_test
Change-Id: I632b747440ed4faef31266a3a7b18b7a382ff2cf
2021-05-28 03:08:39 +00:00
Ahaan Ugale
27008c1123 Merge changes from topic "tr-anim" into sc-dev
* changes:
  Translate: Text alpha animation on toggling translated state.
  Translate: Ignore duplicate translations.
2021-05-28 02:03:17 +00:00
TreeHugger Robot
9e901ed9e0 Merge "Fix Launcher won't get split screen config changed after dismissed" into sc-dev 2021-05-28 01:50:21 +00:00
Jing Ji
e6436d95f8 Merge "Don't call onNullBinding when the service host is dead" into sc-dev 2021-05-28 01:35:24 +00:00
TreeHugger Robot
10102d8e25 Merge "UserLifecycleTests - DEVICE_POWER permission" into sc-dev 2021-05-28 00:33:34 +00:00
Alex Salo
0b7df265b2 Merge "Disables Smart AutoRotate in lock screen." into sc-dev 2021-05-27 23:33:17 +00:00
TreeHugger Robot
1028f0b624 Merge "Make the content animated together with the app bar" into sc-dev 2021-05-27 23:31:38 +00:00
Michael Groover
97330830d9 Merge "Update SubscriptionInfo ICCID docs to reflect security patch behavior" into sc-dev 2021-05-27 23:18:46 +00:00
Mady Mellor
2430a0b314 Merge changes I4794ed89,I0c273f4d,Ibd8609a8 into sc-dev
* changes:
  Flexible maximum number of bubbles to show
  Add shadows back to bubble avatar
  Update sizes for the bubble avatar
2021-05-27 22:51:57 +00:00
Oscar Shu
519fcc513a Merge "Change MAC randomization developer option title" into sc-dev 2021-05-27 22:40:47 +00:00
Roshan Pius
c519e91ecc Merge "UwbServiceImpl: Use cleanCallingIdentity to perform permission checks" into sc-dev 2021-05-27 22:35:10 +00:00
TreeHugger Robot
551b038044 Merge "Swallow exception from failed idmap2d disable" into sc-dev 2021-05-27 22:30:18 +00:00
Beth Thibodeau
6725b63305 Merge "[DO NOT MERGE] Add placeholder for info panel in new power menu" into sc-dev 2021-05-27 22:16:34 +00:00
TreeHugger Robot
e5f65a20f1 Merge "TranslationResponseValue: Override equals() behaviour for Extras." into sc-dev 2021-05-27 22:16:03 +00:00
TreeHugger Robot
508447f179 Merge "Enable QS button for new power menu in AOSP" into sc-dev 2021-05-27 21:56:44 +00:00
TreeHugger Robot
adf6f104ca Merge "Return immediately from isHardwareDetected" into sc-dev 2021-05-27 21:52:46 +00:00
TreeHugger Robot
e952eaa29d Merge "Annotate AppSearchManager APIs with @UserHandleAware" into sc-dev 2021-05-27 21:44:08 +00:00
Lee Shombert
04aa909987 Merge "Thread-consistent snapshots" into sc-dev 2021-05-27 21:41:16 +00:00
Ryan Mitchell
488522c9c5 Merge changes from topic "inc-dis" into sc-dev
* changes:
  Disable incremental hardening on own resources
  StringBlock incremental hardening default values
2021-05-27 21:31:04 +00:00
TreeHugger Robot
2e281d0225 Merge "Smartspace padding for AOD/LS" into sc-dev 2021-05-27 21:27:43 +00:00
TreeHugger Robot
6e76e995c1 Merge "Fixed an issue where the footerview and others would fly over the screen" into sc-dev 2021-05-27 21:27:16 +00:00
TreeHugger Robot
13493787d7 Merge "Verify presence of _FileAsset::getBuffer data" into sc-dev 2021-05-27 21:16:01 +00:00
TreeHugger Robot
7418b95459 Merge "Update title font" into sc-dev 2021-05-27 20:44:07 +00:00
Mady Mellor
238f122f47 Flexible maximum number of bubbles to show
* adjust the default spacing so that its small enough that 5 bubbles
  can show on crosshatch (5 is the default)
* Add max bubbles to BubblePositioner, replace the other usages

Test: atest BubbleDataTest
Test: manual - have 5 bubbles
             - adjust screen size to largest
             - open the stack
             => notice that the number of bubbles have changed and
               they all fit on the screen without overlap
             - repeat & check the different densities
Bug: 187715444
Change-Id: I4794ed89541eeb573c367748f980cf7ffe45d3f3
2021-05-27 13:41:22 -07:00
Mady Mellor
5f00d56451 Add shadows back to bubble avatar
* Add shadows back -- icon lib is no longer adding shadows but
  bubbles should still have them for background protection.
* The shadow is active on all bubbles when:
  - the stack is being dragged around & bubbles trail behind it
  - the stack is expanded (the bubbles can be dragged to dismiss &
    can show on top of the expanded view or overflow)
* When the stack is resting, only the top two bubbles show a shadow
  & the bubbles below that animate their Z translation so the change
  is smooth.
* Also put the # of bubbles we show in the stack in a static int &
  updated usages

Test: visual - add 5 of the 'test bubbles' from the test app
               and notice the white backgrounds don't blend together
               due to the shadow & that they are distinct when
               placed on a white background
             - drag / fling the stack around & notice shadows show
               for all the bubbles while moving but once they come
               to rest you don't see a stack of shadows
Bug: 183657577
Change-Id: I0c273f4d0261db9eac1b49ef584fd62fbb67cc9a
2021-05-27 13:40:43 -07:00
TreeHugger Robot
787c2a6d2a Merge "Fix storage directory API docs" into sc-dev 2021-05-27 20:34:54 +00:00
Taran Singh
76683e1e79 Merge "Fix IME flicker to home screen w/ orientation change" into sc-dev 2021-05-27 20:33:08 +00:00
Beth Thibodeau
78e42f77f9 [DO NOT MERGE] Add placeholder for info panel in new power menu
Test: manual
Test: atest GlobalActionsInfoProviderTest
Bug: 183032541

Change-Id: I4440cebce458df60270b9133523e853249c281f7
2021-05-27 16:30:58 -04:00
Yi Jiang
6942cbb181 Disables Smart AutoRotate in lock screen.
Currently camera based auto-rotate runs in the lock screen. It conflicts
with face auth and sometimes blocks face unlocking.

So this change will disable the smart auto-rotate whenever the key guard
is locked, and fall back to the recent screen orientation, or portrait
mode if there is no recent orientation.

Bug: 187429135
Test: atest WindowOrientationListenerTest
Test: manually tested the feature.

Change-Id: Idb38d60092de0fa7046e7b68baef9288805cb590
2021-05-27 12:59:58 -07:00
Mariia Sandrikova
19c430b187 Merge "Respect aspect ratio restrictions in split screen and show letterbox surfaces." into sc-dev 2021-05-27 19:58:15 +00:00
TreeHugger Robot
e85e15137c Merge "Don't request PIN field focus again unless re-enabled" into sc-dev 2021-05-27 19:50:04 +00:00
Ryan Mitchell
cfb916e53e Verify presence of _FileAsset::getBuffer data
Rather than attempt to remove all users of Asset::getBuffer (which
includes AssetManager(1), aapt(1), and other places) and migrate  them
to use Asset::getIncFsBuffer, verify the presence of all the data in
the buffer before returning a raw pointer to the buffer data to
guarantee callers will not unexpectedly get a SIGBUS due to incremental
installation.

Bug: 179254882
Test: builds
Change-Id: I24fd9036bc53a8c23166b5471862ee542630fb56
2021-05-27 12:41:36 -07:00
TreeHugger Robot
9dfba75b3b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: f2cbe7d89c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id9e4122fa89555bde42c3d76a48ce4905486ca38
2021-05-27 19:41:33 +00:00
Li Li
cd616a651c Merge "Fix process group of webview zygote" into sc-dev 2021-05-27 19:41:11 +00:00
Lee Shombert
4fe2cf0054 Thread-consistent snapshots
Bug: 188814480

Once a thread starts using a snapshot, it will continue using the same
snapshot even if the call stack exits and reenters PM.

Test: atest
 * CtsContentTestCases:IntentFilterTest
 * CtsDynamicMimeHostTestCases
 * CtsRoleTestCases
 * FrameworksServicesTests:UserSystemPackageInstallerTest
 * FrameworksServicesTests:PackageManagerSettingsTests
 * FrameworksServicesTests:PackageManagerServiceTest
 * FrameworksServicesTests:AppsFilterTest
 * FrameworksServicesTests:PackageInstallerSessionTest
 * FrameworksServicesTests:ScanTests
 * UserLifecycleTests#startUser
 * UserLifecycleTests#stopUser
 * UserLifecycleTests#switchUser
 * FrameworksServicesTests:WatcherTest
 * android.appsecurity.cts.EphemeralTest
 * android.appsecurity.cts.InstantAppUserTest

Change-Id: Id7e04e603147020c37c900ab69994c10211a9048
2021-05-27 19:40:46 +00:00
TreeHugger Robot
026edc0d13 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: f377cc7181 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I28396c3d56f3d7f98d6b271fa9db10896814380e
2021-05-27 19:39:34 +00:00
TreeHugger Robot
98c84b801f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: fa460f4e44 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4dc298b981160f1b8d01b35e1f73c6d2a17fb90f
2021-05-27 19:39:18 +00:00
TreeHugger Robot
f377cc7181 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-05-27 19:38:18 +00:00
TreeHugger Robot
0c2d1458f2 Merge "Clear calling identity when accessing isProfileOwner and listAllOwners" into sc-dev 2021-05-27 19:35:49 +00:00
TreeHugger Robot
32dd807cf4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-27 19:32:22 +00:00
TreeHugger Robot
3c2219691f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-27 19:27:12 +00:00
TreeHugger Robot
fa460f4e44 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-05-27 19:25:43 +00:00
Matt Pietal
ba57dba13b Smartspace padding for AOD/LS
Update spacing, specifically to match the end padding for the
smartspace container. Reduce padding for the icon shelf to match
incoming changes for smartspace

Bug: 189363380
Test: manual
Change-Id: I82030e21cd5b77424b30dc3c634d01c73beac148
2021-05-27 15:24:37 -04:00
TreeHugger Robot
ebe63fb103 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 4b8c22cc84 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic06efeaa69b2578a4986a7d0000f47b5457c4157
2021-05-27 19:24:11 +00:00
TreeHugger Robot
377738529d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-27 19:18:53 +00:00
TreeHugger Robot
3b75b200fd Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-27 19:18:32 +00:00