OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Change attribute of fingerprint vibrations" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 16:08:23 +0000 (16:08 +0000)]
Merge "Change attribute of fingerprint vibrations" into qt-dev

5 years agoMerge "Use async dns query to resolve all addresses" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 15:38:32 +0000 (15:38 +0000)]
Merge "Use async dns query to resolve all addresses" into qt-dev

5 years agoMerge "Add secure setting for Global Actions Panel debug mode." into qt-dev
Aran Ink [Fri, 10 May 2019 15:30:10 +0000 (15:30 +0000)]
Merge "Add secure setting for Global Actions Panel debug mode." into qt-dev

5 years agoMerge "Support strict mode private DNS on VPNs that provide Internet." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 15:26:54 +0000 (15:26 +0000)]
Merge "Support strict mode private DNS on VPNs that provide Internet." into qt-dev

5 years agoMerge "PointerLocation: move showing exclusion rects behind flag" into qt-dev
Wale Ogunwale [Fri, 10 May 2019 15:19:04 +0000 (15:19 +0000)]
Merge "PointerLocation: move showing exclusion rects behind flag" into qt-dev

5 years agoMerge "AudioService: fix cross deadlock" into qt-dev
Eric Laurent [Fri, 10 May 2019 15:11:16 +0000 (15:11 +0000)]
Merge "AudioService: fix cross deadlock" into qt-dev

5 years agoMerge "hwui: ro.hwui.render_ahead=0 queue on high FPS" into qt-dev
Kevin DuBois [Fri, 10 May 2019 15:08:10 +0000 (15:08 +0000)]
Merge "hwui: ro.hwui.render_ahead=0 queue on high FPS" into qt-dev

5 years agoMerge "Add filter to getInstalledModules for showing installed modules only" into...
Mohammad Samiul Islam [Fri, 10 May 2019 14:25:42 +0000 (14:25 +0000)]
Merge "Add filter to getInstalledModules for showing installed modules only" into qt-dev

5 years agoMerge "Fix race condition in TileServices" into qt-dev
Fabian Kozynski [Fri, 10 May 2019 14:22:25 +0000 (14:22 +0000)]
Merge "Fix race condition in TileServices" into qt-dev

5 years agoMerge "Fixed NPE when AutofillManager.getClient() returns null." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 13:54:19 +0000 (13:54 +0000)]
Merge "Fixed NPE when AutofillManager.getClient() returns null." into qt-dev

5 years agoUse async dns query to resolve all addresses
Chiachang Wang [Fri, 10 May 2019 09:26:23 +0000 (02:26 -0700)]
Use async dns query to resolve all addresses

Currently, it looks like private DNS server resolution uses
OneAddressPerFamilyNetwork and only returns one server address.
It should return all addresses. Use async dns api for this.

Bug: 123435238
Test: atest NetworkStacktests

Change-Id: I2b7e184d9b9800a83b55dceb73af69085668748c
(cherry picked from commit 40c5295cee38166fadb53d5f37dc885d94c4971f)
Merged-In: I2b7e184d9b9800a83b55dceb73af69085668748c
Merged-In: I9f50da3c8c2e3b12b29bc8844291e4bf1559cd1f

5 years agoMerge "Fix window didn't disappear if enable/disable ime at same time" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 13:09:31 +0000 (13:09 +0000)]
Merge "Fix window didn't disappear if enable/disable ime at same time" into qt-dev

5 years agoSupport strict mode private DNS on VPNs that provide Internet.
Chalard Jean [Fri, 10 May 2019 11:33:43 +0000 (04:33 -0700)]
Support strict mode private DNS on VPNs that provide Internet.

Currently, strict mode private DNS does not work on VPNs because
NetworkMonitor does not validate VPNs. When a VPN connects, it
immediately transitions to ValidatedState, skipping private DNS
hostname resolution.

This change makes NetworkMonitor perform private DNS hostname
resolution and evaluation even on VPNs.

In order to ensure that the system always immediately switches to
the VPN as soon as it connects, remove the unvalidated penalty
for VPN networks. This ensures that the VPN score is always 101
and the VPN always outscores other networks as soon as it
connects. Previously, it would only outscore other networks
when no-op validation completed.

Bug: 122652057
Test: atest FrameworksNetTests NetworkStackTests
Test: manually ran a VPN with private DNS in strict mode
atest android.net.cts.ConnectivityManagerTest com.android.cts.net.HostsideVpnTests
Change-Id: Iaa78a7edcf23755c89d7b354edbc28d37d74d891
Merged-In: Iaa78a7edcf23755c89d7b354edbc28d37d74d891
(cherry picked from commit 414b8c8b1ce8ae2ad6ef95c1ffba19062077d3e6)

5 years agoMerge "Fix progress bar color in foreground notifications" into qt-dev
Beth Thibodeau [Fri, 10 May 2019 13:05:37 +0000 (13:05 +0000)]
Merge "Fix progress bar color in foreground notifications" into qt-dev

5 years agoMerge "SystemUI: overheat warning enhancements and bug fixes." into qt-dev
Sherry Huang [Fri, 10 May 2019 13:00:52 +0000 (13:00 +0000)]
Merge "SystemUI: overheat warning enhancements and bug fixes." into qt-dev

5 years agoMerge "Return null from PackageManagerService.getInstallerPackageName for apex"...
Mohammad Samiul Islam [Fri, 10 May 2019 12:26:37 +0000 (12:26 +0000)]
Merge "Return null from  PackageManagerService.getInstallerPackageName for apex" into qt-dev

5 years agoMerge "Add Display White Balance tests." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 12:22:37 +0000 (12:22 +0000)]
Merge "Add Display White Balance tests." into qt-dev

5 years agoMerge "Don't allow enabling system decorations for untrusted virtual displays (2...
TreeHugger Robot [Fri, 10 May 2019 11:46:30 +0000 (11:46 +0000)]
Merge "Don't allow enabling system decorations for untrusted virtual displays (2/2)" into qt-dev

5 years agoMerge "Add dumpsys param to dump users running backup service" into qt-dev
Ruslan Tkhakokhov [Fri, 10 May 2019 11:42:54 +0000 (11:42 +0000)]
Merge "Add dumpsys param to dump users running backup service" into qt-dev

5 years agoMerge "Revert "Don't allow PI-based starts and trampolines when sender"" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 11:28:07 +0000 (11:28 +0000)]
Merge "Revert "Don't allow PI-based starts and trampolines when sender"" into qt-dev

5 years agoFix window didn't disappear if enable/disable ime at same time
Arthur Hung [Tue, 7 May 2019 11:49:31 +0000 (19:49 +0800)]
Fix window didn't disappear if enable/disable ime at same time

When starting to freeze display, AppTransition also clear all status and
data, but if the RemoteAnimation didn't start. The window can't recevice the
finish animation callback, that would make the state is always EXITING.

Bug: 130618911
Test: atest DocumentsTest
Test: atest WmTests:RemoteAnimationControllerTest
Test: atest WmTests:AppTransitionTests
Change-Id: I5695a291f26323eb78cced435722b459b963a9f1

5 years agoMerge "Monitor RollbackManagerServiceImpl#mHandlerThread" into qt-dev
Shafik Nassar [Fri, 10 May 2019 10:24:15 +0000 (10:24 +0000)]
Merge "Monitor RollbackManagerServiceImpl#mHandlerThread" into qt-dev

5 years agoMerge "Fail to enable rollback if enable rollback times out" into qt-dev
Shafik Nassar [Fri, 10 May 2019 10:23:53 +0000 (10:23 +0000)]
Merge "Fail to enable rollback if enable rollback times out" into qt-dev

5 years agoAdd filter to getInstalledModules for showing installed modules only
Mohammad Samiul Islam [Thu, 9 May 2019 14:36:21 +0000 (15:36 +0100)]
Add filter to getInstalledModules for showing installed modules only

Additionally, the function now accepts PackageManager.MATCH_ALL flag for
returning all ModuleInfos.

Bug: 131929295
Test: Manual testing. Run the following commands
      $ adb shell pm get-moduleinfo
      $ adb shell pm get-installed-moduleinfo
      Observed that they are different.

Change-Id: I37cfb7d717664c6183695348e1b0f11e4ddff0cf

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 08:56:20 +0000 (08:56 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoAdd dumpsys param to dump users running backup service
Ruslan Tkhakokhov [Tue, 30 Apr 2019 10:32:37 +0000 (11:32 +0100)]
Add dumpsys param to dump users running backup service

This is required in CTS tests to know when UserBackupManagerService init is finished.

Bug: 131307343
Test: 1) atest RunBackupFrameworksServicesRoboTests
      2) atest CtsBackupTestCases
      3) atest CtsBackupHostTestCases
      4) atest GtsBackupTestCases
      5) atest GtsBackupHostTestCases

Change-Id: Ia220f32b5be793b3b36efb2985604e29b0015e53

5 years agoMerge "Make service start whitelisting for background activity starts persist after...
TreeHugger Robot [Fri, 10 May 2019 08:05:33 +0000 (08:05 +0000)]
Merge "Make service start whitelisting for background activity starts persist after service start." into qt-dev

5 years agoRevert "Don't allow PI-based starts and trampolines when sender"
Alan Stokes [Thu, 9 May 2019 12:50:37 +0000 (12:50 +0000)]
Revert "Don't allow PI-based starts and trampolines when sender"

This partially reverts commit
2927b542ab9d6e63f61c582c6a027da3efd9dead.

Reason for revert: Breaks legitimate uses (b/131862922)

The changes to handle TYPE_APPLICATION_STARTING are not being reverted
(RootWindowContainer and RootWindowContainerTests); they're unrelated.

Bug: 131862922
Bug: 129563343
Test: atest BackgroundActivityLaunchTest
Test: atest RootWindowContainerTests
Test: atest WmTests:ActivityStarterTests
Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests
Test: atest CtsAppTestCases:.ServiceTest

Change-Id: Ib86b7cbff97ce3154c7e3ce7b3c7e46b33c575fe

5 years agoMerge "Fix the vts error" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 06:28:17 +0000 (06:28 +0000)]
Merge "Fix the vts error" into qt-dev

5 years agoMerge "Fix error source of system server crashes" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 05:36:10 +0000 (05:36 +0000)]
Merge "Fix error source of system server crashes" into qt-dev

5 years agoMerge "Ignore orientation requests from apps on the close-to-square display" into...
Tiger Huang [Fri, 10 May 2019 05:18:47 +0000 (05:18 +0000)]
Merge "Ignore orientation requests from apps on the close-to-square display" into qt-dev

5 years agoMerge "Fix DeviceDefault action bar color." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 04:25:57 +0000 (04:25 +0000)]
Merge "Fix DeviceDefault action bar color." into qt-dev

5 years agoMerge "adopt non-blocking method to obtain the IpMemoryStore service." into qt-dev
Xiao Ma [Fri, 10 May 2019 03:56:28 +0000 (03:56 +0000)]
Merge "adopt non-blocking method to obtain the IpMemoryStore service." into qt-dev

5 years agoMerge changes I0a5c576b,I54fcf97b into qt-dev
Hyundo Moon [Fri, 10 May 2019 03:42:49 +0000 (03:42 +0000)]
Merge changes I0a5c576b,I54fcf97b into qt-dev

* changes:
  Remove MediaParceledListSlice
  Remove MediaSessionServiceImpl

5 years agoMerge "Changed local refs in JNI to ScopedLocalRef" into qt-dev
Aurimas Liutikas [Fri, 10 May 2019 03:27:41 +0000 (03:27 +0000)]
Merge "Changed local refs in JNI to ScopedLocalRef" into qt-dev

5 years agoMerge "Do not fully compiled debuggable apps" into qt-dev
Calin Juravle [Fri, 10 May 2019 02:35:10 +0000 (02:35 +0000)]
Merge "Do not fully compiled debuggable apps" into qt-dev

5 years agoMerge "Remove plugin logical from NavigationBarView (1/2)" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 02:08:40 +0000 (02:08 +0000)]
Merge "Remove plugin logical from NavigationBarView (1/2)" into qt-dev

5 years agoMerge "Mobile data in quick setting still work if default data not set" into qt-dev
Xiangyu/Malcolm Chen [Fri, 10 May 2019 01:57:10 +0000 (01:57 +0000)]
Merge "Mobile data in quick setting still work if default data not set" into qt-dev

5 years agoMerge "Remove DefaultContainerService and its references." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 01:52:37 +0000 (01:52 +0000)]
Merge "Remove DefaultContainerService and its references." into qt-dev

5 years agoMerge "Fix NPE when unlocking with TalkBack on." into qt-dev
Dave Mankoff [Fri, 10 May 2019 01:46:11 +0000 (01:46 +0000)]
Merge "Fix NPE when unlocking with TalkBack on." into qt-dev

5 years agoFix NPE when unlocking with TalkBack on.
Dave Mankoff [Thu, 9 May 2019 22:39:45 +0000 (18:39 -0400)]
Fix NPE when unlocking with TalkBack on.

Change-Id: I58d2dae12786d007165934bbbbdeed5a4b4e4cd4
Bug: 130256776
Test: manual.

5 years agoMerge "Disable flaky new test to unblock submits." into qt-dev
Josh Tsuji [Fri, 10 May 2019 01:35:45 +0000 (01:35 +0000)]
Merge "Disable flaky new test to unblock submits." into qt-dev

5 years agoMerge "Clip AutoFill UI with the outline" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 01:33:29 +0000 (01:33 +0000)]
Merge "Clip AutoFill UI with the outline" into qt-dev

5 years agoDisable flaky new test to unblock submits.
Joshua Tsuji [Fri, 10 May 2019 01:31:29 +0000 (21:31 -0400)]
Disable flaky new test to unblock submits.

Test: atest SystemUITests
Bug: 132384561
Change-Id: I5d5c4f5d8aaac3bea2e415195ad6525c0227fd8e

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 10 May 2019 01:27:49 +0000 (18:27 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I181ebe5e2e02397d470f560b334890d567def5c5

5 years agoSystemUI: overheat warning enhancements and bug fixes.
Sherry Huang [Tue, 19 Mar 2019 13:45:28 +0000 (21:45 +0800)]
SystemUI: overheat warning enhancements and bug fixes.

1) Add support of dynamically enabling/disabling overheat warning
   upon Settings change at runtime.
2) Rename related classes, methods, and variables to improve the
   readability.
3) Fix an issue where skin overheat warning fails to show when previous
   dismissal is triggered by intent ACTION_DISMISSED_TEMP_WARNING or
   ACTION_CLICKED_TEMP_WARNING.

Test: atest SystemUITests
Test: enable/disable overheat warning via adb command and trigger the
      warning with emulated temperature.

Bug: 126326427
Bug: 129043751
Change-Id: I844f75a042651bdd433715fedfc190b8fbff0fd4

5 years agoadopt non-blocking method to obtain the IpMemoryStore service.
Xiao Ma [Thu, 9 May 2019 11:55:13 +0000 (04:55 -0700)]
adopt non-blocking method to obtain the IpMemoryStore service.

Bug: 131133347
Test: atest FrameworksNetTests
Merged-In: I7de4f23370bdf9c9df5e74ed074c794080d93d95
Merged-In: If0d43f21710ca31149610d3e6a5f0d7e4acc11a2

Change-Id: If0d43f21710ca31149610d3e6a5f0d7e4acc11a2
(cherry picked from commit c4e4fd7beeda36c84548c7bb4a16312f20bdf188)

5 years agoMerge "Replace lock icon" into qt-dev
Lucas Dupin [Fri, 10 May 2019 00:50:09 +0000 (00:50 +0000)]
Merge "Replace lock icon" into qt-dev

5 years agoMerge "Add a dumpsys for UsageStatsDatabase info." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 00:44:34 +0000 (00:44 +0000)]
Merge "Add a dumpsys for UsageStatsDatabase info." into qt-dev

5 years agoPointerLocation: move showing exclusion rects behind flag
Adrian Roos [Fri, 10 May 2019 00:41:01 +0000 (17:41 -0700)]
PointerLocation: move showing exclusion rects behind flag

Fixes: 131810593
Test: Enable "show pointer location" in developer setting, verify no pink overlays
Change-Id: I258466af07edfc5bc7f36b348564a81fed2cb2b4

5 years agoMerge "Added test for max distance on editDistance()." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 00:25:43 +0000 (00:25 +0000)]
Merge "Added test for max distance on editDistance()." into qt-dev

5 years agoMerge "ApexManager: add API to get PackageInfo for given apexPackageName" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 00:11:50 +0000 (00:11 +0000)]
Merge "ApexManager: add API to get PackageInfo for given apexPackageName" into qt-dev

5 years agoMerge "[DO NOT MERGE] Remove --history from dumpsys appop" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 00:04:19 +0000 (00:04 +0000)]
Merge "[DO NOT MERGE] Remove --history from dumpsys appop" into qt-dev

5 years agoMerge "Remove unnecessary locking in GnssLocationProvider" into qt-dev
Yu-Han Yang [Fri, 10 May 2019 00:00:17 +0000 (00:00 +0000)]
Merge "Remove unnecessary locking in GnssLocationProvider" into qt-dev

5 years agoMerge "Restart the user only after the key is evicted." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 23:58:37 +0000 (23:58 +0000)]
Merge "Restart the user only after the key is evicted." into qt-dev

5 years agoMerge "Make LockTaskController default behaviour match ScreenPinningSettings." into...
TreeHugger Robot [Thu, 9 May 2019 23:46:22 +0000 (23:46 +0000)]
Merge "Make LockTaskController default behaviour match ScreenPinningSettings." into qt-dev

5 years agoMerge "GpuStats: send a hint of activity launch to GraphicsEnvironment" into qt-dev
Yiwei Zhang [Thu, 9 May 2019 23:45:47 +0000 (23:45 +0000)]
Merge "GpuStats: send a hint of activity launch to GraphicsEnvironment" into qt-dev

5 years agoMerge "Forward keyguard showing updated events to global actions panel" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 23:07:31 +0000 (23:07 +0000)]
Merge "Forward keyguard showing updated events to global actions panel" into qt-dev

5 years agoChanged local refs in JNI to ScopedLocalRef
chaviw [Thu, 9 May 2019 22:22:54 +0000 (15:22 -0700)]
Changed local refs in JNI to ScopedLocalRef

Objects were leaking in InputManagerService JNI since there were calls
from the native process without clearing the local reference.
Converted the references to ScopedLocalRef so they get removed
automatically when out of scope.

Test: No longer leaking IWindow when opening/closing apps
Fixes: 131355264
Change-Id: I054faeb83360d7c43c3491680c3a39ba0b0c8351

5 years agoMerge "Re-mark addPrivateFlags as UnsupportedAppUsage" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 22:31:49 +0000 (22:31 +0000)]
Merge "Re-mark addPrivateFlags as UnsupportedAppUsage" into qt-dev

5 years ago[DO NOT MERGE] Remove --history from dumpsys appop
Philip P. Moltmann [Thu, 9 May 2019 22:01:42 +0000 (15:01 -0700)]
[DO NOT MERGE] Remove --history from dumpsys appop

Test: adb shell dumpsys appops --history
      adb shell dumpsys appops -h
Fixes: 132233239

Change-Id: Ibe012c6c62b498a92e394a3d7aa255a97fa093ff

5 years agoRe-mark addPrivateFlags as UnsupportedAppUsage
Philip P. Moltmann [Thu, 9 May 2019 19:53:33 +0000 (12:53 -0700)]
Re-mark addPrivateFlags as UnsupportedAppUsage

it used to be in P and we have not removed all callers yet.

Fixes: 132356891
Test: None
Change-Id: I13b3bd3c791fedde4324bbc13ab5a413b7f4205f

5 years agoMerge "Fix regression in screen pinning action" into qt-dev
Winson Chung [Thu, 9 May 2019 22:11:31 +0000 (22:11 +0000)]
Merge "Fix regression in screen pinning action" into qt-dev

5 years agoMobile data in quick setting still work if default data not set
Malcolm Chen [Thu, 9 May 2019 00:16:47 +0000 (17:16 -0700)]
Mobile data in quick setting still work if default data not set

Even if default data subscription is not set, we'll make "Mobile data"
toggle in quick setting work. It will find an active subscription, turn
on its mobile data, which implicitly makes it default data sub.

Bug: 132063538
Test: robo test and manual

Change-Id: I05263ca6e7e0f9171c6d34c7b628553b9ec506ab

5 years agoMerge "Update getMergedSubscriberIds to pass subId" into qt-dev
Jordan Liu [Thu, 9 May 2019 21:27:58 +0000 (21:27 +0000)]
Merge "Update getMergedSubscriberIds to pass subId" into qt-dev

5 years agoReplace lock icon
Lucas Dupin [Thu, 9 May 2019 21:25:09 +0000 (14:25 -0700)]
Replace lock icon

Test: visual
Fixes: 132274374
Change-Id: I78e0ca054cfaeb4af73a63536b07c4a29165a97c

5 years agoMerge "Add back to greylist" into qt-dev
John Reck [Thu, 9 May 2019 21:07:46 +0000 (21:07 +0000)]
Merge "Add back to greylist" into qt-dev

5 years agoMerge "Fix accounting bug in BatteryStatsImpl." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 21:01:30 +0000 (21:01 +0000)]
Merge "Fix accounting bug in BatteryStatsImpl." into qt-dev

5 years agoMerge "Allow users to swipe up on bouncer to retry auth" into qt-dev
Lucas Dupin [Thu, 9 May 2019 20:55:51 +0000 (20:55 +0000)]
Merge "Allow users to swipe up on bouncer to retry auth" into qt-dev

5 years agoMerge "Correct dump()" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 20:45:29 +0000 (20:45 +0000)]
Merge "Correct dump()" into qt-dev

5 years agoMerge "Remove hasIsolatedStorage() related logic from PackageParser." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 20:44:26 +0000 (20:44 +0000)]
Merge "Remove hasIsolatedStorage() related logic from PackageParser." into qt-dev

5 years agoMerge changes from topic "APC-stop-projection" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 20:42:00 +0000 (20:42 +0000)]
Merge changes from topic "APC-stop-projection" into qt-dev

* changes:
  Unregister policy on projection stop
  Do not ignore audio policy register errors

5 years agoMerge "Remove storage sandboxes related code." into qt-dev
Sudheer Shanka [Thu, 9 May 2019 20:38:16 +0000 (20:38 +0000)]
Merge "Remove storage sandboxes related code." into qt-dev

5 years agoFix regression in screen pinning action
Winson Chung [Thu, 9 May 2019 20:34:48 +0000 (13:34 -0700)]
Fix regression in screen pinning action

- From ag/7178000 we should still check the nav mode to disable the
  recents button

Bug: 130828539
Test: Enable 2 button mode, enter screen pinning

Change-Id: Idf6444be0264f4a62d1b20addc7f1ccd34051a1b

5 years agoApexManager: add API to get PackageInfo for given apexPackageName
Nikita Ioffe [Thu, 9 May 2019 19:40:54 +0000 (20:40 +0100)]
ApexManager: add API to get PackageInfo for given apexPackageName

This is a temporary API to mitigate a bug in StagingManager that uses
getActivePackage API incorrectly, i.e. instead of passing packageName
parsed from AndroidManifest.xml, it incorrectly passes packageName
from ApexInfo.aidl.

This is a quick-fix that can be CP-ed into beta4. Proper version will be
implemented in a follow-up CL.

Test: atest CtsStagedInstallHostTestCases
Test: on user build run:
      adb pull /system/apex/com.android.tzdata.apex /tmp/tzdata.apex &&
      adb install /tmp/tzdata.apex
      Verified install succeeded.
Bug: 132324953
Change-Id: I00ae711e93f32e81f53584d19c9ebc851757f205

5 years agoMerge "Implement a "blacklist" for ALSA devices." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 20:10:33 +0000 (20:10 +0000)]
Merge "Implement a "blacklist" for ALSA devices." into qt-dev

5 years agoForward keyguard showing updated events to global actions panel
Steve Elliott [Mon, 6 May 2019 22:56:40 +0000 (18:56 -0400)]
Forward keyguard showing updated events to global actions panel

Bug: 129342406
Bug: 123881720
Test: manual
Change-Id: I4a8498a6101d22ebaf0d443434adbc26f5b6164e

5 years agoMerge "Add BluetoothControllerImpl#onACLConnectionStateChanged" into qt-dev
Fabian Kozynski [Thu, 9 May 2019 20:06:40 +0000 (20:06 +0000)]
Merge "Add BluetoothControllerImpl#onACLConnectionStateChanged" into qt-dev

5 years agoMerge "Apilint updates" into qt-dev
Joe Onorato [Thu, 9 May 2019 19:58:26 +0000 (19:58 +0000)]
Merge "Apilint updates" into qt-dev

5 years agoMerge "GpuStats: Track ANGLE usage info" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 19:58:15 +0000 (19:58 +0000)]
Merge "GpuStats: Track ANGLE usage info" into qt-dev

5 years agoMerge "Create notification channel interstitial shelf" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 19:52:41 +0000 (19:52 +0000)]
Merge "Create notification channel interstitial shelf" into qt-dev

5 years agoMerge "Global Actions Panel plugin can override Global Actions background" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 19:44:39 +0000 (19:44 +0000)]
Merge "Global Actions Panel plugin can override Global Actions background" into qt-dev

5 years agoMerge "Synchronized WifiTracker scan result cache update logic" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 19:36:52 +0000 (19:36 +0000)]
Merge "Synchronized WifiTracker scan result cache update logic" into qt-dev

5 years agoMerge "Update behavior of setDestinationInExternalPublicDir()." into qt-dev
Sudheer Shanka [Thu, 9 May 2019 19:09:49 +0000 (19:09 +0000)]
Merge "Update behavior of setDestinationInExternalPublicDir()." into qt-dev

5 years agoDo not fully compiled debuggable apps
Calin Juravle [Wed, 8 May 2019 22:00:07 +0000 (15:00 -0700)]
Do not fully compiled debuggable apps

Force vmSafeMode behaviour on debuggable apps:
- the runtime ignores their compiled code
- they generally have lots of methods that could make the compiler used
run out of memory

Bug: 130828957
Test: manual
Change-Id: I946ce15a18729ec6620aca257c52e5b9e4434265

5 years agoCorrect dump()
Alex Salo [Tue, 30 Apr 2019 22:00:30 +0000 (15:00 -0700)]
Correct dump()

- in AttentionManagerService
- in AttentionDetector

Bug: 111939367
Test: adb shell dumpsys attention|power
Change-Id: I3780f2a2c7f4e5fa8ce12b7262a5c8f9331702b4

5 years agoMerge "Allow persistent APKs updates using PM flags." into qt-dev
Dario Freni [Thu, 9 May 2019 18:49:13 +0000 (18:49 +0000)]
Merge "Allow persistent APKs updates using PM flags." into qt-dev

5 years agoMerge "Update size and vertical spacing of clock on keyguard." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 18:46:08 +0000 (18:46 +0000)]
Merge "Update size and vertical spacing of clock on keyguard." into qt-dev

5 years agoAdd secure setting for Global Actions Panel debug mode.
Aran Ink [Thu, 9 May 2019 18:42:14 +0000 (14:42 -0400)]
Add secure setting for Global Actions Panel debug mode.

Changes grid-based power menu logic to use new debug setting.

Bug: 123397865
Bug: 127644235

Test: Automated tests pass. Manual testing turning off/on debug setting.
Change-Id: Ic95188bd10a433f5c58f0f37a098a872e65d8150

5 years agoMerge "Remove sanity check in UsageStatsDatabase." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 18:35:20 +0000 (18:35 +0000)]
Merge "Remove sanity check in UsageStatsDatabase." into qt-dev

5 years agoRemove hasIsolatedStorage() related logic from PackageParser.
Hai Zhang [Thu, 9 May 2019 18:16:17 +0000 (11:16 -0700)]
Remove hasIsolatedStorage() related logic from PackageParser.

The ACCESS_MEDIA_LOCATION and WRITE_OBB permissions will always be
available.

Bug: 112545973
Fixes: 132226317
Test: presubmit
Change-Id: Ie61eba427b48f347438522bc11cfa748ad5ba1f1

5 years agoMerge "Apply content capture settings to all users." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 18:27:37 +0000 (18:27 +0000)]
Merge "Apply content capture settings to all users." into qt-dev

5 years agoMerge "AudioService: implement de-registration (release) of recorders" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 18:26:30 +0000 (18:26 +0000)]
Merge "AudioService: implement de-registration (release) of recorders" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 18:25:53 +0000 (18:25 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Add new carrier config for supporting WPS over IMS" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 18:20:19 +0000 (18:20 +0000)]
Merge "Add new carrier config for supporting WPS over IMS" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 18:17:23 +0000 (18:17 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoClip AutoFill UI with the outline
Stan Iliev [Wed, 8 May 2019 18:47:16 +0000 (14:47 -0400)]
Clip AutoFill UI with the outline

Test: Ran Instagram
Bug: 131298099
Change-Id: I3075337d67ef4d1eedfe76c7accb4cecc5bab90f

5 years agoMerge "Use requestType, not service type for interrogation check" into qt-dev
Brad Ebinger [Thu, 9 May 2019 18:14:04 +0000 (18:14 +0000)]
Merge "Use requestType, not service type for interrogation check" into qt-dev

5 years agoGlobal Actions Panel plugin can override Global Actions background
Steve Elliott [Wed, 8 May 2019 18:45:04 +0000 (14:45 -0400)]
Global Actions Panel plugin can override Global Actions background

Bug: 128828632
Test: manual
Change-Id: I7b68bd0be5243d0e42101d4e02ae24da786aee32

5 years agoRemove plugin logical from NavigationBarView (1/2)
Matthew Ng [Wed, 8 May 2019 22:13:22 +0000 (15:13 -0700)]
Remove plugin logical from NavigationBarView (1/2)

Fixes: 129860064
Test: manual
Change-Id: I8cfa77cf40f62ab1e5f1ad8d1957107aca1557f2