Commit Graph

86389 Commits

Author SHA1 Message Date
Rhed Jao
4bc4fe6252 Merge "Accessibility: Improve TouchDelegate Accessibility" 2018-10-11 04:37:56 +00:00
Scott Kennedy
4763647b27 Merge "Mark getInstallerPackageName @Nullable" am: c41a5d6bc0 am: cecccf6258
am: 61f76551f1

Change-Id: I416572b4d162f2dd98ddcec068fcd6e835b53e7a
2018-10-10 21:35:51 -07:00
kopriva
b0353c56e0 docs: fixing errors found with lint checker am: 219f7dcb66
am: 003587b9a4

Change-Id: I056261f069ed679ed8a03bfc0791bfe59a405361
2018-10-10 19:41:15 -07:00
TreeHugger Robot
20c6621d82 Merge "Fix NPE from onChildVisibilityChanged." 2018-10-11 00:19:27 +00:00
Cody Northrop
616d4f5697 Merge "Rootless GPU Debug for GLES" 2018-10-10 23:20:18 +00:00
Scott Kennedy
61f76551f1 Merge "Mark getInstallerPackageName @Nullable" am: c41a5d6bc0
am: cecccf6258

Change-Id: Ib27badf42d90932da0b7f2f0922b8903936feafd
2018-10-10 15:04:12 -07:00
Scott Kennedy
cecccf6258 Merge "Mark getInstallerPackageName @Nullable"
am: c41a5d6bc0

Change-Id: I9500bd37c872fac143074d9a79402d07b0c0419d
2018-10-10 14:57:22 -07:00
Sudheer Shanka
dcd0b0abde Merge "Delete package sandbox data when it is uninstalled." 2018-10-10 21:00:04 +00:00
Cody Northrop
f41625936f Rootless GPU Debug for GLES
This commit adds the ability to enable debug layers for OpenGL ES.

Similar to Rootless Debug for Vulkan, layers can be loaded from the
APK or base directory of selected debuggable applications.

Layers will only be loaded when developers opt-in via settings for a
target application.

A separate application can now be specified as an additional location
for layer discovery.

Example usage:

  adb shell settings put global enable_gpu_debug_layers 1
  adb shell settings put global gpu_debug_app <target_app>
  adb shell settings put global gpu_debug_layers layer1.so:layer2.so
  adb shell settings put global gpu_debug_layer_app <layer_app>

Test: cts-tradefed run singleCommand cts -m CtsGpuToolsHostTestCases
Bug: 110883880
Change-Id: I16df1951be0c06c80a445991e3e6d1636222b17b
2018-10-10 14:50:25 -06:00
Philip P. Moltmann
e5e217dac2 Merge "Change DevicePolicyManager APIs as requested" 2018-10-10 19:50:06 +00:00
Irina Dumitrescu
c6426b0e41 Merge "Fix incorrect javadoc links" 2018-10-10 19:07:59 +00:00
Michael Groover
a28ad42768 Merge "Protect Device Identifiers behind priv permission and DO/PO checks" 2018-10-10 18:05:23 +00:00
Adam He
c472b0ac9e Merge "Added mAutofillFlags for parcelization, and new tests." 2018-10-10 17:31:47 +00:00
TreeHugger Robot
803a52498b Merge "Show app installed notification from PackageInstaller" 2018-10-10 15:41:38 +00:00
TreeHugger Robot
515de0d6c2 Merge "Fix and cleanup smart replies checking" 2018-10-10 11:10:33 +00:00
Tony Mak
638430e76e Fix and cleanup smart replies checking
1. We now apply smart replies to the first action button that has
   (freeform) remote input. For example, if the notification have
   both reply and reply all buttons, smart replies will be applied
   to the first button only.
2. Enforced getAllowGeneratedReplies check in system generated
   smart replies.
3. Fixed an bug that smartRepliesAdded is not called for system
   generated smart replies.

BUG: 111546109
BUG: 111406942

Test: atest com.android.server.notification.NotificationTest
Test: Check apps generated smart replies via Messenger
Test: Check system generated smart replies via Hangouts

Change-Id: I4db34f557f7e9988be612e4162347b86393d1faf
2018-10-10 10:12:16 +01:00
Kevin
254c25f347 Fix NPE from onChildVisibilityChanged.
Removing the child whose visibility changed in
ViewGroup#OnChildVisibilityChanged causes a null pointer exception since
the parent is null immediately after.  This CL prevents that from
keeping the parent stored.

Bug: 117520801
Test: remove child in OnChildVisibilityChanged, observe no crash
Change-Id: Ifd20c2fcba9aee476a7714794a90c7ec9a0b3b84
2018-10-09 18:51:53 -07:00
kopriva
003587b9a4 docs: fixing errors found with lint checker
am: 219f7dcb66

Change-Id: Id38a4b2e21285d5d5e2a2124d76885febd3441c6
2018-10-09 18:30:57 -07:00
Scott Kennedy
98b5f8901b Mark getInstallerPackageName @Nullable
Test: Just an annotation

Change-Id: Ida4f40e77abec2bbf3791a6b38fdb729f6083811
2018-10-09 17:37:58 -07:00
kopriva
219f7dcb66 docs: fixing errors found with lint checker
through /bluetooth directory

amending through /content directory

Test: make ds-docs

Bug: 117494359

Change-Id: I751e15d60f0b9cc441998b27560050bf62994fef
Exempt-From-Owner-Approval: Docs-only change
2018-10-09 16:01:04 -07:00
Adam He
df59684d8f Added mAutofillFlags for parcelization, and new tests.
Change-Id: Ib23ee7158020b5e41ccb7781279709fc3c6ef354
Fixes: 37567426
Test: atest app.assist.AssistStructureTest
Test: atest CtsAutoFillServiceTestCases
2018-10-09 15:42:32 -07:00
Cody Northrop
70687b7783 Merge "Add ANGLE_ENABLED_APP to CoreSettings" 2018-10-09 21:43:59 +00:00
Peiyong Lin
cfa8a02831 Merge "[SurfaceControl] Add setColorTransform API." 2018-10-09 21:35:15 +00:00
Michael Groover
6d20d75e9e Protect Device Identifiers behind priv permission and DO/PO checks
Bug: 110099294
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases \
      -t com.android.cts.devicepolicy.DeviceOwnerTest.testDeviceOwnerCanGetDeviceIdentifiers
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases \
      -t com.android.cts.devicepolicy.ManagedProfileTest#testGetDeviceIdentifiers
Test: cts-tradefed run cts -m CtsTelephonyTestCases -t android.telephony.cts.TelephonyManagerTest
Test: cts-tradefed run cts -m CtsPermissionTestCases -t android.permission.cts.TelephonyManagerPermissionTest

Change-Id: I3c82c53ec89cd17b34a61166ccc9e9747388efac
2018-10-09 13:44:02 -07:00
kopriva
c997fc62e0 Merge "docs: fixing errors found with lint check" into pi-dev am: 8c7d2142f6
am: 4d12f4c42b

Change-Id: I96a6dab05b6d4ea40950fe2ddc0948adf1b4e48f
2018-10-09 13:29:04 -07:00
kopriva
4d12f4c42b Merge "docs: fixing errors found with lint check" into pi-dev
am: 8c7d2142f6

Change-Id: Ief137b64e798b4b5bb6be5e6d25a35e08037abe5
2018-10-09 13:18:06 -07:00
TreeHugger Robot
8c7d2142f6 Merge "docs: fixing errors found with lint check" into pi-dev 2018-10-09 20:04:29 +00:00
Philip P. Moltmann
0ada0a6044 Change DevicePolicyManager APIs as requested
This requires RestrictedLockUtils to change which then causes further
changes.

I left the old APIs available for non-system-api customers.

Test: RunSettingsLibRoboTests
Bug: 116798569
Change-Id: Id5384ee074bb245e615012b7e0d5298b8bf27ba4
2018-10-09 12:38:23 -07:00
sqian
241c69b1ce Merge "Add Call Redirection Default Application in Settings" am: b7c0727c15 am: 936791f536
am: 846b2d1920

Change-Id: Ib86bc25d77275a814752bad4f0d2800182ab150b
2018-10-09 12:00:01 -07:00
sqian
846b2d1920 Merge "Add Call Redirection Default Application in Settings" am: b7c0727c15
am: 936791f536

Change-Id: Ibf6554de156ec0e4d7fa9dc46eb8eee216857188
2018-10-09 11:47:46 -07:00
sqian
936791f536 Merge "Add Call Redirection Default Application in Settings"
am: b7c0727c15

Change-Id: Iae885868a4e985822eac0e4134b16224ee8237f6
2018-10-09 11:36:25 -07:00
Sudheer Shanka
584b068125 Delete package sandbox data when it is uninstalled.
Bug: 111890351
Test: manual
Change-Id: Ic4347744e849e6d7dbc026ebc2e8656b3f2d2ed0
2018-10-09 11:12:44 -07:00
Treehugger Robot
b7c0727c15 Merge "Add Call Redirection Default Application in Settings" 2018-10-09 18:06:05 +00:00
Kevin Chyn
167aa777b0 Merge changes I02a3c932,I04b6f64d
* changes:
  Add protected BiometricPrompt API to allow default title
  Add setActiveUser to BiometricManager/Service
2018-10-09 18:04:17 +00:00
kopriva
a1a7848f83 docs: fixing errors found with lint check
This covers directories through /app.

removed unused import in KeyguardManager.java

Test: make ds-docs

Bug: 117494359

Change-Id: Ie2536676ae8d3ab9349aa43dc3e3248b618dd143
Exempt-From-Owner-Approval: Docs-only change
2018-10-09 10:27:35 -07:00
Peiyong Lin
52bb6b436f [SurfaceControl] Add setColorTransform API.
Previously we have added methods to manipulate color transform for each
surface, this patch exposes this API to Java code land for WindowManager or
display service to set the color transform.

BUG: 111562338
Test: Build, flash and boot.
Change-Id: I0388eed5d72b043820786264f060cde2bd7a6aea
2018-10-09 10:25:52 -07:00
TreeHugger Robot
421f1a152c Merge "CalendarTracker tracks all calendars" 2018-10-09 16:25:22 +00:00
Philip P. Moltmann
ae15e11ddd Merge "Deprecate Intent based installation/uninstallation" 2018-10-09 16:15:50 +00:00
Philip P. Moltmann
60678a0777 Merge "Do not allow to revert setForceSafeLabel" 2018-10-09 16:14:42 +00:00
Rhed Jao
ae63875a8f Accessibility: Improve TouchDelegate Accessibility
Adding api to get touch delegate behavior for the
represented view of AccessibilityNodeInfo.

Bug: 80061718
Test: atest AccessibilityNodeInfoTest
Test: atest AccessibilityEndToEndTest
Change-Id: I2ae65d7d44fceaf16609e512c3384f766266ecbd
2018-10-09 16:44:42 +08:00
kopriva
c7d26d48ce Merge "docs: bug 37128155, broken link" into pi-dev am: 415e35525f
am: cc5deaf7d5

Change-Id: I41b0ec4bc5fb9d9c3ace80a0d21d3f4d1ea6d29f
2018-10-08 23:37:48 -07:00
kopriva
cc5deaf7d5 Merge "docs: bug 37128155, broken link" into pi-dev
am: 415e35525f

Change-Id: I2ef8a7bcb904734d5d7073e57c7a2bdc1334fe2c
2018-10-08 23:28:36 -07:00
TreeHugger Robot
415e35525f Merge "docs: bug 37128155, broken link" into pi-dev 2018-10-09 05:47:20 +00:00
Kevin Chyn
3a0187194a Add protected BiometricPrompt API to allow default title
ConfirmDeviceCredentials sometimes shows up without a title. Since CC
is now using BiometricPrompt, we need at least a private API that allows
the client to have the dialog show a default title.

Bug: 111461540

Test: Manual test with modified BiometricPromptDemo, to launch CC with
      empty string

Change-Id: I02a3c9327635c04f201f76754f7c0e1135e5ff36
2018-10-08 20:38:00 -07:00
Howard Ro
bb67362281 Merge "MetricsLogger writes to both event log and statsd" 2018-10-09 03:18:09 +00:00
kopriva
dae6ec0db7 Merge "docs: fixing 'mange' instead of 'manage'" into pi-dev am: 14aa42cfda
am: 57adb99451

Change-Id: I477a610e0602e464847c1a1ccb13b21644ee1ae8
2018-10-08 19:30:00 -07:00
kopriva
57adb99451 Merge "docs: fixing 'mange' instead of 'manage'" into pi-dev
am: 14aa42cfda

Change-Id: Id461e2430301c62be5ee76f5046370069cb1a34c
2018-10-08 19:14:44 -07:00
Philip P. Moltmann
20dd431f20 Do not allow to revert setForceSafeLabel
Test: Built
Bug: 116798569
Change-Id: I3f26d4466c84d3decb1c4962fb45e900ba35f68e
2018-10-08 16:56:49 -07:00
sqian
97b6b00255 Add Call Redirection Default Application in Settings
Bug: 64959558
Test: compile
Change-Id: Iddac4d5b202db5a88aa82fd9ea4df89544b94b71
2018-10-08 16:38:41 -07:00
kopriva
82c591b78b docs: fixing 'mange' instead of 'manage'
Test: make ds-docs

Bug: 117449040

Change-Id: I282a2e960bbf722bf3a72dd932e3bf685abb74e5
Exempt-From-Owner-Approval: Docs-only change
2018-10-08 15:57:00 -07:00