OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Revert "Keep a light version of the SBN around"" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 16:30:25 +0000 (16:30 +0000)]
Merge "Revert "Keep a light version of the SBN around"" into qt-dev

5 years agoMerge "Added direct call to syncInputTransactions" into qt-dev
Chavi Weingarten [Thu, 25 Apr 2019 16:27:37 +0000 (16:27 +0000)]
Merge "Added direct call to syncInputTransactions" into qt-dev

5 years agoMerge "Don't ban background vibration with USAGE_ALARM" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 15:43:48 +0000 (15:43 +0000)]
Merge "Don't ban background vibration with USAGE_ALARM" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 15:19:24 +0000 (15:19 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Ensure to resume home if there is no other activity" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 15:15:43 +0000 (15:15 +0000)]
Merge "Ensure to resume home if there is no other activity" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 15:02:42 +0000 (15:02 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 14:49:39 +0000 (14:49 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 14:46:57 +0000 (14:46 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoRevert "Keep a light version of the SBN around"
Julia Reynolds [Thu, 25 Apr 2019 13:34:33 +0000 (13:34 +0000)]
Revert "Keep a light version of the SBN around"

This reverts commit 75a7e2f9e959137ee97a0ea3d5953a7b3cb1cb82.

Reason for revert: Turns out this wipes out data we need :(

Change-Id: Id1d79dec17639440eae55e41fb4e91f0d9e6162c
Fixes: 131290765

5 years agoMerge "Fix intent for next alarm" into qt-dev
Fabian Kozynski [Thu, 25 Apr 2019 13:14:30 +0000 (13:14 +0000)]
Merge "Fix intent for next alarm" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Apr 2019 12:22:37 +0000 (05:22 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5cd7a7b673402f2a2b1c6116e6d9d582c6ea5c3f

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Apr 2019 12:14:17 +0000 (05:14 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I94dabe6a24a80e3dcc88128b8a413de254fba2da

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

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iab6097d44c74727fc4045027dacf4a9398086a96

5 years agoMerge "Change watchdog PackageInfo to PackageConfig" into qt-dev
Zimuzo Ezeozue [Thu, 25 Apr 2019 09:58:52 +0000 (09:58 +0000)]
Merge "Change watchdog PackageInfo to PackageConfig" into qt-dev

5 years agoMerge "DO NOT MERGE: Do not allow overlaying of attributes with conflicting formats...
TreeHugger Robot [Thu, 25 Apr 2019 09:46:43 +0000 (09:46 +0000)]
Merge "DO NOT MERGE: Do not allow overlaying of attributes with conflicting formats" into qt-dev

5 years agoMerge "PM: Reject installation of an APK with same name as an APEX" into qt-dev
Nikita Ioffe [Thu, 25 Apr 2019 09:11:03 +0000 (09:11 +0000)]
Merge "PM: Reject installation of an APK with same name as an APEX" into qt-dev

5 years agoMerge "Remove unused methods from INetworkManagementService" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 09:09:48 +0000 (09:09 +0000)]
Merge "Remove unused methods from INetworkManagementService" into qt-dev

5 years agoMerge "Interstitial frame for grace period of face auth" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 08:58:25 +0000 (08:58 +0000)]
Merge "Interstitial frame for grace period of face auth" into qt-dev

5 years agoMerge "Use correct heads-up notification height." into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 08:56:42 +0000 (08:56 +0000)]
Merge "Use correct heads-up notification height." into qt-dev

5 years agoMerge "Update exception type thrown when NetworkStack is missing" into qt-dev
Chiachang Wang [Thu, 25 Apr 2019 08:46:01 +0000 (08:46 +0000)]
Merge "Update exception type thrown when NetworkStack is missing" into qt-dev

5 years agoMerge "[DO NOT MERGE] Adding API for defining and invoking DirectActions" into qt-dev
Svetoslav Ganov [Thu, 25 Apr 2019 08:45:49 +0000 (08:45 +0000)]
Merge "[DO NOT MERGE] Adding API for defining and invoking DirectActions" into qt-dev

5 years agoEnsure to resume home if there is no other activity
Riddle Hsu [Wed, 24 Apr 2019 15:55:11 +0000 (23:55 +0800)]
Ensure to resume home if there is no other activity

On default display, there will always have home stack,
but home activity may not have been started yet. In that
case if we want to resume home, the home stack should
still move to front.

Fix: 118862669
Test: atest ActivityStackTests#testAdjustFocusedStackToHomeWhenNoActivity
Change-Id: I3c744f6d3adeb151eac864d88d2b195e05d2332f

5 years agoMerge "Fix PIP window is showing on the lockscreen (1/2)" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 07:25:13 +0000 (07:25 +0000)]
Merge "Fix PIP window is showing on the lockscreen (1/2)" into qt-dev

5 years ago[DO NOT MERGE] Adding API for defining and invoking DirectActions
Sunny Goyal [Wed, 20 Mar 2019 19:46:55 +0000 (12:46 -0700)]
[DO NOT MERGE] Adding API for defining and invoking DirectActions

DirectActions are abstract actions defined by an Activtiy. The
actual definition of these actions will be available through
the support lib.

This API provides a secure channel for system or assistant to
interact with a running app using these Actions.

Test: atest CtsVoiceInteractionTestCases
Test: added android.voiceinteraction.cts.DirectActionsTest

Bug: 129705716

Change-Id: I0ce568e0d8f41e0fe46306052016a74c7b394efa

5 years agoUpdate exception type thrown when NetworkStack is missing
Chiachang Wang [Thu, 25 Apr 2019 05:35:58 +0000 (22:35 -0700)]
Update exception type thrown when NetworkStack is missing

rethrowFromSystemServer is throwing DeadSystemException which
is different from the original log message. Thus, update the
way to rethrow the same RemoteException.

Bug: 130028724
Test: atest FrameworksNetTest
Test: Kill NetworkStack and check the log message
Change-Id: I60862e276dd4e2d143278b272a9ba54219acce26
Merged-In: Ic1766e839f8f06b539d5f6cfecd29547021fd1d9
Merged-In: I67005a5384888e8acaf1249af79484e2d5ed6f1f
(cherry picked from commit 7f581219e1a4706ea2b4438322a299986847b1c2)

5 years agoMerge "Assign layer to bounds animation layer" into qt-dev
Jorim Jaggi [Thu, 25 Apr 2019 06:39:53 +0000 (06:39 +0000)]
Merge "Assign layer to bounds animation layer" into qt-dev

5 years agoMerge "Ensure we get the right nav bar mode for the current user in sysui" into qt-dev
Winson Chung [Thu, 25 Apr 2019 06:14:57 +0000 (06:14 +0000)]
Merge "Ensure we get the right nav bar mode for the current user in sysui" into qt-dev

5 years agoMerge "Manual revert of ag/6502936" into qt-dev
Winson Chung [Thu, 25 Apr 2019 05:52:07 +0000 (05:52 +0000)]
Merge "Manual revert of ag/6502936" into qt-dev

5 years agoMerge "Add night variant of Theme.DeviceDefault.Settings.Dialog" into qt-dev
Linda Tseng [Thu, 25 Apr 2019 05:51:19 +0000 (05:51 +0000)]
Merge "Add night variant of Theme.DeviceDefault.Settings.Dialog" into qt-dev

5 years agoMerge "Bluetooth: Remove safetynet logging for 120574260" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 05:37:05 +0000 (05:37 +0000)]
Merge "Bluetooth: Remove safetynet logging for 120574260" into qt-dev

5 years agoMerge changes from topic "niap-vpn" into qt-dev
Lorenzo Colitti [Thu, 25 Apr 2019 04:23:01 +0000 (04:23 +0000)]
Merge changes from topic "niap-vpn" into qt-dev

* changes:
  Reinstate new VPN uid filtering unit tests
  Revert new tests and PackageManager mock
  Block incoming non-VPN packets to apps under fully-routed VPN

5 years agoMerge "Resolve size compatibility bounds by original display attributes" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 04:17:33 +0000 (04:17 +0000)]
Merge "Resolve size compatibility bounds by original display attributes" into qt-dev

5 years agoMerge "Make the network stack a persistent process." into qt-dev
Lorenzo Colitti [Thu, 25 Apr 2019 03:53:41 +0000 (03:53 +0000)]
Merge "Make the network stack a persistent process." into qt-dev

5 years agoBluetooth: Remove safetynet logging for 120574260
Jack He [Wed, 24 Apr 2019 23:21:12 +0000 (16:21 -0700)]
Bluetooth: Remove safetynet logging for 120574260

Bug: 120574260
Test: make
Change-Id: Id86c139e654428f8d4376f2d0359329e47c052b9

5 years agoMerge "Do not dismiss BiometricPrompt when "soft" errors are received" into qt-dev
Kevin Chyn [Thu, 25 Apr 2019 03:20:30 +0000 (03:20 +0000)]
Merge "Do not dismiss BiometricPrompt when "soft" errors are received" into qt-dev

5 years agoMerge "Position "At a Glance" on custom clock below status bar." into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 02:22:08 +0000 (02:22 +0000)]
Merge "Position "At a Glance" on custom clock below status bar." into qt-dev

5 years agoInterstitial frame for grace period of face auth
Lucas Dupin [Wed, 24 Apr 2019 21:56:52 +0000 (14:56 -0700)]
Interstitial frame for grace period of face auth

Delay bouncer for a few millis if face auth is happening to avoid
overlaping animations.

Fixes: 130327140
Test: manual
Test: atest KeyguardBouncerTest
Change-Id: I6873605ba3e8d54af86325d81b10cc6aec131cf2

5 years agoFix QT build breakage.
Sudheer Shanka [Thu, 25 Apr 2019 01:30:32 +0000 (18:30 -0700)]
Fix QT build breakage.

Test: builds
Change-Id: Iff6f516d68659a9b81009f82b6e1874089daa592

5 years agoMake the network stack a persistent process.
Lorenzo Colitti [Wed, 24 Apr 2019 16:51:09 +0000 (09:51 -0700)]
Make the network stack a persistent process.

The network stack should never be killed, because if it does,
recovering networking requires a reboot. Make the process
persistent to reduce the chances of it being killed by the OOM
killer.

Bug: 131046856
Test: builds, boots
Test: process oom_score_adj is -800
Test: process goes from "Persistent Service" to "Persistent" in dumpsys meminfo
Change-Id: Ic8ebf6356e23489f6cd984d680ff9f1b4cbbe52d
Merged-In: Ic8ebf6356e23489f6cd984d680ff9f1b4cbbe52d
(cherry picked from commit c1eedfcd124a6370887d92da4d12cd43d0ef6799)

5 years agoMerge "Update behavior of some DownloadManager APIs." into qt-dev
Sudheer Shanka [Thu, 25 Apr 2019 00:51:59 +0000 (00:51 +0000)]
Merge "Update behavior of some DownloadManager APIs." into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 25 Apr 2019 00:39:18 +0000 (17:39 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icda1b6363ac885ce7359df198a923d4e7f96c901

5 years agoAdded direct call to syncInputTransactions
chaviw [Mon, 22 Apr 2019 20:39:46 +0000 (13:39 -0700)]
Added direct call to syncInputTransactions

Previously, there was only a way to inject input after syncing inputs.
However, some tests require a direct call to sync inputs since we need
to ensure the info was propagated to InputManager native before
continuing with the test. This exposes a method just to
syncInputTransactions.

Bug: 130695122
Test: ActivityLifecycleTopResumedStateTests
Test: MultiDisplayPolicyTests
Change-Id: Ie3115741a20d04c743fd854ac421dc3705332488

5 years agoEnsure we get the right nav bar mode for the current user in sysui
Winson Chung [Wed, 24 Apr 2019 22:17:33 +0000 (15:17 -0700)]
Ensure we get the right nav bar mode for the current user in sysui

- Load resources from the current user's context to ensure the right
  overlays are read
- Create a controller in sysui to dispatch mode change to prevent callers
  from calling with the wrong user's context
- Clean up the quickstep contract to prevent launcher from calling methods
  using the baked in fw resource ids

Bug: 130185871
Test: Switch to secondary user, ensure the mode is read correctly
Change-Id: I00d9276185777e340b3e758345a00d2e9b3e3e64

5 years agoMerge "Pass responseType in NFW notification callback to the framework" into qt-dev
Anil Admal [Wed, 24 Apr 2019 23:50:32 +0000 (23:50 +0000)]
Merge "Pass responseType in NFW notification callback to the framework" into qt-dev

5 years agoMerge "Fix deletion of VkSemaphores in VulkanManager." into qt-dev
Greg Daniel [Wed, 24 Apr 2019 23:30:35 +0000 (23:30 +0000)]
Merge "Fix deletion of VkSemaphores in VulkanManager." into qt-dev

5 years agoMerge "Update appearance of proxied notifications in guts" into qt-dev
Julia Reynolds [Wed, 24 Apr 2019 23:27:36 +0000 (23:27 +0000)]
Merge "Update appearance of proxied notifications in guts" into qt-dev

5 years agoMerge "Exposing some accessibility methods and state to be used in Launcher" into...
TreeHugger Robot [Wed, 24 Apr 2019 23:23:34 +0000 (23:23 +0000)]
Merge "Exposing some accessibility methods and state to be used in Launcher" into qt-dev

5 years agoMerge "Consistently log back gesture origin" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 23:04:29 +0000 (23:04 +0000)]
Merge "Consistently log back gesture origin" into qt-dev

5 years agoMerge "Sharesheet - add label loading placeholder" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 22:59:28 +0000 (22:59 +0000)]
Merge "Sharesheet - add label loading placeholder" into qt-dev

5 years agoMerge "Fix SettingsProto corruption" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 22:48:14 +0000 (22:48 +0000)]
Merge "Fix SettingsProto corruption" into qt-dev

5 years agoMerge "Removing left over experimental overlays and frame width (1/2)" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 22:28:35 +0000 (22:28 +0000)]
Merge "Removing left over experimental overlays and frame width (1/2)" into qt-dev

5 years agoMerge "Disable lock screen and enable location in THM" into qt-dev
William Hester [Wed, 24 Apr 2019 22:27:33 +0000 (22:27 +0000)]
Merge "Disable lock screen and enable location in THM" into qt-dev

5 years agoMerge "Make StatusBarWindowController aware of assist session in progress." into...
Matt Casey [Wed, 24 Apr 2019 22:16:38 +0000 (22:16 +0000)]
Merge "Make StatusBarWindowController aware of assist session in progress." into qt-dev

5 years agoMerge "Protecting AppPrediciton API behind usage stats permission" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 22:16:03 +0000 (22:16 +0000)]
Merge "Protecting AppPrediciton API behind usage stats permission" into qt-dev

5 years agoMerge "Bluetooth: Check if packageName belongs to callingUid in binder calls" into...
TreeHugger Robot [Wed, 24 Apr 2019 21:20:53 +0000 (21:20 +0000)]
Merge "Bluetooth: Check if packageName belongs to callingUid in binder calls" into qt-dev

5 years agoMerge "Load the default graphics driver in USAPs." into qt-dev
Christian Wailes [Wed, 24 Apr 2019 21:18:14 +0000 (21:18 +0000)]
Merge "Load the default graphics driver in USAPs." into qt-dev

5 years agoFix SettingsProto corruption
Yao Chen [Wed, 24 Apr 2019 21:16:56 +0000 (14:16 -0700)]
Fix SettingsProto corruption

Bug: 130235331
Test: adb shell dumpsys settings --proto
Change-Id: Id725c2a968593b923059da69c49c59908780df8a

5 years agoMerge "Do not re-show hint text if user is already authenticated" into qt-dev
Kevin Chyn [Wed, 24 Apr 2019 20:50:22 +0000 (20:50 +0000)]
Merge "Do not re-show hint text if user is already authenticated" into qt-dev

5 years agoFix intent for next alarm
Fabian Kozynski [Wed, 24 Apr 2019 18:37:35 +0000 (14:37 -0400)]
Fix intent for next alarm

Clicking on next alarm will send the user to the app that sets the
alarm, using their PendingIntent

Test: manual using default clock and 3rd party clock
Fixes: 130977970
Bug: 129350749
Change-Id: I4c1be9fe9ea60787ecb2b863e7463d827aef0075

5 years agoProtecting AppPrediciton API behind usage stats permission
Sunny Goyal [Wed, 24 Apr 2019 19:02:20 +0000 (12:02 -0700)]
Protecting AppPrediciton API behind usage stats permission

Bug: 130556904
Test: atest CtsAppPredictionServiceTestCases:AppPredictionServiceTest
Change-Id: I1033e12f5c75ab085d1a0ebff81437ee141528ea

5 years agoMake StatusBarWindowController aware of assist session in progress.
Matt Casey [Wed, 24 Apr 2019 18:31:45 +0000 (14:31 -0400)]
Make StatusBarWindowController aware of assist session in progress.

Separate "assist is rendering something" from "assist session is in
progress". If an assist session is in progress, the status bar should be
focusable and back gestures should cause the session to be canceled.

This also intercepts touches outside of the status bar when a session is
in progress, but those touches will cancel (separate CL), so this
shouldn't be a problem.

Bug: 123413054
Test: Ensure in-progress assist sesion is canceled on back, ensure back
is not affected outside of a session.

Change-Id: Ife24b58a7851c5865ff75e66e00e32ae3293a0e8

5 years agoMerge "String change" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 20:19:54 +0000 (20:19 +0000)]
Merge "String change" into qt-dev

5 years agoMerge "Change CarSystemUI notification button from launching Car Notification Center...
TreeHugger Robot [Wed, 24 Apr 2019 20:15:26 +0000 (20:15 +0000)]
Merge "Change CarSystemUI notification button from launching Car Notification Center to opening the panel instead." into qt-dev

5 years agoMerge "Fix crash when launching assist from power button." into qt-dev
Daniel Sandler [Wed, 24 Apr 2019 19:45:17 +0000 (19:45 +0000)]
Merge "Fix crash when launching assist from power button." into qt-dev

5 years agoChange watchdog PackageInfo to PackageConfig
Zimuzo [Wed, 24 Apr 2019 13:07:24 +0000 (14:07 +0100)]
Change watchdog PackageInfo to PackageConfig

Test: atest PackageWatchdogTest
Bug: 131165818
Change-Id: Ie3a385468a0de05bc55862e6f71513077d44bbc0

5 years agoDo not dismiss BiometricPrompt when "soft" errors are received
Kevin Chyn [Wed, 24 Apr 2019 19:39:40 +0000 (12:39 -0700)]
Do not dismiss BiometricPrompt when "soft" errors are received

Some errors such as ERROR_TIMEOUT should not caues the BiometricPrompt
dialog to be dismissed. Updated plumbing to allow
onBiometricAuthenticated to pass a string indicating the failure reason

Fixes: 131240917

Test: BiometricPromptDemo
Change-Id: I63a6f1138a24fbc3736184efefc620dd5bb640dd

5 years agoMerge "Register Ime consumer only when insets are enabled." into qt-dev
Tarandeep Singh [Wed, 24 Apr 2019 19:34:20 +0000 (19:34 +0000)]
Merge "Register Ime consumer only when insets are enabled." into qt-dev

5 years agoMerge "Fix start position issues and related flyout flickering." into qt-dev
Josh Tsuji [Wed, 24 Apr 2019 19:17:21 +0000 (19:17 +0000)]
Merge "Fix start position issues and related flyout flickering." into qt-dev

5 years agoPosition "At a Glance" on custom clock below status bar.
Robert Snoeberger [Wed, 24 Apr 2019 18:20:38 +0000 (14:20 -0400)]
Position "At a Glance" on custom clock below status bar.

Change summary:
 - Position below status bar on AOD, and account for burn in prevention
   movement.
 - Position below lock icon on lock screen.

Fixes: 130797849
Test: visual - checked position on AOD and lock screen
Test: visual - checked position with music playing
Change-Id: Iad088e8b1d301e19ec9a095462a420e1723aba00

5 years agoExposing some accessibility methods and state to be used in Launcher
Sunny Goyal [Wed, 24 Apr 2019 18:36:37 +0000 (11:36 -0700)]
Exposing some accessibility methods and state to be used in Launcher

Bug: 130905838
Test: Verified the build with updated launcher
Change-Id: I09f77abc8c767fca8879610bc3fcef1f4da7f821

5 years agoMerge "Rename Environment method to follow attribute." into qt-dev
Jeff Sharkey [Wed, 24 Apr 2019 18:57:20 +0000 (18:57 +0000)]
Merge "Rename Environment method to follow attribute." into qt-dev

5 years agoMerge "Remove config specific size for HeaderTileLayout" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 18:48:23 +0000 (18:48 +0000)]
Merge "Remove config specific size for HeaderTileLayout" into qt-dev

5 years agoDo not re-show hint text if user is already authenticated
Kevin Chyn [Wed, 24 Apr 2019 18:47:38 +0000 (11:47 -0700)]
Do not re-show hint text if user is already authenticated

Fixes: 131237337

Test: manual
Change-Id: I1b96f9a7933e82fcb540c5aa4feb82d6fc22dd11

5 years agoUpdate appearance of proxied notifications in guts
Julia Reynolds [Wed, 24 Apr 2019 15:58:38 +0000 (11:58 -0400)]
Update appearance of proxied notifications in guts

Test: manual
Fixes: 131174114
Change-Id: I8725d34e7f2e43c17a1d16fba8ecbe20a0a3d3c9

5 years agoMerge "Restructure logging for selection of share targets" into qt-dev
Susi Kharraz-Post [Wed, 24 Apr 2019 18:29:01 +0000 (18:29 +0000)]
Merge "Restructure logging for selection of share targets" into qt-dev

5 years agoMerge "Fix NPE of UXR as a result of incorrect initialization." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 18:26:48 +0000 (18:26 +0000)]
Merge "Fix NPE of UXR as a result of incorrect initialization." into qt-dev

5 years agoMerge "WifiSsid: Catch String out of bound exception" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 18:18:47 +0000 (18:18 +0000)]
Merge "WifiSsid: Catch String out of bound exception" into qt-dev

5 years agoAdd night variant of Theme.DeviceDefault.Settings.Dialog
lindatseng [Wed, 24 Apr 2019 01:37:43 +0000 (18:37 -0700)]
Add night variant of Theme.DeviceDefault.Settings.Dialog

Add night variant of Theme.DeviceDefault.Settings.Dialog to support
panel in dark mode.  Also adding night variant here can ensure this
theme can reused by others.

Test: Manual
Fixes: 130815366
Change-Id: Idd8683a42dfb9dfffb8fc3f5a59c35a4a83a8de1

5 years agoConsistently log back gesture origin
Hyunyoung Song [Wed, 24 Apr 2019 17:47:19 +0000 (10:47 -0700)]
Consistently log back gesture origin

Bug: 127848641
Test: builds, manually verified

TL;DR;; the unhandled back gesture direction was opposite of handled
back gesture.

Change-Id: I828543bc86e6fbb24d1a6ee5d6b5b92118401323

5 years agoMerge "Add dumpable to QSTile. Dump QSTileHost, QSPanel, QuickQSPanel" into qt-dev
Fabian Kozynski [Wed, 24 Apr 2019 18:05:15 +0000 (18:05 +0000)]
Merge "Add dumpable to QSTile. Dump QSTileHost, QSPanel, QuickQSPanel" into qt-dev

5 years agoLoad the default graphics driver in USAPs.
Chris Wailes [Thu, 18 Apr 2019 00:55:48 +0000 (17:55 -0700)]
Load the default graphics driver in USAPs.

This patch causes unspecialized app processes to load the OpenGL driver
after they are forked.  The ZygoteProcess code will then take an
application's driver preference into account when selecting how to
launch it.

Test: m & boot & launch & inspect traces for driver loading
Bug: 130029351
Change-Id: If6fa02f9c387596162e75a685b04208b45a5c86b
Merged-In: If6fa02f9c387596162e75a685b04208b45a5c86b
(cherry picked from commit 301a1c46da930bb927bd86227c6e1d44c70c349d)

5 years agoFix start position issues and related flyout flickering.
Joshua Tsuji [Wed, 17 Apr 2019 17:29:10 +0000 (13:29 -0400)]
Fix start position issues and related flyout flickering.

- Cancel animations when explicitly moving the stack to the start position, so that the new translation doesn't get animated away.
- Set the flyout to 0 alpha before posting the animation, so it's invisible from the start.
- Tell the stack if the drag finished with a dismiss intent, so we can reset the drag flags.

Bug: 130441552
Test: atest SystemUITests
Change-Id: I31d753a6fb76468c4e2b68563f9c5f06fbd782a1

5 years agoMerge "Fix bug with blinking caption tooltip on rocker click. Also clean up some...
Anthony Tripaldi [Wed, 24 Apr 2019 17:30:13 +0000 (17:30 +0000)]
Merge "Fix bug with blinking caption tooltip on rocker click. Also clean up some older code that flashed the dialog on screen initially and triggered dismiss too often." into qt-dev

5 years agoMerge "Update caption toggle icon with GM2 icons used elsewhere in the system." into...
TreeHugger Robot [Wed, 24 Apr 2019 17:27:34 +0000 (17:27 +0000)]
Merge "Update caption toggle icon with GM2 icons used elsewhere in the system." into qt-dev

5 years agoPM: Reject installation of an APK with same name as an APEX
Nikita Ioffe [Tue, 23 Apr 2019 14:52:21 +0000 (15:52 +0100)]
PM: Reject installation of an APK with same name as an APEX

Test: atest CtsStagedInstallHostTestCases
Bug: 130788498
Change-Id: Ic7e5e14ed2d02d3685fd39bb70bc9423ae78f18e

5 years agoMerge "Update process mountpoints when it's storage permissions changes." into qt-dev
Sudheer Shanka [Wed, 24 Apr 2019 16:59:43 +0000 (16:59 +0000)]
Merge "Update process mountpoints when it's storage permissions changes." into qt-dev

5 years agoMerge "AudioAttributes: fix regression with setLegacyStreamType in Builder" into...
Jean-Michel Trivi [Wed, 24 Apr 2019 16:54:32 +0000 (16:54 +0000)]
Merge "AudioAttributes: fix regression with setLegacyStreamType in Builder" into qt-dev

5 years agoMerge "Update the stack bounds for IME changes even if we're expanded." into qt-dev
Josh Tsuji [Wed, 24 Apr 2019 16:34:20 +0000 (16:34 +0000)]
Merge "Update the stack bounds for IME changes even if we're expanded." into qt-dev

5 years agoRemove unused methods from INetworkManagementService
Rubin Xu [Wed, 24 Apr 2019 14:54:34 +0000 (07:54 -0700)]
Remove unused methods from INetworkManagementService

Remove unused public methods setPermission() and clearPermission()

Bug: 114231106
Test: make

Change-Id: I7acbbd36f41bef1356a158bed075c7be330728f4
(cherry picked from commit a430eda4ddbd9ac55d1b4def92885de08cec4bfb)

5 years agoPass responseType in NFW notification callback to the framework
Anil Admal [Wed, 24 Apr 2019 15:57:59 +0000 (08:57 -0700)]
Pass responseType in NFW notification callback to the framework

Bug: 131153085
Test: Manual verification
Change-Id: I7a0310802f18595feedee32de23041080306dc56

5 years agoMerge "Notify FSC about app ops in main thread" into qt-dev
Fabian Kozynski [Wed, 24 Apr 2019 16:01:10 +0000 (16:01 +0000)]
Merge "Notify FSC about app ops in main thread" into qt-dev

5 years agoResolve size compatibility bounds by original display attributes
Riddle Hsu [Wed, 17 Apr 2019 06:57:42 +0000 (14:57 +0800)]
Resolve size compatibility bounds by original display attributes

Previously, the rotation of bounds is simulated by swapping the width
and height, and also adjust the insets in app bounds. But it is still
not accurate enough because the decors can be moved or resized according
to rotation.

Now the activity bounds are computed as it is in a pseudo display that
provides the same size and insets information as the original display
where the activity launched.

This change also handles a special case for task level letterboxing.
The container bounds for activity is also calculated as the task,
so the activity can always best fit in the parent when the orientation
is changed.

Fixes: 130417317
Bug: 112288258
Test: atest ActivityRecordTests TaskRecordTests
Test: atest SizeCompatModeActivityControllerTest
Test: Enable fully gestural navigation and launch camera.
      The restart button should not show after rotating screen.

Change-Id: Ifbb31f9ee84723c85bd4cbc03abd8cdf70fee6af

5 years agoAssign layer to bounds animation layer
Jorim Jaggi [Wed, 24 Apr 2019 15:41:35 +0000 (17:41 +0200)]
Assign layer to bounds animation layer

Test: AppWindowTokenAnimationTests
Fixes: 130139437
Change-Id: Id68eabdacb569bcca292dace00b7e524fef9f0da

5 years agoRemove config specific size for HeaderTileLayout
Fabian Kozynski [Wed, 24 Apr 2019 15:10:21 +0000 (11:10 -0400)]
Remove config specific size for HeaderTileLayout

HeaderTileLayout width should always be MATCH_PARENT. The width is
controlled at the QSContainerImpl level by making it the width of
notification panel and it's MATCH_PARENT all the way down.

Test: visual, using emulator on really high density screen and phone
Fixes: 128776927
Change-Id: I3d5dc679cb77fb50ccadd6c3cb86a022e5f02f70

5 years agoMerge "Call PermissionControllerService on workerthread" into qt-dev
Philip P. Moltmann [Wed, 24 Apr 2019 15:28:25 +0000 (15:28 +0000)]
Merge "Call PermissionControllerService on workerthread" into qt-dev

5 years agoSharesheet - add label loading placeholder
Mike Digman [Tue, 23 Apr 2019 21:52:45 +0000 (14:52 -0700)]
Sharesheet - add label loading placeholder

When loading DS targets we show an animated icon, also want to
show a label placeholder.

Fixes: 129979593
Test: manual, visual
Change-Id: I2f8fbbad552dd412fd5aed3dfad9ac2a5abed0b0

5 years agoAudioAttributes: fix regression with setLegacyStreamType in Builder
Jean-Michel Trivi [Tue, 23 Apr 2019 23:49:50 +0000 (16:49 -0700)]
AudioAttributes: fix regression with setLegacyStreamType in Builder

A regression was introduced by commit @6d69bde which caused a new
  Builder instance to be created when using setLegacyStreamType(),
  instead of returning the current one.

Bug: 130274354
Test: atest android.media.cts.AudioAttributesTest#testSetLegacyStreamOnBuilder
Change-Id: Ib66a0beb5f0f4489a6003cb9be6b8313b3318eac

5 years agoMerge "Don't apply rounded-corner animation on non-default display" into qt-dev
Tiger Huang [Wed, 24 Apr 2019 14:59:09 +0000 (14:59 +0000)]
Merge "Don't apply rounded-corner animation on non-default display" into qt-dev

5 years agoMerge "Delete unused timeout constant." into qt-dev
Lorenzo Colitti [Wed, 24 Apr 2019 14:30:05 +0000 (14:30 +0000)]
Merge "Delete unused timeout constant." into qt-dev

5 years agoReinstate new VPN uid filtering unit tests
Rubin Xu [Wed, 24 Apr 2019 10:05:12 +0000 (03:05 -0700)]
Reinstate new VPN uid filtering unit tests

Mock out PackageManager and returns correct information corresponding
to the test app package itself.

Test: atest --generate-new-metrics 10 com.android.server.ConnectivityServiceTest
Bug: 114231106
Bug: 130397860

Merged-In: Ic2faef44831575b2d03bc00ef2553d5c549adc95
Change-Id: Ic2faef44831575b2d03bc00ef2553d5c549adc95
(cherry picked from commit 4469b1d8a543613d91a58a88488fd2022a0696b9)