OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Clean up left over prototype code in Navigation Bar" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 20:12:16 +0000 (20:12 +0000)]
Merge "Clean up left over prototype code in Navigation Bar" into qt-dev

5 years agoMerge "Update settings to properties mapper to use multi property listener." into...
Matt Pape [Tue, 23 Apr 2019 19:54:38 +0000 (19:54 +0000)]
Merge "Update settings to properties mapper to use multi property listener." into qt-dev

5 years agoMerge "Camera: fix null pointer dereference" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 19:37:25 +0000 (19:37 +0000)]
Merge "Camera: fix null pointer dereference" into qt-dev

5 years agoMerge "Revert "Add apex packages to uid_mapping"" into qt-dev
Howard Ro [Tue, 23 Apr 2019 19:36:25 +0000 (19:36 +0000)]
Merge "Revert "Add apex packages to uid_mapping"" into qt-dev

5 years agoMerge "pm set-home-activity waits until completion" into qt-dev
Makoto Onuki [Tue, 23 Apr 2019 19:36:08 +0000 (19:36 +0000)]
Merge "pm set-home-activity waits until completion" into qt-dev

5 years agoRevert "Add apex packages to uid_mapping"
Howard Ro [Tue, 23 Apr 2019 18:59:33 +0000 (18:59 +0000)]
Revert "Add apex packages to uid_mapping"

This reverts commit 67b1e54327e828a39a0706740d3898a8b561a81f.

Bug: 131167067
Reason for revert: b/131167067

Change-Id: I9a6aa7121a83c50fc99954bd2485eccfb26d74f5

5 years agoMerge "Don't start an observer without an extcon device" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 19:33:35 +0000 (19:33 +0000)]
Merge "Don't start an observer without an extcon device" into qt-dev

5 years agoMerge "Sharesheet - make work profile badges render" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 19:20:56 +0000 (19:20 +0000)]
Merge "Sharesheet - make work profile badges render" into qt-dev

5 years agoMerge "Copy private resources into SettingsLib's ProgressBar." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 19:11:26 +0000 (19:11 +0000)]
Merge "Copy private resources into SettingsLib's ProgressBar." into qt-dev

5 years agoMerge "Adding callback when surface params are applied" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 18:32:26 +0000 (18:32 +0000)]
Merge "Adding callback when surface params are applied" into qt-dev

5 years agoMerge "Add a lock to protect persistent stats snapshot" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 18:19:06 +0000 (18:19 +0000)]
Merge "Add a lock to protect persistent stats snapshot" into qt-dev

5 years agoMerge "Add content description to sensors off icon in status bar" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 17:56:46 +0000 (17:56 +0000)]
Merge "Add content description to sensors off icon in status bar" into qt-dev

5 years agoMerge "Add action metrics for Wi-Fi provision features" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 17:36:54 +0000 (17:36 +0000)]
Merge "Add action metrics for Wi-Fi provision features" into qt-dev

5 years agoMerge "Fix urn compare in EmergencyNumber" into qt-dev
Shuo Qian [Tue, 23 Apr 2019 17:27:26 +0000 (17:27 +0000)]
Merge "Fix urn compare in EmergencyNumber" into qt-dev

5 years agoMerge "Make sure to sync GPU after deleting memory in trimMemory." into qt-dev
Greg Daniel [Tue, 23 Apr 2019 16:52:06 +0000 (16:52 +0000)]
Merge "Make sure to sync GPU after deleting memory in trimMemory." into qt-dev

5 years agoMerge "Add delay to power-button power-off after gesture wakeup." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 16:31:24 +0000 (16:31 +0000)]
Merge "Add delay to power-button power-off after gesture wakeup." into qt-dev

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 agoAdd a lock to protect persistent stats snapshot
Chenbo Feng [Fri, 12 Apr 2019 01:44:45 +0000 (18:44 -0700)]
Add a lock to protect persistent stats snapshot

Since the network stats could be polled from multiple services at
runtime, it is not thread safe for networkStatsFactory to hold a
persistent stats snapshot without any protection. Use a internal lock to
prevent concurrent modification on mPersistentSnapshot to fix the
problem.

Bug: 124764595
Test: android.app.usage.cts.NetworkUsageStatsTest
      android.net.cts.TrafficStatsTest

Change-Id: I73851336452110afb74d6dd1ca5e50047d5b3d4a
Merged-In: I73851336452110afb74d6dd1ca5e50047d5b3d4a
Merged-In: I22afb46f17697e8b6359d4f593802e0f4b95db8b
(cherry picked from commit 25243b4eb93c234412a35f9e5d9f1649f8964f83)

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 agoAdding callback when surface params are applied
Sunny Goyal [Wed, 10 Apr 2019 22:48:06 +0000 (15:48 -0700)]
Adding callback when surface params are applied

Bug: 123874711
Test: Verified that there are no leak logs
Change-Id: I5dcb27c9c44d674363824e703b923fa83e3132b9

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 agoAdd delay to power-button power-off after gesture wakeup.
Santos Cordon [Tue, 9 Apr 2019 16:02:38 +0000 (17:02 +0100)]
Add delay to power-button power-off after gesture wakeup.

Adds a small delay to avoid turning off the device if the user
hits the power button right after the device wakes up via a gesture.

Bug: 126560003
Test: Manual
Change-Id: I3116ce98f244e5660573d5fa764a77083aee7fc5

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 agopm set-home-activity waits until completion
Bookatz [Wed, 17 Apr 2019 02:41:28 +0000 (19:41 -0700)]
pm set-home-activity waits until completion

PackageManagerShellActivity.runSetHomeActivity used to be synchronous,
but in Q the underlying calls became asynchronous. This cl:

1. changes the shell command to use RoleManager's addRoleHolderAsUser,
instead of calling into PackageManagerService.
2. uses a RemoteCallback to restore the wait-until-complete aspect of
the shell command.
3. consequently, the shell command now accepts either a package name
or a component, but either way, the component will be determined
automatically from the package.

(This is an alternative to ag/6989721; see comments there for
motivation)

Fixes: 128686703
Fixes: 130167856
Test: atest CtsShortcutHostTestCases CtsShortcutManagerTestCases
(.ShortcutManagerThrottlingTest#testActivityUnthrottled fails, but that
is presumably unrelated)
Test: atest android.content.pm.cts.shortcutmanager.ShortcutManagerLauncherApiTest
Test: atest android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest
Change-Id: Ibce6282bf401ca471469448262ea87cfc504cf4f

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 agoAdd action metrics for Wi-Fi provision features
Arc Wang [Mon, 15 Apr 2019 10:16:58 +0000 (18:16 +0800)]
Add action metrics for Wi-Fi provision features

  // ACTION: Share a Wi-Fi network by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_QR_CODE

  // ACTION: Connect to a Wi-Fi network by scanning a QR code
  ACTION_SETTINGS_ENROLL_WIFI_QR_CODE

  // ACTION: Share Wi-Fi hotspot by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_HOTSPOT_QR_CODE

Bug: 130521826
Test: manual
Change-Id: I99e55b53c49830347e48f688aa38afc3912e71b1

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 agoFix urn compare in EmergencyNumber
sqian [Mon, 22 Apr 2019 18:14:09 +0000 (11:14 -0700)]
Fix urn compare in EmergencyNumber

Test: Sanity
Bug: 130979270
Change-Id: I585ecafcf9996e24befec2dbe86465a1d5a0f030
Merged-In: I585ecafcf9996e24befec2dbe86465a1d5a0f030
(cherry picked from commit 3b35404279f4573069130cbd6f53c3f787d9046d)

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 agoCopy private resources into SettingsLib's ProgressBar.
Joel Galenson [Mon, 22 Apr 2019 19:40:17 +0000 (12:40 -0700)]
Copy private resources into SettingsLib's ProgressBar.

Bug: 130871088
Test: See progress bar.
Change-Id: I45283cd973bc0a37e1cc37758cd9ce7717b506ed

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 agoSharesheet - make work profile badges render
Mike Digman [Fri, 19 Apr 2019 22:49:10 +0000 (15:49 -0700)]
Sharesheet - make work profile badges render

Iconloaderlib has launcher specific logic for pulling and
rendering work profile badges. Alter to work properly with
Sharesheet. Currently, work profile badges aren't shown on top
of app targets.

Fixes: 126568207
Test: manual, visual inspection
Change-Id: If247d0077e8d1fd6256ff6aceb155e245a031001

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