Commit Graph

101526 Commits

Author SHA1 Message Date
TreeHugger Robot
a830364eb2 Merge "fix SoundTriggerModule java doc" 2020-02-07 23:45:45 +00:00
Dmitri Plotnikov
cf21292622 Merge "Prevents an NPE when content provider is slow to start" 2020-02-07 23:33:50 +00:00
Songchun Fan
4889c7a823 Merge "Incremental native lib extraction" 2020-02-07 23:32:00 +00:00
Yabin Huang
5b2fe96610 Merge "Fix View backward navigation bug" 2020-02-07 23:08:38 +00:00
Dmitri Plotnikov
140fc2e9c9 Prevents an NPE when content provider is slow to start
Also, extends the client-side timeout to match that
in ActivityManagerService.

Test: atest FrameworksCoreTests:android.content.ContentResolverTest
Fixes: 148987678
Change-Id: I1daf8625bd0306cc6f6f08c3268fa191d37bda7a
2020-02-07 13:58:06 -08:00
Jing Ji
c0324f3a1f Merge "Update ApplicationExitInfo per API Review" 2020-02-07 21:22:58 +00:00
TreeHugger Robot
27624275a7 Merge "Clarify WebResourceRequest.isForMainFrame docs." 2020-02-07 20:57:15 +00:00
Anna Trostanetski
35bbc9d4ba Merge "Introduce TRACE_TAG_APEX_MANAGER and add timing to getActiveApexInfos" 2020-02-07 19:56:02 +00:00
Songchun Fan
0f8b6fe950 Incremental native lib extraction
Basically we configure all the lib files inside Incremental Service,
e.g., create lib dirs, make lib files, extract original
lib file data from zip and then write data to the lib files on incfs.

Test: manual with incremental installation
BUG: b/136132412 b/133435829
Change-Id: I7544d2e78bcf3bdd76ce4c0766ec31ff13fd2011
2020-02-07 11:35:48 -08:00
Evan Rosky
a85b3f1828 Merge "Add hierarchy operations to container transaction" 2020-02-07 19:19:12 +00:00
TreeHugger Robot
7f6598257e Merge "Enable insets flag for IME" 2020-02-07 19:10:16 +00:00
TreeHugger Robot
cceb2c2e61 Merge "Send autofill assist structure data to content capture" 2020-02-07 18:41:58 +00:00
Mihir Patel
4770be2d60 Send autofill assist structure data to content capture
Test: manual
Change-Id: I23339a8f90dbb6c31f473e6163ba0866518cb0a4
Bug: 147232107
2020-02-07 10:40:15 -08:00
Adam Bookatz
688689eb58 Merge "Make UM.hasBaseUserRestriction @TestApi" 2020-02-07 18:04:51 +00:00
Fabian Kozynski
61cca06252 Merge "Change BOOLEAN_TILE to TOGGLEABLE_TILE" 2020-02-07 17:52:20 +00:00
Automerger Merge Worker
30c24af806 Merge "Fix typo in ConnectivityDiagnosticsManager constant." am: d222986acd am: 09d92456fa am: 836124db7e
Change-Id: I0677a6a31defcb6412f132dcbbfd54f02c82baf7
2020-02-07 17:37:44 +00:00
TreeHugger Robot
aab0c36259 Merge "Providing new accessibilityNode action" 2020-02-07 17:31:57 +00:00
Automerger Merge Worker
836124db7e Merge "Fix typo in ConnectivityDiagnosticsManager constant." am: d222986acd am: 09d92456fa
Change-Id: Iab752a848a8017fbfdc4517502d5a39d8201a682
2020-02-07 17:22:37 +00:00
Automerger Merge Worker
09d92456fa Merge "Fix typo in ConnectivityDiagnosticsManager constant." am: d222986acd
Change-Id: Icaae03ca1895de4012deed1c1b81b16fad4ba439
2020-02-07 17:08:20 +00:00
Cody Kesting
d222986acd Merge "Fix typo in ConnectivityDiagnosticsManager constant." 2020-02-07 16:57:19 +00:00
Tarandeep Singh
1f0b27532f Enable insets flag for IME
Test: atest CtsInputMethodTestCases WindowManagerSmokeTest
      CtsWindowManagerDeviceTestCases CtsInputMethodTestCases
      FrameworksCoreTests
Bug: 111084606
Change-Id: I34b17174cc57fdb1427749dc28664f6bb5b3abca
2020-02-07 08:46:06 -08:00
Fabian Kozynski
489ad0d446 Change BOOLEAN_TILE to TOGGLEABLE_TILE
Also changed internal SystemUI function names

Test: atest
Test: manual
Fixes: 147287512
Change-Id: I39ac6f48804dbec165927163dbc47fc5e7dc83d0
2020-02-07 10:30:45 -05:00
atrost
3f8b733354 Introduce TRACE_TAG_APEX_MANAGER and add timing to getActiveApexInfos
Timing for initialize cache path only. Currently ~3ms.
This will hopefully help catch regressions.

Bug: 148959827
Test: m, flash, boot, inspect logcat.
Change-Id: Ief83b8e1a6f0e58bca509527656c67b3465a4d19
2020-02-07 14:54:08 +00:00
JW Wang
76d19db2e4 Merge changes Ie95789c9,I3d800491,I31f6b981,Ia3a4116b,I7edd3cf7
* changes:
  Rewrite handling of failed sessions (2/n)
  Rewrite the broadcast receiver for ACTION_CANCEL_ENABLE_ROLLBACK (1/n)
  Remove #mNewRollbacks (10/n)
  Put rollbacks into #mRollbacks (9/n)
  Add a flag to facilitate merging 2 rollback collections (8/n)
2020-02-07 14:36:33 +00:00
Torne (Richard Coles)
a528189652 Clarify WebResourceRequest.isForMainFrame docs.
Make it more explicit that isForMainFrame() returns true only for the
actual main frame document, and not for any subresources, even if they
are subresources of the main frame.

Test: make ds-docs
Change-Id: I942cbe6a8f50d2f3af00b99b14a8503c8c4556de
2020-02-07 13:36:44 +00:00
TreeHugger Robot
9b0e5e6681 Merge "Use framework-tethering-stub instead of framework-tethering" 2020-02-07 11:32:23 +00:00
Charles Chen
848b6d4441 Merge "Fix that WindowContext token is always null" 2020-02-07 08:25:43 +00:00
JW Wang
70bdd97927 Put rollbacks into #mRollbacks (9/n)
Now we check Rollback#isNewRollback for rollbacks that were originally
in #mNewRollbacks.

for (Rollback newRollback : mNewRollbacks) {
  // Do something with newRollback...
}

will be replaced by:

for (Rollback newRollback : mRollbacks) {
  if (newRollback.isNewRollback()) {
    // Do something with newRollback...
  }
}

Since mRollbacks includes new rollbacks, be careful not to apply
operations not appropriate to new rollbacks when iterating over
mRollbacks. Luckily most of the code is future-proof that needs no
changes.

Note now #mNewRollbacks is always empty. We will remove it in the next
CL.

Bug: 147400979
Test: atest RollbackTest StagedRollbackTest
Change-Id: Ia3a4116b352228adc0b152d42c85920f375beb28
2020-02-07 14:29:52 +08:00
Automerger Merge Worker
6eb36aca5b Merge "NetworkPolicyManager: Add @SystemApi for mainlne module" am: c8b7cff7f4 am: 3ba215eefd
Change-Id: I5682ed5f580f762beb0bf552c44d73495077cad3
2020-02-07 06:26:06 +00:00
Automerger Merge Worker
3ba215eefd Merge "NetworkPolicyManager: Add @SystemApi for mainlne module" am: c8b7cff7f4
Change-Id: Iba93c5f26010f647c78aef359e907d5f3b40fde0
2020-02-07 06:01:53 +00:00
Aaron Huang
c8b7cff7f4 Merge "NetworkPolicyManager: Add @SystemApi for mainlne module" 2020-02-07 05:47:45 +00:00
Alex Buynytskyy
02975de36f Addressing commens in ag/10265340.
Test: comments only
Change-Id: Ia3f786e89614c5a184d4c567baaf98e99c2af21a
2020-02-06 20:44:27 -08:00
Chester Hsieh
c997463eb7 Merge "Allow test builds to optionally skip verification" 2020-02-07 04:33:54 +00:00
Evan Rosky
a8fde159c7 Add hierarchy operations to container transaction
Also add a way to query for child containers of a container.

Combined, these provide enough flexibility to re-arrange
containers to system-ui. For now, it is locked-down a bit so
it only provides children of TaskTiles and can only reparent
ActivityStacks. Eventually, this can be expanded for nested
tasks or display areas.

Bug: 133381284
Test: Added TaskTileTest#testHierarchyTransaction
Change-Id: Id0e89a4e4b9352d9392349c4e1fe7d69b4f9f212
2020-02-06 20:11:01 -08:00
TreeHugger Robot
f6bb512694 Merge "ApkSignatureVerifier refactor." 2020-02-07 03:13:15 +00:00
TreeHugger Robot
94a9f216a4 Merge "Incremental Delivery: Add device feature." 2020-02-07 02:56:57 +00:00
Joanne Chung
c3348eb824 Merge "Add missing tests for inline input part." 2020-02-07 02:38:41 +00:00
TreeHugger Robot
21d778f061 Merge changes I640f6470,Idca3ccc6
* changes:
  add java doc for SoundTriggerManager.Model
  fix naming discrepancy in SoundTrigger
2020-02-07 01:07:14 +00:00
Jacky Kao
76c7f54d15 Merge "Changing the return type of takeScreenshot() (2/n)" 2020-02-07 00:01:49 +00:00
Jacky Kao
a3419bab91 Providing new accessibilityNode action
Removed this constant variable, TextView.ACCESSIBILITY_ACTION_IME_ENTER,
and added more description for new accessibility action,
ACTION_IME_ENTER.

Bug: 139380257
Test: a11y CTS tests & unit tests
Change-Id: I929262aa0046640aafe36a2dc2a8896ee7cab9ff
2020-02-07 07:30:57 +08:00
Nicholas Ambur
3482290b82 fix SoundTriggerModule java doc
Bug: 148852573
Test: build and boot smoke test
Change-Id: I214cd58a640036fdf04bacd3a0d755e5b2f513bf
2020-02-06 15:29:29 -08:00
Yvonne Jiang
43361f713d Merge "Update secondary lock screen implementation to use the newly updated SurfaceControlViewHost API." 2020-02-06 23:02:49 +00:00
Alex Buynytskyy
07674063ef ApkSignatureVerifier refactor.
Unifying multiple code paths.

Test: atest PkgInstallSignatureVerificationTest
Bug: b/136132412 b/133435829
Change-Id: I26612ad944ba34b64599a4148b6528ede31f3d11
2020-02-06 14:58:31 -08:00
Chester Hsieh
750b5ed85c Allow test builds to optionally skip verification
Currently, every build a developer creates will be verified
against the Play Store verification system. For developers, this
is a completely useless step, takes up resources, and eats into
iteration time.

This CL disables verification for debug development builds that
are reinstalled over ADB. This keeps users who install OTA safe,
and lets devs avoid the cost of verification.

There is no reduction in safety for the end user as:
1) Verification can only be skipped when installing over ADB and
   the "-t" as well as the new "--disable-verification" flags are
   specified ("-t" isn't strictly necessary).
2) The user can already disable verification over ADB by simply
   setting a flag.

Test: atest PackageVerifierTest#testAdbSkipVerification
Bug: 138672462
Change-Id: Id0bef5126f2fb49a8e30fc235193636a1c2bab2e
2020-02-06 14:28:06 -08:00
Rob Carr
d40bc7afea Merge "Introduce BLASTSyncEngine" 2020-02-06 22:10:03 +00:00
Alex Buynytskyy
d8b25b838f Incremental Delivery: Add device feature.
Feature is present if ro.incremental.enable set to true.

Test: builds
Bug: b/136132412 b/133435829

Change-Id: I99ad307cbd3428e0b3964a369930658ee1c8ac0f
2020-02-06 14:05:55 -08:00
TreeHugger Robot
6cd4ee4ce6 Merge "add getters to SoundTrigger.ModelParamRange" 2020-02-06 21:43:42 +00:00
TreeHugger Robot
c5bd42701b Merge "Fix an issue that it is impossible to have multiple active sessions" 2020-02-06 21:31:08 +00:00
TreeHugger Robot
799de92e69 Merge "SurfaceView: Show SurfacePackage child when reparenting" 2020-02-06 20:34:09 +00:00
TreeHugger Robot
45a25406e5 Merge "Add missing annotation permission for UPDATE_APP_OP_STATS" 2020-02-06 20:30:38 +00:00