OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Translate selection arguments that are paths."
Jeff Sharkey [Fri, 1 Mar 2019 06:28:24 +0000 (06:28 +0000)]
Merge "Translate selection arguments that are paths."

5 years agoTo be @Nullable or @NonNull, that is the question.
Jeff Sharkey [Thu, 28 Feb 2019 19:02:10 +0000 (12:02 -0700)]
To be @Nullable or @NonNull, that is the question.

Bug: 126699288126699496126700389
Bug: 126700085126701638126702005126700497
Test: manual
Change-Id: Idcbc2722ddcf014a9e5cef14321b4e2ce30adf9c

5 years agoIntercept unlink(), remove(), and rename().
Jeff Sharkey [Thu, 28 Feb 2019 05:14:16 +0000 (22:14 -0700)]
Intercept unlink(), remove(), and rename().

Handles cases where apps try deleting paths returned in "_data"
columns, and where they try renaming across bind mounts.

Bug: 124349250
Test: atest android.appsecurity.cts.ExternalStorageHostTest#testExternalStorageRename
Change-Id: I7f4461bcacada80398eb95d051a0d29456f63499

5 years agoMerge "Check for NPE when sending enroll result"
TreeHugger Robot [Fri, 1 Mar 2019 05:32:31 +0000 (05:32 +0000)]
Merge "Check for NPE when sending enroll result"

5 years agoMerge "Add logging for when cancel times out"
Kevin Chyn [Fri, 1 Mar 2019 04:47:19 +0000 (04:47 +0000)]
Merge "Add logging for when cancel times out"

5 years agoMerge "Added NPE check on verifySameType()."
TreeHugger Robot [Fri, 1 Mar 2019 04:42:45 +0000 (04:42 +0000)]
Merge "Added NPE check on verifySameType()."

5 years agoMerge "Add missing ServiceType values to IntDef."
TreeHugger Robot [Fri, 1 Mar 2019 03:53:29 +0000 (03:53 +0000)]
Merge "Add missing ServiceType values to IntDef."

5 years ago[automerger skipped] Merge "Remove ConnectivityManager and its usages from NetworkSta...
Varun Anand [Fri, 1 Mar 2019 03:35:07 +0000 (19:35 -0800)]
[automerger skipped] Merge "Remove ConnectivityManager and its usages from NetworkStatsService." am: 93dfa10da4 am: a8cb41a94d
am: fcdb1380ac -s ours
am skip reason: change_id I57e117bb4e9efe491b19d6b5a479f2d58d1c58e6 with SHA1 02c50ef1d1 is in history

Change-Id: I3ddc59f7abb5e3c0a2f4f54bb68632578948ee89

5 years agoMerge "Remove ConnectivityManager and its usages from NetworkStatsService." am: 93dfa...
Varun Anand [Fri, 1 Mar 2019 03:25:53 +0000 (19:25 -0800)]
Merge "Remove ConnectivityManager and its usages from NetworkStatsService." am: 93dfa10da4
am: a8cb41a94d

Change-Id: Ieb10b88344dd4436913426961e6999577a469f36

5 years agoMerge "Remove ConnectivityManager and its usages from NetworkStatsService."
Varun Anand [Fri, 1 Mar 2019 03:18:33 +0000 (19:18 -0800)]
Merge "Remove ConnectivityManager and its usages from NetworkStatsService."
am: 93dfa10da4

Change-Id: I2a2809d3a2ee4106cc131d61ace401f31c187844

5 years agoMerge "Remove ConnectivityManager and its usages from NetworkStatsService."
Varun Anand [Fri, 1 Mar 2019 03:06:06 +0000 (03:06 +0000)]
Merge "Remove ConnectivityManager and its usages from NetworkStatsService."

5 years agoMerge "Merge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0 am: 715c2d8...
Android Build Merger (Role) [Fri, 1 Mar 2019 02:55:26 +0000 (02:55 +0000)]
Merge "Merge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0 am: 715c2d87cc am: 3bc4573765"

5 years agoCheck for NPE when sending enroll result
Kevin Chyn [Fri, 1 Mar 2019 02:55:10 +0000 (18:55 -0800)]
Check for NPE when sending enroll result

It's possible for the client to crash and have the service continue to
receive results for a short amount of time.

Bug: 126212114

Test: system server doesn't die anymore
Change-Id: I574b605eba50169a611cae8e95c46aa61defcb9c

5 years agoMerge "Fixed PASSWORD_COMPLEXITY_HIGH javadoc to require complex PIN of length at...
TreeHugger Robot [Fri, 1 Mar 2019 02:55:04 +0000 (02:55 +0000)]
Merge "Fixed PASSWORD_COMPLEXITY_HIGH javadoc to require complex PIN of length at least 8"

5 years agoMerge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0 am: 715c2d87cc
Chen Xu [Fri, 1 Mar 2019 02:54:02 +0000 (18:54 -0800)]
Merge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0 am: 715c2d87cc
am: 3bc4573765

Change-Id: I35e81dcc8e091e91cf335587849c596134781a7c

5 years agoMerge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0
Chen Xu [Fri, 1 Mar 2019 02:44:41 +0000 (18:44 -0800)]
Merge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0
am: 715c2d87cc

Change-Id: I0c9f9cea0afaf221506906b79c18b562caba355f

5 years agoMerge "Add NonNull to remaining BiometricPrompt Builder methods"
Kevin Chyn [Fri, 1 Mar 2019 02:40:55 +0000 (02:40 +0000)]
Merge "Add NonNull to remaining BiometricPrompt Builder methods"

5 years agoAdd NonNull to remaining BiometricPrompt Builder methods
Kevin Chyn [Thu, 28 Feb 2019 23:51:43 +0000 (15:51 -0800)]
Add NonNull to remaining BiometricPrompt Builder methods

Test: make -j56 update-api
Test: builds

Fixes: 126799710

Change-Id: Ifc074863b5ffa5c69f7b8edb7aecbad9220faab4

5 years agoMerge "add NonNull and Nullable annotation to APIs"
Chen Xu [Fri, 1 Mar 2019 02:33:17 +0000 (18:33 -0800)]
Merge "add NonNull and Nullable annotation to APIs"
am: c931e9b0c0

Change-Id: I4ec29b409230a04be5897ccde9bb524dc1eadbdf

5 years agoMerge "Revert "Revert "Fix a11y cache correctness bug"""
Qasid Sadiq [Fri, 1 Mar 2019 02:25:26 +0000 (02:25 +0000)]
Merge "Revert "Revert "Fix a11y cache correctness bug"""

5 years agoMerge "add NonNull and Nullable annotation to APIs"
Chen Xu [Fri, 1 Mar 2019 02:17:33 +0000 (02:17 +0000)]
Merge "add NonNull and Nullable annotation to APIs"

5 years agoMerge "Ensure all gesture state is reset between gestures"
TreeHugger Robot [Fri, 1 Mar 2019 02:05:28 +0000 (02:05 +0000)]
Merge "Ensure all gesture state is reset between gestures"

5 years agoMerge "Autofill, Content Capture, and Augmented Autofill API fixes:"
Felipe Leme [Fri, 1 Mar 2019 02:04:30 +0000 (02:04 +0000)]
Merge "Autofill, Content Capture, and Augmented Autofill API fixes:"

5 years agoMerge "Report top resumed state only after previous activity lost it"
Andrii Kulian [Fri, 1 Mar 2019 02:01:38 +0000 (02:01 +0000)]
Merge "Report top resumed state only after previous activity lost it"

5 years agoMerge "Add acquired log"
TreeHugger Robot [Fri, 1 Mar 2019 01:52:56 +0000 (01:52 +0000)]
Merge "Add acquired log"

5 years agoMerge "Add a Constant for CellInfo#UNAVAILABLE_LONG" am: 572b1ee84b am: 51735ba270
Nathan Harold [Fri, 1 Mar 2019 01:50:06 +0000 (17:50 -0800)]
Merge "Add a Constant for CellInfo#UNAVAILABLE_LONG" am: 572b1ee84b am: 51735ba270
am: 8502172502

Change-Id: Ib12baf92ef3315cb9c1dc8365f0f0aa0bb725dd1

5 years agoMerge "Create a constant for enterprise root uri."
Yueming Wang [Fri, 1 Mar 2019 01:41:27 +0000 (01:41 +0000)]
Merge "Create a constant for enterprise root uri."

5 years agoMerge "Add a Constant for CellInfo#UNAVAILABLE_LONG" am: 572b1ee84b
Nathan Harold [Fri, 1 Mar 2019 01:39:15 +0000 (17:39 -0800)]
Merge "Add a Constant for CellInfo#UNAVAILABLE_LONG" am: 572b1ee84b
am: 51735ba270

Change-Id: I0a77e0367a846ce03f2eea639026d1fb8afdacda

5 years agoMerge "Fix to hide phone number printed in the log" am: b967dce9d9 am: ae023634bf
Shi Yuanjie [Fri, 1 Mar 2019 01:30:57 +0000 (17:30 -0800)]
Merge "Fix to hide phone number printed in the log" am: b967dce9d9 am: ae023634bf
am: 28ebdcb28c

Change-Id: I0c8c324477e46db6dfd6bc770d7154decb0d6276

5 years agoMerge "Add a Constant for CellInfo#UNAVAILABLE_LONG"
Nathan Harold [Fri, 1 Mar 2019 01:30:00 +0000 (17:30 -0800)]
Merge "Add a Constant for CellInfo#UNAVAILABLE_LONG"
am: 572b1ee84b

Change-Id: I7c19563ccd4ceda3a32024db2fcc5e9526aa2d4c

5 years agoMerge "Change Instrumentation to call injectInputAfterTransactionApplied"
Chavi Weingarten [Fri, 1 Mar 2019 01:19:28 +0000 (01:19 +0000)]
Merge "Change Instrumentation to call injectInputAfterTransactionApplied"

5 years agoMerge "Add a Constant for CellInfo#UNAVAILABLE_LONG"
Nathan Harold [Fri, 1 Mar 2019 01:15:47 +0000 (01:15 +0000)]
Merge "Add a Constant for CellInfo#UNAVAILABLE_LONG"

5 years agoMerge "Fix to hide phone number printed in the log" am: b967dce9d9
Shi Yuanjie [Fri, 1 Mar 2019 01:15:27 +0000 (17:15 -0800)]
Merge "Fix to hide phone number printed in the log" am: b967dce9d9
am: ae023634bf

Change-Id: I3b54ecc96fc467975cb7fbcbf5325ed8b339d6fa

5 years agoMerge "Remove ConnectivityManager and its usages from NetworkStatsService."
Varun Anand [Fri, 1 Mar 2019 01:14:34 +0000 (01:14 +0000)]
Merge "Remove ConnectivityManager and its usages from NetworkStatsService."

5 years agoMerge "Fix to hide phone number printed in the log"
Shi Yuanjie [Fri, 1 Mar 2019 01:04:47 +0000 (17:04 -0800)]
Merge "Fix to hide phone number printed in the log"
am: b967dce9d9

Change-Id: I35e01adb03db4ea01d7a37f94a0f9d21f45eecca

5 years agoMerge "Update StorageManagerService.mkdirs to translate sandboxed paths."
Sudheer Shanka [Fri, 1 Mar 2019 01:04:16 +0000 (01:04 +0000)]
Merge "Update StorageManagerService.mkdirs to translate sandboxed paths."

5 years agoMerge "Mark COLUMN_MEDIASTORE_URI as @TestApi."
Sudheer Shanka [Fri, 1 Mar 2019 01:04:11 +0000 (01:04 +0000)]
Merge "Mark COLUMN_MEDIASTORE_URI as @TestApi."

5 years agoMerge "Merge "revert "HLS seeking: call readAt() on new thread"" am: 00a4170c0c am...
Android Build Merger (Role) [Fri, 1 Mar 2019 01:03:19 +0000 (01:03 +0000)]
Merge "Merge "revert "HLS seeking: call readAt() on new thread"" am: 00a4170c0c am: a97abe701c am: c47b1fc295"

5 years agoMerge "revert "HLS seeking: call readAt() on new thread"" am: 00a4170c0c am: a97abe701c
Dichen Zhang [Fri, 1 Mar 2019 01:02:34 +0000 (17:02 -0800)]
Merge "revert "HLS seeking: call readAt() on new thread"" am: 00a4170c0c am: a97abe701c
am: c47b1fc295

Change-Id: I5db7a2fee3f1db87456d880606ab9caac024ceff

5 years agoMerge "Add @RequiresPermission and fix API naming"
TreeHugger Robot [Fri, 1 Mar 2019 01:00:43 +0000 (01:00 +0000)]
Merge "Add @RequiresPermission and fix API naming"

5 years agoMerge "Use unordered_map in InputEventSender"
TreeHugger Robot [Fri, 1 Mar 2019 00:50:40 +0000 (00:50 +0000)]
Merge "Use unordered_map in InputEventSender"

5 years agoMerge "revert "HLS seeking: call readAt() on new thread"" am: 00a4170c0c
Dichen Zhang [Fri, 1 Mar 2019 00:46:13 +0000 (16:46 -0800)]
Merge "revert "HLS seeking: call readAt() on new thread"" am: 00a4170c0c
am: a97abe701c

Change-Id: I4266221c9d5ebca4b5c4cb6c05a371e9ae01cf16

5 years agoMerge "Fix to hide phone number printed in the log"
Treehugger Robot [Fri, 1 Mar 2019 00:45:51 +0000 (00:45 +0000)]
Merge "Fix to hide phone number printed in the log"

5 years agoMerge "revert "HLS seeking: call readAt() on new thread""
Dichen Zhang [Fri, 1 Mar 2019 00:35:39 +0000 (16:35 -0800)]
Merge "revert "HLS seeking: call readAt() on new thread""
am: 00a4170c0c

Change-Id: Ia2a3db95cc56e23252b0d9df28e5c3289c1a34e5

5 years agoMerge "Show installed clock plugins in picker app."
TreeHugger Robot [Fri, 1 Mar 2019 00:20:33 +0000 (00:20 +0000)]
Merge "Show installed clock plugins in picker app."

5 years agoMerge "Disable Hearing Aids Profile by default"
TreeHugger Robot [Fri, 1 Mar 2019 00:19:07 +0000 (00:19 +0000)]
Merge "Disable Hearing Aids Profile by default"

5 years agoMerge "revert "HLS seeking: call readAt() on new thread""
Treehugger Robot [Fri, 1 Mar 2019 00:19:01 +0000 (00:19 +0000)]
Merge "revert "HLS seeking: call readAt() on new thread""

5 years agoRemove ConnectivityManager and its usages from NetworkStatsService.
Varun Anand [Thu, 7 Feb 2019 22:13:13 +0000 (14:13 -0800)]
Remove ConnectivityManager and its usages from NetworkStatsService.

NSS needed it for getting VpnInfo[], NetworkState[] and
activeLinkProperties which it used to query via ConnectivityManager.

For VpnInfo[], this was racy as NSS may ignore intermediate changes to a
VPN's underlying networks. See http://b/123961098 for more context.

It may also lead to deadlocks b/w ConnectivityService and
NetworkStatsService. See http://b/126245192 for more info.

This change will ensure that NSS is never contending on any of
ConnectivityService locks.

Bug: 123961098
Bug: 126245192
Bug: 120145746
Test: atest FrameworksNetTests
Change-Id: Id1da446b54d95ee68ed14079107b1a10318bcf8b
Merged-In: I57e117bb4e9efe491b19d6b5a479f2d58d1c58e6

5 years agoMerge "create getModemEnabled function in PhoneConfigurationManager"
Nazanin Bakhshi [Fri, 1 Mar 2019 00:07:44 +0000 (00:07 +0000)]
Merge "create getModemEnabled function in PhoneConfigurationManager"

5 years agoMerge "Call into role controller asynchronously when holding mPackages."
TreeHugger Robot [Fri, 1 Mar 2019 00:03:47 +0000 (00:03 +0000)]
Merge "Call into role controller asynchronously when holding mPackages."

5 years agoMerge "Don't report slider events with bad lux readings."
TreeHugger Robot [Fri, 1 Mar 2019 00:01:57 +0000 (00:01 +0000)]
Merge "Don't report slider events with bad lux readings."

5 years agoMerge "More @NonNulls on BrightnessConfiguartion"
TreeHugger Robot [Fri, 1 Mar 2019 00:01:30 +0000 (00:01 +0000)]
Merge "More @NonNulls on BrightnessConfiguartion"

5 years agoMerge "Annotate Notification.Builder methods with @NonNull."
TreeHugger Robot [Thu, 28 Feb 2019 23:59:24 +0000 (23:59 +0000)]
Merge "Annotate Notification.Builder methods with @NonNull."

5 years agoMerge "Update BiometricPrompt API annotations and comments"
Kevin Chyn [Thu, 28 Feb 2019 23:55:53 +0000 (23:55 +0000)]
Merge "Update BiometricPrompt API annotations and comments"

5 years agoMerge "Show mobile icons with left-to-right in order of slot index" am: 3d9482fb7d...
Evan Laird [Thu, 28 Feb 2019 23:43:43 +0000 (15:43 -0800)]
Merge "Show mobile icons with left-to-right in order of slot index" am: 3d9482fb7d am: 227e7f0488
am: 737e4febe5

Change-Id: I2da810b57e240b4948fe85a13750a3ab4041c4f4

5 years agoTranslate selection arguments that are paths.
Jeff Sharkey [Thu, 28 Feb 2019 23:39:12 +0000 (16:39 -0700)]
Translate selection arguments that are paths.

Also migrate MediaProvider logging to more general-purpose location
on the ContentProvider.Transport, where we can log exact input/output
values to aid debugging.

Bug: 124347872
Test: manual
Change-Id: I6aba60879ded4e0892d2d1cdd717c23cebaaabd8

5 years agoMerge "Adding more PowerManager tests."
TreeHugger Robot [Thu, 28 Feb 2019 23:33:44 +0000 (23:33 +0000)]
Merge "Adding more PowerManager tests."

5 years agoAdd missing ServiceType values to IntDef.
Kweku Adams [Thu, 28 Feb 2019 23:32:31 +0000 (15:32 -0800)]
Add missing ServiceType values to IntDef.

FORCE_BACKGROUND_CHECK and NIGHT_MODE were accidentally excluded from
the ServiceType @IntDef definition.

Bug: N/A
Test: N/A
Change-Id: Ib66bb2ce004a6577515ac185d0aef2dd5f1ed49b

5 years agoMerge "FillRequest provides AutofillId of view tapped in FillContext."
TreeHugger Robot [Thu, 28 Feb 2019 23:31:50 +0000 (23:31 +0000)]
Merge "FillRequest provides AutofillId of view tapped in FillContext."

5 years agoMerge "Show mobile icons with left-to-right in order of slot index" am: 3d9482fb7d
Evan Laird [Thu, 28 Feb 2019 23:31:01 +0000 (15:31 -0800)]
Merge "Show mobile icons with left-to-right in order of slot index" am: 3d9482fb7d
am: 227e7f0488

Change-Id: I859997f2a08832168706e5b0c913b317403286af

5 years agoMerge "Change trace message to reflect the show/hide state"
TreeHugger Robot [Thu, 28 Feb 2019 23:28:28 +0000 (23:28 +0000)]
Merge "Change trace message to reflect the show/hide state"

5 years agoMerge "Address API feedback."
Sudheer Shanka [Thu, 28 Feb 2019 23:24:45 +0000 (23:24 +0000)]
Merge "Address API feedback."

5 years agoMerge "Add flag to control compact seekbar visibility."
Beth Thibodeau [Thu, 28 Feb 2019 23:23:13 +0000 (23:23 +0000)]
Merge "Add flag to control compact seekbar visibility."

5 years agoMerge "Show mobile icons with left-to-right in order of slot index"
Evan Laird [Thu, 28 Feb 2019 23:18:44 +0000 (15:18 -0800)]
Merge "Show mobile icons with left-to-right in order of slot index"
am: 3d9482fb7d

Change-Id: Icba04692ddd79611674651d68e82b840c40f5f09

5 years agoMerge "AudioPresentation: Address API review comments"
TreeHugger Robot [Thu, 28 Feb 2019 23:08:52 +0000 (23:08 +0000)]
Merge "AudioPresentation: Address API review comments"

5 years agoMerge "Camera: Add @NonNull annotation for metadata keys"
TreeHugger Robot [Thu, 28 Feb 2019 23:04:12 +0000 (23:04 +0000)]
Merge "Camera: Add @NonNull annotation for metadata keys"

5 years agoMerge "Show mobile icons with left-to-right in order of slot index"
Evan Laird [Thu, 28 Feb 2019 23:03:13 +0000 (23:03 +0000)]
Merge "Show mobile icons with left-to-right in order of slot index"

5 years agoAdd acquired log
Kevin Chyn [Thu, 28 Feb 2019 22:53:34 +0000 (14:53 -0800)]
Add acquired log

Fixes: 126452114

Test: Acquired logs seen
Change-Id: I6a938c4207dd4e64a59a324d64ce4b0c4332993b

5 years agoMerge "Put AttentionDetector behind a setting"
TreeHugger Robot [Thu, 28 Feb 2019 22:53:09 +0000 (22:53 +0000)]
Merge "Put AttentionDetector behind a setting"

5 years agoMerge "Promote apps in the NEVER bucket on sync scheduled"
Michael Wachenschwanz [Thu, 28 Feb 2019 22:52:02 +0000 (22:52 +0000)]
Merge "Promote apps in the NEVER bucket on sync scheduled"

5 years agoMerge "Mark Bitmap#getColor as @NonNull"
TreeHugger Robot [Thu, 28 Feb 2019 22:50:24 +0000 (22:50 +0000)]
Merge "Mark Bitmap#getColor as @NonNull"

5 years agoMerge "Add nullability annotations."
TreeHugger Robot [Thu, 28 Feb 2019 22:35:48 +0000 (22:35 +0000)]
Merge "Add nullability annotations."

5 years agoRevert "Revert "Fix a11y cache correctness bug""
Qasid Ahmad Sadiq [Thu, 28 Feb 2019 22:35:45 +0000 (14:35 -0800)]
Revert "Revert "Fix a11y cache correctness bug""

This reverts commit 4d70022b8841a17850dcb9d670f23b3ab6f3bb93.
This is so certain tests start passing again. The revert was a low risk
measure for the security update.
We still need to address the crash that this introduces

Test: It builds

5 years agoAdd @RequiresPermission and fix API naming
Evan Laird [Tue, 26 Feb 2019 22:21:32 +0000 (17:21 -0500)]
Add @RequiresPermission and fix API naming

StatusBarManager#setDisabledForSetup() requires
android.Manifest.permission.STATUS_BAR, and is now documented that way.

Also rename areNoComponentsDisabled to areAllComponentsEnabled so it
reads better

Bug: 126376147
Test: atest GtsStatusBarHostTestCases
Change-Id: I59b113a2568463541dfbd46f505489aa94aac9d9

5 years agoadd NonNull and Nullable annotation to APIs
chen xu [Thu, 28 Feb 2019 18:44:54 +0000 (10:44 -0800)]
add NonNull and Nullable annotation to APIs

Bug: 126699430
Bug: 126699963
Bug: 126700457
Bug: 126700771
Bug: 126702453
Bug: 123939479
Test: Build
Change-Id: Ib429d2918e63f8d272fc7842b0abd83ffd5a9090

5 years agoRemove ConnectivityManager and its usages from NetworkStatsService.
Varun Anand [Thu, 7 Feb 2019 22:13:13 +0000 (14:13 -0800)]
Remove ConnectivityManager and its usages from NetworkStatsService.

NSS needed it for getting VpnInfo[], NetworkState[] and
activeLinkProperties which it used to query via ConnectivityManager.

For VpnInfo[], this was racy as NSS may ignore intermediate changes to a
VPN's underlying networks. See http://b/123961098 for more context.

It may also lead to deadlocks b/w ConnectivityService and
NetworkStatsService. See http://b/126245192 for more info.

This change will ensure that NSS is never contending on any of
ConnectivityService locks.

Bug: 123961098
Bug: 126245192
Bug: 120145746
Test: atest FrameworksNetTests
Change-Id: I57e117bb4e9efe491b19d6b5a479f2d58d1c58e6

5 years agoAdd logging for when cancel times out
Kevin Chyn [Thu, 28 Feb 2019 21:41:31 +0000 (13:41 -0800)]
Add logging for when cancel times out

Fixes: 124513621

Test: Builds
Change-Id: Idf8f8eaeaf6847dedc8b850798c98cb250fdc8ac

5 years agoMark COLUMN_MEDIASTORE_URI as @TestApi.
Sudheer Shanka [Thu, 28 Feb 2019 21:33:39 +0000 (13:33 -0800)]
Mark COLUMN_MEDIASTORE_URI as @TestApi.

Bug: 126395605
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Change-Id: I727555d7b2a5812b2a802ea447c2d9b9d26c9572

5 years agoMerge "Add preview for default clock face."
TreeHugger Robot [Thu, 28 Feb 2019 21:27:20 +0000 (21:27 +0000)]
Merge "Add preview for default clock face."

5 years agoFillRequest provides AutofillId of view tapped in FillContext.
Adam He [Tue, 26 Feb 2019 20:35:43 +0000 (12:35 -0800)]
FillRequest provides AutofillId of view tapped in FillContext.

Fixes: 126381515
Test: atest CtsAutoFillServiceTestCases
Change-Id: I10c30d545d9a3166aad8c71d5b14d5bb83b9693f

5 years agoMerge "Update ActivityManager DeviceConfig flag definitions."
Matt Pape [Thu, 28 Feb 2019 21:20:22 +0000 (21:20 +0000)]
Merge "Update ActivityManager DeviceConfig flag definitions."

5 years agoMerge "System gesture exclusion rects for Views"
Adam Powell [Thu, 28 Feb 2019 21:11:59 +0000 (21:11 +0000)]
Merge "System gesture exclusion rects for Views"

5 years agoMerge "Report orientation change when visibility changes."
TreeHugger Robot [Thu, 28 Feb 2019 21:01:35 +0000 (21:01 +0000)]
Merge "Report orientation change when visibility changes."

5 years agoAdded NPE check on verifySameType().
Adam He [Thu, 28 Feb 2019 20:55:26 +0000 (12:55 -0800)]
Added NPE check on verifySameType().

Fixes: 120240686
Test: atest CtsAutoFillServiceTestCases
Change-Id: Ic7fe6e04d67e661e18a4c0e970bbaf5c22f74815

5 years agoMerge "Add ability to change context priority of RT Vulkan queues"
TreeHugger Robot [Thu, 28 Feb 2019 20:53:04 +0000 (20:53 +0000)]
Merge "Add ability to change context priority of RT Vulkan queues"

5 years agoMerge "Add rounded corners attribute to window animations"
Lucas Dupin [Thu, 28 Feb 2019 20:46:06 +0000 (20:46 +0000)]
Merge "Add rounded corners attribute to window animations"

5 years agoUpdate BiometricPrompt API annotations and comments
Kevin Chyn [Thu, 28 Feb 2019 20:44:47 +0000 (12:44 -0800)]
Update BiometricPrompt API annotations and comments

Fixes: 126701154
Fixes: 126699531
Fixes: 126190552

Test: make -j56 update-api
Test: make -j56
Change-Id: I8c04fa1232589d1062e9df61e003cce40e2f5974

5 years agoMerge "Check for hardware before authenticating"
Kevin Chyn [Thu, 28 Feb 2019 20:41:57 +0000 (20:41 +0000)]
Merge "Check for hardware before authenticating"

5 years agoMerge "Remove unused method and constant in View"
Aurimas Liutikas [Thu, 28 Feb 2019 20:41:07 +0000 (20:41 +0000)]
Merge "Remove unused method and constant in View"

5 years agoMerge "Deprecate ZoomControls."
Aurimas Liutikas [Thu, 28 Feb 2019 20:36:56 +0000 (20:36 +0000)]
Merge "Deprecate ZoomControls."

5 years agoUpdate ActivityManager DeviceConfig flag definitions.
Matt Pape [Tue, 12 Feb 2019 21:53:26 +0000 (13:53 -0800)]
Update ActivityManager DeviceConfig flag definitions.

1. Remove the interface from DeviceConfig.
2. Add a string constant for the namespace to DeviceConfig, including
them in the System API.
3. Add string constants for flag names to ActivityManagerConstants, and
AppCompactor. (These are removed from the System API).

Bug: 126411407
Test: atest AppCompactorTest
      atest FrameworksCoreTests:DeviceConfigTest

Change-Id: I3167a4267e2ea0277f19f7d5211ab92e2b1f6285

5 years agoMerge "Add nullability to StatusBarManager#getDisableInfo"
TreeHugger Robot [Thu, 28 Feb 2019 20:27:28 +0000 (20:27 +0000)]
Merge "Add nullability to StatusBarManager#getDisableInfo"

5 years agoEnsure all gesture state is reset between gestures
Mark Renouf [Thu, 28 Feb 2019 20:14:47 +0000 (15:14 -0500)]
Ensure all gesture state is reset between gestures

This pulls cleanup of state into a method.

Bug: 126352494
Test: manually, see bug for steps
Change-Id: I4144d3dd643f1f757b589d4b650da49bc3da655a

5 years agoAddress API feedback.
Sudheer Shanka [Thu, 28 Feb 2019 19:42:27 +0000 (11:42 -0800)]
Address API feedback.

Fixes: 126699828
Fixes: 126700458
Fixes: 126702364
Test: n/a
Change-Id: I20d415ee4fdcce97054f3b68986a65500e64fb2d

5 years agoShow installed clock plugins in picker app.
Robert Snoeberger [Thu, 28 Feb 2019 19:47:49 +0000 (14:47 -0500)]
Show installed clock plugins in picker app.

Added methods to ClockPlugin to provide information to picker app.
Due to this change, I bumped the api number of the ClockPlugin
interface.

Bug: 125370285
Test: atest ClockManagerTest
Test: checked clock from plugin apk appears in picker app
Change-Id: I0dc3d5a450f7d352900b077b28c670ebadb874e7

5 years agoAdd flag to control compact seekbar visibility.
Beth Thibodeau [Thu, 7 Feb 2019 16:37:02 +0000 (11:37 -0500)]
Add flag to control compact seekbar visibility.

Test: `adb shell device_config put systemui compact_media_notification_seekbar_enabled true`
and observed that seekbar appeared on the next layout, or disappeared if set
back to false.
Bug: 123698590

Change-Id: I0f2469aa17e66fb0d5bedce93582fc45812a0c30

5 years agoAudioPresentation: Address API review comments
Mikhail Naganov [Tue, 26 Feb 2019 21:05:30 +0000 (13:05 -0800)]
AudioPresentation: Address API review comments

- Added explanation when AudioPresentation.Builder needs to be
  used.
- Add @NonNull to Builder.setLocale parameter.
- Complete parameters docs for Builder's methods.
- Use 'CharSequence' instead of 'String' in Builder.setLabels.
- Mark Builder class as final.

Bug: 125800702
Test: atest CtsMediaTestCases:AudioPresentationTest
Change-Id: Ib2c259439a0fde29612ce75b20f7f318d378d71f

5 years agoMerge "Properly update remote service when ContentSuggestionsPerUserService is updated."
TreeHugger Robot [Thu, 28 Feb 2019 19:45:05 +0000 (19:45 +0000)]
Merge "Properly update remote service when ContentSuggestionsPerUserService is updated."

5 years agoAdd nullability annotations.
Makoto Onuki [Thu, 28 Feb 2019 19:34:31 +0000 (11:34 -0800)]
Add nullability annotations.

Change-Id: I33f7420d3e2c6e1ff1cb69edc84478b0a2153188
Fix: 126699241
Test: build

5 years agoMerge "Hide "Pending" APIs based on feedback."
Jeff Sharkey [Thu, 28 Feb 2019 19:29:21 +0000 (19:29 +0000)]
Merge "Hide "Pending" APIs based on feedback."