OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Adds StatusBarNotificationActivityStarterTest"
Mark Renouf [Mon, 25 Mar 2019 01:44:48 +0000 (01:44 +0000)]
Merge "Adds StatusBarNotificationActivityStarterTest"

5 years agoMerge "Refine adjustIsVisibleToUser"
Jackal Guo [Mon, 25 Mar 2019 01:11:36 +0000 (01:11 +0000)]
Merge "Refine adjustIsVisibleToUser"

5 years agoQuery specific collections for properties.
Jeff Sharkey [Sun, 24 Mar 2019 18:50:51 +0000 (12:50 -0600)]
Query specific collections for properties.

We're now enforcing the public API schema, so clients like MTP need
to query specific collections when asking for properties that are
specific to those media types.

Also refactor MediaScanner calls to go through MediaProvider, so
they can be handled by ModernMediaScanner.  We no longer directly
try inserting items, and instead rely completely on the scanner.

Bug: 127625964122263824
Test: atest MediaProviderTests
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: Ic86982766606a619afafe725f9c60013a5671840

5 years agoMerge "More apps making assumptions about MediaStore."
Jeff Sharkey [Sun, 24 Mar 2019 16:49:55 +0000 (16:49 +0000)]
Merge "More apps making assumptions about MediaStore."

5 years agoMerge "[WPA3] Initialize Suite-B ciphers correctly based on the CA cert type"
Hai Shalom [Sun, 24 Mar 2019 16:46:58 +0000 (16:46 +0000)]
Merge "[WPA3] Initialize Suite-B ciphers correctly based on the CA cert type"

5 years agoMerge "Remove SessionCallbackLink"
Hyundo Moon [Sun, 24 Mar 2019 12:15:07 +0000 (12:15 +0000)]
Merge "Remove SessionCallbackLink"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 24 Mar 2019 11:03:27 +0000 (11:03 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 24 Mar 2019 08:21:49 +0000 (01:21 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1895204b3d43e1796c9fbf437f53b85db36b4549
Auto-generated-cl: translation import

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 24 Mar 2019 07:31:14 +0000 (00:31 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia9353b95fd48812e2c50c1588649ef91f1c4f2c9
Auto-generated-cl: translation import

5 years agoMerge "Add bit --refresh which updates module-info.json"
Joe Onorato [Sun, 24 Mar 2019 01:14:23 +0000 (01:14 +0000)]
Merge "Add bit --refresh which updates module-info.json"

5 years agoMerge "Do not remove location permissions on Q-beta OTAs"
Philip P. Moltmann [Sat, 23 Mar 2019 23:14:16 +0000 (23:14 +0000)]
Merge "Do not remove location permissions on Q-beta OTAs"

5 years agoAdd bit --refresh which updates module-info.json
Joe Onorato [Sat, 23 Mar 2019 23:12:32 +0000 (16:12 -0700)]
Add bit --refresh which updates module-info.json

Change-Id: Iacd760442fa45d1e23ce249d51c45f2313d6467c

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 23 Mar 2019 22:15:18 +0000 (22:15 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Remove deprecated USM#registerAppUsageLimitObserver."
Varun Shah [Sat, 23 Mar 2019 22:14:40 +0000 (22:14 +0000)]
Merge "Remove deprecated USM#registerAppUsageLimitObserver."

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 23 Mar 2019 20:48:04 +0000 (20:48 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 23 Mar 2019 20:02:24 +0000 (20:02 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 23 Mar 2019 19:46:11 +0000 (19:46 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 23 Mar 2019 19:45:01 +0000 (19:45 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Helper methods for constructing MediaStore Uris."
Jeff Sharkey [Sat, 23 Mar 2019 19:31:56 +0000 (19:31 +0000)]
Merge "Helper methods for constructing MediaStore Uris."

5 years agoMore apps making assumptions about MediaStore.
Jeff Sharkey [Sat, 23 Mar 2019 18:51:57 +0000 (12:51 -0600)]
More apps making assumptions about MediaStore.

Bug: 128803870
Test: none
Change-Id: I2e7e9ce0feda3209495c5e6952672ae62bd638fc

5 years agoMerge "CleanSpec for DynamicAndroidInstallationService"
TreeHugger Robot [Sat, 23 Mar 2019 18:13:23 +0000 (18:13 +0000)]
Merge "CleanSpec for DynamicAndroidInstallationService"

5 years agoMerge changes from topic "mar22z"
Jeff Sharkey [Sat, 23 Mar 2019 17:59:03 +0000 (17:59 +0000)]
Merge changes from topic "mar22z"

* changes:
  Point people towards ModernMediaScanner.
  Translate paths before leaving app sandbox.

5 years agoHelper methods for constructing MediaStore Uris.
Jeff Sharkey [Sat, 23 Mar 2019 17:54:43 +0000 (11:54 -0600)]
Helper methods for constructing MediaStore Uris.

Bug: 128787096
Test: atest MediaProviderTests
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I2848feb616df1c4df0b1bb71544769f61b9d84e8

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 23 Mar 2019 17:37:02 +0000 (10:37 -0700)]
Import translations. DO NOT MERGE

Change-Id: I63d39e6c8b2601ecfda7cc4ae0453ed13f6d7deb
Auto-generated-cl: translation import

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 23 Mar 2019 16:45:01 +0000 (09:45 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idf5e77fadd60d027ae475510d0705bb3bd6d3eb7
Auto-generated-cl: translation import

5 years agoCleanSpec for DynamicAndroidInstallationService
Po-Chien Hsueh [Sat, 23 Mar 2019 16:29:39 +0000 (00:29 +0800)]
CleanSpec for DynamicAndroidInstallationService

We renamed DynamicAndroidInstallationService, add it to CleanSpec.

Bug: 129159349
Test: Rename and make
Change-Id: I5445cafbbd5b0ae7af77fdf76ddc50ce6ad1e6de

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 23 Mar 2019 16:29:28 +0000 (09:29 -0700)]
Import translations. DO NOT MERGE

Change-Id: I5d6599aba123b7e96f9099c84550e8fdbeabcb91
Auto-generated-cl: translation import

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 23 Mar 2019 16:28:17 +0000 (09:28 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ibb415cc9cf3f1f0f4750e783ef0af46cb2a3a018
Auto-generated-cl: translation import

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 23 Mar 2019 15:53:21 +0000 (08:53 -0700)]
Import translations. DO NOT MERGE

Change-Id: I65b814b71096682291ab6ffedfcc97f4949c9975
Auto-generated-cl: translation import

5 years agoMerge "Fixed a property naming mismatch."
TreeHugger Robot [Sat, 23 Mar 2019 09:55:19 +0000 (09:55 +0000)]
Merge "Fixed a property naming mismatch."

5 years agoMerge "Converting EXTRA_PACKAGE_NAME to a link tag"
TreeHugger Robot [Sat, 23 Mar 2019 06:19:42 +0000 (06:19 +0000)]
Merge "Converting EXTRA_PACKAGE_NAME to a link tag"

5 years agoMerge "Api feedback for status bar icon api"
TreeHugger Robot [Sat, 23 Mar 2019 06:00:18 +0000 (06:00 +0000)]
Merge "Api feedback for status bar icon api"

5 years agoMerge "Move Session2Command result codes into Result class"
Jin Seok Park [Sat, 23 Mar 2019 05:44:56 +0000 (05:44 +0000)]
Merge "Move Session2Command result codes into Result class"

5 years agoMerge "Mainline logging to statsd: native static libs"
TreeHugger Robot [Sat, 23 Mar 2019 05:03:04 +0000 (05:03 +0000)]
Merge "Mainline logging to statsd: native static libs"

5 years agoMerge "Public StatsLog API for generic mainline logging."
Tej Singh [Sat, 23 Mar 2019 05:00:52 +0000 (05:00 +0000)]
Merge "Public StatsLog API for generic mainline logging."

5 years agoMerge "Make Resources.Theme.rebase() public API"
TreeHugger Robot [Sat, 23 Mar 2019 05:00:14 +0000 (05:00 +0000)]
Merge "Make Resources.Theme.rebase() public API"

5 years agoMerge "Added a "lite" flag on ContentCaptureOptions."
TreeHugger Robot [Sat, 23 Mar 2019 04:33:21 +0000 (04:33 +0000)]
Merge "Added a "lite" flag on ContentCaptureOptions."

5 years agoMove Session2Command result codes into Result class
Jin Seok Park [Mon, 18 Mar 2019 13:37:18 +0000 (22:37 +0900)]
Move Session2Command result codes into Result class

Bug: 128459284
Test: update-api
Change-Id: I01167fb81724432462f78233d45abc9c3a8e641f

5 years agoMerge "Adding new strings for battery saver sticky off notification."
Kweku Adams [Sat, 23 Mar 2019 03:48:52 +0000 (03:48 +0000)]
Merge "Adding new strings for battery saver sticky off notification."

5 years agoMerge "Fill elapsedRealtime fields in GnssClock"
TreeHugger Robot [Sat, 23 Mar 2019 03:08:26 +0000 (03:08 +0000)]
Merge "Fill elapsedRealtime fields in GnssClock"

5 years agoMerge "Do not remove enumerate client immediately when user switches"
TreeHugger Robot [Sat, 23 Mar 2019 02:59:46 +0000 (02:59 +0000)]
Merge "Do not remove enumerate client immediately when user switches"

5 years agoMerge "Fixing up some logic around excluded tasks"
Winson Chung [Sat, 23 Mar 2019 02:41:41 +0000 (02:41 +0000)]
Merge "Fixing up some logic around excluded tasks"

5 years agoMerge "Restricts ContentCapture and AugmentedAutofill when using temporary services."
TreeHugger Robot [Sat, 23 Mar 2019 02:34:25 +0000 (02:34 +0000)]
Merge "Restricts ContentCapture and AugmentedAutofill when using temporary services."

5 years agoMerge "Add a new carrier config to show the WFC location privacy policy UI"
Hall Liu [Sat, 23 Mar 2019 02:13:33 +0000 (02:13 +0000)]
Merge "Add a new carrier config to show the WFC location privacy policy UI"

5 years agoMerge "Annotate Data and Voice Roaming setters with @TestApi." am: e1dda15d6c am...
Cody Kesting [Sat, 23 Mar 2019 01:53:41 +0000 (18:53 -0700)]
Merge "Annotate Data and Voice Roaming setters with @TestApi." am: e1dda15d6c am: c028f7a57a
am: 66fb2bf986

Change-Id: Iba01930bc02239e54bd05ef4e98a99cdb74d4be4

5 years agoMerge "Update strings for face auth"
Ilya Matyukhin [Sat, 23 Mar 2019 01:38:07 +0000 (01:38 +0000)]
Merge "Update strings for face auth"

5 years agoMerge "Annotate Data and Voice Roaming setters with @TestApi." am: e1dda15d6c
Cody Kesting [Sat, 23 Mar 2019 01:36:14 +0000 (18:36 -0700)]
Merge "Annotate Data and Voice Roaming setters with @TestApi." am: e1dda15d6c
am: c028f7a57a

Change-Id: I4976be17b20e7ecc6466303179e53629f2252937

5 years agoMerge "Adding strings for user-initiated heap dumps."
TreeHugger Robot [Sat, 23 Mar 2019 01:28:20 +0000 (01:28 +0000)]
Merge "Adding strings for user-initiated heap dumps."

5 years agoMerge "Annotate Data and Voice Roaming setters with @TestApi."
Cody Kesting [Sat, 23 Mar 2019 01:22:15 +0000 (18:22 -0700)]
Merge "Annotate Data and Voice Roaming setters with @TestApi."
am: e1dda15d6c

Change-Id: I450069925ec6b931d88c964aba4975167531d93d

5 years agoMerge "Code cleanup in ZygoteProcess.java."
TreeHugger Robot [Sat, 23 Mar 2019 01:18:00 +0000 (01:18 +0000)]
Merge "Code cleanup in ZygoteProcess.java."

5 years agoMerge "Annotate Data and Voice Roaming setters with @TestApi."
Treehugger Robot [Sat, 23 Mar 2019 01:03:31 +0000 (01:03 +0000)]
Merge "Annotate Data and Voice Roaming setters with @TestApi."

5 years agoMerge "Do not allow registration of null callbacks"
TreeHugger Robot [Sat, 23 Mar 2019 00:52:07 +0000 (00:52 +0000)]
Merge "Do not allow registration of null callbacks"

5 years agoMerge "Fix comment of MeasuredText"
Haoyu Zhang [Sat, 23 Mar 2019 00:51:01 +0000 (00:51 +0000)]
Merge "Fix comment of MeasuredText"

5 years agoFixed a property naming mismatch.
Chris Wailes [Sat, 23 Mar 2019 00:45:28 +0000 (17:45 -0700)]
Fixed a property naming mismatch.

Device configuration properties in ZygoteConfig.java used old names for
certain values.  These name strings have been updated to the correct
values and additional logging has been added to help catch future
issues.

Test: m
Test: boot and check log for USAP messages
Change-Id: I2fb92afe7edd9b1254dd3be659ec5063aa0b8e16

5 years agoMerge "Add self to OWNERS for MediaProjection." am: 00ccf23ebd am: 187bd825b8
Michael Wright [Sat, 23 Mar 2019 00:36:20 +0000 (17:36 -0700)]
Merge "Add self to OWNERS for MediaProjection." am: 00ccf23ebd am: 187bd825b8
am: 12683c7d9d

Change-Id: I716cf4f93ca453a69e054f3b455cc4ba62be8941

5 years agoMerge "Add self to OWNERS for MediaProjection." am: 00ccf23ebd
Michael Wright [Sat, 23 Mar 2019 00:26:57 +0000 (17:26 -0700)]
Merge "Add self to OWNERS for MediaProjection." am: 00ccf23ebd
am: 187bd825b8

Change-Id: Ic59abd88618d5b06dedf5f618a428f8ab1c4f022

5 years agoMerge "Restrict access to FLAG_USE_CHILD_DRAWING_ORDER."
TreeHugger Robot [Sat, 23 Mar 2019 00:26:47 +0000 (00:26 +0000)]
Merge "Restrict access to FLAG_USE_CHILD_DRAWING_ORDER."

5 years agoMerge "Oh Minute instead of O'Minute for 1-9 minutes after the hour."
TreeHugger Robot [Sat, 23 Mar 2019 00:26:27 +0000 (00:26 +0000)]
Merge "Oh Minute instead of O'Minute for 1-9 minutes after the hour."

5 years agoMerge "Prevent nav bar from laying out dimensions of previous orientation"
TreeHugger Robot [Sat, 23 Mar 2019 00:25:37 +0000 (00:25 +0000)]
Merge "Prevent nav bar from laying out dimensions of previous orientation"

5 years agoMerge "Update the ripple color for the dialog buttons."
TreeHugger Robot [Sat, 23 Mar 2019 00:23:27 +0000 (00:23 +0000)]
Merge "Update the ripple color for the dialog buttons."

5 years agoMerge "Let single tap devices wake up with double tap"
TreeHugger Robot [Sat, 23 Mar 2019 00:21:07 +0000 (00:21 +0000)]
Merge "Let single tap devices wake up with double tap"

5 years agoMerge "Add self to OWNERS for MediaProjection."
Michael Wright [Sat, 23 Mar 2019 00:14:39 +0000 (17:14 -0700)]
Merge "Add self to OWNERS for MediaProjection."
am: 00ccf23ebd

Change-Id: I34369b2d81c8fea7c56000e305ee8f82a18135de

5 years agoDo not remove enumerate client immediately when user switches
Kevin Chyn [Fri, 22 Mar 2019 22:52:08 +0000 (15:52 -0700)]
Do not remove enumerate client immediately when user switches

The client should not be removed until ERROR_CANCEL is removed in the
system service, since that's the HIDL contract. Pending clients will start
after, automatically with the current logic.

Test: With fingerprint enrolled on multiple users, switch rapidly
      system service does not crash

Fixes: 128346522
Change-Id: I6907d8f76373c012ddffd2b98a81d70e79ac72ab

5 years agoAdding new strings for battery saver sticky off notification.
Kweku Adams [Thu, 21 Mar 2019 20:06:53 +0000 (13:06 -0700)]
Adding new strings for battery saver sticky off notification.

Bug: 112232746
Bug: 128928252
Test: manual
Change-Id: I70e3d8e4a80b204eb5154a2d14de8b6ad7f46785

5 years agoMerge "Added NonNull categoryIds for fc shell cmd."
TreeHugger Robot [Fri, 22 Mar 2019 23:48:52 +0000 (23:48 +0000)]
Merge "Added NonNull categoryIds for fc shell cmd."

5 years agoMerge "Add self to OWNERS for MediaProjection."
Treehugger Robot [Fri, 22 Mar 2019 23:48:31 +0000 (23:48 +0000)]
Merge "Add self to OWNERS for MediaProjection."

5 years agoMerge "Conversation Actions: support multiple models."
TreeHugger Robot [Fri, 22 Mar 2019 23:36:21 +0000 (23:36 +0000)]
Merge "Conversation Actions: support multiple models."

5 years agoMerge "Change subtext for MEDIA_VISUAL"
Evan Severson [Fri, 22 Mar 2019 23:35:46 +0000 (23:35 +0000)]
Merge "Change subtext for MEDIA_VISUAL"

5 years agoMerge "Define allow_metered_network_for_cert_download_bool flag"
Ecco Park [Fri, 22 Mar 2019 23:33:59 +0000 (23:33 +0000)]
Merge "Define allow_metered_network_for_cert_download_bool flag"

5 years agoPoint people towards ModernMediaScanner.
Jeff Sharkey [Fri, 22 Mar 2019 23:30:46 +0000 (17:30 -0600)]
Point people towards ModernMediaScanner.

The platform media scanner has served faithfully for many years, but
it's become tedious to test and maintain, mainly due to the way it
weaves obscurely between managed and native code.

Bug: 128243527
Test: none
Change-Id: I44c5e9840acc0afde4aeaf9a44a21e0f8939b44b

5 years agoFix comment of MeasuredText
Haoyu Zhang [Fri, 22 Mar 2019 23:01:25 +0000 (16:01 -0700)]
Fix comment of MeasuredText

Bug: N/A
Test: make offline-sdk-docs
Change-Id: If60cbf4ed05ec07ac0be24689ee01d0763ba9b31

5 years agoRestricts ContentCapture and AugmentedAutofill when using temporary services.
Felipe Leme [Fri, 22 Mar 2019 21:27:44 +0000 (14:27 -0700)]
Restricts ContentCapture and AugmentedAutofill when using temporary services.

Test: manual verification
Test: atest CtsContentCaptureServiceTestCases AugmentedLoginActivityTest

Fixes: 120514763

Change-Id: Icb4bfab566ecb041ff77655651b1f6c51551303f

5 years agoMerge "RTT LCI API *MINOR UPDATE2* (Client Side) - removing two LCI methods Based...
TreeHugger Robot [Fri, 22 Mar 2019 23:23:21 +0000 (23:23 +0000)]
Merge "RTT LCI API *MINOR UPDATE2* (Client Side) - removing two LCI methods Based on discussion with IEEE 802.11 WG these are not necessary for RTT."

5 years agoTranslate paths before leaving app sandbox.
Jeff Sharkey [Fri, 22 Mar 2019 23:18:38 +0000 (17:18 -0600)]
Translate paths before leaving app sandbox.

When sending the ACTION_MEDIA_SCANNER_SCAN_FILE broadcast, an app
provides a raw filesystem path, which might be inside of their
sandbox.

Once the broadcast is delivered, we don't know where it came from,
so we need to translate the path before leaving the app process.

Bug: 117909601
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: Ibddd72a2d85e1f6541e0d6209e539fe6b5c4bde0

5 years agoCode cleanup in ZygoteProcess.java.
Chris Wailes [Wed, 13 Mar 2019 23:42:09 +0000 (16:42 -0700)]
Code cleanup in ZygoteProcess.java.

Generic code cleanup.  Changed access scopes, replaced code with utility
functions, and outlined some code.

Test: m
Test: treehugger
Change-Id: I6d9a827abf88dc30eac611642723d69cb75bb351

5 years agoMerge "Fixed Content Capture workflow when service package is updated."
TreeHugger Robot [Fri, 22 Mar 2019 23:00:01 +0000 (23:00 +0000)]
Merge "Fixed Content Capture workflow when service package is updated."

5 years agoMerge "Add status for license starting in the future"
TreeHugger Robot [Fri, 22 Mar 2019 22:59:19 +0000 (22:59 +0000)]
Merge "Add status for license starting in the future"

5 years agoMerge "Add new constants for dark mode screen"
TreeHugger Robot [Fri, 22 Mar 2019 22:56:06 +0000 (22:56 +0000)]
Merge "Add new constants for dark mode screen"

5 years agoMerge "carrier config: add imsi_encoding_method_int flag"
Ecco Park [Fri, 22 Mar 2019 22:49:28 +0000 (22:49 +0000)]
Merge "carrier config: add imsi_encoding_method_int flag"

5 years agoMerge "[Passpointv2] Enable saved network showing detailed page"
TreeHugger Robot [Fri, 22 Mar 2019 22:46:15 +0000 (22:46 +0000)]
Merge "[Passpointv2] Enable saved network showing detailed page"

5 years agoMerge "Add Shell permission for CTS test."
TreeHugger Robot [Fri, 22 Mar 2019 22:31:32 +0000 (22:31 +0000)]
Merge "Add Shell permission for CTS test."

5 years agoMerge "Fix a bug that onOpChanged callbacks are not called."
TreeHugger Robot [Fri, 22 Mar 2019 22:27:19 +0000 (22:27 +0000)]
Merge "Fix a bug that onOpChanged callbacks are not called."

5 years agoMerge "Revert "Revert "Allow screenshot to carry more information."""
Peiyong Lin [Fri, 22 Mar 2019 22:24:51 +0000 (22:24 +0000)]
Merge "Revert "Revert "Allow screenshot to carry more information."""

5 years agoMerge "WM: Mark ActivityMetricsLaunchObserverTests as flaky"
TreeHugger Robot [Fri, 22 Mar 2019 22:18:29 +0000 (22:18 +0000)]
Merge "WM: Mark ActivityMetricsLaunchObserverTests as flaky"

5 years agoDo not allow registration of null callbacks
Lucas Dupin [Fri, 22 Mar 2019 22:04:02 +0000 (15:04 -0700)]
Do not allow registration of null callbacks

Some client is registering null callbacks and causing NPE.
Let's crash earilier to figure out what's causing the behavior.

Fixes: 128895449
Test: start systemui, stop systemui
Test: all sysui tests and boot health tests still pass
Change-Id: I8caafc980c2dde0f9187fbd6205dbd2027233e60

5 years agoMerge "Migrate KeyguardClockSwitch to dagger."
TreeHugger Robot [Fri, 22 Mar 2019 22:09:31 +0000 (22:09 +0000)]
Merge "Migrate KeyguardClockSwitch to dagger."

5 years agoAdding strings for user-initiated heap dumps.
Kweku Adams [Fri, 22 Mar 2019 18:04:01 +0000 (11:04 -0700)]
Adding strings for user-initiated heap dumps.

This is taken from http://ag/6795760.

Bug: 77490269
Test: N/A
Change-Id: I8ee281788046a86657decf3d1660d20b4b575bbc

5 years agoMerge "Refresh TextClock on doze time tick alarm."
TreeHugger Robot [Fri, 22 Mar 2019 22:04:20 +0000 (22:04 +0000)]
Merge "Refresh TextClock on doze time tick alarm."

5 years agoMerge "Do not run create on successive reboots"
TreeHugger Robot [Fri, 22 Mar 2019 21:57:10 +0000 (21:57 +0000)]
Merge "Do not run create on successive reboots"

5 years agoMerge "Renamed ContentCaptureService.disableContentCaptureServices to disableSelf()"
Felipe Leme [Fri, 22 Mar 2019 21:53:34 +0000 (21:53 +0000)]
Merge "Renamed ContentCaptureService.disableContentCaptureServices to disableSelf()"

5 years agoMerge "Add a new Secure Setting check for current opted-out state of captions."
Anthony Tripaldi [Fri, 22 Mar 2019 21:53:11 +0000 (21:53 +0000)]
Merge "Add a new Secure Setting check for current opted-out state of captions."

5 years agoMake Resources.Theme.rebase() public API
Winson [Fri, 22 Mar 2019 21:35:48 +0000 (14:35 -0700)]
Make Resources.Theme.rebase() public API

Needed for androidx dark mode to recreate UI without triggering
lifecycle event.

Bug: 128982541

Test: none needed

Change-Id: I7d16692f074cc7e50470868a6e232e26ff9d1ed3

5 years agoMerge "Add targetOverlayableName to OverlayInfo"
Ryan Mitchell [Fri, 22 Mar 2019 21:39:41 +0000 (21:39 +0000)]
Merge "Add targetOverlayableName to OverlayInfo"

5 years agoLet single tap devices wake up with double tap
Lucas Dupin [Fri, 22 Mar 2019 21:38:28 +0000 (14:38 -0700)]
Let single tap devices wake up with double tap

Users might double tap twice by mistake, and the device should still
wake up.

Test: manual
Fixes: 129090210
Change-Id: I55fc963d1f4e9d355ccf3d4ee8cbe9087b8e50cf

5 years agoMerge "Sharesheet - Resolve crash when no targets are present"
TreeHugger Robot [Fri, 22 Mar 2019 21:33:22 +0000 (21:33 +0000)]
Merge "Sharesheet - Resolve crash when no targets are present"

5 years agoMerge "Do not force review of hidden permissions"
Philip P. Moltmann [Fri, 22 Mar 2019 21:27:08 +0000 (21:27 +0000)]
Merge "Do not force review of hidden permissions"

5 years agoMerge "Fixed "adb shell dumpsys location" NullPointerException. If dumpsys is called...
TreeHugger Robot [Fri, 22 Mar 2019 21:24:39 +0000 (21:24 +0000)]
Merge "Fixed "adb shell dumpsys location" NullPointerException. If dumpsys is called before systemRunning(), then NullPointerException is thrown because of null member variables."

5 years agoRevise BroadcastRadioService handling of V2 HALs
George Lu [Thu, 14 Mar 2019 00:11:21 +0000 (17:11 -0700)]
Revise BroadcastRadioService handling of V2 HALs

Previously, BroadcastRadioService checked for HALs (both V1 and V2)
exactly once, the first time listModules() was called. This approach
failed to handle HALs that registered after boot or that died and restarted.

This change addresses both issues by registering a listener that is
invoked when V2 HALs are registered. Additionally, the check for V1 HALs
now occurs at construction time.

Bug: 121006324
Bug: 126887436
Test: Verified on device BroadcastRadioService handles V1 HALs properly and picks up V2 HALs dynamically
Change-Id: Id9df7f53d189801f0a0dc894b2bb425d655edbd6

5 years agoFixing up some logic around excluded tasks
Winson Chung [Fri, 22 Feb 2019 22:10:27 +0000 (14:10 -0800)]
Fixing up some logic around excluded tasks

- We already check for the excluded task flag in isInVisibleRange, so we
  should handle skipping that check in there. This fixes the issue where
  an excluded task behind a non-visible task would still fail to show
  even if it was the last visible task.

Bug: 125475435
Test: atest WmTests:RecentTasksTest
Change-Id: I26e79197c3d2bda30f597dd7d4fa879784f14dc8

5 years agoUpdate the ripple color for the dialog buttons.
Priyank Singh [Thu, 21 Mar 2019 21:50:34 +0000 (14:50 -0700)]
Update the ripple color for the dialog buttons.

Bug: 124232382
Test: Manual
Change-Id: Iedaf9a3d5414b24e19514fceb86e9955a642a0c2
(cherry picked from commit be35f344e1ea962ff41dfd3205a138e459371d55)