OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Crash the system server if network stack is lost" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 05:34:24 +0000 (05:34 +0000)]
Merge "Crash the system server if network stack is lost" into qt-dev

5 years agoMerge "Change to choice" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 05:33:41 +0000 (05:33 +0000)]
Merge "Change to choice" into qt-dev

5 years agoMerge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnable...
Julia Reynolds [Thu, 11 Apr 2019 05:25:23 +0000 (22:25 -0700)]
Merge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage" into oc-dev am: 2256fd4e11 am: 51fee974a9 am: 19ad060bf0
am: 9456d1e079

Change-Id: I4dc59e06e8744cd3cb8b457f0901fa474e1bf538

5 years agoMerge changes from topic "am-3ca7326a-cbf1-4f97-a1b5-a4fdfac0fb47" into oc-dev am...
Julia Reynolds [Thu, 11 Apr 2019 05:17:52 +0000 (22:17 -0700)]
Merge changes from topic "am-3ca7326a-cbf1-4f97-a1b5-a4fdfac0fb47" into oc-dev am: 652a666500 am: 5d35ad7446 am: 03cddd8562
am: 00f5cf45c7

Change-Id: I5272a3c39f8e7d0b60368dcc35b398f455c5ae2c

5 years ago[automerger skipped] [automerger] Limit IsSeparateProfileChallengeAllowed to system...
Pavel Grafov [Thu, 11 Apr 2019 05:04:58 +0000 (22:04 -0700)]
[automerger skipped] [automerger] Limit IsSeparateProfileChallengeAllowed to system callers am: 9061fcc46b am: 39f5432697 am: 9c0bc5405e am: 55209aca88 am: d5ce9a41b6 am: 20007cb46f am: 3ae9c5c63b -s ours am: 8a317effc2 -s ours
am: cbffcf9c24 -s ours
am skip reason: change_id I2fef9ab13614627c0f1bcca04759d0974fc6181a with SHA1 1b6301cf24 is in history

Change-Id: I5d0100f3e0b5a404836572a34ddcd685282407eb

5 years agoMerge "Fix compressed stubs" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 04:31:22 +0000 (04:31 +0000)]
Merge "Fix compressed stubs" into qt-dev

5 years agoMerge "Revert "Remove overlay logic from package manager and parser"" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 04:12:23 +0000 (04:12 +0000)]
Merge "Revert "Remove overlay logic from package manager and parser"" into qt-dev

5 years agoCrash the system server if network stack is lost
Remi NGUYEN VAN [Wed, 10 Apr 2019 06:18:22 +0000 (23:18 -0700)]
Crash the system server if network stack is lost

Crash the system server if it cannot bind to the network stack, or if
the network stack crashes. This is better than keeping the system
running in a bad state where all networking would be broken.
Before the network stack was moved to a different process, the whole
system would go down when it encountered a crash.

Test: added crash in NetworkStack, verified system_server restart
Bug: 130028724
Merged-In: I64f366fc69b52f27d65461be50d81edc199bcb62
Merged-In: I034a62ec44ba1da32fd47c842a2bdf86f6ccf542
(cherry picked from commit d44fc02248308c403e104461a64da058bb637253)

Change-Id: I989703c9dda62bd58df413ca8949f9a25187e062

5 years agoMerge "Expose captive portal urls for configuration" into qt-dev
Remi NGUYEN VAN [Thu, 11 Apr 2019 03:44:08 +0000 (03:44 +0000)]
Merge "Expose captive portal urls for configuration" into qt-dev

5 years agoMerge "stopSelf() if there is no installed system image" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 03:41:01 +0000 (03:41 +0000)]
Merge "stopSelf() if there is no installed system image" into qt-dev

5 years agoMerge changes from topic "bt-metadata-api-v2-qt-dev" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 03:37:58 +0000 (03:37 +0000)]
Merge changes from topic "bt-metadata-api-v2-qt-dev" into qt-dev

* changes:
  Bluetooth metadata API changes in SettingsLib
  Refine Bluetooth Metadata API

5 years agoMerge "Temporarily stop crashing on alarm limit" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 03:14:20 +0000 (03:14 +0000)]
Merge "Temporarily stop crashing on alarm limit" into qt-dev

5 years agoMerge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnable...
Julia Reynolds [Thu, 11 Apr 2019 03:06:30 +0000 (20:06 -0700)]
Merge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage" into oc-dev am: 2256fd4e11 am: 51fee974a9
am: 19ad060bf0

Change-Id: I0ed6effdd52e511fab32a668b8232fc0095e3295

5 years agoMerge changes from topic "am-3ca7326a-cbf1-4f97-a1b5-a4fdfac0fb47" into oc-dev am...
Julia Reynolds [Thu, 11 Apr 2019 03:00:26 +0000 (20:00 -0700)]
Merge changes from topic "am-3ca7326a-cbf1-4f97-a1b5-a4fdfac0fb47" into oc-dev am: 652a666500 am: 5d35ad7446
am: 03cddd8562

Change-Id: Ifa1fe4acb2249480c1b9067e1e53a3f020008859

5 years agoMerge "Simplifying duplicate resource definition" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 02:57:23 +0000 (02:57 +0000)]
Merge "Simplifying duplicate resource definition" into qt-dev

5 years ago[automerger skipped] [automerger] Limit IsSeparateProfileChallengeAllowed to system...
Pavel Grafov [Thu, 11 Apr 2019 02:49:38 +0000 (19:49 -0700)]
[automerger skipped] [automerger] Limit IsSeparateProfileChallengeAllowed to system callers am: 9061fcc46b am: 39f5432697 am: 9c0bc5405e am: 55209aca88 am: d5ce9a41b6 am: 20007cb46f am: 3ae9c5c63b -s ours
am: 8a317effc2 -s ours
am skip reason: change_id I2fef9ab13614627c0f1bcca04759d0974fc6181a with SHA1 1b6301cf24 is in history

Change-Id: I50b6c521adf14bad8d30232e9936b16859b4dc03

5 years agoEnsure consistency of screenHeightDp for non-resizable activity
Riddle Hsu [Wed, 3 Apr 2019 05:08:47 +0000 (13:08 +0800)]
Ensure consistency of screenHeightDp for non-resizable activity

Originally the height of status bar (or other stable insets) is not
excluded from screenHeightDp for size compatibility mode activity
because the previous display where the activity resides may be removed
or changed then there is no available and consistent display bounds to
calculate the screen configuration.

Now we precompute and store the display insets in each rotation, so the
activity always has the original display insets to compute consistent
screen configuration.

Test: atest ActivityRecordTests
Test: atest TaskRecordTests#testComputeConfigResourceOverrides
Bug: 112288258

Change-Id: I5c769f8080fc5ae4eba966d2fa42cb650254074d

5 years agoMerge "Add a condition timer to track the duration of condition being true." into...
Yao Chen [Thu, 11 Apr 2019 01:49:04 +0000 (01:49 +0000)]
Merge "Add a condition timer to track the duration of condition being true." into qt-dev

5 years agoMerge "Drop Type clock face." into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 01:45:49 +0000 (01:45 +0000)]
Merge "Drop Type clock face." into qt-dev

5 years agoMerge "Cleanup SUPL network request parameters for requestRouteToHostAddress" into...
TreeHugger Robot [Thu, 11 Apr 2019 01:41:19 +0000 (01:41 +0000)]
Merge "Cleanup SUPL network request parameters for requestRouteToHostAddress" into qt-dev

5 years agoMerge "Check PackageManager before getting <Biometric>Manager" into qt-dev
Kevin Chyn [Thu, 11 Apr 2019 01:38:54 +0000 (01:38 +0000)]
Merge "Check PackageManager before getting <Biometric>Manager" into qt-dev

5 years agoMerge "Add log_from_module annotation for docsui" into qt-dev
Shawn Lin [Thu, 11 Apr 2019 01:32:54 +0000 (01:32 +0000)]
Merge "Add log_from_module annotation for docsui" into qt-dev

5 years agoMerge "Improve dump format" into qt-dev
Lucas Dupin [Thu, 11 Apr 2019 01:28:15 +0000 (01:28 +0000)]
Merge "Improve dump format" into qt-dev

5 years agoMerge "Show navbar on lock screen if gestural nav" into qt-dev
Lucas Dupin [Thu, 11 Apr 2019 01:20:37 +0000 (01:20 +0000)]
Merge "Show navbar on lock screen if gestural nav" into qt-dev

5 years agoMerge "Flip default value of headless user 0 flag." into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 01:10:29 +0000 (01:10 +0000)]
Merge "Flip default value of headless user 0 flag." into qt-dev

5 years agoMerge "Make sure BiometricType is never null" into qt-dev
Lucas Dupin [Thu, 11 Apr 2019 00:58:00 +0000 (00:58 +0000)]
Merge "Make sure BiometricType is never null" into qt-dev

5 years agoMerge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnable...
Julia Reynolds [Thu, 11 Apr 2019 00:44:09 +0000 (17:44 -0700)]
Merge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage" into oc-dev am: 2256fd4e11
am: 51fee974a9

Change-Id: I5c0f89e5614901b57880fff5b59a2f6766893903

5 years agoMerge changes from topic "am-3ca7326a-cbf1-4f97-a1b5-a4fdfac0fb47" into oc-dev am...
Julia Reynolds [Thu, 11 Apr 2019 00:39:03 +0000 (17:39 -0700)]
Merge changes from topic "am-3ca7326a-cbf1-4f97-a1b5-a4fdfac0fb47" into oc-dev am: 652a666500
am: 5d35ad7446

Change-Id: I0e8dff954426479e5a58f0a8f0dad10a294f7b25

5 years agoMerge "Rename mute haptic channel API." into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 00:35:19 +0000 (00:35 +0000)]
Merge "Rename mute haptic channel API." into qt-dev

5 years ago[automerger skipped] [automerger] Limit IsSeparateProfileChallengeAllowed to system...
Pavel Grafov [Thu, 11 Apr 2019 00:29:31 +0000 (17:29 -0700)]
[automerger skipped] [automerger] Limit IsSeparateProfileChallengeAllowed to system callers am: 9061fcc46b am: 39f5432697 am: 9c0bc5405e am: 55209aca88 am: d5ce9a41b6 am: 20007cb46f
am: 3ae9c5c63b -s ours
am skip reason: change_id I2fef9ab13614627c0f1bcca04759d0974fc6181a with SHA1 1b6301cf24 is in history

Change-Id: I1065183419a6868c2f9d21ddae9b455056fbf963

5 years agoMerge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnable...
Julia Reynolds [Thu, 11 Apr 2019 00:19:16 +0000 (17:19 -0700)]
Merge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage" into oc-dev
am: 2256fd4e11

Change-Id: I1658f2dc59428265adf385ec2e9c579abbefb023

5 years agoMerge "Remove color extraction from scrims" into qt-dev
Lucas Dupin [Thu, 11 Apr 2019 00:19:03 +0000 (00:19 +0000)]
Merge "Remove color extraction from scrims" into qt-dev

5 years agoMerge "Fixed the incorrect function signature" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 00:02:41 +0000 (00:02 +0000)]
Merge "Fixed the incorrect function signature" into qt-dev

5 years agoMerge changes from topic "am-3ca7326a-cbf1-4f97-a1b5-a4fdfac0fb47" into oc-dev
Julia Reynolds [Wed, 10 Apr 2019 23:56:01 +0000 (16:56 -0700)]
Merge changes from topic "am-3ca7326a-cbf1-4f97-a1b5-a4fdfac0fb47" into oc-dev
am: 652a666500

Change-Id: I4e93c29d4d65d14d39b683a27004f871b1dd0b9a

5 years agoMerge "UserController.startUser nullchecks unlockListener" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 23:47:51 +0000 (23:47 +0000)]
Merge "UserController.startUser nullchecks unlockListener" into qt-dev

5 years ago[automerger] Limit IsSeparateProfileChallengeAllowed to system callers am: 9061fcc46b...
Pavel Grafov [Wed, 10 Apr 2019 23:41:27 +0000 (16:41 -0700)]
[automerger] Limit IsSeparateProfileChallengeAllowed to system callers am: 9061fcc46b am: 39f5432697 am: 9c0bc5405e am: 55209aca88 am: d5ce9a41b6
am: 20007cb46f

Change-Id: I3bf88bf3a830dc7dea61e32d1df31b273a5d1afe

5 years agoMerge "Add color overlays to build." into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 23:37:21 +0000 (23:37 +0000)]
Merge "Add color overlays to build." into qt-dev

5 years ago[automerger skipped] Merge "Add cross user permission check - areNotificationsEnabled...
Julia Reynolds [Wed, 10 Apr 2019 23:32:32 +0000 (16:32 -0700)]
[automerger skipped] Merge "Add cross user permission check - areNotificationsEnabledForPackage" into pi-dev
am: e4c6ce23af -s ours
am skip reason: change_id I13a0ca7590f8c4b44379730e0ee2088aba400c2a with SHA1 657d164136 is in history

Change-Id: I20880b7e63fdeb1a16b320ebe3dffe42658f3a9d

5 years agoMerge "Fix a synchronization problem" into qt-dev
Julia Reynolds [Wed, 10 Apr 2019 23:21:32 +0000 (23:21 +0000)]
Merge "Fix a synchronization problem" into qt-dev

5 years agoMerge "Add missing @Test" into qt-dev
Julia Reynolds [Wed, 10 Apr 2019 23:20:31 +0000 (23:20 +0000)]
Merge "Add missing @Test" into qt-dev

5 years agoImprove dump format
Lucas Dupin [Wed, 10 Apr 2019 23:07:50 +0000 (16:07 -0700)]
Improve dump format

Test: adb shell dumpsys activity service com.android.systemui
Bug: 130204212
Change-Id: I75a74a46a2bd5e63a0f13a877741cc1ab806d6d0

5 years agoMerge "Refactored field classification workflow to not hold locks when calling ExtSer...
Adam He [Wed, 10 Apr 2019 23:05:30 +0000 (23:05 +0000)]
Merge "Refactored field classification workflow to not hold locks when calling ExtServices." into qt-dev

5 years agoMerge "Improve documentation for getActiveStagedSession API" into qt-dev
Nikita Ioffe [Wed, 10 Apr 2019 23:04:15 +0000 (23:04 +0000)]
Merge "Improve documentation for getActiveStagedSession API" into qt-dev

5 years agoMerge "Add TestApi to SUSPEND_APPS permission for GTS test." into qt-dev
Varun Shah [Wed, 10 Apr 2019 23:03:06 +0000 (23:03 +0000)]
Merge "Add TestApi to SUSPEND_APPS permission for GTS test." into qt-dev

5 years agoRevert "Remove overlay logic from package manager and parser"
Jack He [Wed, 10 Apr 2019 23:01:45 +0000 (23:01 +0000)]
Revert "Remove overlay logic from package manager and parser"

This reverts commit c6778e5435f0bea1737fd987af3f4480ac3ab2d1.

Reason for revert: This CL causes Bluetooth fail to start

Bluetooth Java services cannot turn on.

Change-Id: I4a9649d61de7781d3a00074da780c3a5a1dfbd56
Fixes: 130260055
Test: compile, BluetoothInstrumentationTests

5 years agoMerge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnable...
TreeHugger Robot [Wed, 10 Apr 2019 22:59:44 +0000 (22:59 +0000)]
Merge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage" into oc-dev

5 years agoMerge "MediaPlayer2: fix out-of-order pause for skipToNext" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 22:49:18 +0000 (22:49 +0000)]
Merge "MediaPlayer2: fix out-of-order pause for skipToNext" into qt-dev

5 years agoMerge "Update BS warning to follow through on action" into qt-dev
Salvador Martinez [Wed, 10 Apr 2019 22:46:10 +0000 (22:46 +0000)]
Merge "Update BS warning to follow through on action" into qt-dev

5 years agoFlip default value of headless user 0 flag.
Ying Zheng [Wed, 10 Apr 2019 22:27:56 +0000 (15:27 -0700)]
Flip default value of headless user 0 flag.

Since this is to replace an existing car property which default to true.

Bug: 130310171
Test: build
Change-Id: Ie4f6389b4514727cf88c72e931e9fff4bf5f1484

5 years agoMerge "Add cross user permission check - areNotificationsEnabledForPackage" into...
TreeHugger Robot [Wed, 10 Apr 2019 22:22:33 +0000 (22:22 +0000)]
Merge "Add cross user permission check - areNotificationsEnabledForPackage" into pi-dev

5 years agoMerge "Rename capabilities to adjustments" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 22:22:25 +0000 (22:22 +0000)]
Merge "Rename capabilities to adjustments" into qt-dev

5 years agoMerge changes from topic "am-3ca7326a-cbf1-4f97-a1b5-a4fdfac0fb47" into oc-dev
TreeHugger Robot [Wed, 10 Apr 2019 22:20:55 +0000 (22:20 +0000)]
Merge changes from topic "am-3ca7326a-cbf1-4f97-a1b5-a4fdfac0fb47" into oc-dev

* changes:
  [automerger] [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage am: a2b2e377a0 am: 00121902b0 am: 777c45416e am: 0bf87880d8 skipped: 9f3fca716a
  [automerger] [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage am: a2b2e377a0 am: 00121902b0 am: 777c45416e am: 0bf87880d8
  [automerger] [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage am: a2b2e377a0 am: 00121902b0 am: 777c45416e
  [automerger] [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage am: a2b2e377a0 am: 00121902b0
  [automerger] [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage am: a2b2e377a0
  [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage

5 years agoFix compressed stubs
Todd Kennedy [Wed, 10 Apr 2019 21:58:43 +0000 (14:58 -0700)]
Fix compressed stubs

Whenever the stub package is uninstalled from /data, we now
install the compressed version from the system image.

Disabling a package still does not remove any version on /data.
This means that a compressed package may be un-updated, yet
disabled and it will continue to consume space on /data. To
clear /data completely, disable the application and then uninstall.

Fixes: 123919310
Test: Manual. Put compressed APK on the /system image
Test: Boot the device, see two packages are installed [/system & /data]
Test: Uninstall the appliction on /data, see two packages are installed [/system & /data]. verified package on /data is new
Test: Disable the application, see two packages are installed [/system & data] and user-disabled. verified package on /data is same pre/post disable
Test: Uninstall the disabled application, see one package is installed [/system] and user-disabled
Test: Enable the application, see two packages are installed [/system & data] and enabled
Test: Corrupt compressed APK and reboot/enable/uninstall update, see one package is installed [/system] and disabled
Change-Id: I6fdd3ed485db0d3f8135266010d6797d9ac37ea0

5 years agoMerge "OWNERS: add andrewlewis@google.com" into qt-dev
Wei Jia [Wed, 10 Apr 2019 22:02:45 +0000 (22:02 +0000)]
Merge "OWNERS: add andrewlewis@google.com" into qt-dev

5 years agoMerge "Add android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev
Sean Stout [Wed, 10 Apr 2019 22:02:40 +0000 (22:02 +0000)]
Merge "Add android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev

5 years agoOWNERS: add andrewlewis@google.com
Wei Jia [Wed, 10 Apr 2019 21:45:48 +0000 (14:45 -0700)]
OWNERS: add andrewlewis@google.com

Test: n/a
Bug: 130307840
Change-Id: I4fd18f88928a41672018774aaf7e71db8d7fbd3b

5 years agoMerge "System Bars: Ensure contrast when app requested transparent bar" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 21:58:42 +0000 (21:58 +0000)]
Merge "System Bars: Ensure contrast when app requested transparent bar" into qt-dev

5 years agoFixed the incorrect function signature
Jack Yu [Wed, 10 Apr 2019 17:50:01 +0000 (10:50 -0700)]
Fixed the incorrect function signature

The name source should be an integer instead of long

Test: Manual + unit tests
Bug: 130237749
Change-Id: Ic4447da24073d37401ae0f6e8f8b41bd60d7167d

5 years agoMerge "GPU Debug Layers: Allow multiple layer apps" into qt-dev
Cody Northrop [Wed, 10 Apr 2019 21:38:31 +0000 (21:38 +0000)]
Merge "GPU Debug Layers: Allow multiple layer apps" into qt-dev

5 years agoMerge "Nullability for ViewTreeObserver gesture exclusion" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 21:32:33 +0000 (21:32 +0000)]
Merge "Nullability for ViewTreeObserver gesture exclusion" into qt-dev

5 years agoMerge "Remove Test Api annotation from ProtoInputStream" into qt-dev
Michael Wachenschwanz [Wed, 10 Apr 2019 21:30:49 +0000 (21:30 +0000)]
Merge "Remove Test Api annotation from ProtoInputStream" into qt-dev

5 years agoMerge "Add @CurrentTimeMillisLong to new API method" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 21:29:53 +0000 (21:29 +0000)]
Merge "Add @CurrentTimeMillisLong to new API method" into qt-dev

5 years agoMerge "Close ApkAssets in PackageParser" into qt-dev
Winson Chiu [Wed, 10 Apr 2019 21:28:43 +0000 (21:28 +0000)]
Merge "Close ApkAssets in PackageParser" into qt-dev

5 years agoMerge "Disable USAP when running in jitzygote mode." into qt-dev
Nicolas Geoffray [Wed, 10 Apr 2019 21:23:08 +0000 (21:23 +0000)]
Merge "Disable USAP when running in jitzygote mode." into qt-dev

5 years agoMerge "Update TelMan API for testing Line1NumberForDisplay." into qt-dev
Cody Kesting [Wed, 10 Apr 2019 21:21:28 +0000 (21:21 +0000)]
Merge "Update TelMan API for testing Line1NumberForDisplay." into qt-dev

5 years agoCheck PackageManager before getting <Biometric>Manager
Kevin Chyn [Wed, 10 Apr 2019 21:05:54 +0000 (14:05 -0700)]
Check PackageManager before getting <Biometric>Manager

Fixes: 130223578

Test: Builds
Change-Id: I2ed1ffe32bd67e4c21b486c2e90b4f18b024378b

5 years agoTemporarily stop crashing on alarm limit
Suprabh Shukla [Wed, 10 Apr 2019 21:00:54 +0000 (14:00 -0700)]
Temporarily stop crashing on alarm limit

There are some accounting issues which lead to false crashes. Will
resume once all issues are fixed.

Test: atest CtsAlarmManagerTestCases
UidCapTests should be ignored for now.

Bug: 129995049
Change-Id: I2fa454b4bcdf4398c3c54b6d188bf9aef1709ee6

5 years agoAdd color overlays to build.
Amin Shaikh [Wed, 10 Apr 2019 20:27:19 +0000 (16:27 -0400)]
Add color overlays to build.

Fixes: 129874396
Test: make and use custom theme selector
Change-Id: I73954a471fd08c001f4d3c0f8ff446c251db2a15

5 years agoMerge "Sets vulture to null to prevent crashes caused by unlinkToDeath." into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 20:45:22 +0000 (20:45 +0000)]
Merge "Sets vulture to null to prevent crashes caused by unlinkToDeath." into qt-dev

5 years agoMerge "Register the status bar CarFacetButtons with their controller when the system...
Brad Stenning [Wed, 10 Apr 2019 20:35:36 +0000 (20:35 +0000)]
Merge "Register the status bar CarFacetButtons with their controller when the system bars are reset" into qt-dev

5 years agoMerge "Update bt share icon to use dark accent color." into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 20:33:43 +0000 (20:33 +0000)]
Merge "Update bt share icon to use dark accent color." into qt-dev

5 years agoRemove color extraction from scrims
Lucas Dupin [Tue, 26 Mar 2019 00:44:28 +0000 (17:44 -0700)]
Remove color extraction from scrims

Fixes: 129295950
Test: atest SysuiColorExtractorTests
Test: atest ScrimControllerTest
Test: atest ScrimViewTest
Test: visual
Change-Id: Ie45fd3f2e7b022236f0dda22fa1c854c0eff19ea

5 years agoSimplifying duplicate resource definition
Sunny Goyal [Wed, 10 Apr 2019 17:44:22 +0000 (10:44 -0700)]
Simplifying duplicate resource definition

> This is required for building systemUI using gradle

Test: Everything compiles
Bug: 130289146
Change-Id: I703926cc0fddb0bd1f74a7996b58ebd38d37913f

5 years agoFix a synchronization problem
Julia Reynolds [Wed, 10 Apr 2019 20:18:13 +0000 (16:18 -0400)]
Fix a synchronization problem

setConfigLocked needs to be called with the lock held,
imagine that

Test: atest CondistionProviderServiceTest
Fixes: 124397432
Change-Id: I0461b1d5b08e6b83753835fcf6b2e7937c31a9fc

5 years agoMake sure BiometricType is never null
Lucas Dupin [Wed, 10 Apr 2019 20:13:20 +0000 (13:13 -0700)]
Make sure BiometricType is never null

Test: atest BiometricsUnlockControllerTest
Fixes: 129905024
Change-Id: Iccf8d1eb1b844c5298b780422f6fa550c083a3b4

5 years agoDrop Type clock face.
Robert Snoeberger [Wed, 10 Apr 2019 18:44:54 +0000 (14:44 -0400)]
Drop Type clock face.

Fixes: 130296587
Test: Checked that Type clock doesn't appear in picker app.
Change-Id: Ie5d0066e9fedd485b9a05dc1c49a6c0ba6b7f1e4

5 years agoUserController.startUser nullchecks unlockListener
Bookatz [Wed, 10 Apr 2019 19:52:34 +0000 (12:52 -0700)]
UserController.startUser nullchecks unlockListener

I noticed that the current code doesn't check whether unlockListener is
null before using it in this (fairly unlikely) codepath. This fixes
that.

Test: compiles
Fixes: 130302171
Change-Id: I7ac7a2252dc098f7823e423bab05c6fe10dff4a5

5 years agoMerge "Use nav frame height to differentiate quick switch vs edge gesture" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 19:58:32 +0000 (19:58 +0000)]
Merge "Use nav frame height to differentiate quick switch vs edge gesture" into qt-dev

5 years agoAdd missing @Test
Julia Reynolds [Wed, 10 Apr 2019 19:04:06 +0000 (15:04 -0400)]
Add missing @Test

And then make the tests pass

Test: atest
Bug: 127341023
Bug: 130205844
Bug: 128599467
Change-Id: If4b4f82c95945edd87d57fe52fb78658c2b58471

5 years agoMerge "Adding null check for proxying assistant visibility changed." into qt-dev
Winson Chung [Wed, 10 Apr 2019 19:35:37 +0000 (19:35 +0000)]
Merge "Adding null check for proxying assistant visibility changed." into qt-dev

5 years agoSets vulture to null to prevent crashes caused by unlinkToDeath.
Adam He [Wed, 10 Apr 2019 19:25:55 +0000 (12:25 -0700)]
Sets vulture to null to prevent crashes caused by unlinkToDeath.

Fixes: 130215863
Bug: 129250887
Test: manual verification
Change-Id: I62e8f742869967b6a4e1f56aa82f3e17ae99b16f

5 years agoLimit IsSeparateProfileChallengeAllowed to system callers am: 1b6301cf24
Pavel Grafov [Wed, 10 Apr 2019 19:20:17 +0000 (12:20 -0700)]
Limit IsSeparateProfileChallengeAllowed to system callers am: 1b6301cf24
am: 406229f0c8

Change-Id: Ibcdd009840f36c0ac566a2211a50ac75f6db5c28

5 years agoMerge "Handle restricted permissions for shared UID components - framework" into...
Svetoslav Ganov [Wed, 10 Apr 2019 19:16:45 +0000 (19:16 +0000)]
Merge "Handle restricted permissions for shared UID components - framework" into qt-dev

5 years agoMerge "DngCreator: scale lens distortion paramters" into qt-dev
Yin-Chia Yeh [Wed, 10 Apr 2019 19:16:07 +0000 (19:16 +0000)]
Merge "DngCreator: scale lens distortion paramters" into qt-dev

5 years agoMerge "People might want GROUP_CONCAT." into qt-dev
Jeff Sharkey [Wed, 10 Apr 2019 19:05:19 +0000 (19:05 +0000)]
Merge "People might want GROUP_CONCAT." into qt-dev

5 years agoClose ApkAssets in PackageParser
Winson [Thu, 7 Mar 2019 20:54:24 +0000 (12:54 -0800)]
Close ApkAssets in PackageParser

Immediately closes ApkAssets to free up some memory during package
parsing/install process.

This is used instead of implementing AutoCloseable because of
complexities with AssetManager and tracking assets opened
outside of the ApkAssets.java class.

Explained more in b/72056911.

Test: manually booted emulator; closing ApkAssets is used at
boot in PackageParser#parseApkLiteInner
Test: adb install test.apk && sleep 5 && adb uninstall test.package
&& sleep 1 && (adb shell lsof | grep "test.package") prints no
system_server references

Bug: 130182148

Change-Id: Ia471d7065e65bd39b535309de6c6da7ec35bdf12

5 years agoLimit IsSeparateProfileChallengeAllowed to system callers
Pavel Grafov [Wed, 10 Apr 2019 18:47:42 +0000 (11:47 -0700)]
Limit IsSeparateProfileChallengeAllowed to system callers
am: 1b6301cf24

Change-Id: I1145186590622d415c6c10c4750cf9429806bdbe

5 years agoMerge "Handle additional users settings custom clock faces." into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 18:45:01 +0000 (18:45 +0000)]
Merge "Handle additional users settings custom clock faces." into qt-dev

5 years agoMerge "Sharesheet - navbar color integration" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 18:37:26 +0000 (18:37 +0000)]
Merge "Sharesheet - navbar color integration" into qt-dev

5 years agoRefactored field classification workflow to not hold locks when calling
Adam He [Tue, 9 Apr 2019 18:46:01 +0000 (11:46 -0700)]
Refactored field classification workflow to not hold locks when calling
ExtServices.

Fixes: 127665636
Test: atest android.autofillservice.cts.FieldsClassificationTest
Change-Id: Ie3b82e6e8d56db8d953d36d478afb4c327929958

5 years agoAdd @CurrentTimeMillisLong to new API method
Ned Burns [Wed, 10 Apr 2019 18:33:02 +0000 (14:33 -0400)]
Add @CurrentTimeMillisLong to new API method

Addressing API council feedback

Test: None
Bug: 123223649
Change-Id: I797e293be1fbb552c54d010a379d8e87a201a57c

5 years agoAdd cross user permission check - areNotificationsEnabledForPackage
Julia Reynolds [Wed, 27 Mar 2019 16:15:57 +0000 (12:15 -0400)]
Add cross user permission check - areNotificationsEnabledForPackage

Test: atest
Fixes: 128599467
Change-Id: I13a0ca7590f8c4b44379730e0ee2088aba400c2a
Merged-In: I13a0ca7590f8c4b44379730e0ee2088aba400c2a
(cherry picked from commit 657d164136199126ae241848887de0230699cea0)

5 years agoMerge "Fix log spam from DefaultPermissionGrantPolicy" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 18:23:20 +0000 (18:23 +0000)]
Merge "Fix log spam from DefaultPermissionGrantPolicy" into qt-dev

5 years agoMerge "Hard-disable precompiled layouts" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 18:16:41 +0000 (18:16 +0000)]
Merge "Hard-disable precompiled layouts" into qt-dev

5 years agoNullability for ViewTreeObserver gesture exclusion
Adam Powell [Wed, 10 Apr 2019 18:06:17 +0000 (11:06 -0700)]
Nullability for ViewTreeObserver gesture exclusion

Bug: 128704597
Test: n/a
Change-Id: Ia89458cf967ab4e01738ba1658e3460f27ae1830

5 years agoMerge "Add config for display white balance default state" into qt-dev
Christine Franks [Wed, 10 Apr 2019 18:08:54 +0000 (18:08 +0000)]
Merge "Add config for display white balance default state" into qt-dev

5 years agoMerge "Set stream volume for lecacy stream types" into qt-dev
Hayden Gomes [Wed, 10 Apr 2019 18:06:29 +0000 (18:06 +0000)]
Merge "Set stream volume for lecacy stream types" into qt-dev

5 years agoMerge "CameraServiceProxy: Handle race between systemserver and cameraserver" into...
TreeHugger Robot [Wed, 10 Apr 2019 18:06:09 +0000 (18:06 +0000)]
Merge "CameraServiceProxy: Handle race between systemserver and cameraserver" into qt-dev

5 years agoRename capabilities to adjustments
Julia Reynolds [Wed, 10 Apr 2019 16:43:27 +0000 (12:43 -0400)]
Rename capabilities to adjustments

To match existing API

Test: make, cts
Fixes: 130224929
Change-Id: I881ce11b583b389ee43bad6b45f837c85f949aa5

5 years agoMediaPlayer2: fix out-of-order pause for skipToNext
Wei Jia [Wed, 10 Apr 2019 17:49:10 +0000 (10:49 -0700)]
MediaPlayer2: fix out-of-order pause for skipToNext

Test: cts
Bug: 130292355
Change-Id: I46765403e6bb12feb44f6d2541dc867fef23722a