Commit Graph

458236 Commits

Author SHA1 Message Date
TreeHugger Robot
53d40324e2 Merge "Move blocking surface operations out of lock" 2020-01-06 05:27:39 +00:00
TreeHugger Robot
94e220d8d8 Merge "Update the ensure activities visible condition for activity home stack." 2020-01-06 04:17:19 +00:00
TreeHugger Robot
0ddb292c5c Merge "Change "event" to "motionevent" in input command usage" 2020-01-06 04:05:22 +00:00
JW Wang
9e87abdcda Merge changes from topic "bug134652027_delete_rollback"
* changes:
  Remove the success parameter from #completeEnableRollback (3/n)
  Delete rollbacks immediately when any of child sessions failed (2/n)
  Enable a new rollback only when all child sessions succeeded (1/n)
2020-01-06 02:19:32 +00:00
JW Wang
7387b0976d Merge "Rewrite some code using VersionedPackage#equals (1/n)" 2020-01-06 02:15:47 +00:00
TreeHugger Robot
aa864ecafd Merge "Remove flaky annotation of ActivityThreadClientTest" 2020-01-06 01:30:22 +00:00
Hall Liu
8106f9f511 Merge "Create new APIs for overriding APNs" 2020-01-05 21:55:41 +00:00
Automerger Merge Worker
8560ba6d74 [automerger skipped] Import translations. DO NOT MERGE am: db92bf07a2 -s ours am: 051913a8cd -s ours
am skip reason: subject contains skip directive

Change-Id: I5cd4494e771554cc7a376981851e99628e775ecc
2020-01-05 16:40:43 +00:00
TreeHugger Robot
594320634a Merge "Import translations. DO NOT MERGE" 2020-01-05 16:37:47 +00:00
Automerger Merge Worker
051913a8cd [automerger skipped] Import translations. DO NOT MERGE am: db92bf07a2 -s ours
am skip reason: subject contains skip directive

Change-Id: I14ccbd87c33a9e5e8cb6ab05306f6b3ef03b7d4e
2020-01-05 16:25:22 +00:00
TreeHugger Robot
45e30792da Merge "Import translations. DO NOT MERGE" 2020-01-05 16:17:30 +00:00
Bill Yi
063bbc4cfd Import translations. DO NOT MERGE
Change-Id: Ie024deb15f6917fab6eb3f49c3545be4c05fb58e
Auto-generated-cl: translation import
2020-01-05 02:01:42 -08:00
Bill Yi
db92bf07a2 Import translations. DO NOT MERGE
Change-Id: I7edb50b15c89ca55770d4be0dcca7a066856ada7
Auto-generated-cl: translation import
2020-01-04 23:39:30 -08:00
Bill Yi
18b931c68b Import translations. DO NOT MERGE
Change-Id: I0ad86e7105fcf2a96cfb081a3ce7be0d69c4a199
Auto-generated-cl: translation import
2020-01-04 23:07:09 -08:00
Raff Tsai
f7f6200c6a Merge "Fix battery saver slider is not displaying" 2020-01-04 22:15:47 +00:00
Dave Mankoff
c0e6e25c13 Merge "Disable falsing when resting on a Dock." 2020-01-04 16:59:01 +00:00
Joanne Chung
0041b17113 Merge "Ensure OVERTYPE event has an entity type." 2020-01-04 05:46:11 +00:00
Wale Ogunwale
13e8c70032 Merge "Pre-cleanup before unifying Task and Stack (82/n)" 2020-01-04 04:59:15 +00:00
Philip P. Moltmann
54354063a9 Merge "Collect AsyncNotedAppOp in same call as noteOp" 2020-01-04 03:24:00 +00:00
TreeHugger Robot
59ec070e88 Merge "Classify PINNED as a transient windowing mode." 2020-01-04 02:13:39 +00:00
Xiangyu/Malcolm Chen
a4e58b7e19 Merge changes from topic "146593004"
* changes:
  Use proper Telephony API to supply sim pin and puk.
  Hook supplyPin and supplyPuk to proper impl with subId specified
2020-01-04 02:07:01 +00:00
TreeHugger Robot
24a4c411db Merge "Added attributes for IME and AutofillService to indicate they support inline suggestions." 2020-01-04 01:18:46 +00:00
Ned Burns
31ad79e7be Merge changes I4b5dd1a6,I47cb9c8b,Iad7ed1af,I44c0b13c
* changes:
  Add GroupCoalescer to new pipeline
  Remove onBeginDispatchToListeners from CollectionReadyForBuildListener
  Rename NotifServiceListener -> NotificationHandler
  Extract NoManSimulator to top level
2020-01-04 01:17:30 +00:00
Hall Liu
efc4962eba Create new APIs for overriding APNs
Create new APIs in TelephonyManager for DevicePolicyManager to add
override APNs, and use them in DevicePolicyManagerService instead of
directly accessing the APN database.

Bug: 146834818
Test: cts-tradefed run cts --module DevicePolicyManager --test
com.android.cts.devicepolicy.DeviceOwnerTest#testOverrideApn
Test: atest TelephonyManagerTest

Change-Id: I6c6214424169c05fd452db71a8c6593f8473b9d4
2020-01-03 17:09:11 -08:00
Ben Lin
3240c2c5ed Classify PINNED as a transient windowing mode.
Since we now perform setWindowingMode for PIP (even for the case of
re-parenting, we move the activities to a new stack first and then set
its windowing mode to PINNED), we can now add this condition.

Bug: 114842032
Bug: 144508210
Test: Try to do repro steps on b/144508210, no longer happens.
Change-Id: I0e491c52273e9d5edef05b1745c5fbffd9361ac0
2020-01-03 16:57:20 -08:00
Ameer Armaly
da8c253b3b Merge "Fix NullPointerException on double tap on hold." 2020-01-04 00:42:34 +00:00
TreeHugger Robot
431db93d36 Merge "Create permission for managing one-time permission sessions" 2020-01-04 00:15:06 +00:00
TreeHugger Robot
ebab3d10cb Merge "GpuStats: track whether the app creates ES1 context" 2020-01-03 23:51:00 +00:00
David Su
bc9dc45871 Merge "Wifi: Add java_api_finder plugin" 2020-01-03 23:50:49 +00:00
Xiangyu/Malcolm Chen
fe5de982c7 Merge "[Telephony Mainline] Make newFromBundle and fillInNotifierBundle System API" 2020-01-03 23:22:55 +00:00
David Su
ae86a373c3 Wifi: Add java_api_finder plugin
Add java_api_finder to find APIs that
framework-wifi depends on.

Bug: 146163587
Test: none
Change-Id: I57a101780490a93b358a467590997118b1ef99d0
2020-01-03 14:26:11 -08:00
Meng Wang
b3b8a1f793 Merge "SubscriptionPlan: remove getNetworkTypesBitMask" 2020-01-03 22:20:28 +00:00
Adam He
7bc8f60377 Added attributes for IME and AutofillService to indicate they support
inline suggestions.

Fixes: 146452946
Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodInfoTest
Change-Id: I709b16d3f12c693bc670600bdcb9125630eb9b8e
2020-01-03 14:14:17 -08:00
Ned Burns
a944ea3e64 Add GroupCoalescer to new pipeline
Adds the GroupCoalescer, which attempts to make posting notification
groups an atomic action. Currently, notif groups are posted in pieces,
with one post per child or summary. As a result, downstream code can't
tell whether a group is currently complete or whether more stuff is
coming down the line. This complicates a lot of logic, especially to do
with heads-upping.

The GroupCoalescer sits between the NotificationListener and the
NotifCollection and controls the flow of notification events between the
two. As a result, the full pipeline is now:

NotificationListener -> GroupCoalescer -> NotifCollection ->
NotifListBuilderImpl

Most events pass through the GroupCoalescer unhindered, but any event
that involves posting a grouped notification is temporarily delayed
within the coalescer to see if any other similar events occur. When the
delay times out, all delayed events for that group are posted to the
NotifCollection in a batch.

It's dangerous to reorder or delay events from the NotificationListener
for too long, so any event that would further modify the group, such as
updating or removing one of the delayed notifications, causes the batch
to be immediately emitted, followed by the modifying event.

Test: atest SystemUITests
Change-Id: I4b5dd1a6acb3a7704b2e199a5ed42fe855ab74cb
2020-01-03 17:12:59 -05:00
TreeHugger Robot
950e55d4f2 Merge "Add server side implementation for inline augmented autofill request." 2020-01-03 22:12:22 +00:00
Ned Burns
b175ed9460 Remove onBeginDispatchToListeners from CollectionReadyForBuildListener
I honestly can't remember why we needed this in the first place. But it
also conflicts with a few upcoming concepts:

- Notification batching (we might get multiple dispatchToListeners calls
before we get a single onBuildList call)
- Update debouncing (same issue)

So we're just going to remove it until we come up with a reason to want
it.

Test: atest SystemUITests
Change-Id: I47cb9c8b037af9daba64e1f59b20beddf138cce4
2020-01-03 16:58:36 -05:00
Ned Burns
e6855d6e9f Rename NotifServiceListener -> NotificationHandler
Just humor me here.

Test: atest
Change-Id: Iad7ed1af4cb2dae0880c0eb5e0e5195a59f9c16b
2020-01-03 16:58:30 -05:00
Ned Burns
d7bf792d73 Extract NoManSimulator to top level
So it can be used by other tests (see following CLs)

Also adds some more methods to SbnBuilder to modify the underling
Notification.

Test: atest
Change-Id: I44c0b13ceabd30d633848a68074c2a9b31427d56
2020-01-03 16:50:02 -05:00
Evan Severson
43e17e0369 Create permission for managing one-time permission sessions
Test: Manual
Bug: 136219229
Change-Id: I6870c7782f2dd51c655eea37bcb2487e5e29dfff
2020-01-03 13:49:33 -08:00
TreeHugger Robot
de12cc1af0 Merge "Enable clang-format for core/jni" 2020-01-03 21:43:59 +00:00
TreeHugger Robot
a812432da3 Merge "Remove obsolete comment from AppOpManager" 2020-01-03 20:49:33 +00:00
Philip P. Moltmann
da554e4de0 Collect AsyncNotedAppOp in same call as noteOp
This reduces the overhead of collecting noted app-ops to the same amount
of binder calls as if we would not have the feature

Before (conceptionally):
---------------------------------
mode = service.noteOp()
if (mode == allowed && shouldCollectAsyncOp) {
   fixup(message)
   service.noteAsyncOp()
}
----------------------------------

After (conceptionally):
----------------------------------
if (shouldCollectAsyncOp) {
   fixup(message)
}
mode = service.noteOp(shouldCollectAsyncOp, message)
----------------------------------

Bug: 136505050
Test: atest CtsAppOpsTestCases
Change-Id: If1b535a7c4b0f431f251c5d06cdf496c34920e23
2020-01-03 12:37:23 -08:00
Philip P. Moltmann
a574814474 Merge changes from topic "appOpFeatureId"
* changes:
  Restrict the number of features or size of ids.
  Use Pools for noteOp related data objects
  Allow apps to define featureIds in the manifest
2020-01-03 20:31:01 +00:00
Dave Mankoff
9febfeb097 Disable falsing when resting on a Dock.
Fix typo: Classifer -> Classifier.

Use Executor instead of Handler in falsing related code.

Show a dump of BrightLingFalsing related information.

Bug: 139785197
Test: atest SystemUITests && manual.
Change-Id: I3be68cb9f27ccfb5a686947cc85aae74f21f099c
2020-01-03 15:21:04 -05:00
TreeHugger Robot
789381b895 Merge "Import translations. DO NOT MERGE" 2020-01-03 19:46:49 +00:00
shafik
fc2130239d Remove obsolete comment from AppOpManager
Test: build
Change-Id: I6222c5f21b45adec10fbbf3b81030769424a8931
2020-01-03 19:40:43 +00:00
TreeHugger Robot
34fbbe3be2 Merge "Import translations. DO NOT MERGE" 2020-01-03 19:40:05 +00:00
Feng Cao
5bf0d2bc5e Add server side implementation for inline augmented autofill request.
Test: manual
Bug: 146453195

Change-Id: Id9c3e16cd5b05ba1c87eb8cdb4a95f2f79bfd77b
2020-01-03 11:28:21 -08:00
Automerger Merge Worker
c88b9ba9ed [automerger skipped] Merge "Removed LTE_CA from Annotations" am: 8ab4812386 am: 8288b90353 am: 55df86c362 -s ours
am skip reason: Change-Id I2d6ad7621560ef73b10d6eb861c44700b27a2ea6 with SHA-1 809d36111f is in history

Change-Id: I9b6ee11e403d062b50ea9001c9e93bae886b380f
2020-01-03 19:24:28 +00:00
Automerger Merge Worker
55df86c362 Merge "Removed LTE_CA from Annotations" am: 8ab4812386 am: 8288b90353
Change-Id: I25f4bb36d55d20f8b4d99fecfa238bdd60bc0d44
2020-01-03 19:11:22 +00:00