OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Fixed content capture whitelist for specific activities." into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 22:34:09 +0000 (22:34 +0000)]
Merge "Fixed content capture whitelist for specific activities." into qt-dev

5 years agoMerge "Add logging enums for 3 new SIM related pages." into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 21:37:29 +0000 (21:37 +0000)]
Merge "Add logging enums for 3 new SIM related pages." into qt-dev

5 years agoMerge "Add apex packages to uid_mapping" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 21:37:08 +0000 (21:37 +0000)]
Merge "Add apex packages to uid_mapping" into qt-dev

5 years agoMerge "Add doc for system health guidelines for AOD clock faces." into qt-dev
Robert Snoeberger [Mon, 22 Apr 2019 20:41:59 +0000 (20:41 +0000)]
Merge "Add doc for system health guidelines for AOD clock faces." into qt-dev

5 years agoMerge "Add smoke test for jni library" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 20:14:31 +0000 (20:14 +0000)]
Merge "Add smoke test for jni library" into qt-dev

5 years agoMerge "Set min width of checkbox to 48dp" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 20:07:29 +0000 (20:07 +0000)]
Merge "Set min width of checkbox to 48dp" into qt-dev

5 years agoMerge "Remove spurious Slog.wtf()" into qt-dev
Chris Tate [Mon, 22 Apr 2019 19:55:46 +0000 (19:55 +0000)]
Merge "Remove spurious Slog.wtf()" into qt-dev

5 years agoMerge "add media.swcodec to native watchdog" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 19:24:44 +0000 (19:24 +0000)]
Merge "add media.swcodec to native watchdog" into qt-dev

5 years agoMerge "Dynamically adjust renderahead" into qt-dev
John Reck [Mon, 22 Apr 2019 19:18:53 +0000 (19:18 +0000)]
Merge "Dynamically adjust renderahead" into qt-dev

5 years agoMerge "Convert clock thumbnail images to transparent background." into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 18:53:19 +0000 (18:53 +0000)]
Merge "Convert clock thumbnail images to transparent background." into qt-dev

5 years agoMerge "Fixed that emergency alert dialog not popped up" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 18:47:01 +0000 (18:47 +0000)]
Merge "Fixed that emergency alert dialog not popped up" into qt-dev

5 years agoMerge "[wm] Fix smallestScreenWidthDp configuration on non default display (1/2)...
TreeHugger Robot [Mon, 22 Apr 2019 18:46:26 +0000 (18:46 +0000)]
Merge "[wm] Fix smallestScreenWidthDp configuration on non default display (1/2)" into qt-dev

5 years agoMerge "Fix UID tracking in ProcessCpuTracker." into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 18:35:27 +0000 (18:35 +0000)]
Merge "Fix UID tracking in ProcessCpuTracker." into qt-dev

5 years agoMerge "Fix a bug in ProtoFileReader." into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 18:34:39 +0000 (18:34 +0000)]
Merge "Fix a bug in ProtoFileReader." into qt-dev

5 years agoMerge "Don't slide down "At a Glance" when notifs aren't visible." into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 18:26:37 +0000 (18:26 +0000)]
Merge "Don't slide down "At a Glance" when notifs aren't visible." into qt-dev

5 years agoMerge "Fix QuotaController job spam throttling." into qt-dev
Kweku Adams [Mon, 22 Apr 2019 18:21:59 +0000 (18:21 +0000)]
Merge "Fix QuotaController job spam throttling." into qt-dev

5 years agoFix QuotaController job spam throttling.
Kweku Adams [Wed, 17 Apr 2019 00:05:30 +0000 (17:05 -0700)]
Fix QuotaController job spam throttling.

QuotaController was inadvertently updating all Timers for a particular
user whenever any process state crossed the FOREGROUND_SERVICE
threshold, instead of only updating the Timer for the specific UID.

Also adding more data to QuotaController's dump to make future debugging
easier.

Bug: 129117282
Test: atest com.android.server.job.controllers.QuotaControllerTest
Test: atest CtsJobSchedulerTestCases
Change-Id: Ic8d9e6478e61cc62318ae5651f0526e41a71de8d

5 years agoMerge "Remove feature flag slice injection" into qt-dev
Lei Yu [Mon, 22 Apr 2019 17:49:52 +0000 (17:49 +0000)]
Merge "Remove feature flag slice injection" into qt-dev

5 years agoSet min width of checkbox to 48dp
Beverly [Mon, 22 Apr 2019 17:36:27 +0000 (13:36 -0400)]
Set min width of checkbox to 48dp

Test: Accessibility Scanner
Fixes: 130775870
Change-Id: I7bf4b92d51d511551dd0aa7ac525d454b968b436

5 years agoMerge "Disconnect from overview service if process dies prior to connecting" into...
Winson Chung [Mon, 22 Apr 2019 17:21:34 +0000 (17:21 +0000)]
Merge "Disconnect from overview service if process dies prior to connecting" into qt-dev

5 years agoMerge "WmTests: Declare dependency on android.test.runner" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 17:02:56 +0000 (17:02 +0000)]
Merge "WmTests: Declare dependency on android.test.runner" into qt-dev

5 years agoMerge "Enable am profiling for apps profileable by shell" into qt-dev
Chris Craik [Mon, 22 Apr 2019 16:37:53 +0000 (16:37 +0000)]
Merge "Enable am profiling for apps profileable by shell" into qt-dev

5 years agoMerge "deprecate sharedUserId attribute" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 16:24:35 +0000 (16:24 +0000)]
Merge "deprecate sharedUserId attribute" into qt-dev

5 years agoMerge "Align GnssVisibilityControl location on/off with GnssLocationProvider" into...
Anil Admal [Mon, 22 Apr 2019 15:57:47 +0000 (15:57 +0000)]
Merge "Align GnssVisibilityControl location on/off with GnssLocationProvider" into qt-dev

5 years agoMerge "Update clearData flow for notification settings" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 15:52:34 +0000 (15:52 +0000)]
Merge "Update clearData flow for notification settings" into qt-dev

5 years agoConvert clock thumbnail images to transparent background.
Robert Snoeberger [Mon, 22 Apr 2019 15:35:44 +0000 (11:35 -0400)]
Convert clock thumbnail images to transparent background.

Fixes: 131076056
Test: manual - checked thumbnails in picker app
Change-Id: I54a6ddc8a595cf19fbab5cb4ae5f0321dbee23bb

5 years ago[wm] Fix smallestScreenWidthDp configuration on non default display (1/2)
GyeHun Jeon [Fri, 19 Apr 2019 18:30:56 +0000 (11:30 -0700)]
[wm] Fix smallestScreenWidthDp configuration on non default display (1/2)

smallestScreenWidthDp configuration should be set to smallest possible size.
This could cause unexpected resources to be loaded based on the incorrect configuration. So it
should be set as minimum size of screenWidthDp and screenHeightDp to account for rotation.

Test: reproduce test steps in bug
Test: atest CtsWindowManagerDeviceTestCases:DisplayTests
Bug: 129521230
Change-Id: I07403294e8fe6e6ad7aa718c8a5948aff4fafae1
(cherry picked from commit 7671d7042d60944813f36a03b74199c5a3d737ad)

5 years agoMerge "Improve Location dump Timestamps" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 15:21:38 +0000 (15:21 +0000)]
Merge "Improve Location dump Timestamps" into qt-dev

5 years agoMerge "Verify Bundle is not null before using it" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 15:09:28 +0000 (15:09 +0000)]
Merge "Verify Bundle is not null before using it" into qt-dev

5 years agoMerge changes I689ec523,Id249a185 into qt-dev
Winson Chiu [Mon, 22 Apr 2019 14:35:50 +0000 (14:35 +0000)]
Merge changes I689ec523,Id249a185 into qt-dev

* changes:
  Delayed install completion
  Defer post-install resource clean up for 5 seconds

5 years agoMerge "AudioService: async volume updates from DeviceInventory" into qt-dev
Jean-Michel Trivi [Mon, 22 Apr 2019 14:24:01 +0000 (14:24 +0000)]
Merge "AudioService: async volume updates from DeviceInventory" into qt-dev

5 years agoMerge "Clear calling identity before calling into UserManagerService" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 14:18:58 +0000 (14:18 +0000)]
Merge "Clear calling identity before calling into UserManagerService" into qt-dev

5 years agoUpdate clearData flow for notification settings
Julia Reynolds [Fri, 19 Apr 2019 15:08:27 +0000 (11:08 -0400)]
Update clearData flow for notification settings

Some settings need to be maintained (like whether the app
is the default dialer), so don't just wipe away all of the settings.

Test: atest; clear data on default dialer and ensure missed call
notification is still in priority bucket
Fixes: 127855529

Change-Id: I9e0c2fa1ceb371fe98a4f25f3573f043e9e2c1c9

5 years agoMerge "Fix alignment of date in QS" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 13:15:20 +0000 (13:15 +0000)]
Merge "Fix alignment of date in QS" into qt-dev

5 years agodeprecate sharedUserId attribute
Todd Kennedy [Thu, 18 Apr 2019 20:13:17 +0000 (13:13 -0700)]
deprecate sharedUserId attribute

Shared user ids have caused numerous issues, inconsistencies,
and other random behaviours. They are generally not needed as
proper methodologies -- such as providers and services -- exist
and should be used for cross-package interaction.

We are deprecating the sharedUserId and sharedUserLabel
attributes in Q with the eventual goal of entirely removing them
in a future Android release.

Fixes: 129297713
Test: none. doc only change
Change-Id: Id84e8e22918010b2a42531c0b94aff75689d419b

5 years agoMerge "Adds Assistant invocation type to home long press." into qt-dev
Govinda Wasserman [Mon, 22 Apr 2019 12:24:26 +0000 (12:24 +0000)]
Merge "Adds Assistant invocation type to home long press." into qt-dev

5 years agoMerge "Make LegacyTypeTracker testable" into qt-dev
Chalard Jean [Mon, 22 Apr 2019 12:08:59 +0000 (12:08 +0000)]
Merge "Make LegacyTypeTracker testable" into qt-dev

5 years agoMerge "Define config for wifi fatal firmware alert error code list" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 11:11:59 +0000 (11:11 +0000)]
Merge "Define config for wifi fatal firmware alert error code list" into qt-dev

5 years agoMerge "Move Setting constants for NetworkStack" into qt-dev
Chiachang Wang [Mon, 22 Apr 2019 10:37:10 +0000 (10:37 +0000)]
Merge "Move Setting constants for NetworkStack" into qt-dev

5 years agoMerge "Notification shade glass pane should fade in as its being opened." into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 07:40:20 +0000 (07:40 +0000)]
Merge "Notification shade glass pane should fade in as its being opened." into qt-dev

5 years agoMerge "Restrict access to dangerous methods to <= P" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 07:14:10 +0000 (07:14 +0000)]
Merge "Restrict access to dangerous methods to <= P" into qt-dev

5 years agoMake LegacyTypeTracker testable
Chalard Jean [Wed, 10 Apr 2019 14:07:55 +0000 (23:07 +0900)]
Make LegacyTypeTracker testable

...and add basic trivial tests for it.

Test: this, and ConnectivityServiceTest
Bug: 62650382
Change-Id: Ie7ca938e6f66f1b15feb6ed93afa0aebb20884ae

5 years agoMerge "Rename folder dynandroid to dynsystem" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 06:01:21 +0000 (06:01 +0000)]
Merge "Rename folder dynandroid to dynsystem" into qt-dev

5 years agoNotification shade glass pane should fade in as its being opened.
Priyank Singh [Sun, 21 Apr 2019 22:42:44 +0000 (15:42 -0700)]
Notification shade glass pane should fade in as its being opened.

Bug: 130168660
Test: Manual
Change-Id: I12d09d5fd1a9d23f5219bbb217deccaabd39fdfc

5 years agoMerge "Clean-up PersisterQueue tests" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 04:32:25 +0000 (04:32 +0000)]
Merge "Clean-up PersisterQueue tests" into qt-dev

5 years agoMerge "Adding the touch gestures for the pull down notification shade." into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 03:33:14 +0000 (03:33 +0000)]
Merge "Adding the touch gestures for the pull down notification shade." into qt-dev

5 years agoRename folder dynandroid to dynsystem
Po-Chien Hsueh [Mon, 22 Apr 2019 02:47:50 +0000 (10:47 +0800)]
Rename folder dynandroid to dynsystem

We previously renamed DynamicAndroid to DynamicSystem. Package name
was also changed to com.android.dynsystem. But the folder name was
unchanged. This CL fixes the inconsistency.

Bug: 126613281
Test: make and run the service with 'adb shell am'
Change-Id: Ib462aec1603a16179c8392b6d51a00d0855d9421

5 years agoFix a bug in ProtoFileReader.
Yao Chen [Mon, 22 Apr 2019 03:10:27 +0000 (20:10 -0700)]
Fix a bug in ProtoFileReader.

Classic and consuming

Bug: 131037240
Test: unit test added in incidentd_test
Change-Id: I9200122ed35e874ef453eb12adc7fbf28c22003e

5 years agoFixed that emergency alert dialog not popped up
Jack Yu [Mon, 22 Apr 2019 00:21:43 +0000 (17:21 -0700)]
Fixed that emergency alert dialog not popped up

Fixed by granting START_ACTIVITIES_FROM_BACKGROUND
to the cell broadcast receiver.

Test: Manual
Bug: 130384940

Change-Id: Ie563a8f11ac991ab9568f65df6a4d14eebe47c5e

5 years agoMerge "WifiMetrics: add histogram of installed Passpoint profiles for R2" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 23:23:15 +0000 (23:23 +0000)]
Merge "WifiMetrics: add histogram of installed Passpoint profiles for R2" into qt-dev

5 years agoMerge "Update the CPU text cache sizes to be the same as their GPU equivalents" into...
Derek Sollenberger [Sun, 21 Apr 2019 23:13:12 +0000 (23:13 +0000)]
Merge "Update the CPU text cache sizes to be the same as their GPU equivalents" into qt-dev

5 years agoMerge "Move locale from LanguageDetectionEvent to base class" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 09:02:26 +0000 (09:02 +0000)]
Merge "Move locale from LanguageDetectionEvent to base class" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 03:08:23 +0000 (03:08 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 02:01:32 +0000 (02:01 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 01:26:41 +0000 (01:26 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Sharesheet - Fix wrong metric value being recorded" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 00:27:23 +0000 (00:27 +0000)]
Merge "Sharesheet - Fix wrong metric value being recorded" into qt-dev

5 years agoAdding the touch gestures for the pull down notification shade.
Priyank Singh [Sat, 20 Apr 2019 01:46:26 +0000 (18:46 -0700)]
Adding the touch gestures for the pull down notification shade.

Bug: 130168660
Test: Manual

Change-Id: Ida234a0bff0485ff1277594f9bff9c15a252d0de

5 years agoMerge "Block clicks on smart actions and replies just after creation/update." into...
TreeHugger Robot [Sat, 20 Apr 2019 22:15:21 +0000 (22:15 +0000)]
Merge "Block clicks on smart actions and replies just after creation/update." into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 20 Apr 2019 22:08:12 +0000 (15:08 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icd4e215eb16f56988e0e7494f6038ad837bfe56b

5 years agoMerge "Dimmer secondary color on dark mode" into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 22:06:32 +0000 (22:06 +0000)]
Merge "Dimmer secondary color on dark mode" into qt-dev

5 years agoMerge "Fix SIM PIN listener registration" into qt-dev
Lucas Dupin [Sat, 20 Apr 2019 18:57:06 +0000 (18:57 +0000)]
Merge "Fix SIM PIN listener registration" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 20 Apr 2019 11:49:14 +0000 (04:49 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I819bfef9bdd3d1a2bcc5474b48ab326b255aee08

5 years agoMerge "Add more documentation for isEmergencyAssistanceEnabled()." into qt-dev
Hai Zhang [Sat, 20 Apr 2019 04:56:25 +0000 (04:56 +0000)]
Merge "Add more documentation for isEmergencyAssistanceEnabled()." into qt-dev

5 years agoMerge "Replace synchronous calls to shared prefs with async calls." into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 04:50:16 +0000 (04:50 +0000)]
Merge "Replace synchronous calls to shared prefs with async calls." into qt-dev

5 years agoMerge "Update theme after registering config listener" into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 03:41:52 +0000 (03:41 +0000)]
Merge "Update theme after registering config listener" into qt-dev

5 years agoMerge "Dismiss keyguard if pulsing unlocked" into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 03:39:32 +0000 (03:39 +0000)]
Merge "Dismiss keyguard if pulsing unlocked" into qt-dev

5 years agoFixed content capture whitelist for specific activities.
Felipe Leme [Wed, 17 Apr 2019 20:57:59 +0000 (13:57 -0700)]
Fixed content capture whitelist for specific activities.

Test: manual verification (it cannot be fully verified using the current CTS setup)
Test: atest CtsContentCaptureServiceTestCases:android.contentcaptureservice.cts.WhitelistTest
Test: atest FrameworksCoreTests:android.content.ContentCaptureOptionsTest
Test: atest CtsContentCaptureServiceTestCases # sanity check
Test: m update-api

Fixes: 130573023
Merged-In: I2c76a01bd98c4154c4c59099f1368232d2dba80d
Change-Id: I2c76a01bd98c4154c4c59099f1368232d2dba80d

5 years agoMerge "Fix back button not disappearing" into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 03:01:02 +0000 (03:01 +0000)]
Merge "Fix back button not disappearing" into qt-dev

5 years agoMerge "Fix NPE for devices that don't use a lock icon in sysui." into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 02:41:42 +0000 (02:41 +0000)]
Merge "Fix NPE for devices that don't use a lock icon in sysui." into qt-dev

5 years agoMerge "Add tests for user changes." into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 02:36:02 +0000 (02:36 +0000)]
Merge "Add tests for user changes." into qt-dev

5 years agoMerge "Check PackageManager for feature before getting system service" into qt-dev
Kevin Chyn [Sat, 20 Apr 2019 02:26:16 +0000 (02:26 +0000)]
Merge "Check PackageManager for feature before getting system service" into qt-dev

5 years agoMerge "Tethering: fix using wrong subId problem" into qt-dev
Mark Chien [Sat, 20 Apr 2019 02:04:40 +0000 (02:04 +0000)]
Merge "Tethering: fix using wrong subId problem" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 20 Apr 2019 01:45:35 +0000 (18:45 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If428b7190a3facb2043149291b70b8aa8ba0557b

5 years agoMerge "Revert "Update clearData flow for notification settings"" into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 01:26:27 +0000 (01:26 +0000)]
Merge "Revert "Update clearData flow for notification settings"" into qt-dev

5 years agoMerge "Let there be color" into qt-dev
Lucas Dupin [Sat, 20 Apr 2019 01:22:18 +0000 (01:22 +0000)]
Merge "Let there be color" into qt-dev

5 years agoMerge "Add nullability annotations to android.bluetooth.le.ScanFilter.Builder setServ...
TreeHugger Robot [Sat, 20 Apr 2019 01:01:25 +0000 (01:01 +0000)]
Merge "Add nullability annotations to android.bluetooth.le.ScanFilter.Builder setServiceSolicitationUuid" into qt-dev

5 years agoMerge "DO NOT MERGE - Updated some javadocs." into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 00:57:06 +0000 (00:57 +0000)]
Merge "DO NOT MERGE - Updated some javadocs." into qt-dev

5 years agoFix UID tracking in ProcessCpuTracker.
zhouwenjie [Thu, 18 Apr 2019 22:08:27 +0000 (15:08 -0700)]
Fix UID tracking in ProcessCpuTracker.

Many processes are incorrectly listed under UID 0 (e.g. surfaceflinger)
because some "/proc/$PID/stat" files are with user "root".
The user of the folder "/proc/$PID/" is the correct one to use.

Bug: 119218763
Test: adb shell dumpsys batterystats -c | grep surfaceflinger
Change-Id: Ibfbe9b04c884bc9bde383629bcbba73f48ed34ee
(cherry picked from commit 7ead3ee46fa208df469e53055e7fd8d6b442b949)

5 years agoMerge "Do not unnecessarily re-inflate camera preview" into qt-dev
Lucas Dupin [Sat, 20 Apr 2019 00:33:37 +0000 (00:33 +0000)]
Merge "Do not unnecessarily re-inflate camera preview" into qt-dev

5 years agoAudioService: async volume updates from DeviceInventory
Jean-Michel Trivi [Thu, 18 Apr 2019 19:07:34 +0000 (12:07 -0700)]
AudioService: async volume updates from DeviceInventory

Make VolumeStreamState private to AudioService, and don't let
  AudioDeviceBroker, AudioDeviceInventory manipulate it. Only
  let them post messages on AudioService message handler to
  access them.
Refactor methods to set a volume index and observe devices
  from AudioDeviceInventory to AudioService to be asynchronous.

Bug: 130686447
Bug: 129163231
Test: verify volume is last used when connecting A2DP or hearing aid
Change-Id: I356af79213f4c21ed4ebaf86922fbbd9bf48a892

5 years agoMerge "Maintain legacy signatures" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 23:41:32 +0000 (23:41 +0000)]
Merge "Maintain legacy signatures" into qt-dev

5 years agoRevert "Update clearData flow for notification settings"
Chavi Weingarten [Fri, 19 Apr 2019 23:16:24 +0000 (23:16 +0000)]
Revert "Update clearData flow for notification settings"

This reverts commit 224ef13774019a91bac24c60ba89fc21a5978e16.

Reason for revert: b/130908336 - breaks tests

Change-Id: I124330a970bfca6a9e2db10415c498a1f45580ff
Bug: 130908336

5 years agoDO NOT MERGE - Updated some javadocs.
Felipe Leme [Wed, 17 Apr 2019 18:16:17 +0000 (11:16 -0700)]
DO NOT MERGE - Updated some javadocs.

Test: make ds-docs

Bug: 130726495
Fixes: 130737893

Change-Id: Idaf50cb17b0668f3052d86f256d5428ba4e06a3c

5 years agoMerge "Power key behavior tweaks." into qt-dev
Steve Elliott [Fri, 19 Apr 2019 23:02:08 +0000 (23:02 +0000)]
Merge "Power key behavior tweaks." into qt-dev

5 years agoDelayed install completion
Winson [Fri, 5 Apr 2019 00:41:28 +0000 (17:41 -0700)]
Delayed install completion

This change is an attempt at delaying the install complete callback
to the installer on a DONT_KILL install until the package indicates
that it as completed updating its classpath with the new APKs.

Bug: 80269951
Bug: 109751013

Test: manual test of dynamic delivery/instant apps

Merged-In: I689ec523522da37987cff9b1a67eaae9e5633ffb
Change-Id: I689ec523522da37987cff9b1a67eaae9e5633ffb
(cherry picked from commit abfc054c9065f96ae34023119623bdd310cb6e48)

5 years agoLet there be color
Lucas Dupin [Fri, 19 Apr 2019 22:38:42 +0000 (15:38 -0700)]
Let there be color

Use notification colors even on night mode (enforcing contrast of
course)

Test: pull down shade on LS and launcher
Fixes: 130756560
Change-Id: I3f3f6e426163e316906692ef8b9c416ca94242ee

5 years agoAdd nullability annotations to android.bluetooth.le.ScanFilter.Builder setServiceSoli...
Zach Johnson [Fri, 19 Apr 2019 21:13:03 +0000 (14:13 -0700)]
Add nullability annotations to android.bluetooth.le.ScanFilter.Builder setServiceSolicitationUuid

Test: compilation
Fixes: 126698824
Change-Id: I4873b46a37df3e103ddc62001cc9f0bc01aea4dc

5 years agoDimmer secondary color on dark mode
Lucas Dupin [Fri, 19 Apr 2019 22:21:59 +0000 (15:21 -0700)]
Dimmer secondary color on dark mode

To help focus on what matters

Test: visual
Fixes: 130755980
Change-Id: I070a7d36d110918d00e78b97b79bb6466c7e4f84

5 years agoDisconnect from overview service if process dies prior to connecting
Winson Chung [Fri, 19 Apr 2019 20:56:44 +0000 (13:56 -0700)]
Disconnect from overview service if process dies prior to connecting

Bug: 130812774
Test: None, not reproducible
Change-Id: I656af59ba116b78cd341747f002ca789238e5747

5 years agoFix SIM PIN listener registration
Lucas Dupin [Fri, 19 Apr 2019 22:03:51 +0000 (15:03 -0700)]
Fix SIM PIN listener registration

User correct lifecycle methods for listener regristion,
otherwise error messages would show up on the shared text field

Test: add/remove locked sim card
Test: solve sim challenge, go to bouncer
Fixes: 130906933
Change-Id: I5327c447b770da1148c3e3ef19c6a75e69832a90

5 years agoUpdate theme after registering config listener
Lucas Dupin [Fri, 19 Apr 2019 18:10:48 +0000 (11:10 -0700)]
Update theme after registering config listener

Theme might not be set yet during inflation and we might miss the
event if wait for the view to be added to the window, leading to
theme being out of sync.

Test: adb shell am crash com.android.systemui
Fixes: 130879865
Change-Id: Icd533457732b46b96aeacf9be0c32c02e6b33360

5 years agoMerge "Make Settings and SysUI estimates use same data class" into qt-dev
Salvador Martinez [Fri, 19 Apr 2019 22:00:27 +0000 (22:00 +0000)]
Merge "Make Settings and SysUI estimates use same data class" into qt-dev

5 years agoMerge "Remove the bubble if the notification is no longer FLAG_BUBBLE" into qt-dev
Mady Mellor [Fri, 19 Apr 2019 21:51:57 +0000 (21:51 +0000)]
Merge "Remove the bubble if the notification is no longer FLAG_BUBBLE" into qt-dev

5 years agoAdd doc for system health guidelines for AOD clock faces.
Robert Snoeberger [Fri, 19 Apr 2019 21:35:10 +0000 (17:35 -0400)]
Add doc for system health guidelines for AOD clock faces.

Bug: 129775476
Test: none
Change-Id: I3b5eb9524a076669cc15278f80d9fc8c81b5340a

5 years agoAdd logging enums for 3 new SIM related pages.
Fan Zhang [Fri, 19 Apr 2019 20:59:59 +0000 (13:59 -0700)]
Add logging enums for 3 new SIM related pages.

Bug: 130897640
Test: rebuild
Change-Id: I97fa886d54af7f1035b2fda100e276c5b34c5c63

5 years agoReplace synchronous calls to shared prefs with async calls.
Dave Mankoff [Fri, 19 Apr 2019 19:48:29 +0000 (15:48 -0400)]
Replace synchronous calls to shared prefs with async calls.

Also, make a copy of protected data to prevent accidental changes
from outside callers.

Bug: 130525551
Test: Manual.
Change-Id: I7b6efa32bc6db88b79579effaa7ffe1466a80380

5 years agoFix alignment of date in QS
Fabian Kozynski [Fri, 19 Apr 2019 20:52:49 +0000 (16:52 -0400)]
Fix alignment of date in QS

Test: visual
Fixes: 127616107
Change-Id: Ib0fb35daf94b95f158d9fceadf1930f826151311

5 years agoDismiss keyguard if pulsing unlocked
Lucas Dupin [Fri, 19 Apr 2019 03:57:40 +0000 (20:57 -0700)]
Dismiss keyguard if pulsing unlocked

BouncerExpansionCallback#onFullyShown will never be called when unlocked
because we collapse the shade without showing the PIN pad.
We need some special logic to make sure that the device will wake-up.

Test: swipe up from pulse when locked
Test: swipe up from pulse when unlocked
Fixes: 129315800
Change-Id: I740e598b180ad7aeb5b023a5984942b89ae1df5f

5 years agoClear calling identity before calling into UserManagerService
Amith Yamasani [Fri, 19 Apr 2019 20:39:51 +0000 (13:39 -0700)]
Clear calling identity before calling into UserManagerService

For cases where the settings are being written synchronously from
an API call, make sure to clear the calling identity before
querying users to avoid a SecurityException.

Bug: 113105346
Test: atest CtsContentTestCases:PackageManagerTest
Change-Id: I28b78dce99d36caa58ab448476ec01a51689246b

5 years agoMerge "Disable blocking helper" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 20:38:02 +0000 (20:38 +0000)]
Merge "Disable blocking helper" into qt-dev