Commit Graph

640958 Commits

Author SHA1 Message Date
Stevie Kideckel
9f8a7db5f9 Expose GridView/Layout APIs via @RemotableViewMethod
Bug: 185972660
Test: Built and ran locally, annotation change only

Change-Id: I85fc00ae62b124653e20fd53f9179493463933e0
2021-04-21 09:20:25 +00:00
Treehugger Robot
a9b3e555a8 Merge "Add the related extra information in the javadoc" am: aaf353b24c am: 8000286ede am: 52a8119c66
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1681465

Change-Id: I9eb3c2543787a91f211be5eb7b92b66fe696489f
2021-04-21 09:19:13 +00:00
Treehugger Robot
e57774df6c [automerger skipped] Merge "Change Connectivity resources SDK version to 30" am: 60b1b70030 am: a73bbaf2aa am: 1e21911c81 -s ours
am skip reason: skip tag Change-Id I35c63e4bfe7657afe1e7364926ab139b042b403e with SHA-1 f0431c0edf is already in history

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

Change-Id: I09477ef4873bab9cb8b319a341502fc7f8fbec0f
2021-04-21 09:18:56 +00:00
Naomi Musgrave
c4c761c36c Merge "Sandbox only if an activity may enter size compat mode." into sc-dev 2021-04-21 09:16:07 +00:00
Tiger Huang
062b61f2de Merge "Refine isLightBarAllowed" into sc-dev 2021-04-21 09:07:29 +00:00
Nicolas Geoffray
10e844df41 Merge "bootanimation: ensure that if a percent is shown, we'll get to 100." am: 87c254de0e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1681127

Change-Id: I97fc1c141f319436ef54beb11f0e0d265cbadc7c
2021-04-21 09:06:14 +00:00
Arc Wang
9c684a6914 Tweak SettingsSpinner UI
- Set spinner background color: colorAccentPrimary.
- Set spinner dropdown background color: colorAccentSecondary.

Bug: 185607035
Test: manual visual
Change-Id: Ic93399dc9bdda789680d008256061736103d8b26
2021-04-21 09:03:49 +00:00
Arc Wang
72838c28f3 Tweak UI of UsageProgressBarPreference
- Change paddingTop from 16dp to 0dp.
- Change android:scaleY from 4 to 1 because
  Settings APP apply a new progressDrawable.

Bug: 177617478
Test: manual visual
Change-Id: I2e32918e2d4589921d6d36c37a128acb01c4286c
2021-04-21 09:01:26 +00:00
Nicolas Geoffray
87c254de0e Merge "bootanimation: ensure that if a percent is shown, we'll get to 100." 2021-04-21 08:56:29 +00:00
Treehugger Robot
52a8119c66 Merge "Add the related extra information in the javadoc" am: aaf353b24c am: 8000286ede
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1681465

Change-Id: Ia2c8d547ec240b828925a98bf2e43291ababebca
2021-04-21 08:53:50 +00:00
Treehugger Robot
1e21911c81 Merge "Change Connectivity resources SDK version to 30" am: 60b1b70030 am: a73bbaf2aa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679749

Change-Id: I603b13d9a9db97d83591ef8e41fe68c02cb3e96a
2021-04-21 08:53:27 +00:00
Rhed Jao
e6bcbdcafa Fix a crash when starting a service in the isolated split
A ClassNotFoundException is thrown when an application starts a
service defined in the isolated split. This cl uses the class loader
of the split to load the class of the service. It also updates the
correct split context to the service.

Bug: 169196314
Test: atest ClassloaderSplitsTest
Change-Id: If52ecb6065cdc6b0e3f2c163996df90c85a00958
2021-04-21 16:44:37 +08:00
Mathew Inwood
f715fddd3c Merge "API changes as requested by API council." into sc-dev 2021-04-21 08:40:16 +00:00
Alex Johnston
8b946d5d10 Merge "Replace binder uid and context permission methods dpms" into sc-dev 2021-04-21 08:33:29 +00:00
Bill Lin
3e20856215 1/ Add onStartTransition() callback for SYSUI_STATE_ONE_HANDED_ACTIVE
Previously in launcher quick steps, when one handed mode trigger
the gesture is easy to conflict "swipe up Recents" and
"swipe horizontal for quick switch", we only consume gesture when
SYSUI_STATE_ONE_HANDED_ACTIVE=true, however, user have a bad
experience when one handed transitioning conflict to "swipe up
to launch recents".

Legacy design :
  onStartFinished() : SYSUI_STATE_ONE_HANDED_ACTIVE -> true
  onStopFinished()  : SYSUI_STATE_ONE_HANDED_ACTIVE -> false

New design :
  onTransition()    : SYSUI_STATE_ONE_HANDED_ACTIVE -> true
  onStartFinished() : SYSUI_STATE_ONE_HANDED_ACTIVE -> true
  onStopFinished()  : SYSUI_STATE_ONE_HANDED_ACTIVE -> false

Test: atest WMShellUnitTests
Bug: 177978035
Change-Id: Iac9612b2eb07606712a4ab3eb036ac6fd3d12ae3
2021-04-21 16:33:01 +08:00
Treehugger Robot
8000286ede Merge "Add the related extra information in the javadoc" am: aaf353b24c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1681465

Change-Id: I6ea797209d4d4118ffd28acba4dd419f56d90536
2021-04-21 08:28:23 +00:00
Bill Yi
86f41edcb3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c8a5869561 -s ours am: 37ed9af2bf -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9b8599f444ec50f173ea35d8604aa0829453e89f
2021-04-21 08:26:21 +00:00
Sergey Volnov
65aed0d0a4 Merge "Ensure updateState() is available for software hotword." into sc-dev 2021-04-21 08:25:41 +00:00
Treehugger Robot
a73bbaf2aa Merge "Change Connectivity resources SDK version to 30" am: 60b1b70030
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679749

Change-Id: I0ef9286794a6013b50fb1dfd0b59d35a5ae55c20
2021-04-21 08:25:39 +00:00
Treehugger Robot
aaf353b24c Merge "Add the related extra information in the javadoc" 2021-04-21 08:22:43 +00:00
Philip Junker
275f9e2912 Add TestApi to suppress other LightsSession clients
Add TestApi LightsManager#openSession(int priority) to allow sorting of
sessions by descending priority. Assuming priority 0 for public API
LightsManager#openSession().

Bug: 185877106
Test: atest LightsManagerTest
Change-Id: I4a2d9f8982119b47cbcbf77ff43377fecb343112
2021-04-21 10:12:44 +02:00
TreeHugger Robot
ca0506fce7 Merge "Update docs to reflect LE batch scan report delay floor" into sc-dev 2021-04-21 08:11:54 +00:00
Bill Yi
142bf3591f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9bd53e3ed5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib1481d155ec4880b7f19839a7b333882711b44b0
2021-04-21 08:06:45 +00:00
Svet Ganov
8b1aad623e Pipe start op throught app ops policy and delegate
bug: 185504196

Test: atest CtsAppOpsTestCases
      atest CtsPermissionTestCases
      atest CtsPermission2TestCases
      atest CtsPermission3TestCases
      atest CtsPermission4TestCases
      atest CtsPermission5TestCases

Change-Id: I5869a3e9719830f59624519f2d54f0765119cf5f
2021-04-21 08:06:35 +00:00
Bill Yi
37ed9af2bf [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c8a5869561 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie9aaa31fc0dcc4c13c2849fbf0c2424824338b40
2021-04-21 08:04:57 +00:00
Treehugger Robot
60b1b70030 Merge "Change Connectivity resources SDK version to 30" 2021-04-21 08:00:41 +00:00
lucychang
f9f2b5937d Account for letterbox space when computing touchable region
Account for letterbox space when computing touchable region to prevent
revealing background window which is covered by the letterbox.

Bug: 177982505
Test: atest AccessibilityWindowQueryTest on all display cutout types

Change-Id: Ica4f5e6964fb945cbe71a55cadd07367341936b6
2021-04-21 07:49:07 +00:00
mincheli
d51edde5d2 Magnification uses WindowManager.getMaximumWindiowMetrics to compute its layout instead of the display size
Bug: 185099320
Test: atest WindowMagnificationController
Change-Id: I764fb870aa18980c07b08dacdaf56bcd598ff2ab
2021-04-21 07:40:40 +00:00
Pinyao Ting
d9b11089e7 Merge "Implement Device Flag for shortcut integration with AppSearch" into sc-dev 2021-04-21 07:24:42 +00:00
Sudheer Shanka
00f344a18e Hide NetworkPolicyManager.blockedReasonsToString API.
BLOCKED_REASON_* constants have been moved to ConnectivityManager
and blockedReasonsToString() util method doesn't belong in
NetworkPolicyManager as an API. So, just removing it for now.

Bug: 185967486
Test: treehugger
Change-Id: Ie04044980fdfc7ec772444be13fc659880953bd1
2021-04-21 07:23:54 +00:00
easoncylee
ac72e3c10c Move CtsDevicePolicyManagerTestCases to group presubmit-large
The test config takes longer than 15mins to run. Move it to a dedicated
group for running slow presubmit Test Mapping test.

Some more context is in the referenced bug, e.g, b/174495337
The group will work exactly the same as presubmit for now.

Bug: 174654670
Bug: 174495337
Test: none
Change-Id: I71b6e5b285d0f12b43bf5312f9cde814d2f5f7da
2021-04-21 07:10:36 +00:00
Bill Yi
c8a5869561 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4f7484a0a0bf93d6677ed726ec412a7cc7959b1d
2021-04-21 06:35:12 +00:00
Bill Yi
9bd53e3ed5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I96f001190ba994e7e181a939a70665eaeda16f98
2021-04-21 06:31:48 +00:00
Joanne Chung
e847921bea Update javadoc for ViewTranslationRequest.Builder for virtual view.
Bug: 185273314
Test: n/a. Only update javadoc.
Change-Id: I63b0115184113b1a85833408a61859b7c3d55713
2021-04-21 14:19:18 +08:00
Yifan Hong
f4f69971d0 VintfObject: use toXml.
Test: builds & boots
Test: run CTS device info collect
Bug: 179270601
Depends-On: I6c90991c5b9c95801e0b92fb166de7d68bd949c2
Change-Id: I4fc55d06c4d5959a989669bf41e21982f67db207
2021-04-20 22:58:47 -07:00
Yifan Hong
bcd9eea895 Add owners for VINTF.
Test: none
Change-Id: I0c5dbdb24fb8026484389b18fe83a055b1e281f7
2021-04-20 22:58:47 -07:00
Joy Babafemi
49511145e9 UWB: Add setUwbEnabled System API.
Test: Test updated for AdapterStateListener.java
Bug: 183254940

Change-Id: I269d24c995d8064f8e62c80a1566fa0646e96580
2021-04-21 05:55:58 +00:00
TreeHugger Robot
1027fb5c21 Merge "Fix oneway error on IUwbRangingCallbacks calls" into sc-dev 2021-04-21 05:47:36 +00:00
Tianjie
ec75e51b47 Add RecoverySystemServiceTest to presubmit
Test: TH
Change-Id: I296c10117cbd0b73bf265793667769851c0e99ec
2021-04-20 22:23:38 -07:00
Rob Carr
79f15c60f3 Merge "SurfaceControl: Fix builder" into sc-dev 2021-04-21 05:22:27 +00:00
TreeHugger Robot
3318dbf7bb Merge "Flag-gate immersive mode indicator" into sc-dev 2021-04-21 05:16:19 +00:00
Zoey Chen
aa3c222643 [ANAPIC Review] Change the type of List by ANAPIC review
- Use List<Byte> since using uint8_t in radio

Bug: 183738486
Test: make
Change-Id: I5a52bc20ebd9c5ce000abd8588f2969d84c6bcd0
Merged-In: I5a52bc20ebd9c5ce000abd8588f2969d84c6bcd0
2021-04-21 05:12:28 +00:00
Tianjie
6720f179f8 Check the return value of RoR preparation/clear
The corresponding functions already has a boolean return value in the
reboot escrow manager. So expose the return value to the recovery
system.

Test: build, check return value of request
Change-Id: I056956075868ab62ba6a43259242c4521c1c1bfe
2021-04-20 22:12:18 -07:00
Kevin Han
bb66a82f15 Unhibernate apps on boot that are not force-stopped
Hibernation disk state can be stale and lead to getting inconsistent
hibernation states with force-stop. We resolve this by checking the
hibernation state against force-stop and unhibernating if the app is not
force-stopped but hibernating.

Similarly, if we unlock a user and determine that a package is not
hibernating for that user but the package is globally hibernating, we
globally unhibernate the package.

Bug: 185511307
Test: atest AppHibernationServiceTest
Change-Id: I574c69c60cbe388d937a7f59695f757ed8d08f5f
2021-04-20 21:45:53 -07:00
TreeHugger Robot
a212d74f3e Merge "Refactor Telephony phone number access checks to LegacyPermissionMgr" into sc-dev 2021-04-21 04:37:41 +00:00
Lucas Dupin
fe06390a3c Clamp ink color alpha
On the old version of the ripple, the alpha is limited to 50%, we should
also do the same on the latest designs.

Bug: 184165556
Test: manual
Change-Id: Iec14394e0a0bca00283a713a409dd0794eb6fb9a
2021-04-20 21:36:37 -07:00
Tianjie Xu
ff38f2041d Merge "Catch security exceptions in RoR APIs" am: 27dcfb808c am: ffbcac67ab am: f14cfe0fc3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1651270

Change-Id: I966f41db7056be4452050f4a5a8f512f9974f790
2021-04-21 04:35:48 +00:00
Benedict Wong
b8012043e1 Merge "Fix NPE in dump and add additional dump data" am: 36478cfdaa am: 3bad1d413e am: a5f342853b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682045

Change-Id: Id59d0bab5db74c9de6c956457072589b16bdcb36
2021-04-21 04:35:19 +00:00
Tianjie Xu
f14cfe0fc3 Merge "Catch security exceptions in RoR APIs" am: 27dcfb808c am: ffbcac67ab
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1651270

Change-Id: I034655978c746b2e824ab27d68d4fb5316aa1b3b
2021-04-21 04:06:56 +00:00
Benedict Wong
a5f342853b Merge "Fix NPE in dump and add additional dump data" am: 36478cfdaa am: 3bad1d413e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682045

Change-Id: Iaa9a7094b4276e40849ad6eb58860176656eef16
2021-04-21 04:06:44 +00:00