Commit Graph

472982 Commits

Author SHA1 Message Date
Jeff Sharkey
4af9a76efb Merge "Deep copy arguments to avoid accidental mutation." into rvc-dev 2020-04-01 15:39:11 +00:00
Mady Mellor
4c94835d49 Merge "Fix potential NPE" into rvc-dev 2020-04-01 14:57:04 +00:00
Wale Ogunwale
1df5eb0130 Merge "Add TestApi interfaces for window organizers" into rvc-dev 2020-04-01 13:30:47 +00:00
Wale Ogunwale
adf116ec95 Add TestApi interfaces for window organizers
Enables testing the API surfaces from CTS.

Bug: 149338177
Test: they pass!
Change-Id: I7e1f2852585a10c20d299bd87e9a87f828d06d6a
2020-04-01 13:25:23 +00:00
Artur Satayev
a56084eaa5 Merge "Remove hiddenapi-mappings and hiddenapi-list-docs." into rvc-dev 2020-04-01 13:07:41 +00:00
TreeHugger Robot
47300548b7 Merge "Do not use BIND_RESTRICT_ASSOCIATIONS when binding TextClassifierService" into rvc-dev 2020-04-01 12:59:09 +00:00
Anton Hansson
d972846baa Merge "Don't link wifi utils against android_system_stubs" into rvc-dev 2020-04-01 11:29:12 +00:00
Anton Hansson
c333c8e049 Merge "Don't link telephony stubs against android_system_stubs" into rvc-dev 2020-04-01 11:03:07 +00:00
Galia Peycheva
5a0549cd42 Merge changes Id6161f92,Ie0d8849a into rvc-dev
* changes:
  Introduce security checks to startDreamActivity
  Add verification for setting ACTIVITY_TYPE_DREAM
2020-04-01 10:18:19 +00:00
Chiachang Wang
d7df0c13d9 Merge "Update constructor of NetworkMonitor" into rvc-dev 2020-04-01 08:59:12 +00:00
Winson Chiu
bde104f8be Merge changes Id7d1ff26,Id53a2e65 into rvc-dev
* changes:
  Add am compat enable/disable/reset test for not installed app
  Gate stricter manifest enforcement on targetSdk R
2020-04-01 05:44:35 +00:00
Winson
db4355fed9 Add am compat enable/disable/reset test for not installed app
Should also cover installed apps, since this mocks at the
ApplicationInfo level.

The not installed behavior is used during package parsing to
pre-disable validation errors for an app that may not yet be
compliant with new targetSdk gated rules.

Bug: 152416067

Test: atest com.android.tests.gating.PlatformCompatCommandNotInstalledTest

Change-Id: Id7d1ff26f40626308d9b2e7c6cea60bce9b7f50f
2020-04-01 05:44:12 +00:00
Winson
727da64be5 Gate stricter manifest enforcement on targetSdk R
Two package parsing issues have been promoted to failures in R:
a missing <application>/<instrumentation> tag, and an empty
"android:name" attribute. The latter due to a bug in the parsing
code.

These need to be gated by targetSdkVersion so that APKs built for
previous versions can still scan/install properly. This change
introduces support for this through a framework that leverages
@ChangeId to introduce individually toggle-able errors, in
case a developer needs to install an app that isn't completely
migrated for a new SDK version yet.

The ignoreError method was removed from ParseResult as the errors
it was used for were manually compared to PackageParser and it's
likely they can be hard errors without breaking anything.

This also adds tests for general ParseInput/Result behavior.

Exempt-From-Owner-Approval: AppIntegrity already approved in older PS.

Bug: 150776642

Test: atest android.content.pm.parsing.result.ParseInputAndResultTest
Test: atest com.android.server.pm.parsing.PackageParsingDeferErrorTest
Test: atest com.android.server.integrity.AppIntegrityManagerServiceImplTest
Test: atest com.android.server.pm.parsing

Change-Id: Id53a2e65f6e5e4dee9a41cc77007275b3a220ac3
2020-04-01 05:42:52 +00:00
TreeHugger Robot
456365644b Merge "Simplify WindowState#reportResized" into rvc-dev 2020-04-01 05:38:20 +00:00
TreeHugger Robot
9c637474fb Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-01 05:31:03 +00:00
TreeHugger Robot
b72d2c5ee5 Merge "AppBinding: Respond to PACKAGE_CHANGED" into rvc-dev 2020-04-01 04:46:22 +00:00
Lorenzo Colitti
c9bdb4aa29 Merge "Add an Ethernet tethering test." into rvc-dev 2020-04-01 03:56:28 +00:00
Jeff Sharkey
b36acbf6a7 Deep copy arguments to avoid accidental mutation.
Otherwise we'd risk applying different arguments to active versus
future connections.

Bug: 152005629
Test: atest CtsDatabaseTestCases:android.database.sqlite.cts.SQLiteDatabaseTest
Change-Id: I6e83a47d9874825fd14940245412372ef9227e79
2020-03-31 21:10:22 -06:00
TreeHugger Robot
dcea9181e5 Merge changes from topic "Fix WindowFocusTests Flaky-rvc-dev" into rvc-dev
* changes:
  Prevent waiting when inject event without animation
  Fix input infos are inconsistent between WMS and InputFlinger (1/2)
2020-04-01 03:05:26 +00:00
TreeHugger Robot
1d63b6c88a Merge "Fix possible NPE" into rvc-dev 2020-04-01 03:03:53 +00:00
TreeHugger Robot
2240431010 Merge "Prevent dream service finishSelf before it was attached" into rvc-dev 2020-04-01 03:01:03 +00:00
JW Wang
1d68911a9d Merge changes I10355143,I85adb8c3 into rvc-dev
* changes:
  Run expiration when rollback lifetime is changed. DO NOT MERGE
  Add logs for debugging
2020-04-01 02:49:40 +00:00
TreeHugger Robot
9ba74bee62 Merge "Cancel animation in previous rotation" into rvc-dev 2020-04-01 02:48:42 +00:00
Feng Cao
f1771c0d33 Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev 2020-04-01 02:32:43 +00:00
Bill Yi
75a3ed54c1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4fc12101652d5a28c0ec0f19032571fe28352dc7
2020-03-31 19:30:17 -07:00
Chiachang Wang
41f6d9310a Update constructor of NetworkMonitor
Remove redundant parameter.

Bug: 152374582
Test: m -j40 ; atest FrameworksNetIntegrationTests
Merged-In: I3a636f0ea5145ac4435e06a9827bb8e01862542d
Change-Id: I3a636f0ea5145ac4435e06a9827bb8e01862542d
2020-04-01 02:12:32 +00:00
Andrii Kulian
886d2cf0f1 Merge "3/n Refactor TaskContainers to TaskDisplayArea" into rvc-dev 2020-04-01 02:05:35 +00:00
Lucas Dupin
88c870e6e8 Merge "Reset blur radius after dialog is gone" into rvc-dev 2020-04-01 01:28:50 +00:00
Lucas Dupin
12a7967791 Merge "Do not crash if window is invalid" into rvc-dev 2020-04-01 01:28:19 +00:00
Cody Kesting
5add803be8 Merge changes I2431a6d2,I9096969a,I748bd9de,Ia5387ca2,I803bdec8, ... into rvc-dev
* changes:
  Update CS helper for clearing NetworkCapabilities UIDs.
  Simplify unregister logic for Connectivity Diagnostics callbacks.
  Clarify comments for Connectivity Diagnostics reports.
  Sort administrator UIDs for NetworkCapabilities.
  Add combine() and equals() for NetworkCapabilities admin UIDs.
  Use IBinder as key for ConnectivityDiagnostics storage in CS.
  Decrement networkRequestPerUid when callbacks are unregistered.
  Invoke onConnectivityReport on registering ConnectivityDiagnostics.
2020-04-01 01:13:11 +00:00
TreeHugger Robot
1db5f59dcf Merge "[SM06] Collect mobile NetworkStats metrics by collapsed rat type" into rvc-dev 2020-04-01 01:12:41 +00:00
Mady Mellor
add5c6a9f2 Fix possible NPE
bubble.getIconView() and getExpandedView() are now nullable
check for that in a couple of places it makes sense

Bug: 152917277
Test: treehugger
Change-Id: I6df7e97615e7d397a4acd19a4aa62f1b732bed87
2020-03-31 17:31:07 -07:00
TreeHugger Robot
d9f9a8d70f Merge "Tuner JNI: Dvr and DvrCallback" into rvc-dev 2020-04-01 00:02:48 +00:00
Zhen Sun
e31edc21a1 Merge "Add atom of TvSettings and its enum" into rvc-dev 2020-03-31 23:24:21 +00:00
Mady Mellor
3e1addffe0 Fix potential NPE
Test: treehugger
Bug: 152712039
Change-Id: I22b17976a4c1e68f3bf076b7e40f84186e664e7b
2020-03-31 16:08:38 -07:00
Etan Cohen
16f2b57048 Merge "[SYSUI] Fix logging on test failure" into rvc-dev 2020-03-31 22:51:59 +00:00
TreeHugger Robot
690559375c Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-31 22:46:42 +00:00
Makoto Onuki
44ec9f289a AppBinding: Respond to PACKAGE_CHANGED
Fix: 148210449
Test: atest CtsAppBindingHostTestCases

Change-Id: I568b63033b6daac9b8ebb79965ed5d29cfb924af
2020-03-31 15:32:45 -07:00
Lucas Dupin
7ee64cc436 Do not crash if window is invalid
Fixes: 152664147
Test: atest NotificationShadeDepthControllerTest
Change-Id: If134426672072dfb3930ae5ad43d9eedc86de1b0
2020-03-31 14:55:05 -07:00
Feng Cao
edb332c645 Replace Nullable bundle with NonNull and use Bundle.EMPTY
Test: atest InlineSuggestionsRequestTest
Bug: 152525467

Change-Id: Ie510e08ced8be4cc8df486f1acfa6eb330d194ef
2020-03-31 14:50:51 -07:00
TreeHugger Robot
c068acb6ae Merge "Add @UnsupportedAppUsage to the old inline APIs for compatibility" into rvc-dev 2020-03-31 21:23:09 +00:00
Lucas Dupin
77198561dc Reset blur radius after dialog is gone
Test: press power to show dialog, turn screen off and on
Fixes: 152805231
Change-Id: I6620d69c78d7b9028c0170f57569dd5ccec11a5e
2020-03-31 14:16:16 -07:00
Winson Chung
a531f922c9 Merge "Add task organizer based task embedder" into rvc-dev 2020-03-31 20:59:17 +00:00
TreeHugger Robot
63ff5bb6f1 Merge "PMS: Add shell command to toggle FIXED_PERFORMANCE" into rvc-dev 2020-03-31 20:38:47 +00:00
TreeHugger Robot
38d362ca86 Merge "iorap: AppLaunch - wait for background job to complete." into rvc-dev 2020-03-31 20:24:58 +00:00
TreeHugger Robot
cbd80ea094 Merge "Send more IME events to autofill manager service." into rvc-dev 2020-03-31 20:22:28 +00:00
Lyn Han
fb64e7f0ac Merge "Reset target, update pointer" into rvc-dev 2020-03-31 20:17:37 +00:00
Sean Pont
4fca5e9d5b Merge "Add text attributes to Wallet manifest entry" into rvc-dev 2020-03-31 20:09:29 +00:00
TreeHugger Robot
32f3bcfcd2 Merge "Log also the lang id model name that is involved in events" into rvc-dev 2020-03-31 20:04:47 +00:00
Selim Cinek
9bad85af2b Merge changes I0d79642d,If8756ac8,I29e73897,Ia8c5121a,I533b8f06 into rvc-dev
* changes:
  Indented the conversation action list
  Fixed some issues where conversation badges would not be visible
  Improved the animations of the conversation badges
  Important conversations now also transform into the shelf
  Adapted Shelf algorithm to also use conversation icons
2020-03-31 20:02:01 +00:00