OSDN Git Service
TreeHugger Robot [Tue, 9 Jul 2019 17:25:49 +0000 (17:25 +0000)]
Merge "Update docs for UID_STATE" into qt-dev
Svet Ganov [Mon, 8 Jul 2019 23:40:42 +0000 (16:40 -0700)]
Specify the duration time base
Test: N/A
Bug:
128316830
Change-Id: Idd8f1aaf1a8e0013c01fdf4d668f9d5e81101559
Svet Ganov [Mon, 8 Jul 2019 23:30:45 +0000 (16:30 -0700)]
Update docs for UID_STATE
Test: N/A
Bug:
128919932
Change-Id: Ibac690db3b58293082f762800bbbff0f832a16b2
Philip P. Moltmann [Mon, 8 Jul 2019 19:11:58 +0000 (19:11 +0000)]
Merge "Do not trigger revoke-perm callbacks if no change" into qt-dev
TreeHugger Robot [Mon, 8 Jul 2019 08:02:33 +0000 (08:02 +0000)]
Merge "GestureExclusion: Fix restriction priority" into qt-dev
TreeHugger Robot [Sat, 6 Jul 2019 01:26:47 +0000 (01:26 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Fri, 5 Jul 2019 09:03:54 +0000 (02:03 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I634b80fa18b8f14a90e5494933bf9b49a4c3f68f
Adrian Roos [Wed, 3 Jul 2019 13:35:07 +0000 (15:35 +0200)]
GestureExclusion: Fix restriction priority
Bottom restrictions should be applied first.
Bug:
135522625
Test: adb shell setprop debug.pointerlocation.showexclusion true; adb shell stop; adb shell start; open app excluding entire edge, verify bottom part is applied.
Change-Id: Ifc2bc64b1ce3132f198e23ae8e271380acf0c5a1
Adrian Roos [Fri, 28 Jun 2019 10:10:51 +0000 (12:10 +0200)]
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
TreeHugger Robot [Thu, 4 Jul 2019 14:35:42 +0000 (14:35 +0000)]
Merge "WM: implicitly exclude all edges for pre-Q immersive sticky apps" into qt-dev
Adrian Roos [Tue, 2 Jul 2019 14:47:44 +0000 (16:47 +0200)]
WM: implicitly exclude all edges for pre-Q immersive sticky apps
Bug:
135522625
Test: atest DisplayContentTests
Change-Id: Ibe6c2c6d269b15c2e79ac0241b93e42c44a167c9
Exempt-From-Owner-Approval: TBR
Dmitry Dementyev [Thu, 4 Jul 2019 04:15:01 +0000 (21:15 -0700)]
[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
TreeHugger Robot [Thu, 4 Jul 2019 01:28:08 +0000 (01:28 +0000)]
Merge "Change NVHM protection from crash to Log.wtf" into qt-dev
Philip P. Moltmann [Wed, 3 Jul 2019 22:44:00 +0000 (15:44 -0700)]
Do not trigger revoke-perm callbacks if no change
Revoking a permission might e.g. kill the the app. If a permission gets
revoked that was never granted there was no change, hence no need to call
the callbacks and also no need to kill the app.
Test: "pm clear" two times in a row. The second one did trigger a kill
before, not anymore.
Bug:
133830856
Change-Id: I357f2d939520ac78ef82ecf4feb7936455950fc4
TreeHugger Robot [Wed, 3 Jul 2019 21:59:30 +0000 (21:59 +0000)]
Merge "Media2: Make Javadoc consistent for recommending use of AndroidX" into qt-dev
Matt Pietal [Wed, 3 Jul 2019 20:11:59 +0000 (20:11 +0000)]
Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev
TreeHugger Robot [Wed, 3 Jul 2019 19:08:42 +0000 (19:08 +0000)]
Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev
TreeHugger Robot [Wed, 3 Jul 2019 18:51:56 +0000 (18:51 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Ray Essick [Wed, 3 Jul 2019 16:42:40 +0000 (16:42 +0000)]
Revert "Preload sfplugin_ccodec for performance"
This reverts commit
30da74bda4106515c18147edf004bbe021d0d27e.
Reason for revert: occasional audio race, losing volume control for device
Bug:
133186424
Bug:
135763139
Change-Id: I3aca2780dfcf80cfe0095af2a40496f3af0733cd
TreeHugger Robot [Wed, 3 Jul 2019 17:45:39 +0000 (17:45 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Matt Pietal [Wed, 3 Jul 2019 13:12:56 +0000 (09:12 -0400)]
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
TreeHugger Robot [Wed, 3 Jul 2019 06:20:07 +0000 (06:20 +0000)]
Merge "Avoid making post state to RESUMED for a PAUSING activity" into qt-dev
Jaewan Kim [Wed, 3 Jul 2019 05:55:55 +0000 (14:55 +0900)]
Media2: Make Javadoc consistent for recommending use of AndroidX
Bug:
136602530
Test: Build docs offline and checked manually.
Change-Id: I70df7b05a6749b9ba492ac03cd3b9179a7416b9c
Bill Yi [Wed, 3 Jul 2019 05:17:00 +0000 (22:17 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Id195d54ad8e39a06ee00a25ce3330ba42f8b0412
Bill Yi [Wed, 3 Jul 2019 05:00:11 +0000 (22:00 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I6733160ff966884bc25bbe16caa37515eb163921
Eugene Susla [Wed, 3 Jul 2019 04:02:19 +0000 (04:02 +0000)]
Merge "Fix sms app changed broadcast" into qt-dev
Louis Chang [Mon, 1 Jul 2019 04:39:31 +0000 (12:39 +0800)]
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
Dmitry Dementyev [Tue, 2 Jul 2019 19:01:15 +0000 (19:01 +0000)]
Merge "Revert "Do not load xml metadata for unchanged packages in RegisteredServicesCache"" into qt-dev
Maciej Zenczykowski [Tue, 2 Jul 2019 18:47:48 +0000 (18:47 +0000)]
Merge "Fix mobile data usage didn't get increased for xlat464 traffic" into qt-dev
Eugene Susla [Mon, 1 Jul 2019 18:06:06 +0000 (11:06 -0700)]
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
TreeHugger Robot [Tue, 2 Jul 2019 17:56:59 +0000 (17:56 +0000)]
Merge "Change quick setting min_num_tiles number and text to resources value." into qt-dev
Winson Chung [Tue, 2 Jul 2019 17:37:34 +0000 (17:37 +0000)]
Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev
Ray Essick [Tue, 2 Jul 2019 17:10:33 +0000 (17:10 +0000)]
Merge "Preload sfplugin_ccodec for performance" into qt-dev
TreeHugger Robot [Tue, 2 Jul 2019 17:07:32 +0000 (17:07 +0000)]
Merge "Set idmap2 binary uid and gid after forking" into qt-dev
Matt Pietal [Tue, 2 Jul 2019 16:21:07 +0000 (16:21 +0000)]
Merge "Sharesheet - Fix regression in direct share sorting" into qt-dev
junyulai [Fri, 28 Jun 2019 08:47:49 +0000 (16:47 +0800)]
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
feb79bd0d7c5ecc7ac5ba9f54ed2d51ee9fd7e74)
Dmitry Dementyev [Mon, 1 Jul 2019 17:11:34 +0000 (10:11 -0700)]
Revert "Do not load xml metadata for unchanged packages in RegisteredServicesCache"
This reverts commit
8094880025d0680ec4cf586929d85b9050d4e9d6.
Reason for revert: changed services order
Test: manual
Bug:
136261465
Change-Id: I2f78f0dbbace212309b87f779efad020cf255196
wilsonshih [Fri, 21 Jun 2019 08:15:08 +0000 (16:15 +0800)]
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
0c0fb22eabf8bb654dfd93ff1b0ef86afbb76e14)
Winson Chung [Mon, 1 Jul 2019 22:32:43 +0000 (15:32 -0700)]
Check that alpha is zero instead of transparent color to decide scrim
Bug:
136370711
Test: atest EnsureBarContrastTest
Change-Id: I45c4a81d5e7fe6f99615efca528a623f3830f16a
Ryan Mitchell [Wed, 26 Jun 2019 22:39:52 +0000 (15:39 -0700)]
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
TreeHugger Robot [Mon, 1 Jul 2019 20:53:27 +0000 (20:53 +0000)]
Merge "Delay possible re-entrant call to updateNotificationViews()" into qt-dev
Matt Pietal [Mon, 1 Jul 2019 17:06:21 +0000 (13:06 -0400)]
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
Dmitry Dementyev [Mon, 1 Jul 2019 16:41:19 +0000 (16:41 +0000)]
Revert "Do not load xml metadata for unchanged packages in RegisteredServicesCache"
This reverts commit
8094880025d0680ec4cf586929d85b9050d4e9d6.
Reason for revert: changed services order
Test: manual
Bug:
136261465
Change-Id: I2f78f0dbbace212309b87f779efad020cf255196
Merged-In: I2f78f0dbbace212309b87f779efad020cf255196
Chavi Weingarten [Mon, 1 Jul 2019 18:20:53 +0000 (18:20 +0000)]
Merge "Call syncInputWindows after calling transferTouchFocus" into qt-dev
TreeHugger Robot [Mon, 1 Jul 2019 00:01:21 +0000 (00:01 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Sun, 30 Jun 2019 17:55:16 +0000 (10:55 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I2636f8a8fb5002a464776676a7b5fd21eafd6189
TreeHugger Robot [Sun, 30 Jun 2019 05:41:31 +0000 (05:41 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Sun, 30 Jun 2019 03:11:40 +0000 (20:11 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I2bc537499432a02f6a9ad5a41a1d29efd49abc3a
TreeHugger Robot [Sun, 30 Jun 2019 02:33:16 +0000 (02:33 +0000)]
Merge "Call ActivityManagerService.enterSafeMode" into qt-dev
TreeHugger Robot [Sat, 29 Jun 2019 19:02:43 +0000 (19:02 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 29 Jun 2019 18:11:01 +0000 (18:11 +0000)]
Merge "Fix delay_save and multiple required fields." into qt-dev
Adam He [Fri, 28 Jun 2019 19:40:44 +0000 (12:40 -0700)]
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
Bill Yi [Sat, 29 Jun 2019 14:33:22 +0000 (07:33 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Iaff0280a44b8b0facfffb478fbe771a66dd2a06d
TreeHugger Robot [Sat, 29 Jun 2019 06:12:17 +0000 (06:12 +0000)]
Merge "Restore some greylist entries." into qt-dev
Mehdi Alizadeh [Sat, 29 Jun 2019 04:47:23 +0000 (04:47 +0000)]
Merge "Persists share targets after reading from Apps xml resource" into qt-dev
TreeHugger Robot [Sat, 29 Jun 2019 03:28:31 +0000 (03:28 +0000)]
Merge "Disable historical appops" into qt-dev
TreeHugger Robot [Sat, 29 Jun 2019 02:56:35 +0000 (02:56 +0000)]
Merge "[DO NOT MERGE] Guard against launching permission backup/restore twice per request" into qt-dev
TreeHugger Robot [Sat, 29 Jun 2019 01:49:22 +0000 (01:49 +0000)]
Merge "Reland: Clear transitions for app windows display change." into qt-dev
Bryan Ferris [Sat, 29 Jun 2019 00:39:07 +0000 (17:39 -0700)]
[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
Eugene Susla [Wed, 26 Jun 2019 22:47:44 +0000 (15:47 -0700)]
[DO NOT MERGE] Guard against launching permission backup/restore twice per request
It looks like there is some case where AbstractRemoteService would #run the
same PendingRequest the second time which violates AsyncTask assumption.
Fixes:
135986503
Test: atest android.permission.cts.PermissionControllerTest
Change-Id: I2d072714ee0fad3c365ff7eb191d690056c0931a
Bryan Ferris [Fri, 28 Jun 2019 23:59:16 +0000 (23:59 +0000)]
Merge "[RESTRICT AUTOMERGE] Correct argument order in permission check" into pi-dev
TreeHugger Robot [Fri, 28 Jun 2019 23:54:09 +0000 (23:54 +0000)]
Merge "Camera: Clarify manual capture behavior for logical camera" into qt-dev
chaviw [Fri, 28 Jun 2019 22:04:32 +0000 (15:04 -0700)]
Call syncInputWindows after calling transferTouchFocus
Since transferTouchFocus is invoked through SurfaceFlinger in a
transaction, it may not send the request to InputDispatcher until after
the input channel is removed. This was happening when the window was
getting removed right after the drag was started, causing the
transferTouchFocus to fail.
By calling syncInputWindows, it ensures that the transferTouchFocus is
sent to InputDispatcher before the channel could be destroyed.
Fixes:
133472746
Test: Steps in bug
Change-Id: I01d5e18a3fdddd8a1cc571e5df8101eec368838f
TreeHugger Robot [Fri, 28 Jun 2019 20:01:13 +0000 (20:01 +0000)]
Merge "Restore some greylist entries." into qt-dev
Patrick Baumann [Fri, 28 Jun 2019 17:28:22 +0000 (10:28 -0700)]
Call ActivityManagerService.enterSafeMode
This fixes the accidental removal (change ID
Ibe849f56f5fe8af1415dc6c85b484d0edca518ec)
of a call to ActivityManagerService.enterSafeMode, ensuring that
when the rest of the device is in safe mode, ActivityManagerService
and PackageManagerService are made aware of it and properly filter
app launches.
Fixes:
129781631
Test: manual; safe mode correctly blocks 3p apps
Change-Id: Ie2caf6d2fd74b241927a245393fb31658201962f
Mehdi Alizadeh [Fri, 28 Jun 2019 01:06:15 +0000 (18:06 -0700)]
Persists share targets after reading from Apps xml resource
Bug:
136206375
Test: atest com.android.server.pm.ShortcutManagerTest1 \
com.android.server.pm.ShortcutManagerTest2 \
com.android.server.pm.ShortcutManagerTest3 \
com.android.server.pm.ShortcutManagerTest4 \
com.android.server.pm.ShortcutManagerTest5 \
com.android.server.pm.ShortcutManagerTest6 \
com.android.server.pm.ShortcutManagerTest7 \
com.android.server.pm.ShortcutManagerTest8 \
com.android.server.pm.ShortcutManagerTest9 \
com.android.server.pm.ShortcutManagerTest10
atest CtsShortcutHostTestCases
atest CtsShortcutManagerTestCases
Change-Id: I0c8b41453727f821f6e5cbc05d7fefd14dc646fc
Wale Ogunwale [Fri, 28 Jun 2019 15:19:25 +0000 (15:19 +0000)]
Reland: Clear transitions for app windows display change.
This prevents unwanted animations from running for windows on the new
display that are no longer relevant.
Also,
- Transfer the opening app token transition to the new display so that
it can be eventually made visible on that display
- Clean-up TODO relating to moving VR activity to main display, so that
the right states are set.
Bug:
128449959
Test: VrDisplayTests
Test: manual - launch activity with options moving between virtual and
default display, atest WmTests
Change-Id: I285c6742839d38e76322621b9c2a1d7f313cd6f8
Andrew Sapperstein [Fri, 28 Jun 2019 16:56:04 +0000 (16:56 +0000)]
Merge "Allow granting URI permissions to com.android.settings.module_licenses." into qt-dev
Ned Burns [Fri, 28 Jun 2019 16:54:25 +0000 (12:54 -0400)]
Change NVHM protection from crash to Log.wtf
Bug:
135018709
Test: manual, atest
Change-Id: Ib0520ad581aeb653b53e84d8dda6e471b702df20
Philip P. Moltmann [Thu, 27 Jun 2019 20:11:19 +0000 (13:11 -0700)]
Disable historical appops
Fixes:
133419419
Test: atest CtsAppOpsTestCases
Change-Id: I1790581b5ac6608c59d731d9d28110f125186a39
Merged-In: I6debd3cbb6768b256eb558a81ba13efea375769b
Jorim Jaggi [Fri, 28 Jun 2019 13:48:37 +0000 (13:48 +0000)]
Merge "GestureNav: Limit exclusion rects" into qt-dev
TreeHugger Robot [Fri, 28 Jun 2019 12:02:43 +0000 (12:02 +0000)]
Merge "Restore some greylist entries." into qt-dev
Matt Pietal [Fri, 28 Jun 2019 12:02:04 +0000 (12:02 +0000)]
Merge "Resolver - Improve flow for Intent URL handling" into qt-dev
Sanry Huang [Fri, 28 Jun 2019 11:07:49 +0000 (11:07 +0000)]
Merge "Use the real activity component to find reusable task" into qt-dev
Adrian Roos [Tue, 18 Jun 2019 14:13:53 +0000 (16:13 +0200)]
GestureNav: Limit exclusion rects
Add limits for system gesture exclusion on the left and right edges.
This prevents non-immersive-sticky apps from totally disabling the
back gesture.
Bug:
135522625
Test: atest SystemGestureExclusionRectsTest
Merged-In: Ib26161663a6aababe803d3c70044f4017bdbe675
Change-Id: Ib26161663a6aababe803d3c70044f4017bdbe675
Mathew Inwood [Fri, 28 Jun 2019 09:16:13 +0000 (10:16 +0100)]
Restore some greylist entries.
In Q, these APIs were either:
- removed from the greylist entirely without good reason
- Moved to the restricted greylist without any public alternative
information added
So they are being moved back to the greylist for Q.
Test: Treehugger
Bug:
136102585
Change-Id: Ie3dd15c8e17d530d853473a013717e6175383080
Mathew Inwood [Fri, 28 Jun 2019 09:16:07 +0000 (10:16 +0100)]
Restore some greylist entries.
In Q, these APIs were either:
- removed from the greylist entirely without good reason
- Moved to the restricted greylist without any public alternative
information added
So they are being moved back to the greylist for Q.
Test: Treehugger
Bug:
136102585
Change-Id: I6518440a7b0de8292ad05b4df9f0f9580d18b2a5
Mathew Inwood [Thu, 27 Jun 2019 11:47:38 +0000 (12:47 +0100)]
Restore some greylist entries.
In Q, these APIs were either:
- removed from the greylist entirely without good reason
- Moved to the restricted greylist without any public alternative
information added
So they are being moved back to the greylist for Q.
Test: Treehugger
Bug:
136102585
Change-Id: I5ac8b8b9b23c3789d80239cf456072cc7dfa1203
TreeHugger Robot [Fri, 28 Jun 2019 02:03:40 +0000 (02:03 +0000)]
Merge "StatsdStats: improve activation time logging" into qt-dev
David Nelloms [Fri, 28 Jun 2019 00:12:49 +0000 (00:12 +0000)]
Merge "Notify on task display change." into qt-dev
TreeHugger Robot [Fri, 28 Jun 2019 00:12:47 +0000 (00:12 +0000)]
Merge "Fallback to default volume handling when session is released" into qt-dev
Ned Burns [Thu, 27 Jun 2019 23:36:58 +0000 (19:36 -0400)]
Delay possible re-entrant call to updateNotificationViews()
NVHM.onDynamicPrivacyChanged() both calls updateNotificationViews() and
could be called by updateNotificationViews(), resulting in very-bad,
no-good re-entrant behavior. It's too late to try to rearchitect the
entire shade to avoid this relationship, so instead we delay a frame
before applying the update.
Bug:
135018709
Test: atest, manual
Change-Id: I0b17d5ba16e272015b10be182a07cae6b29270e6
TreeHugger Robot [Thu, 27 Jun 2019 23:28:54 +0000 (23:28 +0000)]
Merge "Add link to AndroidX Role library in RoleManager documentation." into qt-dev
Bryan Ferris [Thu, 27 Jun 2019 21:39:46 +0000 (14:39 -0700)]
[RESTRICT AUTOMERGE] Correct argument order in permission check
The function 'checkAccess' recieves the uid and pid in that order and
forwards them to checkSlicePermission in the same order. However,
checkSlicePermission expects them in the opposite order.
Bug:
135551349
Test: atest FrameworksUiServicesTests
Change-Id: I6e49efeab08f0e2a29d9830e6f81905598ae410c
TreeHugger Robot [Thu, 27 Jun 2019 20:09:06 +0000 (20:09 +0000)]
Merge "Disable custom clock faces in SystemUI" into qt-dev
TreeHugger Robot [Thu, 27 Jun 2019 19:03:41 +0000 (19:03 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
davidln [Thu, 30 May 2019 21:25:01 +0000 (14:25 -0700)]
Notify on task display change.
This is a targeted fix for not receiving a task stack change callback
when a task with a resumed Activity is reparented to another display.
Bug:
128932906
Test: manual - launch activity from virtual display onto default display
in a new task, verify callback notified. atest WmTests
Change-Id: Idabad8379cded664bcf302d5c6fb69564d158eb7
Merged-In: Idabad8379cded664bcf302d5c6fb69564d158eb7
Matt Pietal [Thu, 27 Jun 2019 17:27:52 +0000 (13:27 -0400)]
Resolver - Improve flow for Intent URL handling
When a URL is detected and all resolved targets are browsers, allow
the user to set a default browser from the Resolver. If one of the
options is an App and not a browser (as defined by
ResolveInfo.handleAllWebDataURI) then direct the user to the settings
page where they can make changes to set the default app for particular
URLs.
On the settings page, highlight the correct setting to change so it's
clear to the user.
Bug:
132071949
Test: Manually resolve URLs with multiple browsers and apps like Reddit/Twitter
Change-Id: Ib8f867a020ecfbb73fa5f1d7db84890c72e4842d
Shuzhen Wang [Wed, 26 Jun 2019 21:48:36 +0000 (14:48 -0700)]
Camera: Clarify manual capture behavior for logical camera
Test: Build and read docs
Bug:
136098496
Change-Id: I4a2e9ac66ef79379b9c50932ddc845f56d7d01b4
Bill Yi [Thu, 27 Jun 2019 17:26:09 +0000 (10:26 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I87c000f8ff618d504391218ad0bb13b78312d029
Tim Joines [Thu, 27 Jun 2019 16:01:43 +0000 (16:01 +0000)]
Merge "Disable USAP by default on devices" into qt-dev
Robert Snoeberger [Thu, 27 Jun 2019 14:31:09 +0000 (10:31 -0400)]
Disable custom clock faces in SystemUI
This will prevent custom clocks from persisting on dogfooders devices.
Bug:
136090066
Test: `adb shell settings put secure lock_screen_custom_clock_face
"com.android.keyguard.clock.BubbleClockController"` doesn't switch to
Bubble clock.
Change-Id: If9fc43295380d0bc37ca3df4c7187bd4faaf4bde
Jorim Jaggi [Wed, 26 Jun 2019 15:35:32 +0000 (17:35 +0200)]
Request invalidate root when legacy nav bar bg changes
...because only invalidating the root window node will ensure that
onPostDraw() will be called again.
Test: Open com.planeth.rhythm
Fixes:
135207159
Change-Id: I03f814eb7435d91287968f3dcb72f579ab4a35ed
TreeHugger Robot [Thu, 27 Jun 2019 08:00:00 +0000 (08:00 +0000)]
Merge "Avoid stuck wake-locks" into qt-dev
TreeHugger Robot [Thu, 27 Jun 2019 07:24:17 +0000 (07:24 +0000)]
Merge "Move image wallpaper rendering works to background thread." into qt-dev
TreeHugger Robot [Thu, 27 Jun 2019 05:29:36 +0000 (05:29 +0000)]
Merge "Fix WindowFocusTests#testTapNonFocusableWindow failed" into qt-dev
Lucas Dupin [Wed, 26 Jun 2019 20:23:22 +0000 (13:23 -0700)]
Avoid stuck wake-locks
By having a maximum timeout.
Test: atest WakeLockTest
Fixes:
136001054
Fixes:
135881494
Change-Id: Ie189809191890213ea79f15e76bc1461a3445641
TreeHugger Robot [Thu, 27 Jun 2019 03:18:59 +0000 (03:18 +0000)]
Merge "Remove STOPSHOP, disable DEBUG_ANR" into qt-dev
TreeHugger Robot [Thu, 27 Jun 2019 01:47:41 +0000 (01:47 +0000)]
Merge "Disable ClockOptionsProvider so clocks don't appear in picker app" into qt-dev
Louis Chang [Tue, 25 Jun 2019 03:56:55 +0000 (11:56 +0800)]
Use the real activity component to find reusable task
The resolved target component was not save in task intent when an alias
activity was started. When starting alias activity again, the target
component was different from the alias component name which stored in
the task. So, we were unable to find a reusable task if the task was on
other display.
Bug:
135738129
Test: atest ActivityStackTests
Change-Id: I87249b6909eab9cd381f9de01b9c0edb32f2ae70