OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Compute size range before setting DisplayInfoOverride" into qt-dev
Tiger Huang [Wed, 15 May 2019 12:34:31 +0000 (12:34 +0000)]
Merge "Compute size range before setting DisplayInfoOverride" into qt-dev

5 years agoMerge "Atom and puller for historical AppOps." into qt-dev
Martijn Coenen [Wed, 15 May 2019 12:19:10 +0000 (12:19 +0000)]
Merge "Atom and puller for historical AppOps." into qt-dev

5 years agoMerge "Fix a bug where private DNS to v4-only servers don't validate." into qt-dev
Chiachang Wang [Wed, 15 May 2019 11:56:10 +0000 (11:56 +0000)]
Merge "Fix a bug where private DNS to v4-only servers don't validate." into qt-dev

5 years agoMerge "Add build targets for non-mainline NetworkStack" into qt-dev
Remi NGUYEN VAN [Wed, 15 May 2019 10:55:49 +0000 (10:55 +0000)]
Merge "Add build targets for non-mainline NetworkStack" into qt-dev

5 years agoFix a bug where private DNS to v4-only servers don't validate.
Chiachang Wang [Wed, 15 May 2019 07:33:46 +0000 (15:33 +0800)]
Fix a bug where private DNS to v4-only servers don't validate.

Bug: 132670008
Test: Manual
Test: atest NetworkStackTests
Change-Id: I8ae6fa6f3800f5f6c9ee88ffe3b8ada34b96dee6
Merged-In: I362d43ee6af318694a4038a257e1ebb3f577863c

5 years agoMerge "Fix copying of insets" into qt-dev
Jorim Jaggi [Wed, 15 May 2019 10:26:02 +0000 (10:26 +0000)]
Merge "Fix copying of insets" into qt-dev

5 years agoCompute size range before setting DisplayInfoOverride
Tiger Huang [Thu, 9 May 2019 12:04:17 +0000 (20:04 +0800)]
Compute size range before setting DisplayInfoOverride

The original logic didn't adjust the size range within the DisplayInfo
before setting it to DisplayManager, which caused apps would get the
previous size ranges which might be incorrect.

Bug: 132678244
Test: atest DisplaySizeTest
Change-Id: Iaf08ae8a16d4d95516d9c8ae316b6efcd7240751

5 years agoAdd build targets for non-mainline NetworkStack
Remi NGUYEN VAN [Wed, 15 May 2019 07:14:51 +0000 (16:14 +0900)]
Add build targets for non-mainline NetworkStack

Add PlatformCaptivePortalLogin and PlatformNetworkPermissionConfig build
targets to override CaptivePortalLogin and NetworkPermissionConfig with
platform-key-signed packages easily. The added packages are unused by
default but can simplify setup for OEMs that use InProcessNetworkStack.

Bug: 132635211
Test: Added the new packages to sailfish build, built image: device has
      the proper packages signed with the right keys, networking and
      captive portal working fine.

Change-Id: I09656deb6ba928f56b478adebb60268fa6f484b0

5 years agoMerge "Clean up the permission control code in framework" into qt-dev
Lorenzo Colitti [Wed, 15 May 2019 06:26:52 +0000 (06:26 +0000)]
Merge "Clean up the permission control code in framework" into qt-dev

5 years agoMerge "Add NAME_SOURCE_CARRIER for subscription display name." into qt-dev
Amit Mahajan [Wed, 15 May 2019 06:03:07 +0000 (06:03 +0000)]
Merge "Add NAME_SOURCE_CARRIER for subscription display name." into qt-dev

5 years agoMerge "Block face auth when lock icon is pressed" into qt-dev
TreeHugger Robot [Wed, 15 May 2019 05:04:32 +0000 (05:04 +0000)]
Merge "Block face auth when lock icon is pressed" into qt-dev

5 years agoMerge "Fix captive portal app can be launched w/o MAINLINE_NETWORK_STACK permission...
TreeHugger Robot [Wed, 15 May 2019 04:38:57 +0000 (04:38 +0000)]
Merge "Fix captive portal app can be launched w/o MAINLINE_NETWORK_STACK permission" into qt-dev

5 years agoMerge "Adds the keyguard indication area overlays" into qt-dev
TreeHugger Robot [Wed, 15 May 2019 04:02:51 +0000 (04:02 +0000)]
Merge "Adds the keyguard indication area overlays" into qt-dev

5 years agoMerge "Fix a bug about the z-order of layers caused by merging transactions" into...
Tiger Huang [Wed, 15 May 2019 03:52:34 +0000 (03:52 +0000)]
Merge "Fix a bug about the z-order of layers caused by merging transactions" into qt-dev

5 years agoMerge "Generate challenge and reset lockout only if user has enrolled biometrics...
Kevin Chyn [Wed, 15 May 2019 03:45:51 +0000 (03:45 +0000)]
Merge "Generate challenge and reset lockout only if user has enrolled biometrics" into qt-dev

5 years agoFix captive portal app can be launched w/o MAINLINE_NETWORK_STACK permission
Paul Hu [Tue, 14 May 2019 11:28:35 +0000 (04:28 -0700)]
Fix captive portal app can be launched w/o MAINLINE_NETWORK_STACK permission

Caller should get SecurityException if called
ConnectivityManager#startCaptivePortalApp() w/o
MAINLINE_NETWORK_STACK permission. But now it will not get any
exception and can launch captive portal app successfully.

Bug: 132662433
Test: atest android.net.cts.ConnectivityManagerTest#testStartCaptivePortalApp
      w and w/o MAINLINE_NETWORK_STACK permission
Test: atest FrameworksNetTests NetworkStackTests

Change-Id: Ib70fe6fad107f3e9dce9ce673188c5ce5dc1ad7b
Merged-In: I1025da29beb53259f57bd9ca5648b32f2847ed4a
Merged-In: Ib70fe6fad107f3e9dce9ce673188c5ce5dc1ad7b
(cherry picked from commit 72b3ab18ca302a3117f424a0f0ef6c08897c310e)

5 years agoMerge "Fix legacy recents crash on Go devices" into qt-dev
TreeHugger Robot [Wed, 15 May 2019 01:42:04 +0000 (01:42 +0000)]
Merge "Fix legacy recents crash on Go devices" into qt-dev

5 years agoMerge "Explicitly request clearing of external storage." into qt-dev
Jeff Sharkey [Wed, 15 May 2019 01:29:08 +0000 (01:29 +0000)]
Merge "Explicitly request clearing of external storage." into qt-dev

5 years agoMerge "Updates java doc in AppPredictionService" into qt-dev
Mehdi Alizadeh [Wed, 15 May 2019 01:14:05 +0000 (01:14 +0000)]
Merge "Updates java doc in AppPredictionService" into qt-dev

5 years agoMerge "Remember last time we mounted a volume." into qt-dev
Jeff Sharkey [Wed, 15 May 2019 01:07:03 +0000 (01:07 +0000)]
Merge "Remember last time we mounted a volume." into qt-dev

5 years agoMerge "Offload role manager work to background thread" into qt-dev
TreeHugger Robot [Wed, 15 May 2019 00:46:17 +0000 (00:46 +0000)]
Merge "Offload role manager work to background thread" into qt-dev

5 years agoMerge "Use merged NetworkTemplate to query data usage" into qt-dev
Lei Yu [Wed, 15 May 2019 00:27:23 +0000 (00:27 +0000)]
Merge "Use merged NetworkTemplate to query data usage" into qt-dev

5 years agoMerge "Update content descriptions when text/icons are updated" into qt-dev
Kevin Chyn [Tue, 14 May 2019 23:29:50 +0000 (23:29 +0000)]
Merge "Update content descriptions when text/icons are updated" into qt-dev

5 years agoMerge "Update acquire string" into qt-dev
Kevin Chyn [Tue, 14 May 2019 23:28:45 +0000 (23:28 +0000)]
Merge "Update acquire string" into qt-dev

5 years agoBlock face auth when lock icon is pressed
Lucas Dupin [Tue, 14 May 2019 23:11:08 +0000 (16:11 -0700)]
Block face auth when lock icon is pressed

It's necessary to lock the current user, until the next screen power
cycle, to avoid unlocking the device accidentally.

Fixes: 132129109
Test: atest KeyguardIndicationControllerTest
Test: Unlock with biometrics, long press lock icon, swipe up
Test: Unlock with biometrics, swipe up
Change-Id: I23258a79531c21d0e63bd0a91db59d8950526197

5 years agoOffload role manager work to background thread
Winson Chung [Tue, 14 May 2019 23:23:50 +0000 (16:23 -0700)]
Offload role manager work to background thread

Bug: 130305914
Test: Manual
Change-Id: Ifbe25980aa5c91698556b6f0070b5fee06014f31

5 years agoMerge "Fix several accessibility issues with BiometricPrompt" into qt-dev
Kevin Chyn [Tue, 14 May 2019 23:21:08 +0000 (23:21 +0000)]
Merge "Fix several accessibility issues with BiometricPrompt" into qt-dev

5 years agoMerge "Adding subscription group owner." into qt-dev
Xiangyu/Malcolm Chen [Tue, 14 May 2019 23:13:19 +0000 (23:13 +0000)]
Merge "Adding subscription group owner." into qt-dev

5 years agoGenerate challenge and reset lockout only if user has enrolled biometrics
Kevin Chyn [Tue, 14 May 2019 22:32:47 +0000 (15:32 -0700)]
Generate challenge and reset lockout only if user has enrolled biometrics

Fixes: 132723654

Test: Lockout reset still works
Change-Id: I28fcbd22cd0b89082d5183382649d9c3095dd595

5 years agoMerge "Revert "Remove lousy synchronization"" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 22:49:27 +0000 (22:49 +0000)]
Merge "Revert "Remove lousy synchronization"" into qt-dev

5 years agoMerge "Check for lock icon nullability" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 22:38:26 +0000 (22:38 +0000)]
Merge "Check for lock icon nullability" into qt-dev

5 years agoFix legacy recents crash on Go devices
Kevin [Tue, 14 May 2019 21:46:35 +0000 (14:46 -0700)]
Fix legacy recents crash on Go devices

Go does not have PIP enabled and thus does not put the PipUI component
when starting up System UI service componenets. However, as part of
moving things to legacy recents, we are now always listening to PIP menu
events even with the feature disabled and we hit a NPE since we get a
null component. This CL adds a simple null check and backs out if we
don't have the component.

Bug: 132703125
Test: No longer crashes on KB3 Go device
Change-Id: I55e4fc30dc392a8052850a726e756b03fd4c91f6

5 years agoMerge "Retain Activity Recognition permission state across device update" into qt-dev
Zimuzo Ezeozue [Tue, 14 May 2019 22:09:44 +0000 (22:09 +0000)]
Merge "Retain Activity Recognition permission state across device update" into qt-dev

5 years agoUpdates java doc in AppPredictionService
Mehdi Alizadeh [Tue, 14 May 2019 22:05:31 +0000 (15:05 -0700)]
Updates java doc in AppPredictionService

Bug: 123591863
Test: None
Change-Id: I1ef31e6c723199432f852ad38e1af35d6017cc1f

5 years agoMerge "Fixed issue where GradientDrawable orientation was not consumed properly"...
TreeHugger Robot [Tue, 14 May 2019 21:57:07 +0000 (21:57 +0000)]
Merge "Fixed issue where GradientDrawable orientation was not consumed properly" into qt-dev

5 years agoRemember last time we mounted a volume.
Jeff Sharkey [Tue, 14 May 2019 17:54:36 +0000 (11:54 -0600)]
Remember last time we mounted a volume.

Bug: 131751531
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ia5f6153aa15ea923d30085060269125e15e8e62c

5 years agoMerge "Update API docs for TelecomManager#endCall." into qt-dev
Tyler Gunn [Tue, 14 May 2019 21:39:27 +0000 (21:39 +0000)]
Merge "Update API docs for TelecomManager#endCall." into qt-dev

5 years agoFixed issue where GradientDrawable orientation was not
Nader Jawad [Fri, 10 May 2019 21:06:56 +0000 (14:06 -0700)]
Fixed issue where GradientDrawable orientation was not
consumed properly

Moved methods to resolve the current gradient orientation
from GradientDrawable to GradientState. Fixed issue where
orientation parameter was not consumed properly in the
GradientDrawable constructor causing the angle and orientation
parameters to be out of sync.

Bug: 132420435
Test: Added test to CTS to verify GradientDrawable constructor behavior
Change-Id: I639d1ab4b8791810ea72c3f85878a8c7d9093661

5 years agoMerge "Remove workaround in VulkanSurface for missing vendor flag." into qt-dev
Greg Daniel [Tue, 14 May 2019 21:32:29 +0000 (21:32 +0000)]
Merge "Remove workaround in VulkanSurface for missing vendor flag." into qt-dev

5 years agoMerge "Change use of default sub to default data sub in GnssLocationProvider" into...
Anil Admal [Tue, 14 May 2019 21:18:33 +0000 (21:18 +0000)]
Merge "Change use of default sub to default data sub in GnssLocationProvider" into qt-dev

5 years agoUpdate content descriptions when text/icons are updated
Kevin Chyn [Tue, 14 May 2019 19:53:20 +0000 (12:53 -0700)]
Update content descriptions when text/icons are updated

Fixes: 132300444

Test: manual

Change-Id: Ic43f516ac0b26db6104e4cfaeda53795931170e9

5 years agoMerge "Fixed incorrect metered/unmetered APN in AP-assisted mode" into qt-dev
Jack Yu [Tue, 14 May 2019 21:00:15 +0000 (21:00 +0000)]
Merge "Fixed incorrect metered/unmetered APN in AP-assisted mode" into qt-dev

5 years agoRevert "Remove lousy synchronization"
Lucas Dupin [Tue, 14 May 2019 20:59:17 +0000 (20:59 +0000)]
Revert "Remove lousy synchronization"

This reverts commit a3420c7f707b07e33bdb9f5aba65f3b8f9d72911.

Reason for revert: causes text density inflation issue
Bug: 131914931

Change-Id: Ic63ba977dba9df6e327b18e51661d4eea6105d53

5 years agoExplicitly request clearing of external storage.
Jeff Sharkey [Tue, 14 May 2019 20:55:13 +0000 (14:55 -0600)]
Explicitly request clearing of external storage.

Similar to how we target DE and CE storage areas, callers need to
specifically ask to work with EXTERNAL storage.  This is because
external storage often lives on a separate device from where internal
DE and CE data lives.

As one specific example, if we're moving an app between two
"internal" storage devices, we don't want to clean up the data
for that package on external storage, since it's not being moved.

This change also expands to all mounted external storage devices,
not just the storage backed by the incoming UUID.

Bug: 113277754
Test: atest android.appsecurity.cts.StorageHostTest
Test: atest android.appsecurity.cts.ExternalStorageHostTest
Test: atest --test-mapping frameworks/base/services/core/java/com/android/server/pm/
Change-Id: Ie125303726dd757ee45bd373f53addb35569c2f7

5 years agoMerge "Must synchronize for ...Locked() code paths" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 20:40:24 +0000 (20:40 +0000)]
Merge "Must synchronize for ...Locked() code paths" into qt-dev

5 years agoMerge "Fixed NPE on VoiceInteractor.destroy()" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 20:27:44 +0000 (20:27 +0000)]
Merge "Fixed NPE on VoiceInteractor.destroy()" into qt-dev

5 years agoUpdate acquire string
Kevin Chyn [Tue, 14 May 2019 20:10:17 +0000 (13:10 -0700)]
Update acquire string

Fixes: 132404857

Test: Builds
Change-Id: I40a9dee4d203f7c4e2049560fdad2c74958a6dde

5 years agoMerge "Missing thumbnails should throw." into qt-dev
Jeff Sharkey [Tue, 14 May 2019 19:30:48 +0000 (19:30 +0000)]
Merge "Missing thumbnails should throw." into qt-dev

5 years agoFix several accessibility issues with BiometricPrompt
Kevin Chyn [Tue, 14 May 2019 19:19:07 +0000 (12:19 -0700)]
Fix several accessibility issues with BiometricPrompt

1) Ensure spaces can be tapped/double-tapped with talkback enabled
2) Do not explicitly set focus
3) Give empty spaces content description for talkback

Fixes: 132376836
Fixes: 132378618

Test: Enabled talkback, the above are fixed
Change-Id: Ic923ba8aed4922e852a8b82b6120644ca627d651

5 years agoCheck for lock icon nullability
Lucas Dupin [Tue, 14 May 2019 19:13:26 +0000 (12:13 -0700)]
Check for lock icon nullability

Test: make
Fixes: 132698969
Change-Id: Ib1db9e3c5706ad46f32fe0ccabb832b86c122859

5 years agoMerge "Process start optimization" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 18:22:46 +0000 (18:22 +0000)]
Merge "Process start optimization" into qt-dev

5 years agoMerge "Adding buffer time for periodic jobs run near the end of their windows." into...
TreeHugger Robot [Tue, 14 May 2019 18:18:36 +0000 (18:18 +0000)]
Merge "Adding buffer time for periodic jobs run near the end of their windows." into qt-dev

5 years agoUpdate API docs for TelecomManager#endCall.
Tyler Gunn [Tue, 14 May 2019 18:08:06 +0000 (11:08 -0700)]
Update API docs for TelecomManager#endCall.

Make it clear that ending an emergency call is not possible with this
method.

Test: Compile; this is a docs change.
Bug: 132438333
Change-Id: I736b90e31723ee2055cedf16142c4d0f494bf49b

5 years agoMerge "Upgrade AOSP Dialer to Android Q, add necessary permissions." into qt-dev
Evan Wu [Tue, 14 May 2019 18:01:09 +0000 (18:01 +0000)]
Merge "Upgrade AOSP Dialer to Android Q, add necessary permissions." into qt-dev

5 years agoMerge "Report request failure when binder died in remote service." into qt-dev
TreeHugger Robot [Tue, 14 May 2019 17:56:10 +0000 (17:56 +0000)]
Merge "Report request failure when binder died in remote service." into qt-dev

5 years agoAdd NAME_SOURCE_CARRIER for subscription display name.
Amit Mahajan [Tue, 14 May 2019 17:36:15 +0000 (10:36 -0700)]
Add NAME_SOURCE_CARRIER for subscription display name.

Test: manual
Bug: 131803649
Change-Id: Ieb7d691fb88866162b287f87d5a2b2d94adac7c3

5 years agoMissing thumbnails should throw.
Jeff Sharkey [Tue, 14 May 2019 17:25:47 +0000 (11:25 -0600)]
Missing thumbnails should throw.

Bug: 132248209
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Iac17eaa17c25041de13069f1e73a70006051ab8b

5 years agoFixed NPE on VoiceInteractor.destroy()
Felipe Leme [Tue, 14 May 2019 17:14:02 +0000 (10:14 -0700)]
Fixed NPE on VoiceInteractor.destroy()

Fixes: 131411751
Test: atest CtsVoiceInteractionTestCases # ran a few times on different devices, got no failures

Change-Id: I484db53772bf503f091f30f67ae92c8ae52d4105

5 years agoFix copying of insets
Jorim Jaggi [Tue, 14 May 2019 16:54:40 +0000 (18:54 +0200)]
Fix copying of insets

Test: WindowInsetsTests
Fixes: 132057323
Change-Id: I8836a9d81ab85ce64071c48f8407e5e96dbbb1da

5 years agoMerge "Fix sharing into a locked work profile" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 16:32:57 +0000 (16:32 +0000)]
Merge "Fix sharing into a locked work profile" into qt-dev

5 years agoMerge "Remove lousy synchronization" into qt-dev
Lucas Dupin [Tue, 14 May 2019 16:29:25 +0000 (16:29 +0000)]
Merge "Remove lousy synchronization" into qt-dev

5 years agoMerge "Using ParceledListSlice to send large lists over Binder." into qt-dev
TreeHugger Robot [Tue, 14 May 2019 16:25:28 +0000 (16:25 +0000)]
Merge "Using ParceledListSlice to send large lists over Binder." into qt-dev

5 years agoMerge "Fix incorrect bounds of split-screen when rotation changes" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 16:23:18 +0000 (16:23 +0000)]
Merge "Fix incorrect bounds of split-screen when rotation changes" into qt-dev

5 years agoMerge "Allow files to be created under download dirs from MediaStore." into qt-dev
Sudheer Shanka [Tue, 14 May 2019 16:05:26 +0000 (16:05 +0000)]
Merge "Allow files to be created under download dirs from MediaStore." into qt-dev

5 years agoMerge "Make the flyout dismissable with a gesture." into qt-dev
Josh Tsuji [Tue, 14 May 2019 15:34:38 +0000 (15:34 +0000)]
Merge "Make the flyout dismissable with a gesture." into qt-dev

5 years agoMerge "Allow pausing Watchdog on the current thread" into qt-dev
Zimuzo Ezeozue [Tue, 14 May 2019 14:55:06 +0000 (14:55 +0000)]
Merge "Allow pausing Watchdog on the current thread" into qt-dev

5 years agoRemove GlobalActionsDialog values from FeatureFlagUtils.
Aran Ink [Fri, 10 May 2019 19:27:36 +0000 (15:27 -0400)]
Remove GlobalActionsDialog values from FeatureFlagUtils.

Merged-in: I5ca5e760d9a987c75a93c43783ad2b38728d48fc
Test: Automated tests pass. Manual testing shows GAD still works.
Fixes: 123397865
Fixes: 127644235

Change-Id: I0a8e285c96eea566ed1b19fa05e4143324f5937b

5 years agoMerge "Use embedded native libs for NetworkStack.apk." into qt-dev
TreeHugger Robot [Tue, 14 May 2019 14:04:37 +0000 (14:04 +0000)]
Merge "Use embedded native libs for NetworkStack.apk." into qt-dev

5 years agoMerge "Fix testKeyValue_Concurrency flakyness" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 13:59:42 +0000 (13:59 +0000)]
Merge "Fix testKeyValue_Concurrency flakyness" into qt-dev

5 years agoMerge "[OWE] Support OWE in transition mode" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 13:57:05 +0000 (13:57 +0000)]
Merge "[OWE] Support OWE in transition mode" into qt-dev

5 years agoRemove workaround in VulkanSurface for missing vendor flag.
Greg Daniel [Tue, 14 May 2019 13:25:41 +0000 (09:25 -0400)]
Remove workaround in VulkanSurface for missing vendor flag.

Test: manual building and testing
Bug: b/128923272
Change-Id: I6be67fddbbf06d4eb7efe316f7e6fd12157e2852

5 years agoMerge "Add an API for launching intent to view permission usage." into qt-dev
TreeHugger Robot [Tue, 14 May 2019 13:24:56 +0000 (13:24 +0000)]
Merge "Add an API for launching intent to view permission usage." into qt-dev

5 years agoFix testKeyValue_Concurrency flakyness
Adrian Roos [Mon, 13 May 2019 16:35:21 +0000 (09:35 -0700)]
Fix testKeyValue_Concurrency flakyness

Bug: 131132243
Test: atest 'LockSettingsStorageTests#testKeyValue_Concurrency'
Change-Id: If14b6fe63ea57837ac3d594c5219b4eb5839002a

5 years agoAtom and puller for historical AppOps.
Martijn Coenen [Thu, 25 Apr 2019 15:09:45 +0000 (17:09 +0200)]
Atom and puller for historical AppOps.

This atom contains information about historical AppOps performed by
applications.

Bug: 128925078
Test: builds
      adb shell cmd stats pull-source 10060

Change-Id: Iaaec0987712779e2062139d3ad0e2d4544d4d45f

5 years agoRetain Activity Recognition permission state across device update
Zimuzo [Mon, 13 May 2019 15:32:57 +0000 (16:32 +0100)]
Retain Activity Recognition permission state across device update

Bug: 131867032
Test: Manual testing with apks that request new Android and old gmscore
permission targetting P and Q. After system upgrade from P to Q,
both apps always get Android AR permission auto-granted. Meanwhile, new
installs of the same apps on Q don't get the Android AR permission
auto-granted.

Change-Id: I68493a42650407056ef6b9fa40e24aea94a72f88

5 years agoMerge "Have InProcessNetworkStack override NetworkStack" into qt-dev
Remi NGUYEN VAN [Tue, 14 May 2019 09:47:39 +0000 (09:47 +0000)]
Merge "Have InProcessNetworkStack override NetworkStack" into qt-dev

5 years agoHave InProcessNetworkStack override NetworkStack
Remi NGUYEN VAN [Tue, 14 May 2019 05:08:56 +0000 (14:08 +0900)]
Have InProcessNetworkStack override NetworkStack

This avoids shipping both APKs on Go devices, as would be previously
done with the default Go configuration that still included NetworkStack.

Test: Flashed, booted walleye with svelte config. Verified that
      NetworkStack is not on the device and InProcessNetworkStack is
      used. WiFi working.
Bug: 132666298
Change-Id: If4a7a003128a555e512c88469653c3fb2ad864d5

5 years agoFixed incorrect metered/unmetered APN in AP-assisted mode
Jack Yu [Mon, 13 May 2019 23:54:04 +0000 (16:54 -0700)]
Fixed incorrect metered/unmetered APN in AP-assisted mode

From now all data traffic through IWLAN will be unmetered. Only
data through cellular will be checked for metered/unmetered.

Test: Unit tests
Bug: 132433959
Change-Id: Id1498fb8627dd7221a5ab7cde72929e6ee25b425

5 years agoMerge "Process insets correctly" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 05:01:26 +0000 (05:01 +0000)]
Merge "Process insets correctly" into qt-dev

5 years agoMerge "Smaller notification icons on AOD" into qt-dev
Lucas Dupin [Tue, 14 May 2019 03:41:07 +0000 (03:41 +0000)]
Merge "Smaller notification icons on AOD" into qt-dev

5 years agoMerge "Prevent extra work on the same timestamp" into qt-dev
Alex Salo [Tue, 14 May 2019 01:54:01 +0000 (01:54 +0000)]
Merge "Prevent extra work on the same timestamp" into qt-dev

5 years agoMerge "Reset notification list upon opening the drawer." into qt-dev
TreeHugger Robot [Tue, 14 May 2019 01:32:28 +0000 (01:32 +0000)]
Merge "Reset notification list upon opening the drawer." into qt-dev

5 years agoMerge "Adding tracepoints for tracking lock icon state" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 01:29:27 +0000 (01:29 +0000)]
Merge "Adding tracepoints for tracking lock icon state" into qt-dev

5 years agoMerge "checkCarrierPrivilegesForPackage by subId rather than default" into qt-dev
Chen Xu [Tue, 14 May 2019 01:06:05 +0000 (01:06 +0000)]
Merge "checkCarrierPrivilegesForPackage by subId rather than default" into qt-dev

5 years agoMerge "Disable rotation suggestion when global actions panel is visible" into qt-dev
Steve Elliott [Tue, 14 May 2019 01:02:44 +0000 (01:02 +0000)]
Merge "Disable rotation suggestion when global actions panel is visible" into qt-dev

5 years agoRemove lousy synchronization
Lucas Dupin [Tue, 14 May 2019 00:54:25 +0000 (17:54 -0700)]
Remove lousy synchronization

An @AnyThread method was being used for syncrhonizing user switching
states without having a synchronization block. We were also relying
on callbacks that might be unordered, especially during user switching.

Fixes: 131914931
Test: switch between users that have different dark mode settings
Change-Id: Ie85c2a2a087edcd35c825caf8193aeabb990ea6c

5 years agoProcess insets correctly
Lucas Dupin [Mon, 13 May 2019 23:33:32 +0000 (16:33 -0700)]
Process insets correctly

Bottom window insets were being processed but keyboard was being
ignored. Paddings should also only be applied on the correct
lifecycle event.

Fixes: 132615062
Test: swipe up to unlock with: pin/pattern/password
Test: swipe up to unlock with: 2 button navbar, gestural navbar
Change-Id: Ib573e20d9955e644f60333ad3d8e0f2d7e73fe54

5 years agoMerge "Add a parameter to filter out system apps" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 00:07:28 +0000 (00:07 +0000)]
Merge "Add a parameter to filter out system apps" into qt-dev

5 years agoMerge "Media: Align cast device names properly in RTL languages." into qt-dev
Kyunglyul Hyun [Mon, 13 May 2019 23:51:33 +0000 (23:51 +0000)]
Merge "Media: Align cast device names properly in RTL languages." into qt-dev

5 years agoMerge "iconloader dependency in SystemUI-core" into qt-dev
Hyunyoung Song [Mon, 13 May 2019 23:40:05 +0000 (23:40 +0000)]
Merge "iconloader dependency in SystemUI-core" into qt-dev

5 years agoiconloader dependency in SystemUI-core
Hyunyoung Song [Fri, 1 Mar 2019 21:32:28 +0000 (13:32 -0800)]
iconloader dependency in SystemUI-core

Bug: 129158983
Change-Id: I678fbf734d158eadff365262225e6e8802d7ef4e
Test: m -j10 SystemUI-core -> Success locally

5 years agocheckCarrierPrivilegesForPackage by subId rather than default
chen xu [Fri, 10 May 2019 02:15:32 +0000 (19:15 -0700)]
checkCarrierPrivilegesForPackage by subId rather than default

1. checkCarrierPrivilegesForPackages by subId
2. getPackagesWithCarrierPrivileges by subId
3. new hidden API getPackagesWithCarrierPrivilegesForAllPhones which
returns packages for all subs.

Bug: 132078279
Test: Manual
Change-Id: Ic666218f0c290d1b428530982b689af110f74c69

5 years agoMerge "CTS: StatsLog.writeRaw()" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 23:30:24 +0000 (23:30 +0000)]
Merge "CTS: StatsLog.writeRaw()" into qt-dev

5 years agoReset notification list upon opening the drawer.
Adora Zhang [Fri, 12 Apr 2019 00:47:40 +0000 (17:47 -0700)]
Reset notification list upon opening the drawer.

Bug: 123433756
Test: manual
Change-Id: I9a3bc6384854930904f13cef6962b97d9209b2c8
(cherry picked from commit 4025195c1d6e553b75bc0385d488cf8a3cf2c0be)

5 years agoMerge "Revert "Notify OverviewProxyService of scrim colors"" into qt-dev
Hyunyoung Song [Mon, 13 May 2019 22:53:06 +0000 (22:53 +0000)]
Merge "Revert "Notify OverviewProxyService of scrim colors"" into qt-dev

5 years agoMerge "Ignore motion event of invalid pointer" into qt-dev
Lucas Dupin [Mon, 13 May 2019 22:50:50 +0000 (22:50 +0000)]
Merge "Ignore motion event of invalid pointer" into qt-dev

5 years agoMake the flyout dismissable with a gesture.
Joshua Tsuji [Thu, 2 May 2019 17:13:16 +0000 (13:13 -0400)]
Make the flyout dismissable with a gesture.

This adds the flyout-to-dot transition, and encapulates the flyout logic in a custom view. This also adds support for the 'new' dot changing sides (previously unimplemented) and animates it changing sides when the stack changes sides.

Test: atest SystemUITests
Fixes: 129768381
Bugs: 129768381
Change-Id: I90697b437cf14e5c5a211c87ed2c131a12e697e7

5 years agoPrevent extra work on the same timestamp
Alex Salo [Wed, 1 May 2019 21:18:46 +0000 (14:18 -0700)]
Prevent extra work on the same timestamp

AttentionDetector gets called a lot, and there is no reason to do
any work, unless it is called with a new timestamp.

Bug: 111939367
Test: verified by doing FSOP + atest AttentionDetectorTest
Change-Id: If427bd3358e0ea35279fb5d235c2fd137df036ac

5 years ago[OWE] Support OWE in transition mode
Hai Shalom [Mon, 13 May 2019 22:31:41 +0000 (15:31 -0700)]
[OWE] Support OWE in transition mode

Support OWE in transition mode for devices with OWE support
and devices without OWE support. Scan results will return a
new type of network for OWE in transition networks on devices
that support OWE, and Open for devices that don't support OWE.
Handle the case where Open network is manually added to a device
that supports OWE.

Bug: 132139642
Test: Device with OWE: Connect to Open, OWE-Transition, OWE networks
Test: Device without OWE: Connect to Open, OWE-Transition
Test: Manually create Open network, connect to OWE-Transition
Change-Id: I29e69eaae2672562420ee7c6393bf2cc4d7f1b91

5 years agoMerge "Revert "MemoryIntArray: track the owned file descriptor in a PFD."" into qt-dev
Eugene Susla [Mon, 13 May 2019 22:21:48 +0000 (22:21 +0000)]
Merge "Revert "MemoryIntArray: track the owned file descriptor in a PFD."" into qt-dev