Commit Graph

101869 Commits

Author SHA1 Message Date
Alex Johnston
f45a4b7da9 Merge "Invert setFactoryResetProtectionDisabled" 2020-02-14 11:44:07 +00:00
Shafik Nassar
5a885658c9 Merge "Add intent to clear app cache" 2020-02-14 11:10:18 +00:00
PETER LIANG
c0570cf0a8 Merge "Change the attribute format of htmlDescription." 2020-02-14 08:47:47 +00:00
Shu Chen
8a48bc0b1f Merge "Fixes the opacity value for the insertion handle to range {0..255}." 2020-02-14 05:50:33 +00:00
TreeHugger Robot
122c050746 Merge "Add a feature flag for contextual home v2." 2020-02-14 04:50:58 +00:00
Jacky Kao
075a8094b4 Merge "Improvement for takeScreenshot() API" 2020-02-14 04:35:01 +00:00
TreeHugger Robot
a4d20a71b3 Merge "Fixes Context Hub feature naming and documentation" 2020-02-14 04:34:23 +00:00
TreeHugger Robot
368e62fbf9 Merge "Always get window insets from server" 2020-02-14 03:22:32 +00:00
Julia Reynolds
ac6a498ece Merge "Allow system listeners to unsnooze" 2020-02-14 01:58:32 +00:00
Jackal Guo
4e2e8a3e6e Merge "Support accessibility on embedded hierarchies (3/n)" 2020-02-14 01:51:30 +00:00
Evgenii Stepanov
45c350c0a8 Merge changes from topic "allowNativeHeapPointerTagging"
* changes:
  Add android:allowNativeHeapPointerTagging.
  Refactor NativeHeapTagging compat feature.
2020-02-14 01:41:37 +00:00
Jacky Kao
5519738da5 Improvement for takeScreenshot() API
1. Modify the related documentations.
2. Make the timestamp got from framework side.
3. Use the ParcelableColorSpace class.

Bug: 149271120
Test: a11y CTS & unit tests
Change-Id: I2aedf67f8ed7d949322b23b59eaa383e53ecb594
2020-02-14 09:36:00 +08:00
Shu Chen
523d33f1e1 Fixes the opacity value for the insertion handle to range {0..255}.
Bug: 149523168
Test: locally verified.
Change-Id: I53c4be59e128a6451a9d8c847ee9d5fd295659ab
2020-02-14 01:17:10 +00:00
TreeHugger Robot
4e659f4266 Merge "Add marker flag for permissions revoked by auto-revoke" 2020-02-14 00:46:32 +00:00
Ameer Armaly
954aa0efea Merge "Add multi-finger double tap and hold gestures." 2020-02-14 00:26:24 +00:00
TreeHugger Robot
1a2d75ebad Merge "No need to grab lock for single read" 2020-02-13 23:45:44 +00:00
TreeHugger Robot
b35455304c Merge "Incremental installations in adb, DataLoader/device side." 2020-02-13 23:26:36 +00:00
Terry Wang
1bc7be7fca Merge "Add @hide to Context.APP_SEARCH_SERVICE" 2020-02-13 22:50:17 +00:00
TreeHugger Robot
4e21e319cd Merge "Obfuscate visibility of notification-related events." 2020-02-13 22:46:52 +00:00
TreeHugger Robot
5de200eb17 Merge "Added OWNERS file for inputmethod" 2020-02-13 22:36:46 +00:00
Etan Cohen
ee9f12795b Merge "[WIFICOND] Rename to nl80211" 2020-02-13 22:34:09 +00:00
Patrick Baumann
520bc6f210 Merge "Enables the App Enumeration Feature" 2020-02-13 22:32:44 +00:00
Evgenii Stepanov
751fa188e9 Add android:allowNativeHeapPointerTagging.
android:allowNativeHeapPointerTagging in the app manifest disables heap
pointer tagging, even for targetsdklevel > 29.

Bug: 135754954
Test: atest CtsTaggingTestCases CtsTaggingDisabledTestCases
Change-Id: I51776809f35a6501c6c0ef2e3de1d4a319311553
2020-02-13 13:31:25 -08:00
Anna Malova
dc68d92603 Merge "Switch to WebViewFactoryProviderForR." 2020-02-13 21:18:23 +00:00
Wale Ogunwale
ecf66058ea Added OWNERS file for inputmethod
Bug: N/A
Test: N/A
Change-Id: I0dd7bad55dec4f2332d7819d4ccb1e0da7a2d9b7
2020-02-13 13:14:24 -08:00
Julia Reynolds
0d07378e47 Allow system listeners to unsnooze
Also refactor to simplify data structure

Test: atest
Bug: 149386091
Change-Id: Iccc8ee440bdd02a74390713c3dfeffa49d1ba142
2020-02-13 16:07:52 -05:00
Alex Buynytskyy
17d9da0523 Incremental installations in adb, DataLoader/device side.
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest
Test: adb install --wait --incremental ~/v4/v4-only-original.apk
Bug: b/136132412 b/133435829
Change-Id: I41b72021e3c7703b57b3e14f58d5aab6c1271f04
2020-02-13 13:03:13 -08:00
Patrick Baumann
7955e8ec47 Enables the App Enumeration Feature
This change enables the app enumeration feature by default. This change
is very likely to break some tests that manually install APKs. The fix
for them is generally easy: add the --force-queryable flag to the shell
command.

This change will also make some apps targetting R unable to see other
apps that are installed or sideloaded on the device.
go/app-visibility-playbook outlines the steps needed to re-gain that
visibility.

Fixes: 136675067
Test: atest AppEnumerationTests AppsFilterTest
Test: atest CtsCalendarProviderTestCases
Test: atest CtsAccountManagerTestCases
Test: atest CtsContentTestCases
Test: atest CtsPermission2TestCases
Test: atest CtsAppSecurityTests
Test: atest CtsAppTestCases
Change-Id: I9db3c0768416dd7ba24108b2a142a24672dab561
2020-02-13 20:35:48 +00:00
Curtis Belmonte
faebfd0ad8 Merge "Add internal API for credential text in BiometricPrompt" 2020-02-13 20:29:14 +00:00
Derek Sollenberger
f5273a6bd9 Merge "Remove unnecessary UnsupportedAppUsage annotation" 2020-02-13 20:23:56 +00:00
shafik
0f2c4d12eb Add intent to clear app cache
Adds a new public API intent action that should be used to launch a
dialog that prompts the user to clear app caches.
The intent can be used by apps holding MANAGE_EXTERNAL_STORAGE
permission or with OP_MANAGE_EXTERNAL_STORAGE allowed

Bug: 144341120
Test: build

Change-Id: Icc6de16da4f892f1ed46ffc89e51071647a17400
2020-02-13 20:13:46 +00:00
Varun Shah
0cbb6b63ee Obfuscate visibility of notification-related events.
UsageStats will return obfuscated NOTIFICATION_SEEN or
NOTIFICATION_INTERRUPTION events to callers of #queryEvents
and #queryEventsForUser if they don't hold the MANAGE_NOTIFICATIONS
permission.

Additionaly, refactor the query API in UsageStats to take in flags as
defined in UsageEvents to make future obfuscation/visibility parameters
cleaner.

Also, add the MANAGE_NOTIFICATIONS permission to shell for CTS test.

Bug: 144724524
Test: atest android.app.usage.cts.UsageStatsTest
Test: atest com.android.server.people.data.UsageStatsQueryHelperTest
Test: atest android.content.pm.cts.shortcutmanager.ShortcutManagerUsageTest
Change-Id: I118de7e589ac8dd5924d3740c70903fa484b79b5
2020-02-13 12:01:13 -08:00
Automerger Merge Worker
ec47b48311 Merge "Update InCallService API docs." am: 11e7b55ea9 am: 040db280fa am: 01bb7cef0e
Change-Id: Ie50b8f5173a16f34d9a9674a081ce62a45687656
2020-02-13 19:48:37 +00:00
Automerger Merge Worker
01bb7cef0e Merge "Update InCallService API docs." am: 11e7b55ea9 am: 040db280fa
Change-Id: Id6df82c6284b2cc027dba1d2b355806888185761
2020-02-13 19:26:10 +00:00
Ameer Armaly
259daddeea Add multi-finger double tap and hold gestures.
This CL includes two, three and four finger double-tap and hold.

Bug: 136131815
Test: atest GestureManifoldTest TouchExplorerTest AccessibilityGestureDetectorTest
Change-Id: I4c0a95a4ac2d13e0a7e2c7920df619063ec1cfc0
2020-02-13 11:23:36 -08:00
Automerger Merge Worker
040db280fa Merge "Update InCallService API docs." am: 11e7b55ea9
Change-Id: Ica011ce75760d1d7338c3accdf29dc7505fd9949
2020-02-13 19:09:01 +00:00
Eugene Susla
1d1819246e Add marker flag for permissions revoked by auto-revoke
UX wants special UI to explain permissions revoked because of auto-revoke,
so we need a way to mark them.

Bug: 146513245
Test: presubmit
Change-Id: Idb753c5036ffe94995773756f329ea26d7c40b64
2020-02-13 11:08:06 -08:00
Tyler Gunn
11e7b55ea9 Merge "Update InCallService API docs." 2020-02-13 18:48:00 +00:00
Kweku Adams
d088856bfb Merge "Make apps active when charging." 2020-02-13 18:37:44 +00:00
Benedict Wong
29fa4efd6d Merge "Implement Ikev2VpnRunner" 2020-02-13 18:36:49 +00:00
Jorim Jaggi
29aa0e81ae Merge "Abort dispatching animation callbacks if the root view is gone" 2020-02-13 18:19:54 +00:00
Tiger Huang
f0ef89a522 Abort dispatching animation callbacks if the root view is gone
This CL prevents possible NullPointerExceptions.

Bug: 118118435
Bug: 149479853
Test: atest AnimatedVectorDrawableParameterizedTest
Change-Id: I966a15c0886b80317a34541fb315b2886981af16
2020-02-13 18:19:38 +00:00
Alex Johnston
0f20b0ee24 Invert setFactoryResetProtectionDisabled
* Invert and rename setFactoryResetProtectionDisabled
  to setFactoryResetProtectionEnabled.
* Invert and rename isFactoryResetProtectionDisabled
  to isFactoryResetProtectionEnabled.
* Update javadoc for both APIs.

Bug: 148596230
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
      atest com.android.server.devicepolicy.FactoryResetProtectionPolicyTest
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testFactoryResetProtectionPolicy
      atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testFactoryResetProtectionPolicy

Change-Id: I0e0b7d0bec8d10ffa4ef4a2d9fa4b60d7b3a94c1
2020-02-13 17:56:30 +00:00
Alex Johnston
c39e9b2e25 Merge "Modify DPM KEYGUARD_DISABLE_SECURE_CAMERA restriction" 2020-02-13 17:50:29 +00:00
Curtis Belmonte
4584d88d41 Add internal API for credential text in BiometricPrompt
Adds a hidden API behind an internal permission check that allows the
Settings app to use specific text to BiometricPrompt for credential
auth. This allows the work authentication prompt to use work-specific
language when verifying work credentials, while retaining more generic
language when authenticating with biometrics.

Test: Work lock prompt shows "Enter your work ___" for credential
Test: Work lock prompt now shows "Verify it's you" for face

Bug: 149003660
Change-Id: Idf06f7e008f4bdb448b0d539522efd2e9290a3bb
2020-02-13 09:47:48 -08:00
Anna Malova
4454e20081 Switch to WebViewFactoryProviderForR.
Test: n/a
Change-Id: I855463395044045b0ad1c7904a9aeb6fd32eaf54
2020-02-13 17:45:09 +00:00
Jack Yu
59e09ca52a Merge "Added telephony display info support" 2020-02-13 17:42:54 +00:00
Ryan Mitchell
6e106c549b Merge "API council changes for ResourcesLoaders" 2020-02-13 16:31:55 +00:00
Song Pan
307f10a4fc Merge "Implement the InstallerAllowedByManifest rule." 2020-02-13 16:22:10 +00:00
Automerger Merge Worker
2ddf24b6a8 Merge "Do not disable tracing in zygote." am: 88be2985c4 am: aee51d9eab
Change-Id: I8b6280d305ea53c5361442e4b7bb45aa164fb5d2
2020-02-13 16:20:06 +00:00