Commit Graph

101506 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Robert Carr
e10ee3d2eb Introduce BLASTSyncEngine
Test: wmtests/TaskOrganizerTests, TaskOrganizerTests demo apps
Change-Id: I82c2e184e93782549bc4f78e0986a026d7ef8d03
2020-02-06 12:25:51 -08:00
TreeHugger Robot
b41e7e8fe4 Merge "Fix the isHashed value to true for all certificate keys." 2020-02-06 20:19:37 +00:00
Ilya Matyukhin
185efbaf22 Merge "Add support for fingerprint@2.2 and face@1.1" 2020-02-06 20:17:38 +00:00
TreeHugger Robot
90fbb634f4 Merge "Describe in which cases getLast* methods return -1/null" 2020-02-06 19:28:09 +00:00
Roshan Pius
0625fde194 Merge changes from topic "network_specifier_uid_packageName"
* changes:
  Wifi/WifiAware NetworkSpecifier: Stop storing uid/packageName
  NetworkRequest: Embed requestor uid & packageName
2020-02-06 19:08:51 +00:00
Ameer Armaly
a540e1eea9 Merge changes from topic "Four-finger Gestures"
* changes:
  Add four-finger gestures.
  Fix crash when a motion event doesn't include locations for all pointers.
2020-02-06 18:53:32 +00:00
Philip P. Moltmann
053dbad9fd Merge changes from topic "AppOpsFgBackgroundMode"
* changes:
  Package manager is not ready when reading app-ops state
  Use setUidMode when reading state
  Expose syntax for app-ops settings as test-api
  Callback startWatchingMode with the right op
  Force update uid state when pending uid state is applied
  Notify all packages is uid-mode is changed
2020-02-06 18:21:52 +00:00
Automerger Merge Worker
3ef03023e5 Merge "Add CompatChanges API." am: 54036c0525 am: 9f9657ee5e am: f1f1b1402a
Change-Id: Id473cf123c184eb4247f93ebc9d96bbb87f9f7a7
2020-02-06 18:13:41 +00:00
Omer Nebil Yaveroglu
e5a165f39d Fix the isHashed value to true for all certificate keys.
Bug: 148955753
Test: atest frameworks/base/core/tests/coretests/src/android/content/integrity
Change-Id: I7c19fa9a37a3ab94453e9520c14f964fdc952439
2020-02-06 18:05:28 +00:00
Tony Mak
2cfc5bb18b Fix an issue that it is impossible to have multiple active sessions
Root cause:
TCM caches SystemTC. TCM.createTCSession returns a wrapper of
the same SystemTC and it just updates the sessionID
(and some other session related stuff) of the shared system TC.
That means, if clients call createTCSession multiple times for multiple
active sessions, all of these session TCs have the same session ID
(the latest one) because they all point to the same SystemTC.

It has been an issue since P. But we don't really have code that creates
multiple active sessions before R. In R, we create a session per each
notification, and thus hit the bug.

Solution:
Don't cache SystemTC. SystemTC is just a thin wrapper that forwards calls
to TCMS anyway.

BUG: 149012454
Test: atest CtsTextClassifierService (Added a new test in ag/10260978.)
Test: Sanity tests: smart selection and smart replies are still working.

Change-Id: I71fe558b2f3d2c5d9eb0b6fc7f258fb4d8ad48d6
2020-02-06 17:58:58 +00:00
Automerger Merge Worker
f1f1b1402a Merge "Add CompatChanges API." am: 54036c0525 am: 9f9657ee5e
Change-Id: Ief0b05e44e55c562df4dd616ba9ffdc534463468
2020-02-06 17:55:28 +00:00
Alex Kershaw
fd3e83b265 Add missing annotation permission for UPDATE_APP_OP_STATS
Bug: 136249261
Bug: 140728653
Test: Manual
Change-Id: I4b3f9ecefb9764470f9d7ae30f64bb7ee10bbc78
2020-02-06 17:52:59 +00:00
Automerger Merge Worker
746ba5d891 Merge "More renames for API council" am: b03661f5d8 am: 02e64e352c am: 9522f9ff0f
Change-Id: I642777126bf77db09c8b64a8302145472272c9c6
2020-02-06 17:48:17 +00:00
Automerger Merge Worker
9f9657ee5e Merge "Add CompatChanges API." am: 54036c0525
Change-Id: Ieade8f2b33423bad4219ab2982b876b06e355e84
2020-02-06 17:43:00 +00:00
Automerger Merge Worker
9522f9ff0f Merge "More renames for API council" am: b03661f5d8 am: 02e64e352c
Change-Id: I83a0a98b18cffd92a8f2eed727b5fa277d89a5be
2020-02-06 17:37:36 +00:00
Andrei-Valentin Onea
54036c0525 Merge "Add CompatChanges API." 2020-02-06 17:31:15 +00:00
Automerger Merge Worker
02e64e352c Merge "More renames for API council" am: b03661f5d8
Change-Id: I1bd4db67106f8e885ca8449103af569ab100c361
2020-02-06 17:22:28 +00:00
Philip P. Moltmann
7c0524fc0c Describe in which cases getLast* methods return -1/null
Test: None
Fixes: 149015680
Change-Id: Ic7d0564ac3d5fc821854321913ec7e074a262aa1
2020-02-06 09:21:31 -08:00