Commit Graph

101877 Commits

Author SHA1 Message Date
Yuliya Kamatkova
268d43ef3f Merge "Pass Activity LocusContext to the Content Capture." 2020-02-14 18:56:29 +00:00
Derek Sollenberger
db8164c0ac Merge "Move RenderNodeAnimator to android.graphics.animation package" 2020-02-14 16:32:50 +00:00
Vishnu Nair
11b35e66e9 Merge "[wm] Add APIs to notify task focused & task focus lost" 2020-02-14 16:24:00 +00:00
Wale Ogunwale
711539126f Merge "Revert "Always get window insets from server"" 2020-02-14 13:55:40 +00:00
Wale Ogunwale
288e1bd045 Revert "Always get window insets from server"
This reverts commit 3e857ec536.

Reason for revert: Breaks wm-presubmit

Change-Id: I03fbbb01c8cabd0ebb9193adf640b9f07ce19826
2020-02-14 13:54:34 +00:00
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
Bogyun Son
bfb64dc915 [wm] Add APIs to notify task focused & task focus lost
- Let listeners know which task is going to front or back.

 onTaskFocusChanged(taskId, focused)
- calls when the task gets or loses focus.

Test: atest ActivityStackSupervisorTest#testNotifyTaskFocusChanged
Bug: 129951708
Change-Id: I92bfdb760f4c5f1db00334f4eff41fe52115b942
2020-02-13 17:56:18 -08: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
Yuliya Kamatkova
b5d87a8695 Pass Activity LocusContext to the Content Capture.
Bug: 147750355
Test: manual
Change-Id: Ic739318ac5a38f5c251da433ffc054a57e4123c1
2020-02-13 17:15:56 -08: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
Derek Sollenberger
8c2f6b6e15 Move RenderNodeAnimator to android.graphics.animation package
A wrapper still exists at android.view.RenderNode animator
as it needs access to internals of the view that would violate
the package layering if moved into android.graphics.animation.

This CL also moves the Java and cpp files associated with creating
a native interpolator that can be run directly on the RenderThread.

Bug: 149293249
Test: CtsViewTestCases
Change-Id: I5260331fedbd634cf2f6d6d392941e7284527420
2020-02-13 16:14:06 -05: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