Commit Graph

418074 Commits

Author SHA1 Message Date
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
Eugene Susla
8c2fb0ea1e [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
2019-06-29 00:20:09 +00:00
Bryan Ferris
b2964b2956 Merge "[RESTRICT AUTOMERGE] Correct argument order in permission check" into pi-dev 2019-06-28 23:59:16 +00:00
TreeHugger Robot
6da414a8f6 Merge "Camera: Clarify manual capture behavior for logical camera" into qt-dev 2019-06-28 23:54:09 +00:00
TreeHugger Robot
f4535c8d51 Merge "Restore some greylist entries." into qt-dev 2019-06-28 20:01:13 +00:00
Patrick Baumann
876a733e71 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
2019-06-28 19:41:04 +00:00
Mehdi Alizadeh
abec319111 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
2019-06-28 11:01:39 -07:00
Wale Ogunwale
b8e6b6313f 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
2019-06-28 10:58:12 -07:00
Andrew Sapperstein
9dd0c5628b Merge "Allow granting URI permissions to com.android.settings.module_licenses." into qt-dev 2019-06-28 16:56:04 +00:00
Philip P. Moltmann
f816bb587c Disable historical appops
Fixes: 133419419
Test: atest CtsAppOpsTestCases
Change-Id: I1790581b5ac6608c59d731d9d28110f125186a39
Merged-In: I6debd3cbb6768b256eb558a81ba13efea375769b
2019-06-28 16:25:28 +00:00
Jorim Jaggi
ea3216d462 Merge "GestureNav: Limit exclusion rects" into qt-dev 2019-06-28 13:48:37 +00:00
TreeHugger Robot
f76bdce6e0 Merge "Restore some greylist entries." into qt-dev 2019-06-28 12:02:43 +00:00
Matt Pietal
d73543b588 Merge "Resolver - Improve flow for Intent URL handling" into qt-dev 2019-06-28 12:02:04 +00:00
Sanry Huang
f0cea00104 Merge "Use the real activity component to find reusable task" into qt-dev 2019-06-28 11:07:49 +00:00
Adrian Roos
506267d5f4 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
2019-06-28 17:59:06 +08:00
Mathew Inwood
a5531fa161 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
2019-06-28 09:23:06 +00:00
Mathew Inwood
36292fc9e2 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
2019-06-28 09:21:36 +00:00
Mathew Inwood
3a75f264a8 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
2019-06-28 10:15:37 +01:00
TreeHugger Robot
26b6ef7904 Merge "StatsdStats: improve activation time logging" into qt-dev 2019-06-28 02:03:40 +00:00
David Nelloms
22a5e4e5d9 Merge "Notify on task display change." into qt-dev 2019-06-28 00:12:49 +00:00
TreeHugger Robot
d1008f8339 Merge "Fallback to default volume handling when session is released" into qt-dev 2019-06-28 00:12:47 +00:00
TreeHugger Robot
bde371beb6 Merge "Add link to AndroidX Role library in RoleManager documentation." into qt-dev 2019-06-27 23:28:54 +00:00
Bryan Ferris
d2432fc3e3 [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
2019-06-27 22:00:19 +00:00
TreeHugger Robot
6613ea8da3 Merge "Disable custom clock faces in SystemUI" into qt-dev 2019-06-27 20:09:06 +00:00
TreeHugger Robot
949a22d754 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-27 19:03:41 +00:00
davidln
a06b4b2fa5 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
2019-06-27 18:54:00 +00:00
Matt Pietal
0d6834adfe 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
2019-06-27 13:35:11 -04:00
Shuzhen Wang
da189bddc2 Camera: Clarify manual capture behavior for logical camera
Test: Build and read docs
Bug: 136098496
Change-Id: I4a2e9ac66ef79379b9c50932ddc845f56d7d01b4
2019-06-27 10:29:38 -07:00
Bill Yi
41fe7a8aa4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I87c000f8ff618d504391218ad0bb13b78312d029
2019-06-27 10:26:09 -07:00
Tim Joines
6c3bbf9e93 Merge "Disable USAP by default on devices" into qt-dev 2019-06-27 16:01:43 +00:00
Robert Snoeberger
61f04734b8 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
2019-06-27 10:35:32 -04:00
Jorim Jaggi
6482df5602 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
2019-06-27 11:15:14 +00:00
TreeHugger Robot
13775aa4bb Merge "Avoid stuck wake-locks" into qt-dev 2019-06-27 08:00:00 +00:00
TreeHugger Robot
84ed5df87f Merge "Move image wallpaper rendering works to background thread." into qt-dev 2019-06-27 07:24:17 +00:00
TreeHugger Robot
de5b1d3805 Merge "Fix WindowFocusTests#testTapNonFocusableWindow failed" into qt-dev 2019-06-27 05:29:36 +00:00
Lucas Dupin
924010df2d Avoid stuck wake-locks
By having a maximum timeout.

Test: atest WakeLockTest
Fixes: 136001054
Fixes: 135881494
Change-Id: Ie189809191890213ea79f15e76bc1461a3445641
2019-06-27 05:22:26 +00:00