Commit Graph

418114 Commits

Author SHA1 Message Date
Adrian Roos
b106379310 GestureNav: Fix broken exclusion rect calculation for modal windows
Fixes an issue with non-fullscreen modal windows (such as dialogs), where the touch exclusion of
the window behind was still being applied, even though the window behind did not actually
receive the touches in the exclusion, because they would go to the modal window in front.

Bug: 135522625
Test: atest testCalculateSystemGestureExclusion_modal
Change-Id: Ia99f4f601e780715abaf966f6f297fd9d555fd0b
2019-07-04 17:44:07 +02:00
TreeHugger Robot
8ef731c232 Merge "WM: implicitly exclude all edges for pre-Q immersive sticky apps" into qt-dev 2019-07-04 14:35:42 +00:00
Adrian Roos
019a52b4ad WM: implicitly exclude all edges for pre-Q immersive sticky apps
Bug: 135522625
Test: atest DisplayContentTests
Change-Id: Ibe6c2c6d269b15c2e79ac0241b93e42c44a167c9
Exempt-From-Owner-Approval: TBR
2019-07-04 14:35:34 +00:00
Dmitry Dementyev
27fb629b66 [automerger skipped] Revert "Do not load xml metadata for unchanged packages in RegisteredServicesCache"
am: c0e4ee7332 -s ours
am skip reason: change_id I2f78f0dbbace212309b87f779efad020cf255196 with SHA1 40431ae1bc is in history

Change-Id: I2f6d0b75851879f84167c689802a98645d96d3c1
2019-07-03 21:15:01 -07:00
TreeHugger Robot
5540281a6d Merge "Change NVHM protection from crash to Log.wtf" into qt-dev 2019-07-04 01:28:08 +00:00
TreeHugger Robot
d1a84cb578 Merge "Media2: Make Javadoc consistent for recommending use of AndroidX" into qt-dev 2019-07-03 21:59:30 +00:00
Matt Pietal
914de104b3 Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev 2019-07-03 20:11:59 +00:00
TreeHugger Robot
fb4fab4fa3 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev 2019-07-03 19:08:42 +00:00
TreeHugger Robot
f6313c9dc7 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-07-03 18:51:56 +00:00
Ray Essick
4a0199a899 Revert "Preload sfplugin_ccodec for performance"
This reverts commit 30da74bda4.

Reason for revert: occasional audio race, losing volume control for device

Bug: 133186424
Bug: 135763139
Change-Id: I3aca2780dfcf80cfe0095af2a40496f3af0733cd
2019-07-03 18:48:16 +00:00
TreeHugger Robot
4712a0f4a0 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-07-03 17:45:39 +00:00
Matt Pietal
a310c1fa3a Resolver - 'Always' button broken for non VIEW cases
Users are incorrectly being directed to the settings app when
selecting 'Always', making them unable to actually open an app through
the resolver.

Bug: 132071949
Test: Steps are reported in b/136451610
Change-Id: I11775d7b0b780195f08273ad2b90b8ecd2ee1db4
2019-07-03 09:12:56 -04:00
TreeHugger Robot
ae80cf399a Merge "Avoid making post state to RESUMED for a PAUSING activity" into qt-dev 2019-07-03 06:20:07 +00:00
Jaewan Kim
db90afdb78 Media2: Make Javadoc consistent for recommending use of AndroidX
Bug: 136602530
Test: Build docs offline and checked manually.
Change-Id: I70df7b05a6749b9ba492ac03cd3b9179a7416b9c
2019-07-03 14:55:55 +09:00
Bill Yi
063586411d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id195d54ad8e39a06ee00a25ce3330ba42f8b0412
2019-07-02 22:17:00 -07:00
Bill Yi
bcd91b0227 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6733160ff966884bc25bbe16caa37515eb163921
2019-07-02 22:00:11 -07:00
Eugene Susla
0a98e4b693 Merge "Fix sms app changed broadcast" into qt-dev 2019-07-03 04:02:19 +00:00
Louis Chang
ea203cdbdf Avoid making post state to RESUMED for a PAUSING activity
Make sure the client post execution lifecycle state to RESUMED
only if the activity was RESUMED while delivering new intent.

Bug: 135715788
Test: making skype calls
Test: atest ActivityThreadTest

Change-Id: I1e3054e1d1611aecf6ddf6d482abf2cb3ebdf9a4
2019-07-03 09:44:12 +08:00
Dmitry Dementyev
660c234e9a Merge "Revert "Do not load xml metadata for unchanged packages in RegisteredServicesCache"" into qt-dev 2019-07-02 19:01:15 +00:00
Maciej Zenczykowski
2c74b2e5d8 Merge "Fix mobile data usage didn't get increased for xlat464 traffic" into qt-dev 2019-07-02 18:47:48 +00:00
Eugene Susla
0fa8049fe8 Fix sms app changed broadcast
Fixes: 136257475
Test: switch sms holder in settings, and ensure ceceived broadcasts for both
becoming and leaving the sms app status
Change-Id: I10dda3fd8ebd38ab12bdb8192ed4f3863f4238b8
2019-07-02 11:06:26 -07:00
TreeHugger Robot
bc058faaa3 Merge "Change quick setting min_num_tiles number and text to resources value." into qt-dev 2019-07-02 17:56:59 +00:00
Winson Chung
1abc45038b Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev 2019-07-02 17:37:34 +00:00
Ray Essick
878a6b2015 Merge "Preload sfplugin_ccodec for performance" into qt-dev 2019-07-02 17:10:33 +00:00
TreeHugger Robot
ebad9125c8 Merge "Set idmap2 binary uid and gid after forking" into qt-dev 2019-07-02 17:07:32 +00:00
Matt Pietal
ac1c8ddcc3 Merge "Sharesheet - Fix regression in direct share sorting" into qt-dev 2019-07-02 16:21:07 +00:00
junyulai
71dd51cefd Fix mobile data usage didn't get increased for xlat464 traffic
Interface stats on stacked interfaces is usually clatd. For
xt_qtaguid supported device, the stats is already accounted
against its final egress interface by the kernel.
Framework side does not need to handle stats on statcked
interface at all.

However, on devices that support BPF offload, xlat464
packets are seen by the iptables rules as arriving on stack
interface only. Thus, add stack interface into accounting is
needed.

Bug: 136193260
Test: 1. atest FrameworksNetTests
      2. atest android.app.usage.cts.NetworkUsageStatsTest
      3. manual test on ipv6-only wifi network

Merged-In: I8ebbefbe4df00e40f4896a17fa52c8438d41286e
Change-Id: I8ebbefbe4df00e40f4896a17fa52c8438d41286e
(cherry-pick from aosp/1009306)
(cherry picked from commit feb79bd0d7)
2019-07-02 09:57:45 +00:00
Dmitry Dementyev
40431ae1bc Revert "Do not load xml metadata for unchanged packages in RegisteredServicesCache"
This reverts commit 8094880025.

Reason for revert: changed services order
Test: manual
Bug: 136261465

Change-Id: I2f78f0dbbace212309b87f779efad020cf255196
2019-07-02 03:59:17 +00:00
wilsonshih
380626cf54 Prevent system server crash while start activity failed.
NPE at PendingActivityLaunch#sendErrorResult, callerApp can be null.

Bug: 135648362
Test: atest ActivityStarterTests
Change-Id: I7949dc1effcc171834f6bc3ff0333f9090b58480
Merged-In: I7949dc1effcc171834f6bc3ff0333f9090b58480
(cherry picked from commit 0c0fb22eab)
2019-07-02 03:56:04 +00:00
Winson Chung
ffc70a68c0 Check that alpha is zero instead of transparent color to decide scrim
Bug: 136370711
Test: atest EnsureBarContrastTest
Change-Id: I45c4a81d5e7fe6f99615efca528a623f3830f16a
2019-07-01 22:46:07 +00:00
Ryan Mitchell
a8f13667c2 Set idmap2 binary uid and gid after forking
The file permissions of the idmap2 binary are currently not set
correctly when the system forks and execs the idmap binary during
zygote. This chnages sets the uid and gid after forking to the same uid
and gid of the parent process.

Bug: 134897503
Test: device boots and generates idmap
Change-Id: Ic7fac49e5982f3c47713603b905c3a6be117a05b
2019-07-01 21:19:21 +00:00
TreeHugger Robot
bce828f157 Merge "Delay possible re-entrant call to updateNotificationViews()" into qt-dev 2019-07-01 20:53:27 +00:00
Matt Pietal
bdbeea28d2 Sharesheet - Fix regression in direct share sorting
When mutiple apps share shortcuts and are given to the UI to display,
the ranked order from both the App Prediction Service and the legacy
ranker is inadvertently being discarded. This means that targets the
user almost never uses will now be shown as high priority, causing
confusion and pretty horrible user experience.

Address the issue by adding in a score for shortcuts, based on the
index in the ordered list.

Bug: 136201796
Test: atest ChooserActivityTest and manually compare results from
      AppPredictionService to verify order is consistent
Change-Id: I1fe2c2d2e13195f6f6c3a5818fade4844c15488e
2019-07-01 16:52:52 -04:00
Dmitry Dementyev
c0e4ee7332 Revert "Do not load xml metadata for unchanged packages in RegisteredServicesCache"
This reverts commit 8094880025.

Reason for revert: changed services order
Test: manual
Bug: 136261465

Change-Id: I2f78f0dbbace212309b87f779efad020cf255196
Merged-In: I2f78f0dbbace212309b87f779efad020cf255196
2019-07-01 20:11:36 +00:00
Chavi Weingarten
7efce5e143 Merge "Call syncInputWindows after calling transferTouchFocus" into qt-dev 2019-07-01 18:20:53 +00:00
TreeHugger Robot
5924e5eee9 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-07-01 00:01:21 +00:00
Bill Yi
72291c890b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2636f8a8fb5002a464776676a7b5fd21eafd6189
2019-06-30 10:55:16 -07:00
TreeHugger Robot
5de09b24e5 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-30 05:41:31 +00:00
Bill Yi
a7f5fbcc2c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2bc537499432a02f6a9ad5a41a1d29efd49abc3a
2019-06-29 20:11:40 -07:00
TreeHugger Robot
cfa47f6183 Merge "Call ActivityManagerService.enterSafeMode" into qt-dev 2019-06-30 02:33:16 +00:00
TreeHugger Robot
5e0da71b78 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-29 19:02:43 +00:00
TreeHugger Robot
eea916967a Merge "Fix delay_save and multiple required fields." into qt-dev 2019-06-29 18:11:01 +00:00
Adam He
0df08228be Fix delay_save and multiple required fields.
Fixes: 136120151
Test: atest android.autofillservice.cts.SimpleSaveActivityTest#testDelayedSave
Change-Id: Ie0fd8ef0fbb8457fafc7cb5bed30813abaa0b893

Exempt-From-Owner-Approval: Felipe is no longer with the team
2019-06-29 17:21:45 +00:00
Bill Yi
ee6fa818a4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iaff0280a44b8b0facfffb478fbe771a66dd2a06d
2019-06-29 07:33:22 -07:00
TreeHugger Robot
4c46902338 Merge "Restore some greylist entries." into qt-dev 2019-06-29 06:12:17 +00:00
Mehdi Alizadeh
ffdf5b5639 Merge "Persists share targets after reading from Apps xml resource" into qt-dev 2019-06-29 04:47:23 +00:00
TreeHugger Robot
16128cc7a2 Merge "Disable historical appops" into qt-dev 2019-06-29 03:28:31 +00:00
TreeHugger Robot
40c5864445 Merge "[DO NOT MERGE] Guard against launching permission backup/restore twice per request" into qt-dev 2019-06-29 02:56:35 +00:00
TreeHugger Robot
bf4eee2181 Merge "Reland: Clear transitions for app windows display change." into qt-dev 2019-06-29 01:49:22 +00:00
Bryan Ferris
8b98bdc834 [automerger skipped] Merge "[RESTRICT AUTOMERGE] Correct argument order in permission check" into pi-dev
am: b2964b2956 -s ours
am skip reason: subject contains skip directive

Change-Id: Ifd5eb4109d1eca28aee7004b0625f51b1c9d203b
2019-06-28 17:39:07 -07:00