OSDN Git Service
Daichi Hirono [Fri, 10 May 2019 20:19:57 +0000 (13:19 -0700)]
[automerger skipped] Stop invoke initAppOps in Camera default constructor.
am:
9799956531 -s ours
am skip reason: change_id Id738c4d46a8e3625bc3b1142b11acac9cfb0b603 with SHA1
2dba5c8417 is in history
Change-Id: I1ef23741d979ead55ccfbd9df49dc93fa0dfb9ea
Brad Ebinger [Fri, 10 May 2019 20:17:38 +0000 (20:17 +0000)]
Merge "Make getSimCallManager msim aware" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 20:14:54 +0000 (20:14 +0000)]
Merge "Remove temporary UserUsageStatsService logging" into qt-dev
Brad Ebinger [Fri, 10 May 2019 19:42:55 +0000 (19:42 +0000)]
Merge changes from topic "sms_trampoline_intent-qt-dev" into qt-dev
* changes:
Trampoline SMS disambig dialog to Telephony
No longer show disambig when calling SmsManager#getSubId
TreeHugger Robot [Fri, 10 May 2019 19:02:49 +0000 (19:02 +0000)]
Merge "GpuStats: track CPU Vulkan implementation usage" into qt-dev
Andrew Nguyen [Fri, 10 May 2019 18:55:11 +0000 (18:55 +0000)]
Merge "Add VehicleMapServicePacketReported and VehicleMapServicePacketFailureReported to atoms.proto." into qt-dev
Andrew T Nguyen [Wed, 1 May 2019 21:40:19 +0000 (14:40 -0700)]
Add VehicleMapServicePacketReported and
VehicleMapServicePacketFailureReported to atoms.proto.
Test: none
Change-Id: I0c9933e11e4b9539546150e810e8332f51aa6382
Bug:
131921165
Chris Tate [Fri, 10 May 2019 18:51:28 +0000 (18:51 +0000)]
Merge "Properly reset doze transition alarms with force-stop" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 18:46:49 +0000 (18:46 +0000)]
Merge "Null check ApplicationInfo for ApplicationPackageManager#loadUnbadgedItemIcon" into qt-dev
Andrii Kulian [Fri, 10 May 2019 18:40:06 +0000 (18:40 +0000)]
Merge "Update resizeableActivity docs" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 18:35:38 +0000 (18:35 +0000)]
Merge "The AdminSupportDetails intent creation preserves the original admin user ID." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 18:15:13 +0000 (18:15 +0000)]
Merge "Add extra debug to capture system state" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 18:14:02 +0000 (18:14 +0000)]
Merge "Notify UI update when get onAudioModeChanged() callback" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 18:10:44 +0000 (18:10 +0000)]
Merge "Dump package settings for shared users" into qt-dev
Joe Onorato [Fri, 10 May 2019 18:09:56 +0000 (18:09 +0000)]
Merge "Fix another copy and paste of the copy and paste error." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 17:55:25 +0000 (17:55 +0000)]
Merge "Add support for FalsingPlugin to supply a replacement FalsingManager." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 17:45:12 +0000 (17:45 +0000)]
Merge "Fix flaky test" into qt-dev
Siarhei Vishniakou [Fri, 10 May 2019 17:44:03 +0000 (17:44 +0000)]
Merge "Revert "Changed local refs in JNI to ScopedLocalRef"" into qt-dev
Siarhei Vishniakou [Fri, 10 May 2019 17:27:13 +0000 (17:27 +0000)]
Revert "Changed local refs in JNI to ScopedLocalRef"
This reverts commit
335025f23958ceb36b67d2380de1382cfb5d346c.
Reason for revert: b/
132437551
Bug:
132437551
Change-Id: Ie7d615b2e721d2db7c9a8b772212d6efcc12d991
Joe Onorato [Wed, 1 May 2019 21:52:10 +0000 (14:52 -0700)]
Fix another copy and paste of the copy and paste error.
Bug:
123955906
Test: bit GtsIncidentConfirmationTestCases:*
Change-Id: I251a0295fbd64e8abea2a42af9cc23fb2c39bc63
Selim Cinek [Fri, 10 May 2019 17:26:31 +0000 (17:26 +0000)]
Merge "Fixed an issue where the notification could be tiny" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 16:55:26 +0000 (16:55 +0000)]
Merge "Delay onNotificationUpdated" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 16:52:36 +0000 (16:52 +0000)]
Merge "Sharesheet - Fix shortcut ranking logic" into qt-dev
Dave Mankoff [Wed, 8 May 2019 18:56:29 +0000 (14:56 -0400)]
Add support for FalsingPlugin to supply a replacement FalsingManager.
Bug:
130256776
Test: Manual
Change-Id: Icdf150e6e23d216f04a9243fe57919aa622706d5
TreeHugger Robot [Fri, 10 May 2019 16:08:23 +0000 (16:08 +0000)]
Merge "Change attrbute of double-power-to-camera vibration" 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
Todd Kennedy [Fri, 10 May 2019 15:27:01 +0000 (08:27 -0700)]
Add extra debug to capture system state
Current set of logs / bugreports is insufficient to debug the issue.
Add more logs to hopefully catch enough information to track down
the root cause.
Bug:
111075456
Test: Manual. Builds and runs
Change-Id: I2bc1c371b6c9c5b9e1886e8f6541d74fc8e54618
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
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
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
Todd Kennedy [Fri, 10 May 2019 15:23:06 +0000 (08:23 -0700)]
Dump package settings for shared users
Bug:
111075456
Test: Manual. Builds and runs.
Test: 'adb shell dumpsys package shared-users' dumps package settings
Change-Id: I1cc8a65947c9b4087ad8c3806fafd1d1a7f6e8aa
Wale Ogunwale [Fri, 10 May 2019 15:19:04 +0000 (15:19 +0000)]
Merge "PointerLocation: move showing exclusion rects behind flag" into qt-dev
Eric Laurent [Fri, 10 May 2019 15:11:16 +0000 (15:11 +0000)]
Merge "AudioService: fix cross deadlock" 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
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
Fabian Kozynski [Fri, 10 May 2019 14:22:25 +0000 (14:22 +0000)]
Merge "Fix race condition in TileServices" into qt-dev
Fabian Kozynski [Fri, 10 May 2019 14:01:54 +0000 (10:01 -0400)]
Fix flaky test
Test was flaky because the messages were posted in main looper (that is
not injected) and needed to be flushed.
Test: this test
Fixes:
132420431
Change-Id: Ie0765b574f3b1425a4d65ca13c3a1ae5eaf53b5c
TreeHugger Robot [Fri, 10 May 2019 13:54:19 +0000 (13:54 +0000)]
Merge "Fixed NPE when AutofillManager.getClient() returns null." into qt-dev
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
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
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)
Beth Thibodeau [Fri, 10 May 2019 13:05:37 +0000 (13:05 +0000)]
Merge "Fix progress bar color in foreground notifications" 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
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
TreeHugger Robot [Fri, 10 May 2019 12:22:37 +0000 (12:22 +0000)]
Merge "Add Display White Balance tests." into qt-dev
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
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
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
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
Shafik Nassar [Fri, 10 May 2019 10:24:15 +0000 (10:24 +0000)]
Merge "Monitor RollbackManagerServiceImpl#mHandlerThread" 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
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
TreeHugger Robot [Fri, 10 May 2019 08:56:20 +0000 (08:56 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
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
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
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
TreeHugger Robot [Fri, 10 May 2019 06:28:17 +0000 (06:28 +0000)]
Merge "Fix the vts error" 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
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
TreeHugger Robot [Fri, 10 May 2019 04:25:57 +0000 (04:25 +0000)]
Merge "Fix DeviceDefault action bar color." 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
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
Aurimas Liutikas [Fri, 10 May 2019 03:27:41 +0000 (03:27 +0000)]
Merge "Changed local refs in JNI to ScopedLocalRef" 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
hughchen [Thu, 9 May 2019 03:13:06 +0000 (11:13 +0800)]
Notify UI update when get onAudioModeChanged() callback
- Update test case
Bug:
132385707
Test: make -j42 RunSettingsLibRoboTests
Change-Id: I96043e2cf5411745483db00bb2bba982e68558ce
Selim Cinek [Fri, 10 May 2019 02:10:51 +0000 (19:10 -0700)]
Fixed an issue where the notification could be tiny
When updating the notificationWrapper we were reapplying
the translation from the row to keep the header hidden
during headsup. This was applied even on the public layout.
Because we didn't update all layouts though when the notification
stops being heads upped, the public layout never received the
update.
We're fixing this by not allowing the translation
on the header views and additionally also letting all content
views know of the state change.
Fixes:
116864754
Test: add HUN, update it, observe lockscreen (with redaction)
Change-Id: I1c9d1dab61081fcf2ff9a4dc22a741e565076294
TreeHugger Robot [Fri, 10 May 2019 02:08:40 +0000 (02:08 +0000)]
Merge "Remove plugin logical from NavigationBarView (1/2)" into qt-dev
Andrii Kulian [Fri, 10 May 2019 02:03:12 +0000 (19:03 -0700)]
Update resizeableActivity docs
Updating resizeableActivity documentation to reflect that:
1. Activity can still be put in multi-window or multi-display.
2. Does not guarantee that other apps will not be in multi-window.
3. Does not guarantee exclusive resource access.
Bug:
112525323
Test: Build
Change-Id: Iaa739c838df963884656f187037739d26ed7231c
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
TreeHugger Robot [Fri, 10 May 2019 01:52:37 +0000 (01:52 +0000)]
Merge "Remove DefaultContainerService and its references." 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
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.
Josh Tsuji [Fri, 10 May 2019 01:35:45 +0000 (01:35 +0000)]
Merge "Disable flaky new test to unblock submits." 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
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
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
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
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)
Lucas Dupin [Fri, 10 May 2019 00:50:09 +0000 (00:50 +0000)]
Merge "Replace lock icon" 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
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
TreeHugger Robot [Fri, 10 May 2019 00:25:43 +0000 (00:25 +0000)]
Merge "Added test for max distance on editDistance()." into qt-dev
Brad Ebinger [Tue, 30 Apr 2019 18:37:27 +0000 (11:37 -0700)]
Trampoline SMS disambig dialog to Telephony
SmsManager used to display a "select default SMS
subscription" dialog every time SmsManager was used
and no default SMS subscription was set. This change
fixes the following issues:
1_ getSubscriptionId no longer pops up a disambig
dialog.
2) The disambig dialog no longer sets the
default, rather it waits for the response from the
user and performs the operation when it receives
a response.
2a) Dialogs can no longer be created from background
services, so we now have a restriction that if
the disambig dialog is shown via a background service,
we will use phone 0 as default (backwards compat for
apps targeting <Q) or fail (on apps targeting Q+).
3) If there is only one active subscription, use that
to perform the operation on MSIM devices instead of
asking and only displaying the one active subscription.
4) Certain non "user-facing" APIs that are used by
carrier apps no longer will pop up a UI.
Bug:
131713446
Bug:
130853716
Bug:
129141025
Test: run SmsManagerTestApp; atest TelephonyFrameworksTests
Change-Id: I6be1c6d7bf6b6ee614b6a7d0369147e3b1890588
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
Brad Ebinger [Tue, 7 May 2019 17:55:55 +0000 (10:55 -0700)]
Make getSimCallManager msim aware
When there are multiple subscriptions available,
the SIM call manager is currently resolved based
on what the default voice subscription is. Add the
ability for TelecomManager to get the SIM call
manager for a Telephony subscription ID.
Test: Manual; atest TelecomUnitTests
Bug:
131627085
Change-Id: I748fcebb44f07fbc9deef0c6a07d2f15a44b22d3
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
Yu-Han Yang [Fri, 10 May 2019 00:00:17 +0000 (00:00 +0000)]
Merge "Remove unnecessary locking in GnssLocationProvider" 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
Yiwei Zhang [Thu, 9 May 2019 22:00:46 +0000 (15:00 -0700)]
GpuStats: track CPU Vulkan implementation usage
Bug:
131927737
Test: atest GpuStatsPuller_test
Change-Id: I003f6a169886bf1acf131a7dd4811ebd48e4120e
TreeHugger Robot [Thu, 9 May 2019 23:46:22 +0000 (23:46 +0000)]
Merge "Make LockTaskController default behaviour match ScreenPinningSettings." 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
Lucas Dupin [Thu, 9 May 2019 23:44:51 +0000 (16:44 -0700)]
Delay onNotificationUpdated
onNotificationUpdated should only be called after inflation ends,
otherwise views will be updated to an invalid state.
Bug:
131914931
Test: toggle dark mode rapidly
Change-Id: Id97ffe4823e1b46f5b521d8fb9e0f040702e475f
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
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
TreeHugger Robot [Thu, 9 May 2019 22:31:49 +0000 (22:31 +0000)]
Merge "Re-mark addPrivateFlags as UnsupportedAppUsage" into qt-dev
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
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
Winson Chung [Thu, 9 May 2019 22:11:31 +0000 (22:11 +0000)]
Merge "Fix regression in screen pinning action" into qt-dev
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
Michael Wachenschwanz [Thu, 9 May 2019 21:34:37 +0000 (14:34 -0700)]
Remove temporary UserUsageStatsService logging
Fixes:
115998347
Test: builds and flashes
Change-Id: I538480fb7ce00195138b772c56a90cef9ec5f73e