OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Remove allocation from HeaderTileLayout#onLayout" into qt-dev
Fabian Kozynski [Tue, 23 Apr 2019 16:21:57 +0000 (16:21 +0000)]
Merge "Remove allocation from HeaderTileLayout#onLayout" into qt-dev

5 years agoMerge "Add ID field to the Callback" into qt-dev
Lucas Dupin [Tue, 23 Apr 2019 16:11:20 +0000 (16:11 +0000)]
Merge "Add ID field to the Callback" into qt-dev

5 years agoMerge "Set config_bottomDialogCornerRadius for square icon shape." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 16:03:47 +0000 (16:03 +0000)]
Merge "Set config_bottomDialogCornerRadius for square icon shape." into qt-dev

5 years agoMerge "[wm] Add tests to check adjust bounds logic will always exit" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 15:57:37 +0000 (15:57 +0000)]
Merge "[wm] Add tests to check adjust bounds logic will always exit" into qt-dev

5 years agoMerge "Add separate hasCapabilityName() methods in GnssCapabilities" into qt-dev
Anil Admal [Tue, 23 Apr 2019 15:32:05 +0000 (15:32 +0000)]
Merge "Add separate hasCapabilityName() methods in GnssCapabilities" into qt-dev

5 years agoMerge "Change getGnssCapabilites() return type to @NonNull" into qt-dev
Anil Admal [Tue, 23 Apr 2019 15:31:48 +0000 (15:31 +0000)]
Merge "Change getGnssCapabilites() return type to @NonNull" into qt-dev

5 years agoMerge "Update Rail Data Collection Frequency" into qt-dev
Blake Kragten [Tue, 23 Apr 2019 14:26:48 +0000 (14:26 +0000)]
Merge "Update Rail Data Collection Frequency" into qt-dev

5 years agoMerge "Freeze the networkstack-aidl-interfaces interface" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 14:15:25 +0000 (14:15 +0000)]
Merge "Freeze the networkstack-aidl-interfaces interface" into qt-dev

5 years agoMerge "Remove QS initial tooltip" into qt-dev
Fabian Kozynski [Tue, 23 Apr 2019 14:08:25 +0000 (14:08 +0000)]
Merge "Remove QS initial tooltip" into qt-dev

5 years agoMerge "Allow second consecutive activity start." into qt-dev
Alan Stokes [Tue, 23 Apr 2019 13:26:40 +0000 (13:26 +0000)]
Merge "Allow second consecutive activity start." into qt-dev

5 years agoMerge "Make QSCarrierText always selected" into qt-dev
Fabian Kozynski [Tue, 23 Apr 2019 12:58:11 +0000 (12:58 +0000)]
Merge "Make QSCarrierText always selected" into qt-dev

5 years agoMerge "Fix NPE when scheduling transaction for null client" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 10:35:27 +0000 (10:35 +0000)]
Merge "Fix NPE when scheduling transaction for null client" into qt-dev

5 years agoFreeze the networkstack-aidl-interfaces interface
Lorenzo Colitti [Tue, 23 Apr 2019 08:55:01 +0000 (01:55 -0700)]
Freeze the networkstack-aidl-interfaces interface

This freezes the interface as of the latest beta build, not the tip of
tree. IIpClient#setL2KeyAndGroupHint is not in the frozen definition in
particular.

Generated with:
m networkstack-aidl-interfaces-freeze-api \
    ipmemorystore-aidl-interfaces-freeze-api

Test: flashed, booted, WiFi and captive portal working
Bug: 128803828
Change-Id: Ideabe73fc93bbefca2d624ee9ca190cf31419424
Merged-In: Ideabe73fc93bbefca2d624ee9ca190cf31419424
(cherry picked from commit 9b89cdaaf401a6b77e160807039c06e537fa600a)

5 years agoMerge "Restore window to undefined instead of freeform windowing mode" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 09:15:26 +0000 (09:15 +0000)]
Merge "Restore window to undefined instead of freeform windowing mode" into qt-dev

5 years agoMerge "provide a resource overlay to configure customized DNS Server." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 09:05:45 +0000 (09:05 +0000)]
Merge "provide a resource overlay to configure customized DNS Server." into qt-dev

5 years agoMerge "Remove CtsActivityManagerDeviceTestCases reference" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 09:00:25 +0000 (09:00 +0000)]
Merge "Remove CtsActivityManagerDeviceTestCases reference" into qt-dev

5 years agoMerge "Move some telephony methods to max-sdk-p list." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 08:58:36 +0000 (08:58 +0000)]
Merge "Move some telephony methods to max-sdk-p list." into qt-dev

5 years agoAllow second consecutive activity start.
Alan Stokes [Thu, 18 Apr 2019 12:41:58 +0000 (13:41 +0100)]
Allow second consecutive activity start.

If we start two activities in onCreate the second one was being
blocked - because the current activity is no longer top but the new
activity is not yet visible. So we treat an INITIALIZING activity
as being visible for this purpose.

Bug: 130645908
Test: atest BackgroundActivityLaunchTest RootWindowContainerTests \
WmTests:ActivityStarterTests \
CtsWindowManagerDeviceTestCases:ActivityStarterTests
Change-Id: I96749f8b4d385527c91725827880bd12371d2411

5 years agoMerge "Fix an argument to the legacy broadcast" into qt-dev
Chalard Jean [Tue, 23 Apr 2019 07:04:26 +0000 (07:04 +0000)]
Merge "Fix an argument to the legacy broadcast" into qt-dev

5 years agoMerge "Fix a bug where + before % is ignored" into qt-dev
Chalard Jean [Tue, 23 Apr 2019 07:03:24 +0000 (07:03 +0000)]
Merge "Fix a bug where + before % is ignored" into qt-dev

5 years agoMerge "Wifi usability: Add timestamp in WifiUsabilityStats" into qt-dev
Mingguang Xu [Tue, 23 Apr 2019 06:00:22 +0000 (06:00 +0000)]
Merge "Wifi usability:  Add timestamp in WifiUsabilityStats" into qt-dev

5 years agoMerge "AudioService: manage hearing aid volume for calls" into qt-dev
Jean-Michel Trivi [Tue, 23 Apr 2019 05:07:11 +0000 (05:07 +0000)]
Merge "AudioService: manage hearing aid volume for calls" into qt-dev

5 years agoFix an argument to the legacy broadcast
Chalard Jean [Thu, 11 Apr 2019 05:09:07 +0000 (14:09 +0900)]
Fix an argument to the legacy broadcast

Test: new test for this
Fixes: 62650382
Change-Id: I918b8271d3c3c058553ca888cb54cd36a6efba66
Merged-In: I0fc408d546ae9d72b7dd9415e502252b484d4329
Merged-In: I9282930106d1eee3274d9e5c4e89de60e929a0e6

5 years agoRemove CtsActivityManagerDeviceTestCases reference
Tadashi G. Takaoka [Tue, 23 Apr 2019 02:01:48 +0000 (11:01 +0900)]
Remove CtsActivityManagerDeviceTestCases reference

Bug: 130526034
Test: atest --test-mapping frameworks/base/services/core/java/com/android/server/am
Change-Id: I68e3645bc5fc32c5c577551c18b9e8560c3f1216

5 years agoFix NPE when scheduling transaction for null client
Louis Chang [Wed, 17 Apr 2019 09:15:01 +0000 (17:15 +0800)]
Fix NPE when scheduling transaction for null client

Application process was crash and the application thread was set
to null when obtaining the client transaction object. NPE was
thrown by using it to schedule transaction.

Bug: 130006936
Test: WindowProcessControllerTests
Test: ActivityStartControllerTests
Test: RootActivityContainerTests

Change-Id: I65ecb124e014e5d80ebc283884475619f95239fa

5 years agoMerge "Vulkan Doc: update descriptions for Vulkan feature flags" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 02:04:05 +0000 (02:04 +0000)]
Merge "Vulkan Doc: update descriptions for Vulkan feature flags" into qt-dev

5 years agoMerge "Add @Nullable annotation to getAccessibilityWindowId" into qt-dev
Sara Kato [Tue, 23 Apr 2019 01:28:23 +0000 (01:28 +0000)]
Merge "Add @Nullable annotation to getAccessibilityWindowId" into qt-dev

5 years agoMerge "Adjust toast window parameters to support FLAG_SHOW_WHEN_LOCKED" into qt-dev
Jeff Chang [Tue, 23 Apr 2019 01:25:48 +0000 (01:25 +0000)]
Merge "Adjust toast window parameters to support FLAG_SHOW_WHEN_LOCKED" into qt-dev

5 years agoMerge "DimLayer: More release fixes." into qt-dev
Rob Carr [Tue, 23 Apr 2019 01:15:20 +0000 (01:15 +0000)]
Merge "DimLayer: More release fixes." into qt-dev

5 years agoMerge "Update dark mode custom accent colors." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 01:13:59 +0000 (01:13 +0000)]
Merge "Update dark mode custom accent colors." into qt-dev

5 years agoMerge "Handle NPE when the notification shade is opened via click on button." into...
TreeHugger Robot [Tue, 23 Apr 2019 00:44:47 +0000 (00:44 +0000)]
Merge "Handle NPE when the notification shade is opened via click on button." into qt-dev

5 years agoAdd carrier display name related CarrierConfig
Pengquan Meng [Thu, 18 Apr 2019 02:36:58 +0000 (19:36 -0700)]
Add carrier display name related CarrierConfig

Bug: 122921456
Test: build
Change-Id: I79836b2912be5223a2269e660bfaadf4aa72b930

5 years agoMerge "Adding null check when unregistering slice relay handler" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 00:04:28 +0000 (00:04 +0000)]
Merge "Adding null check when unregistering slice relay handler" into qt-dev

5 years agoMerge "No service timeout when debbuger is attached" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 23:58:26 +0000 (23:58 +0000)]
Merge "No service timeout when debbuger is attached" into qt-dev

5 years agoMerge "Sharesheet - Dark theme tweaks" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 23:56:27 +0000 (23:56 +0000)]
Merge "Sharesheet - Dark theme tweaks" into qt-dev

5 years agoUpdate Rail Data Collection Frequency
Blake Kragten [Tue, 16 Apr 2019 17:23:11 +0000 (10:23 -0700)]
Update Rail Data Collection Frequency

Fixed the frequency of the rail updates by updating the rails when
either the wifi or radio activity info is updated.

Test: Compiled onto phone, ran wifi and modem test cases and collected
bug report. Viewed a more accurate frequency of rail energy data.

Bug: 130174319

Change-Id: I4d79e58dfcc90e1c30253f524c85f26a8299f8d6

5 years agoAudioService: manage hearing aid volume for calls
Jean-Michel Trivi [Mon, 22 Apr 2019 19:21:50 +0000 (12:21 -0700)]
AudioService: manage hearing aid volume for calls

Add a mechanism to support audio devices that behave like "absolute
  volume" in AVRCP, but that support multiple use cases based on
  the audio mode.
Treat hearing aid as such a device:
  any change in audio mode will cause the volume of the corresponding
  dominent use case to be applied.
Fix a typo in SCO client death that caused a class cast issue.

Bug: 131091438
Bug: 129163231
Test: set hearing aid volume to X for media, take phone call and set volume to Y,
end call, verify volume is X for media.

Change-Id: Id778f69b98825c83b7137917bd81e973298ab8bb

5 years agoMerge "Fix NPE for devices that don't use a lock icon on the bouncer." into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 23:30:57 +0000 (23:30 +0000)]
Merge "Fix NPE for devices that don't use a lock icon on the bouncer." into qt-dev

5 years agoMerge "Remove framework.aidl rules" into qt-dev
Colin Cross [Mon, 22 Apr 2019 23:26:55 +0000 (23:26 +0000)]
Merge "Remove framework.aidl rules" into qt-dev

5 years ago[wm] Add tests to check adjust bounds logic will always exit
Vishnu Nair [Mon, 22 Apr 2019 23:14:47 +0000 (16:14 -0700)]
[wm] Add tests to check adjust bounds logic will always exit

In previous release, there was a scenario where the logic will result in
an infinite loop crashing the system. This change refactors the adjust
bounds logic to make it easier to test. Also adds a new test without any
candidate bounds and verifies it always returns.

Test: atest WmTests:TaskLaunchParamsModifierTests
Bug: 129491503

Change-Id: Iba94ade78cab154b823ae6ad5a6c3da198957715

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 agoVulkan Doc: update descriptions for Vulkan feature flags
Yiwei Zhang [Mon, 22 Apr 2019 20:18:14 +0000 (13:18 -0700)]
Vulkan Doc: update descriptions for Vulkan feature flags

Bug: 111695747
Test: build
Change-Id: I9ac897ef31cdf46c75a369866601062ba8033874

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 agoDimLayer: More release fixes.
Robert Carr [Mon, 22 Apr 2019 16:21:57 +0000 (09:21 -0700)]
DimLayer: More release fixes.

DimState and DimAnimatable are sharing ownership of the Dim layer with
either having the possibility to remove it. They aren't holding references
to eachother so its not clear where to consolidate ownership. We take the easy
way out and add some valid checks so they can safely share ownership.

Bug: 130315011
Test: Existing tests pass
Change-Id: Id473e40c58f1ca0f4a6a23284e220c6fd2ec36d2

5 years agoUpdate dark mode custom accent colors.
Amin Shaikh [Mon, 22 Apr 2019 19:34:56 +0000 (19:34 +0000)]
Update dark mode custom accent colors.

Change-Id: Ia2ace3ccf9fc326e75fd11792ecf8f34d82dbb1e
Fixes: 130762724
Test: make; visual

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 agoAdding null check when unregistering slice relay handler
Sunny Goyal [Fri, 19 Apr 2019 22:05:41 +0000 (15:05 -0700)]
Adding null check when unregistering slice relay handler

Bug: 130324175
Test: atest SliceBroadcastRelayHandlerTest
Change-Id: I8dc923746f3ef3a3617951d85c6a6f5d11970fa2

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 agoRemove QS initial tooltip
Fabian Kozynski [Mon, 22 Apr 2019 19:10:43 +0000 (15:10 -0400)]
Remove QS initial tooltip

Removed from QuickStatusBarHeader and from quick_status_header_info. The
tooltip read "Touch & hold icons for more options"

Did not remove the string in case it ends up being needed.

Test: manual, system restore does not show tooltip
Test: manual, turning on alarm and switching ringer behaves as expected
Fixes: 130994339
Change-Id: Ib63f15b424985b64cf32ad3a809ddbecf4125dc1

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 agoHandle NPE when the notification shade is opened via click on button.
Priyank Singh [Mon, 22 Apr 2019 17:41:58 +0000 (10:41 -0700)]
Handle NPE when the notification shade is opened via click on button.

At this time the onScroll events will not be triggered initially and hence the clip bounds are null.

Bug: 130168660
Test: Manual
Change-Id: If9fef608c65589440183565f4828065a15b19fdc

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 agoRemove allocation from HeaderTileLayout#onLayout
Fabian Kozynski [Mon, 22 Apr 2019 18:30:59 +0000 (14:30 -0400)]
Remove allocation from HeaderTileLayout#onLayout

Moved allocation of Rect to construction, and only bounds are modified
on layout.

Also fixed typo

Test: visual, expanding animation on large display
Fixes: 131093881
Change-Id: I92e14deee73820c5c21d7328d6a84b3115bb3c1f

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 agoAdd ID field to the Callback
Alex Salo [Sat, 6 Apr 2019 23:24:00 +0000 (16:24 -0700)]
Add ID field to the Callback

This avoid an almost infinite loop in case of a cache hit, and allows for better tracking/debug.

Bug: 111939367
Test: manually and atest AttentionDetectorTest
Change-Id: Iaa037e133ea9106b4c974c67dae286542103277d

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 agoSharesheet - Dark theme tweaks
Matt Pietal [Mon, 22 Apr 2019 15:05:22 +0000 (11:05 -0400)]
Sharesheet - Dark theme tweaks

Also align background scrim for light theme with sysui

Bug: 129980117
Test: Visual inspection
Change-Id: Ia3514c9e295a35cb08f5e6ffccd5121cb220630a

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 agoRemove framework.aidl rules
Colin Cross [Thu, 18 Apr 2019 19:09:34 +0000 (12:09 -0700)]
Remove framework.aidl rules

They are now located in build/soong/java/sdk.go.

Bug: 130798034
Bug: 122332340
Test: m checkbuild
Change-Id: I4e8ee725e660e52aa56c2a10b626dff517669869
Merged-In: I4e8ee725e660e52aa56c2a10b626dff517669869
(cherry picked from commit 196fa2947e7182ea2d19675af55920b3170ddf7c)

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 agoFix NPE for devices that don't use a lock icon on the bouncer.
Brad Stenning [Mon, 22 Apr 2019 16:30:20 +0000 (09:30 -0700)]
Fix NPE for devices that don't use a lock icon on the bouncer.

Bug: 130880522
Bug: 131083319
Test: Manual
Change-Id: I630f4df96b64a85d3b45fb95b28ed8e33b38ca1c

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 agoMake QSCarrierText always selected
Fabian Kozynski [Mon, 22 Apr 2019 15:02:40 +0000 (11:02 -0400)]
Make QSCarrierText always selected

We were changing selected value with visibility and that was making the
Carrier text become selected when QS expanded, capturing focus when it
shouldn't. This had also the effect of selecting it on HUN.

This change makes QSCarrierText always selected=true and only changes
its ellipsize with visibility

Test: manual, start expanding QS
Test: manual, send Hangouts message
Fixes: 129661790
Change-Id: I6c60ce288a1875cfd7854ad888170fdd77b2c65a

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 agoFix a bug where + before % is ignored
Chalard Jean [Fri, 19 Apr 2019 05:58:51 +0000 (14:58 +0900)]
Fix a bug where + before % is ignored

Achievement unlocked : fix a 10-year-old trivial bug

Bug: 1866121
Test: new CTS in Ib7ee866f65baf99b46a31e2115355a42a829421e
Change-Id: Ic91660d974dce21f2affdcacaeffe9accf8451ac
Merged-In: Ibe73a33264569b08cac4c00b4dda838f1e5551fc
Merged-In: Id4b1e456f7ce4e7aae84abb96fa55a8fe8f5caa5

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