OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Use the correct targets-per-row count for Landscape." into qt-dev
Alison Cichowlas [Fri, 12 Apr 2019 19:58:37 +0000 (19:58 +0000)]
Merge "Use the correct targets-per-row count for Landscape." into qt-dev

5 years agoMerge "Sharesheet - Add contentDescription to copy button" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 19:57:31 +0000 (19:57 +0000)]
Merge "Sharesheet - Add contentDescription to copy button" into qt-dev

5 years agoMerge changes Iabebe9cf,I5afbd60f into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 19:46:33 +0000 (19:46 +0000)]
Merge changes Iabebe9cf,I5afbd60f into qt-dev

* changes:
  Automatically run Package Installer tests
  Remove support to install apps from a file

5 years agoMerge "OMS: always update overlays.xml when overlay is removed" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 19:46:30 +0000 (19:46 +0000)]
Merge "OMS: always update overlays.xml when overlay is removed" into qt-dev

5 years agoMerge "Reapply nav hints when systemui crashes or killed" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 19:37:18 +0000 (19:37 +0000)]
Merge "Reapply nav hints when systemui crashes or killed" into qt-dev

5 years agoMerge "Fixed bugs in PagedTileLayout, QSAnimator using RTL" into qt-dev
Fabian Kozynski [Fri, 12 Apr 2019 19:22:33 +0000 (19:22 +0000)]
Merge "Fixed bugs in PagedTileLayout, QSAnimator using RTL" into qt-dev

5 years agoMerge "Fix RelativeLayout checking of resource ids greater than 0x80" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 19:00:18 +0000 (19:00 +0000)]
Merge "Fix RelativeLayout checking of resource ids greater than 0x80" into qt-dev

5 years agoMerge "Avoid taking a lock when we shouldn't" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 18:40:47 +0000 (18:40 +0000)]
Merge "Avoid taking a lock when we shouldn't" into qt-dev

5 years agoRemove old version of registerUsageSessionObserver
Michael Wachenschwanz [Wed, 13 Mar 2019 21:13:19 +0000 (14:13 -0700)]
Remove old version of registerUsageSessionObserver

Test: none
Fixes: 128455269
Change-Id: I23ac8db6b05e3f40dd83f87b85c19bd3bc873e48

5 years agoMerge "Camera: Document LEGACY not being allowed on new devices" into qt-dev
Eino-Ville Talvala [Fri, 12 Apr 2019 18:11:06 +0000 (18:11 +0000)]
Merge "Camera: Document LEGACY not being allowed on new devices" into qt-dev

5 years agoMerge "Convert Privacy Types to use PermissionGroup icons" into qt-dev
Fabian Kozynski [Fri, 12 Apr 2019 18:09:41 +0000 (18:09 +0000)]
Merge "Convert Privacy Types to use PermissionGroup icons" into qt-dev

5 years agoMerge "Connect face service debugging to the HAL" into qt-dev
Joe Onorato [Fri, 12 Apr 2019 18:00:30 +0000 (18:00 +0000)]
Merge "Connect face service debugging to the HAL" into qt-dev

5 years agoMerge "Mitigate screen flashing on overlay change." into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 17:49:04 +0000 (17:49 +0000)]
Merge "Mitigate screen flashing on overlay change." into qt-dev

5 years agoSharesheet - Add contentDescription to copy button
Matt Pietal [Fri, 12 Apr 2019 17:48:18 +0000 (13:48 -0400)]
Sharesheet - Add contentDescription to copy button

For accessibility, add button description

Bug: 130211978
Test: Manual
Change-Id: Id8152533f43f8567264c3514fb0a228d615a6e7c

5 years agoMerge "Swap Filled and Rounded for IconPack*LauncherOverlay" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 17:47:45 +0000 (17:47 +0000)]
Merge "Swap Filled and Rounded for IconPack*LauncherOverlay" into qt-dev

5 years agoMerge "Null annotations in TC APIs." into qt-dev
Abodunrinwa Toki [Fri, 12 Apr 2019 17:36:24 +0000 (17:36 +0000)]
Merge "Null annotations in TC APIs." into qt-dev

5 years agoMerge changes from topic "RemoveTempStatsLogWrite" into qt-dev
Baligh Uddin [Fri, 12 Apr 2019 17:21:04 +0000 (17:21 +0000)]
Merge changes from topic "RemoveTempStatsLogWrite" into qt-dev

* changes:
  Mark permission controller atoms
  Remove StatsLog.write

5 years agoMerge "Set mEnterAnimationPending to true if a window was not visible" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 17:17:41 +0000 (17:17 +0000)]
Merge "Set mEnterAnimationPending to true if a window was not visible" into qt-dev

5 years agoMerge "Remove PRODUCT_SERVICES from PackageManagerNative.getLocation." into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 17:13:11 +0000 (17:13 +0000)]
Merge "Remove PRODUCT_SERVICES from PackageManagerNative.getLocation." into qt-dev

5 years agoAutomatically run Package Installer tests
Philip P. Moltmann [Fri, 12 Apr 2019 17:09:13 +0000 (10:09 -0700)]
Automatically run Package Installer tests

Test: atest --test-mapping frameworks/base/packages/PackageInstaller
Bug: 123212933
Change-Id: Iabebe9cf91fcdacca2bc6d566a1072f1e84eb97f

5 years agoRemove support to install apps from a file
Philip P. Moltmann [Fri, 12 Apr 2019 16:41:57 +0000 (09:41 -0700)]
Remove support to install apps from a file

Test: atest CtsPackageInstallTestCases
Bug: 123212933
Change-Id: I5afbd60f2c8db68858289edec0302b782677ded5

5 years agoMerge "Remove the deprecated UserManagerHelper, new one is in car user lib." into...
Ying Zheng [Fri, 12 Apr 2019 17:03:21 +0000 (17:03 +0000)]
Merge "Remove the deprecated UserManagerHelper, new one is in car user lib." into qt-dev

5 years agoMerge "Determine the dataspace of the screenshot buffer based on display color mode...
Peiyong Lin [Fri, 12 Apr 2019 16:57:38 +0000 (16:57 +0000)]
Merge "Determine the dataspace of the screenshot buffer based on display color mode." into qt-dev

5 years agoFixed bugs in PagedTileLayout, QSAnimator using RTL
Fabian Kozynski [Fri, 12 Apr 2019 14:09:48 +0000 (10:09 -0400)]
Fixed bugs in PagedTileLayout, QSAnimator using RTL

* getNumVisibleTiles now returns the correct number when in RTL. It was
not referring to the correct page
* mPageToRestore set properly on configuration changes
* Animation of tiles that do not fit in screen is correct in RTL.

Fixes: 130408545
Test: visual, changing configuration and expanding/collapsing
Change-Id: I62da728631fceaead0f81af1b32a115e961cf58e

5 years agoMerge "Adds a DumpController to SystemUI Dependencies" into qt-dev
Fabian Kozynski [Fri, 12 Apr 2019 16:55:09 +0000 (16:55 +0000)]
Merge "Adds a DumpController to SystemUI Dependencies" into qt-dev

5 years agoMerge "Protects against a null statusReceiver in uninstall" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 16:52:52 +0000 (16:52 +0000)]
Merge "Protects against a null statusReceiver in uninstall" into qt-dev

5 years agoAvoid taking a lock when we shouldn't
Todd Kennedy [Thu, 11 Apr 2019 19:25:16 +0000 (12:25 -0700)]
Avoid taking a lock when we shouldn't

Pull out code that shouldn't be executed with the mPackages
lock held. Also changed the names of some methods [added a
'NotLocked' suffix] and added a WTF to be ensure that the
mPackages lock is not held when those methods are called.

Fixes: 129500384
Test: atest
Change-Id: I6853d4e6db92b962aa79e22470845296c2a77e58

5 years agoMerge changes from topic "AudioProductStrategies-API" into qt-dev
Hayden Gomes [Fri, 12 Apr 2019 15:49:39 +0000 (15:49 +0000)]
Merge changes from topic "AudioProductStrategies-API" into qt-dev

* changes:
  Replacing AudioVolumeGroups with List
  Cleaning up SeekBarVolumizer
  Removing name getter from AudioProductStrategy
  Replacing AudioProductStrategies with List

5 years agoMerge "API council feedbacks for DnsResolver" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 15:39:56 +0000 (15:39 +0000)]
Merge "API council feedbacks for DnsResolver" into qt-dev

5 years agoMerge "Apply app switching protection on AppTask.moveToFront()" into qt-dev
Ricky Wai [Fri, 12 Apr 2019 14:43:44 +0000 (14:43 +0000)]
Merge "Apply app switching protection on AppTask.moveToFront()" into qt-dev

5 years agoMerge "ActivityManager: process stop needs a process to stop" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 14:40:00 +0000 (14:40 +0000)]
Merge "ActivityManager: process stop needs a process to stop" into qt-dev

5 years agoMerge "Pretend to be having the original background" into qt-dev
Jorim Jaggi [Fri, 12 Apr 2019 14:19:51 +0000 (14:19 +0000)]
Merge "Pretend to be having the original background" into qt-dev

5 years agoMerge "Sharesheet - Align spacing with spec" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 13:01:47 +0000 (13:01 +0000)]
Merge "Sharesheet - Align spacing with spec" into qt-dev

5 years agoConvert Privacy Types to use PermissionGroup icons
Fabian Kozynski [Wed, 10 Apr 2019 17:26:07 +0000 (13:26 -0400)]
Convert Privacy Types to use PermissionGroup icons

PrivacyType now uses the icons defined in the framework for the
permission groups.

Also, fixes icon size and min width of chip. This requires that the
icons be right aligned when there's no background so there is no extra
black space to the right of a single icons.

Remove unnecessary references to whether the device is secured as those
were only needed when exposing apps.

Still needed to change the icons in PhoneStatusBarPolicy, need to
address the sizing of icons correctly.

Bug: 129677355
Fixes: 130179014
Test: manual: changing theme changes the icon
Test: visual

Change-Id: Iededc1132caa37cca05112f635ddad8aa04e6ea4

5 years agoMerge "Expose bugreporting service name" into qt-dev
Nandana Dutt [Fri, 12 Apr 2019 10:48:44 +0000 (10:48 +0000)]
Merge "Expose bugreporting service name" into qt-dev

5 years agoMerge "Revert "Stop window redraws for invisible parent children"" into qt-dev
Mihai Popa [Fri, 12 Apr 2019 10:26:10 +0000 (10:26 +0000)]
Merge "Revert "Stop window redraws for invisible parent children"" into qt-dev

5 years agoMerge "Freeze netd AIDL interface (framework)" into qt-dev
Remi NGUYEN VAN [Fri, 12 Apr 2019 10:18:27 +0000 (10:18 +0000)]
Merge "Freeze netd AIDL interface (framework)" into qt-dev

5 years agoMerge "Remove getDefaultTransactionName and getTransactionName from API" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 10:07:09 +0000 (10:07 +0000)]
Merge "Remove getDefaultTransactionName and getTransactionName from API" into qt-dev

5 years agoMerge "System Bars: API to ensure contrast when app requested transparent bar" into...
Adrian Roos [Fri, 12 Apr 2019 09:43:57 +0000 (09:43 +0000)]
Merge "System Bars: API to ensure contrast when app requested transparent bar" into qt-dev

5 years agoMerge "Use libnativehelper to get access to NIO buffer internals" into qt-dev
Orion Hodson [Fri, 12 Apr 2019 08:45:58 +0000 (08:45 +0000)]
Merge "Use libnativehelper to get access to NIO buffer internals" into qt-dev

5 years agoMerge "DO NOT MERGE Do not check product unbundled from Q" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 08:20:22 +0000 (08:20 +0000)]
Merge "DO NOT MERGE Do not check product unbundled from Q" into qt-dev

5 years agoMerge "Notify when a back gesture is triggered in an exclusion area" into qt-dev
Winson Chung [Fri, 12 Apr 2019 06:30:47 +0000 (06:30 +0000)]
Merge "Notify when a back gesture is triggered in an exclusion area" into qt-dev

5 years agoAPI council feedbacks for DnsResolver
Luke Huang [Fri, 12 Apr 2019 00:54:41 +0000 (17:54 -0700)]
API council feedbacks for DnsResolver

To address the API review feedback provided by
the API council.

Bug: 129261432
Test: atest DnsResolverTest

Merged-In: I5737cf293264bf9d492e7bd56b62bee4d49002eb
(cherry picked from commit 454fe010dcacd38211b857d2b235ed37269e3b7e)

Change-Id: I429dd93285f50314e9d757f4ec8539a3ba40e61b

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 06:01:17 +0000 (06:01 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMark permission controller atoms
Philip P. Moltmann [Thu, 11 Apr 2019 21:41:21 +0000 (14:41 -0700)]
Mark permission controller atoms

Test: Built
Bug: 130246849
Change-Id: I31eff6f5c5d0543f11628e7f5afd315d7e81a148

5 years agoRemove StatsLog.write
Philip P. Moltmann [Wed, 10 Apr 2019 21:45:50 +0000 (14:45 -0700)]
Remove StatsLog.write

Usage should be replaced by libs built on StatsLog.writeRaw

Fixes: 130246849
Test: Built
Change-Id: I37b869a99b7c0428b3aa7bb133f6300c29235c3e

5 years agoMerge "Add additional logging for ongoing and foreground bubble types." into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 03:38:09 +0000 (03:38 +0000)]
Merge "Add additional logging for ongoing and foreground bubble types." into qt-dev

5 years agoFreeze netd AIDL interface (framework)
Remi NGUYEN VAN [Thu, 11 Apr 2019 18:36:26 +0000 (11:36 -0700)]
Freeze netd AIDL interface (framework)

This freezes the interface as of the latest beta build, although it has
not changed since then.
This change adds the necessary implementations for getInterfaceVersion.

Test: flashed, WiFi working
Bug: 128803828
Merged-In: Ib852b0555f0e20b858f9dd0b16dbd98dbbd22b55
Merged-In: I0c231bdce89474b53603cc15d55787c8c78a809d
(cherry picked from commit fd4eafe8f6c37073e7326149d978e40e394cdc50)

Change-Id: Idc0e7ea98dbf57e07ee578bc1772c2111af2e563

5 years agoMerge changes I7368f9b4,I7a6bec4f,I3eb9f7bc,I53d05702,I5cb6c9e0, ... into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 03:19:59 +0000 (03:19 +0000)]
Merge changes I7368f9b4,I7a6bec4f,I3eb9f7bc,I53d05702,I5cb6c9e0, ... into qt-dev

* changes:
  p2p: unit tests for WifiP2pWfdInfo
  p2p: unit tests for WifiP2pInfo
  p2p: unit tests for WifiP2pProvDiscEvent
  p2p: unit tests for WifiP2pDeviceList
  p2p: unit tests for WifiP2pConfig
  p2p: unit tests for P2P UPNP service discovery
  p2p: unit tests for P2P DNS SD service discovery
  p2p: unit tests for WifiP2pGroup
  p2p: unit tests for WifiP2pGroupList

5 years agoMerge "Set pending client to null after it's been started" into qt-dev
Kevin Chyn [Fri, 12 Apr 2019 03:18:17 +0000 (03:18 +0000)]
Merge "Set pending client to null after it's been started" into qt-dev

5 years agoMerge "Address nit in NetworkStackUtils" into qt-dev
Chiachang Wang [Fri, 12 Apr 2019 03:15:00 +0000 (03:15 +0000)]
Merge "Address nit in NetworkStackUtils" into qt-dev

5 years agoDO NOT MERGE Do not check product unbundled from Q
Kiyoung Kim [Fri, 12 Apr 2019 01:52:43 +0000 (10:52 +0900)]
DO NOT MERGE Do not check product unbundled from Q

This code should be enabled from R, but for some devices it just works
because of target SDK + no /product/lib directory. To avoid confusion
this code should be removed from Q release

Bug: 129011845
Test: m -j
Change-Id: I4d85cbcb5e2cbe694ec065f4e3d060eb74f542ba

5 years agoMerge "Remove DocumentsStatsLog.java" into qt-dev
Shawn Lin [Fri, 12 Apr 2019 01:49:12 +0000 (01:49 +0000)]
Merge "Remove DocumentsStatsLog.java" into qt-dev

5 years agoMerge "Pass the package of caller to getPasspointConfigurations into WifiService...
TreeHugger Robot [Fri, 12 Apr 2019 01:46:27 +0000 (01:46 +0000)]
Merge "Pass the package of caller to getPasspointConfigurations into WifiService" into qt-dev

5 years agoMerge "Make sure biometric icon ends in authenticated state" into qt-dev
Kevin Chyn [Fri, 12 Apr 2019 01:22:54 +0000 (01:22 +0000)]
Merge "Make sure biometric icon ends in authenticated state" into qt-dev

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

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5de69143a335c0e8f44b1da367f4814ab9182a4a

5 years agoMerge "Migrate NetworkStack metrics off StatsLog.write" into qt-dev
Chiachang Wang [Fri, 12 Apr 2019 01:04:30 +0000 (01:04 +0000)]
Merge "Migrate NetworkStack metrics off StatsLog.write" into qt-dev

5 years agoAddress nit in NetworkStackUtils
Chiachang Wang [Thu, 11 Apr 2019 19:43:52 +0000 (12:43 -0700)]
Address nit in NetworkStackUtils

Follow up commit to fix nit in aosp/937891

Bug: 120013793
Test: Build
Change-Id: I61a6306d3c439a2d72323ab56e2b47771cc60d48
Merged-In: Ide4741305724a9e0d26305f8406c5445f9de12b3
(cherry picked from commit cfb4e06b14925a7ed4324df0e40ec521256ed249)

5 years agoMerge changes I98573a5c,Ic7394f24 into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 00:54:45 +0000 (00:54 +0000)]
Merge changes I98573a5c,Ic7394f24 into qt-dev

* changes:
  Enable checks for MANAGE_TEST_NETWORKS in TestNetworkService
  Cleanup of Test Network service

5 years agoSet pending client to null after it's been started
Kevin Chyn [Fri, 12 Apr 2019 00:47:32 +0000 (17:47 -0700)]
Set pending client to null after it's been started

Pending client can now be started in two places. Originally it was only
started when onError was received (previous client canceled). We recently
discovered some enumerate bugs likely due to system boot timing changes,
where Keyguard authenticate() can occur while enumerate() is still going.

As a result, we queue clients while enumerate is happening and start them
when enumerate finishes. We need to remember to set the pending client to
null.

Fixes: 130208531

Test: Fingerprint works during cold boot
Change-Id: I5fe1c7a9fc96875f3d87048b12e601755d7f4963

5 years agoMerge "Cleans up userId loop in clearPackageStateForUser" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 00:42:11 +0000 (00:42 +0000)]
Merge "Cleans up userId loop in clearPackageStateForUser" into qt-dev

5 years agoMerge changes from topic "face-logging" into qt-dev
Kevin Chyn [Fri, 12 Apr 2019 00:14:36 +0000 (00:14 +0000)]
Merge changes from topic "face-logging" into qt-dev

* changes:
  Populate debug value for biometric atoms
  Adding debug value to Biometric atoms.

5 years agoMerge "Update LoadedApk instead of re-creating on outdated cache" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 00:08:22 +0000 (00:08 +0000)]
Merge "Update LoadedApk instead of re-creating on outdated cache" into qt-dev

5 years agoMerge "Adds sanity checks to session commit and abandon" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 00:07:21 +0000 (00:07 +0000)]
Merge "Adds sanity checks to session commit and abandon" into qt-dev

5 years agoReplacing AudioVolumeGroups with List
Hayden Gomes [Thu, 4 Apr 2019 20:14:21 +0000 (13:14 -0700)]
Replacing AudioVolumeGroups with List

Bug: 129262395
Test: Built and ran on device
Change-Id: I838296ead584b85be50028c410b9a2d0ba3b0398

5 years agoCleaning up SeekBarVolumizer
Hayden Gomes [Thu, 4 Apr 2019 20:13:36 +0000 (13:13 -0700)]
Cleaning up SeekBarVolumizer

Bug: 129265140
Test: Built with make and ran on device
Change-Id: Ifcd9a24cd768249f1b6ec5ad7e2361bcacfb9a4d

5 years agoRemoving name getter from AudioProductStrategy
Hayden Gomes [Thu, 4 Apr 2019 20:12:39 +0000 (13:12 -0700)]
Removing name getter from AudioProductStrategy

Test: ran make and flashed onto device
Bug: 129265140
Change-Id: Ia6dad73e954f45b30cab970386e8fd3a66416ede

5 years agoReplacing AudioProductStrategies with List
Hayden Gomes [Thu, 4 Apr 2019 20:10:13 +0000 (13:10 -0700)]
Replacing AudioProductStrategies with List

- Removed AudioProductStrategies and updated usages to work with
List<AudioProductStrategy>
- ditributed looping logic to the respective callers

Test: built successfully with make and ran on device
Bug: 129265140
Change-Id: If95ba9c2418a1fda29590ca1af2d04e7395c2130

5 years agoFix RelativeLayout checking of resource ids greater than 0x80
Ryan Mitchell [Thu, 11 Apr 2019 23:50:12 +0000 (16:50 -0700)]
Fix RelativeLayout checking of resource ids greater than 0x80

For splits with package id 0x80 and higher, the resource ids are
negative. RelativeLayout builds a dependency graph to indicate in which
order the layout height and width need to be processed. Since the ids
are less than 0, RelativeLayout is incorrectly assuming the layouts are
not order dependent.

Bug: 72869300
Test: manual
Change-Id: I98f58f11733c2976fc5c1b4152949cf80660f657

5 years agoMerge "Add support for TAP interfaces in TestNetworkManager." into qt-dev
Lorenzo Colitti [Thu, 11 Apr 2019 23:50:59 +0000 (23:50 +0000)]
Merge "Add support for TAP interfaces in TestNetworkManager." into qt-dev

5 years agoPopulate debug value for biometric atoms
Kevin Chyn [Thu, 11 Apr 2019 20:02:56 +0000 (13:02 -0700)]
Populate debug value for biometric atoms

Fixes: 130363518

Test: Builds
Change-Id: I73e8bbb6d9f310ee025bce271bf9470b47626ecc

5 years agoMerge "Add a config option to save the metrics data locally." into qt-dev
Yao Chen [Thu, 11 Apr 2019 23:33:14 +0000 (23:33 +0000)]
Merge "Add a config option to save the metrics data locally." into qt-dev

5 years agoUse the correct targets-per-row count for Landscape.
Alison Cichowlas [Thu, 11 Apr 2019 19:20:39 +0000 (15:20 -0400)]
Use the correct targets-per-row count for Landscape.

Bug: 126566208
Test: Manual verification, both orientations
Change-Id: I971a033628a56c41c7c926d519106114c66bce80

5 years agoMerge "[GraphicsEnvironment] Expose API to query whether an app should use game drive...
Peiyong Lin [Thu, 11 Apr 2019 23:21:29 +0000 (23:21 +0000)]
Merge "[GraphicsEnvironment] Expose API to query whether an app should use game driver." into qt-dev

5 years agoMerge "Fix a problem with ValueMetric when used with conditions and no diffs." into...
Olivier Gaillard [Thu, 11 Apr 2019 23:20:49 +0000 (23:20 +0000)]
Merge "Fix a problem with ValueMetric when used with conditions and no diffs." into qt-dev

5 years agoMerge "Revert "Flip default value of headless user 0 flag."" into qt-dev
Ying Zheng [Thu, 11 Apr 2019 23:08:01 +0000 (23:08 +0000)]
Merge "Revert "Flip default value of headless user 0 flag."" into qt-dev

5 years agoMerge "Magnify language selector dialog" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 23:04:48 +0000 (23:04 +0000)]
Merge "Magnify language selector dialog" into qt-dev

5 years agoMerge "Add IntRange for min and max volume index getters" into qt-dev
Hayden Gomes [Thu, 11 Apr 2019 22:54:07 +0000 (22:54 +0000)]
Merge "Add IntRange for min and max volume index getters" into qt-dev

5 years agoMerge "[RTT] Clean up doc" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 22:36:39 +0000 (22:36 +0000)]
Merge "[RTT] Clean up doc" into qt-dev

5 years agoMerge changes from topic "DoNotCallAppOpsFromPermMananager" into qt-dev
Philip P. Moltmann [Thu, 11 Apr 2019 22:35:14 +0000 (22:35 +0000)]
Merge changes from topic "DoNotCallAppOpsFromPermMananager" into qt-dev

* changes:
  Use PermissionPolicySve for fg perm app-ops
  Make perm policy synchronizer per user
  Make perm policy sve ready for additional usages

5 years agoMake sure biometric icon ends in authenticated state
Kevin Chyn [Thu, 11 Apr 2019 22:28:57 +0000 (15:28 -0700)]
Make sure biometric icon ends in authenticated state

Bug: 129501166

Test: Manual
Change-Id: I8cef5f6b60e463906b54dd152f880219b68ae038

5 years agoMerge "Changed intents for data and saver tiles" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 22:20:13 +0000 (22:20 +0000)]
Merge "Changed intents for data and saver tiles" into qt-dev

5 years agoMerge "Handle onBindingDied in AbstractRemoteService" into qt-dev
Philip P. Moltmann [Thu, 11 Apr 2019 22:12:49 +0000 (22:12 +0000)]
Merge "Handle onBindingDied in AbstractRemoteService" into qt-dev

5 years agoMerge "Make activities invisible when the display is turned off." into qt-dev
Issei Suzuki [Thu, 11 Apr 2019 21:46:20 +0000 (21:46 +0000)]
Merge "Make activities invisible when the display is turned off." into qt-dev

5 years agoProtects against a null statusReceiver in uninstall
Patrick Baumann [Thu, 11 Apr 2019 19:43:05 +0000 (12:43 -0700)]
Protects against a null statusReceiver in uninstall

This change protects against the caller passing null for
the statusReceiver when uninstalling.

Bug: 129859594
Test: atest AtomicInstallTest
Change-Id: Iffe89151b830ff85492ab09d2a80a101cbd17a66

5 years agoMerge "Update documentation for fingerprint -> biometric" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 21:25:52 +0000 (21:25 +0000)]
Merge "Update documentation for fingerprint -> biometric" into qt-dev

5 years agoAdd a config option to save the metrics data locally.
Yao Chen [Wed, 10 Apr 2019 17:43:20 +0000 (10:43 -0700)]
Add a config option to save the metrics data locally.

Usually after config owner calls statsd to get data, statsd will remove that data
forever. This cl adds an option to save historical data locally so that when a bugreport
is taken, it contains historical statsd metrics for debugging.

+ All existing guardrail on storage still apply, and local history data has lower
  priority when the guardrail is hit. On top of that, statsd will remove history
  files that are more than 2 days old.

+ Also fixed issues inside StorageManager (e.g.,
   using string::compare to sort by timestamp is problematic, redundant file size read, etc)

Test: statsd_test and manually
Fix: 126562025

Change-Id: I5238b9fd3069cbef5bcccabd2212bc4d6c734702

5 years agoMerge "Fixing HardwareBuffer leak when creating a bitmap" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 21:06:40 +0000 (21:06 +0000)]
Merge "Fixing HardwareBuffer leak when creating a bitmap" into qt-dev

5 years agoMerge "Update AppComponentFactory.instantiateClassLoader docs" into qt-dev
David Brazdil [Thu, 11 Apr 2019 20:46:24 +0000 (20:46 +0000)]
Merge "Update AppComponentFactory.instantiateClassLoader docs" into qt-dev

5 years agoFix a problem with ValueMetric when used with conditions and no diffs.
Olivier Gaillard [Thu, 11 Apr 2019 10:48:01 +0000 (11:48 +0100)]
Fix a problem with ValueMetric when used with conditions and no diffs.

Bug: 130353160
Test: atest statsd_test
Change-Id: Ic045caaf38770b1d2ada46859bb13220ffc81ccd

5 years agoCleans up userId loop in clearPackageStateForUser
Patrick Baumann [Thu, 11 Apr 2019 20:40:51 +0000 (13:40 -0700)]
Cleans up userId loop in clearPackageStateForUser

This change fixes incorrect user ID references while clearing package
state in the case that it is being called with USER_ALL. Thankfully
this scenario can only take place when a non-system child package is
uninstalled for all users.

Fixes: 120814622
Test: atest AppSecurityTests
Change-Id: I462c383ad68efcde88eaacdb62dfcd6490f343e0

5 years agoMerge "MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS when doing default permission grants...
TreeHugger Robot [Thu, 11 Apr 2019 20:30:42 +0000 (20:30 +0000)]
Merge "MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS when doing default permission grants" into qt-dev

5 years agoUse PermissionPolicySve for fg perm app-ops
Philip P. Moltmann [Wed, 10 Apr 2019 23:58:24 +0000 (16:58 -0700)]
Use PermissionPolicySve for fg perm app-ops

This avoids having to call into app-ops manager while holding the
package manager lock

Fixes: 124731615123436301
Test: atest CtsPermissionTestCases:android.permission.cts.SplitPermissionTest
Change-Id: Ie7d5302b4265ed012e2303f3c6e6c7219ff3afa9

5 years agoMake perm policy synchronizer per user
Philip P. Moltmann [Thu, 11 Apr 2019 17:40:30 +0000 (10:40 -0700)]
Make perm policy synchronizer per user

Test: atest CtsAppOpsTestCases:android.app.appops.cts.AppOpsTest
            CtsPermission2TestCases:android.permission2.cts.RestrictedPermissionsTest
Bug: 124731615
Change-Id: Idac97b37d1f1268d211109a70d1b1627d4893342

5 years agoMake perm policy sve ready for additional usages
Philip P. Moltmann [Thu, 11 Apr 2019 17:05:48 +0000 (10:05 -0700)]
Make perm policy sve ready for additional usages

We want to use the permission policy services for other things than
restriction of permissions. Hence factor out the restriction code from
the framework.

Also add some comments

Test: atest CtsAppOpsTestCases:android.app.appops.cts.AppOpsTest
            CtsPermission2TestCases:android.permission2.cts.RestrictedPermissionsTest
Bug: 124731615
Change-Id: Ic32f2097af805c3f06dd9cf625b3160f62a576b2

5 years agoMerge "Support status_bar_padding_top" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 20:06:19 +0000 (20:06 +0000)]
Merge "Support status_bar_padding_top" into qt-dev

5 years agoEnable checks for MANAGE_TEST_NETWORKS in TestNetworkService
Benedict Wong [Tue, 9 Apr 2019 23:29:43 +0000 (16:29 -0700)]
Enable checks for MANAGE_TEST_NETWORKS in TestNetworkService

This commit re-enables enforcement of the MANAGE_TEST_NETWORK
permission, which is only granted to the shell. CTS tests using this
permission should use UiAutomation.adoptShellPermissionIdentity() to
gain access.

Bug: 72950854
Test: IPsec CTS tests using this passing
Change-Id: I98573a5c68e45abbbaddef01f6ac74a6a18e26f9
Merged-In: I98573a5c68e45abbbaddef01f6ac74a6a18e26f9
(cherry picked from commit 3ec38dc5530db151388879a521d6d3b94679a0de)

5 years agoCleanup of Test Network service
Benedict Wong [Wed, 13 Mar 2019 04:54:16 +0000 (21:54 -0700)]
Cleanup of Test Network service

This follow-up change performs some cleanup changes without affecting
functionality

Bug: 72950854
Test: Compiles, CTS tests using this pass
Change-Id: Ic7394f24f11d713c9374b438182e29d2a02ea236
Merged-In: Ic7394f24f11d713c9374b438182e29d2a02ea236
(cherry picked from commit 7df36ed96a807f258aef43e558ef127b27b90756)

5 years agoMerge "Dark Theme QS tile" into qt-dev
Lucas Dupin [Thu, 11 Apr 2019 20:02:23 +0000 (20:02 +0000)]
Merge "Dark Theme QS tile" into qt-dev

5 years agoSwap Filled and Rounded for IconPack*LauncherOverlay
Hyunyoung Song [Thu, 11 Apr 2019 16:46:41 +0000 (09:46 -0700)]
Swap Filled and Rounded for IconPack*LauncherOverlay

Bug: 126738409
Test: build, flashed, visually observed
Change-Id: I86e416881814981b187a08e19a1970fc47b432a1