OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Making wakelock tag in PowerManager dump AUTO." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 02:35:13 +0000 (02:35 +0000)]
Merge "Making wakelock tag in PowerManager dump AUTO." into pi-dev

6 years agoMerge "Set span boundary at word boundary in perf test" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 02:29:53 +0000 (02:29 +0000)]
Merge "Set span boundary at word boundary in perf test" into pi-dev

6 years agoMerge "Support slicing by chain." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 02:27:15 +0000 (02:27 +0000)]
Merge "Support slicing by chain." into pi-dev

6 years agoMerge "Disable clicks on buttons without actions" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 02:26:50 +0000 (02:26 +0000)]
Merge "Disable clicks on buttons without actions" into pi-dev

6 years agoMerge "WifiConfiguration: Undeprecate WPA_PSK" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 02:11:46 +0000 (02:11 +0000)]
Merge "WifiConfiguration: Undeprecate WPA_PSK" into pi-dev

6 years agoMerge "Fixed data connection state callback not working" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 02:07:55 +0000 (02:07 +0000)]
Merge "Fixed data connection state callback not working" into pi-dev

6 years agoMerge "[RTT][AWARE] Minor update to distance documentation" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 02:07:13 +0000 (02:07 +0000)]
Merge "[RTT][AWARE] Minor update to distance documentation" into pi-dev

6 years agoMerge "Don't time out startForegroundService when debugging the app" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 01:53:39 +0000 (01:53 +0000)]
Merge "Don't time out startForegroundService when debugging the app" into pi-dev

6 years agoMerge "DO NOT MERGE Fix the null return value of getTrustedHardwareCertPath" into...
TreeHugger Robot [Thu, 15 Mar 2018 01:36:24 +0000 (01:36 +0000)]
Merge "DO NOT MERGE Fix the null return value of getTrustedHardwareCertPath" into pi-dev

6 years agoMerge changes I68dab076,Ife50c3d3,I705518be,I949fbe81 into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 01:16:09 +0000 (01:16 +0000)]
Merge changes I68dab076,Ife50c3d3,I705518be,I949fbe81 into pi-dev

* changes:
  Disable move animations for ScreenDecor overlays.
  WindowManager: Use WindowSurfaceController for seamless rotation
  Prevent freezing the display while rotating seamlessly.
  Eliminate usage of global transaction for display configuration.

6 years agoMerge "Added hackbod@ & ogunwale@ to display owners file." into pi-dev
Wale Ogunwale [Thu, 15 Mar 2018 01:16:05 +0000 (01:16 +0000)]
Merge "Added hackbod@ & ogunwale@ to display owners file." into pi-dev

6 years agoMerge "Unhiding APIs in UsageEvents for public use" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 01:08:33 +0000 (01:08 +0000)]
Merge "Unhiding APIs in UsageEvents for public use" into pi-dev

6 years agoAdded hackbod@ & ogunwale@ to display owners file.
Wale Ogunwale [Thu, 15 Mar 2018 01:04:04 +0000 (18:04 -0700)]
Added hackbod@ & ogunwale@ to display owners file.

We need to be able to submit stuff while michaelwr@ is OOO.
For example: ag/3690123

Test: can merge is stuff
Bug: 72038766
Change-Id: I1dd2260b54d95bbb6ebd27d871aeddfe3eefacdd

6 years agoMerge "Telephony(MSIM): Default NW mode property for each slot" into pi-dev
Pengquan Meng [Thu, 15 Mar 2018 01:01:15 +0000 (01:01 +0000)]
Merge "Telephony(MSIM): Default NW mode property for each slot" into pi-dev

6 years agoMerge changes from topic "centralize-quick-3s" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 00:53:19 +0000 (00:53 +0000)]
Merge changes from topic "centralize-quick-3s" into pi-dev

* changes:
  Fixes crash on navbar using 3rd party launchers
  Revert "Revert "Centralized quick step/scrub/switch logic (1/2)""

6 years agoDisable clicks on buttons without actions
Lucas Dupin [Wed, 14 Mar 2018 19:39:00 +0000 (12:39 -0700)]
Disable clicks on buttons without actions

Test: navigate on lock screen with usb keyboard
Change-Id: I5cb6a605a3fca956c0f3148cdcee4807fb23f186
Fixes: 73718973

6 years agoMerge "Also apply prefix when dumping isAllowedToUseHiddenApi" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 00:37:37 +0000 (00:37 +0000)]
Merge "Also apply prefix when dumping isAllowedToUseHiddenApi" into pi-dev

6 years agoSet span boundary at word boundary in perf test
Seigo Nonaka [Wed, 14 Mar 2018 21:38:32 +0000 (14:38 -0700)]
Set span boundary at word boundary in perf test

The style span interval should be the same with word boundary. This
generates weird test case.

Bug: 72998298
Test: N/A
Change-Id: Id1132a455c8b1dd74e21eaeb259703a33ac3b01f

6 years agoMaking wakelock tag in PowerManager dump AUTO.
Kweku Adams [Thu, 15 Mar 2018 00:12:06 +0000 (17:12 -0700)]
Making wakelock tag in PowerManager dump AUTO.

Bug: 74837756
Test: N/A
Change-Id: If9b982c35eee8f2643e2bc2e2f5dbd1a0e00de12

6 years agoFixed data connection state callback not working
Jack Yu [Wed, 14 Mar 2018 23:23:38 +0000 (16:23 -0700)]
Fixed data connection state callback not working

The old behavior of onDataConnectionStateChanged callback is that
if at least one data connection for one APN type (e.g. default,
mms, supl, ims, etc...) is connected, then it reports connected.
It only reports disconnected if data for all APN types are
disconnected.

Since now we have data connections are always connected. For example,
even if the user disables data, the unmetered IMS data remains
connected. In this case the client's onDataConnectionStateChanged
won't be called.

Now we changed the behavior of onDataConnectionStateChanged to
report the connection state for default APN type only. This matches
the behavior of TelephonyManager.getDataState().

Test: Manual
Bug: 73226433
Change-Id: I0744cf33337864c946af6e7d186bab78584acfa4

6 years agoMerge changes I14df050f,I55c30f78,I269eae0f into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 23:52:38 +0000 (23:52 +0000)]
Merge changes I14df050f,I55c30f78,I269eae0f into pi-dev

* changes:
  Frameworks: Refactor FileDescriptorTable errors
  Frameworks: Add app name to zygote abort
  Frameworks: Refactor zygote abort code

6 years agoMerge "Add stats from storage manager to dumpsys result" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 23:05:33 +0000 (23:05 +0000)]
Merge "Add stats from storage manager to dumpsys result" into pi-dev

6 years agoMerge "docs: Javadoc typo fix" into pi-dev
Andrew Solovay [Wed, 14 Mar 2018 22:59:22 +0000 (22:59 +0000)]
Merge "docs: Javadoc typo fix" into pi-dev

6 years agoSupport slicing by chain.
Yangster-mac [Sun, 11 Mar 2018 07:22:59 +0000 (23:22 -0800)]
Support slicing by chain.

BUG: b/73975181

Test: statsd test
Change-Id: I913ae0f68ff21ed0703bb5da9c60d3eaa3bf5981

6 years agoMerge "Enable local search for instant apps" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 22:23:24 +0000 (22:23 +0000)]
Merge "Enable local search for instant apps" into pi-dev

6 years agoWifiConfiguration: Undeprecate WPA_PSK
Roshan Pius [Wed, 14 Mar 2018 22:10:18 +0000 (15:10 -0700)]
WifiConfiguration: Undeprecate WPA_PSK

This is needed for client mode operations for configuring WPA_PSK
networks. There is no alternative public value for WPA_PSK.
The intention was to deprecate usage of this value for AP
mode, but since we share the same object across client & AP mode
operations, we cannot mark this field deprecated.

Bug: 72332080
Test: make update-api
Change-Id: I75f675b630080d853422f945d7cbc37c5f205fde

6 years agoDO NOT MERGE Fix the null return value of getTrustedHardwareCertPath
Bo Zhu [Fri, 9 Mar 2018 20:32:13 +0000 (12:32 -0800)]
DO NOT MERGE Fix the null return value of getTrustedHardwareCertPath

I forgot to serialize and deserialize it in the last CL adding it.

Bug: 74359698
Change-Id: I34f9225dc63b55223c2a7db23ee3fa6abf056a0d
Test: atest RecoveryControllerHostTest
(cherry picked from commit b4d2cc684dcd94a1482c8c2e66d421d481032833)

6 years agoMerge "Improved Application.getAutofillClient()" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 22:02:10 +0000 (22:02 +0000)]
Merge "Improved Application.getAutofillClient()" into pi-dev

6 years agoMerge "Add ability to filter remote animation adapter by activity type" into pi-dev
Jorim Jaggi [Wed, 14 Mar 2018 21:55:07 +0000 (21:55 +0000)]
Merge "Add ability to filter remote animation adapter by activity type" into pi-dev

6 years agoMerge "incidentd: cleaning up settings.proto" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 21:31:32 +0000 (21:31 +0000)]
Merge "incidentd: cleaning up settings.proto" into pi-dev

6 years agoMerge "Disable RecoverableKeyStoreManager for custom lockscreens." into pi-dev
Aseem Kumar [Wed, 14 Mar 2018 21:29:12 +0000 (21:29 +0000)]
Merge "Disable RecoverableKeyStoreManager for custom lockscreens." into pi-dev

6 years agoUnhiding APIs in UsageEvents for public use
Suprabh Shukla [Fri, 9 Mar 2018 02:34:15 +0000 (18:34 -0800)]
Unhiding APIs in UsageEvents for public use

These apis are needed to interpret standby bucket change history
when using UsageStatsManager#queryEventsForSelf

Test: atest android.app.usage.cts.UsageStatsTest#testQueryEventsForSelf

Bug: 71906213
Change-Id: Ib9f458bf32089ad30c97eca9dd5cc4df5a392191

6 years agoMerge changes Iaf63b4e8,Ie76044d4 into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 21:25:23 +0000 (21:25 +0000)]
Merge changes Iaf63b4e8,Ie76044d4 into pi-dev

* changes:
  Change DND upgrade noti text and channel
  Reevaluate volume settings toggle onShow.

6 years agoFixes crash on navbar using 3rd party launchers
Matthew Ng [Wed, 14 Mar 2018 19:26:14 +0000 (12:26 -0700)]
Fixes crash on navbar using 3rd party launchers

When using a 3rd party launcher, the touch service
connection from pixel launcher and system ui is
disconnecting causing the nav bar to crash when
tapping it because onTouchIntercept returns true
from a NavigationBarView and handles the
onTouchEvent that does not check for a valid
connection. Check for a valid connection to
launcher service in onTouchEvent and before
proxying data to prevent the crash.

Fixes: 74726495
Test: change to 3rd party launcher press nav bar

Change-Id: I6f7efe78599b0829fd90aa0436463e77ec51f634

6 years agoMerge "Add Duplex mode to ServiceState." into pi-dev
Eric Schwarzenbach [Wed, 14 Mar 2018 21:05:43 +0000 (21:05 +0000)]
Merge "Add Duplex mode to ServiceState." into pi-dev

6 years agoRevert "Revert "Centralized quick step/scrub/switch logic (1/2)""
Matthew Ng [Wed, 14 Mar 2018 19:43:18 +0000 (19:43 +0000)]
Revert "Revert "Centralized quick step/scrub/switch logic (1/2)""

This reverts commit 0e490d9208de480ed38fe31a12029fc59b0955e9.

Reason for revert: Will be merged with fix
Bug: 74726495
Test: manual

Change-Id: I36ea9c2702107b23eff4adb1f3ba9fdc1be12999

6 years ago[RTT][AWARE] Minor update to distance documentation
Etan Cohen [Wed, 14 Mar 2018 20:49:43 +0000 (13:49 -0700)]
[RTT][AWARE] Minor update to distance documentation

Clarify that measured distance may be negative.

Bug: 63446747
Test: builds
Change-Id: Iff73c1e22dcf98dfce6fc69b7c9d4cf8a05af8d7

6 years agoAlso apply prefix when dumping isAllowedToUseHiddenApi
Yohei Yukawa [Wed, 14 Mar 2018 20:43:47 +0000 (13:43 -0700)]
Also apply prefix when dumping isAllowedToUseHiddenApi

This is a follow up CL to a CL [1] that added one more state dump from
ApplicationInfo regarding whether the app is exampted from the API
restriction but forgot to take care of prefix handling.

 [1]: I01e837253d00c6ffa841a9e5c226204a3e11b827
      974290b032b4d98603925d36851422986a5d7d0e

Bug: 64382372
Test: Ran the following command to see "isAllowedToUseHiddenApi"
      is aligned with other outputs from ApplicationInfo.
         adb shell ime list -a
Change-Id: I9c77d9b557245b7f3b51631140bd564feef601ce

6 years agoMerge "Increase size of BatteryStatsService stats buffer" into pi-dev
Kelly Rossmoyer [Wed, 14 Mar 2018 20:43:14 +0000 (20:43 +0000)]
Merge "Increase size of BatteryStatsService stats buffer" into pi-dev

6 years agoMerge "Start the webview_zygote at boot, but in the background." into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 20:32:32 +0000 (20:32 +0000)]
Merge "Start the webview_zygote at boot, but in the background." into pi-dev

6 years agoEnable local search for instant apps
Todd Kennedy [Wed, 14 Mar 2018 15:09:00 +0000 (08:09 -0700)]
Enable local search for instant apps

When getting the set of searchable activities, fetch instant
applications. But, this means that the set needs a final
filter to prevent leaking application existence.

Change-Id: I6b9daf031ce54061c4500d9edae1d738848158c4
Fixes: 68211791
Test: atest -it CtsAppSecurityHostTestCases:EphemeralTest#testGetSearchableInfo
(cherry picked from commit 8b9d664cae1681c6107bd6caf807e786f96190ca)

6 years agoMerge "Document the byte packing order of the current Bitmap.Configs" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 20:23:29 +0000 (20:23 +0000)]
Merge "Document the byte packing order of the current Bitmap.Configs" into pi-dev

6 years agoMerge "Add API to get currently pinned slices" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 20:12:54 +0000 (20:12 +0000)]
Merge "Add API to get currently pinned slices" into pi-dev

6 years agoImproved Application.getAutofillClient()
Felipe Leme [Wed, 14 Mar 2018 19:33:58 +0000 (12:33 -0700)]
Improved Application.getAutofillClient()

- Fixed usage of activity instead of record.activity
- Added (optional) verbose logging

Bug: 74793485
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityTest#testAutofill_appContext\
CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest#testAutofill_appContext

Change-Id: I03721cab6428e580b13444bf045f33dc3d787a8d

6 years agoAdd stats from storage manager to dumpsys result
yro [Wed, 14 Mar 2018 01:08:09 +0000 (18:08 -0700)]
Add stats from storage manager to dumpsys result

Bug: 74601313
Test: manual test, statsd_test
Change-Id: Ifdde6bb10d29f3983b0c27a66a6e30f1f40308ee

6 years agoMerge "Revert "Centralized quick step/scrub/switch logic (1/2)"" into pi-dev
Winson Chung [Wed, 14 Mar 2018 19:42:13 +0000 (19:42 +0000)]
Merge "Revert "Centralized quick step/scrub/switch logic (1/2)"" into pi-dev

6 years agoRevert "Centralized quick step/scrub/switch logic (1/2)"
Winson Chung [Wed, 14 Mar 2018 16:08:43 +0000 (16:08 +0000)]
Revert "Centralized quick step/scrub/switch logic (1/2)"

This reverts commit b06ae3bf131b0bd0ded398d3a06974a6a9d78a50.

Reason for revert: b/74726495
Bug: 74726495

Change-Id: I4bce8df13f9fa9e1b420382f7a96f9855510196f

6 years agodocs: Javadoc typo fix
Andrew Solovay [Mon, 12 Mar 2018 22:11:50 +0000 (15:11 -0700)]
docs: Javadoc typo fix

Doc is staged to:

http://go/dac-stage/reference/android/webkit/WebView.html

Exempt-From-Owner-Approval: Doc-only change
Bug: 20926682
Test: make ds-docs
Change-Id: Ib966923b75c8a70da5415f38e4217caeecc44cbe
Merged-In: Ib966923b75c8a70da5415f38e4217caeecc44cbe

6 years agoDisable RecoverableKeyStoreManager for custom lockscreens.
Aseem Kumar [Tue, 13 Mar 2018 01:05:16 +0000 (18:05 -0700)]
Disable RecoverableKeyStoreManager for custom lockscreens.

Bug: 74225107
Test: adb shell am instrument \
-w -e package com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I88fc0fe7fdb23439d781cac96632196465553a38

6 years agoDisable move animations for ScreenDecor overlays.
Robert Carr [Wed, 14 Mar 2018 18:51:23 +0000 (11:51 -0700)]
Disable move animations for ScreenDecor overlays.

They look pretty weird during seamless rotation.

Bug: 72038766
Test: Manual.
Change-Id: I68dab0761a9faca42324e64a545477302c6e3bbe

6 years agoMerge "Add wall clock timestamp for ConfigMetricsReport and gauge atoms." into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 19:03:06 +0000 (19:03 +0000)]
Merge "Add wall clock timestamp for ConfigMetricsReport and gauge atoms." into pi-dev

6 years agoWindowManager: Use WindowSurfaceController for seamless rotation
Robert Carr [Wed, 14 Mar 2018 18:50:52 +0000 (11:50 -0700)]
WindowManager: Use WindowSurfaceController for seamless rotation

Otherwise we run in to the issues with the cache when exiting
seamless rotation.

Bug: 72038766
Test: Manual. go/wm-smoke
Change-Id: Ife50c3d3a77fbcfe9d8a7ef40c45444bbb8b4e93

6 years agoPrevent freezing the display while rotating seamlessly.
Robert Carr [Fri, 16 Feb 2018 19:46:16 +0000 (11:46 -0800)]
Prevent freezing the display while rotating seamlessly.

Following recent changes we are now receiving WindowManagerService#reconfigureDisplayLocked
during rotation. This is interpreted as another change in display
configuration that requires screen freezing and we continue on to startFreezingDisplayLocked.
This triggers the screenshot based freezing, but we were already trying to seamlessly rotate.
It seems a sensible solution to just disable screenshot based freezing while seamlessly as
we now disable screenshot based freezing while already using it.

Bug: 72038766
Test: Manual. go/wm-smoke.
Change-Id: I705518be11302cfaa95207e3b3d0c7e93e54ebbf

6 years agoEliminate usage of global transaction for display configuration.
Robert Carr [Thu, 15 Feb 2018 23:36:23 +0000 (15:36 -0800)]
Eliminate usage of global transaction for display configuration.

For seamless rotation to work in the brave new world we need the setting
of the display projection to occur in the same transaction as the
reconfiguration of the stack SurfaceControl. To understand this simply see
that the inverse rotation for seamless rotation happens at the
WindowStateAnimator level so if the stack bounds weren't updated to the new
rotation we would clip. This means: We need to use the pending transaction.
We also need to port the rotation animation to use the pending transaction
as it needs to perform transactions at the same time as setting the display
projection. A pleasant consequence is we can eliminate some "inTransaction"
code-paths that always seemed to be a bit of a wart.

Bug: 72038766
Test: Manual. go/wm-smoke.
Change-Id: I949fbe8150d452c1ef5c13e704ddf87269f824f3

6 years agoTelephony(MSIM): Default NW mode property for each slot
Sandeep Gutta [Wed, 16 Mar 2016 16:07:25 +0000 (21:37 +0530)]
Telephony(MSIM): Default NW mode property for each slot

For dual SIM devices, add provision to configure different default
Network modes for each slot, using the existing system property to
configure this default network modes.

Bug: 28384694
Test: manual - Checked different default NW mode can be set
for each slot.
Merged-Id: I72b11522cb51a425e28ddc407014387a20cb2cd7
Change-Id: I72b11522cb51a425e28ddc407014387a20cb2cd7

6 years agoMerge "Remove unused shared lib from statsd" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 18:48:20 +0000 (18:48 +0000)]
Merge "Remove unused shared lib from statsd" into pi-dev

6 years agoMerge "Removed redundant method ContentResolver.releasePersistableUriPermission(...
TreeHugger Robot [Wed, 14 Mar 2018 18:42:38 +0000 (18:42 +0000)]
Merge "Removed redundant method ContentResolver.releasePersistableUriPermission()" into pi-dev

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Alan Viverette [Wed, 14 Mar 2018 18:09:51 +0000 (18:09 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97 am: d0fcb49352 skipped: 93f8bfa5c4 am: e32e8229b3 am: f98157e2ba am: 4f83bad908 am: a982645d5c skipped: 9d3e228729 am: 8a095b5f19 am: 0886b1a751
am: 25d38a56ae  -s ours

Change-Id: I0bf700a857b7eba5aebf66e0c2f7970234d7ac00

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Alan Viverette [Wed, 14 Mar 2018 17:58:15 +0000 (17:58 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97 am: d0fcb49352 skipped: 93f8bfa5c4 am: e32e8229b3 am: f98157e2ba am: 4f83bad908 am: a982645d5c skipped: 9d3e228729 am: 8a095b5f19
am: 0886b1a751

Change-Id: I6fb6521317ef9d9e2d6afab056bc8993bed9720c

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Alan Viverette [Wed, 14 Mar 2018 17:39:54 +0000 (17:39 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97 am: d0fcb49352 skipped: 93f8bfa5c4 am: e32e8229b3 am: f98157e2ba am: 4f83bad908 am: a982645d5c skipped: 9d3e228729
am: 8a095b5f19

Change-Id: I6eb246ce670723e1f21ee4cf45d5c5e48b91f1ce

6 years agoFrameworks: Refactor FileDescriptorTable errors
Andreas Gampe [Mon, 12 Mar 2018 21:53:34 +0000 (14:53 -0700)]
Frameworks: Refactor FileDescriptorTable errors

Surface error messages to the caller.

(cherry picked from commit 183a5d3cfa6bcdc817dfe6e5512fb6912bb44583)

Bug: 74531335
Test: m
Test: Device boots
Merged-In: I14df050feb7f5417bb08d190492c3050cdbb1c1d
Change-Id: I14df050feb7f5417bb08d190492c3050cdbb1c1d

6 years agoFrameworks: Add app name to zygote abort
Andreas Gampe [Mon, 12 Mar 2018 19:17:25 +0000 (12:17 -0700)]
Frameworks: Add app name to zygote abort

If possible, add the target process name to the zygote abort.

(cherry picked from commit bf94c2c1d789cbe0be77a70536dc08d6f0bd7e5c)

Bug: 74531335
Test: m
Test: Device boots
Test: Manual - fake a failure
Merged-In: I55c30f78246876fdc1b822056351dbbb14c1247e
Change-Id: I55c30f78246876fdc1b822056351dbbb14c1247e

6 years agoFrameworks: Refactor zygote abort code
Andreas Gampe [Mon, 12 Mar 2018 19:08:55 +0000 (12:08 -0700)]
Frameworks: Refactor zygote abort code

Fail in the main fork function. This will simplify follow-ups that
will include more data in the abort.

(cherry picked from commit b8aae1969c6b8f9ac420745166edcd6c9fe59717)

Bug: 74531335
Test: m
Test: Device boots
Merged-In: I269eae0fb15e96fb27d02d4b7c6fdf7e9e8e3346
Change-Id: I269eae0fb15e96fb27d02d4b7c6fdf7e9e8e3346

6 years agoMerge "Update comment for HAPTIC_FEEDBACK_ENABLED setting" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 17:32:43 +0000 (17:32 +0000)]
Merge "Update comment for HAPTIC_FEEDBACK_ENABLED setting" into pi-dev

6 years agoDocument the byte packing order of the current Bitmap.Configs
Derek Sollenberger [Wed, 14 Mar 2018 17:26:47 +0000 (13:26 -0400)]
Document the byte packing order of the current Bitmap.Configs

This CL documents the byte order for 585, 8888, and fp16 buffers.

Test: documenting existing behavior
Bug: 71518511
Change-Id: I128344db318eb4597b6eb00f0ae317e369145152

6 years agoMerge "Update old stack check for finding recent task index to remove" into pi-dev
Winson Chung [Wed, 14 Mar 2018 17:28:46 +0000 (17:28 +0000)]
Merge "Update old stack check for finding recent task index to remove" into pi-dev

6 years agoMerge "Added performance tests for SQLiteCursor iteration" into pi-dev
Fyodor Kupolov [Wed, 14 Mar 2018 17:16:12 +0000 (17:16 +0000)]
Merge "Added performance tests for SQLiteCursor iteration" into pi-dev

6 years agoMerge "[AWARE] Minor fix to documentation for Aware + Discovery" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 17:00:51 +0000 (17:00 +0000)]
Merge "[AWARE] Minor fix to documentation for Aware + Discovery" into pi-dev

6 years agoStart the webview_zygote at boot, but in the background.
Torne (Richard Coles) [Tue, 13 Mar 2018 21:48:52 +0000 (17:48 -0400)]
Start the webview_zygote at boot, but in the background.

This reverts "Delay starting the webview_zygote until first use." but
instead wraps the start in a background task, to avoid blocking the
system server startup waiting for the zygote to be ready.

Bug: 73743583
Bug: 63749735
Bug: 74079433
Test: Verify webview_zygote already running after boot
Change-Id: Iacf968cc2d2857a92c6bacf4012dc88f098c6013

6 years agoMerge "Statsd: Remove storage of bucketNum" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 16:51:41 +0000 (16:51 +0000)]
Merge "Statsd: Remove storage of bucketNum" into pi-dev

6 years agoMerge "Dump the stats for count/gauge/value metrics." into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 16:45:49 +0000 (16:45 +0000)]
Merge "Dump the stats for count/gauge/value metrics." into pi-dev

6 years agoDump the stats for count/gauge/value metrics.
Yangster-mac [Mon, 12 Mar 2018 19:02:56 +0000 (12:02 -0700)]
Dump the stats for count/gauge/value metrics.

Bug: b/74159560

Test: statsd test
Change-Id: I1410309ecfdfc2a5becf8d0c620c68a621ebc5fa

6 years agoAdd ability to filter remote animation adapter by activity type
Jorim Jaggi [Fri, 9 Mar 2018 15:48:24 +0000 (16:48 +0100)]
Add ability to filter remote animation adapter by activity type

Such that Launcher can choose not to use the remote animation
for assistant.

Test: Open assistant, close it
Test: go/wm-smoke

Bug: 72702760
Change-Id: Ib97cb5dd076afe5535e4e7951f423ccf9e78e720

6 years agoMerge "Allow controlling SystemUI flags during RecentsAnimation" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 16:00:49 +0000 (16:00 +0000)]
Merge "Allow controlling SystemUI flags during RecentsAnimation" into pi-dev

6 years agoMerge "Add new set of APIs to light grey." into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 15:59:42 +0000 (15:59 +0000)]
Merge "Add new set of APIs to light grey." into pi-dev

6 years agoChange DND upgrade noti text and channel
Julia Reynolds [Wed, 14 Mar 2018 15:38:44 +0000 (11:38 -0400)]
Change DND upgrade noti text and channel

Test: manual
Bug: 74075050
Change-Id: Iaf63b4e8691ba42ac4d1ddccf8f2368bfc0b74d7

6 years agoReevaluate volume settings toggle onShow.
Julia Reynolds [Wed, 14 Mar 2018 14:46:04 +0000 (10:46 -0400)]
Reevaluate volume settings toggle onShow.

Test: manual, factory reset a device and check device when
unprovisioned and provisioned.
Fixes: 74727019

Change-Id: Ie76044d46d4e4fb0f8928f19fd3431b1524bce79

6 years agoMerge "Cutout: add runtime switch for screenshotting screen decorations" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 15:32:06 +0000 (15:32 +0000)]
Merge "Cutout: add runtime switch for screenshotting screen decorations" into pi-dev

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Android Build Merger (Role) [Wed, 14 Mar 2018 15:24:33 +0000 (15:24 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97 am: d0fcb49352 skipped: 93f8bfa5c4 am: e32e8229b3 am: f98157e2ba am: 4f83bad908 am: a982645d5c skipped: 9d3e228729

Change-Id: I1ce639a3ea40693d82501861d4b81afd3506b37d

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Android Build Merger (Role) [Wed, 14 Mar 2018 15:24:27 +0000 (15:24 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97 am: d0fcb49352 skipped: 93f8bfa5c4 am: e32e8229b3 am: f98157e2ba am: 4f83bad908 am: a982645d5c

Change-Id: I329294b80015cbfb2c498c0752b340cbaf527735

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Android Build Merger (Role) [Wed, 14 Mar 2018 15:24:17 +0000 (15:24 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97 am: d0fcb49352 skipped: 93f8bfa5c4 am: e32e8229b3 am: f98157e2ba am: 4f83bad908

Change-Id: I927087da2df9ad993b449d8ec9b90bd641088d75

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Android Build Merger (Role) [Wed, 14 Mar 2018 15:24:12 +0000 (15:24 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97 am: d0fcb49352 skipped: 93f8bfa5c4 am: e32e8229b3 am: f98157e2ba

Change-Id: I7204eee21fc2620f70dc8bc534aa0160d947ab7e

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Android Build Merger (Role) [Wed, 14 Mar 2018 15:24:06 +0000 (15:24 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97 am: d0fcb49352 skipped: 93f8bfa5c4 am: e32e8229b3

Change-Id: I916228fb05914dbb89551a27418f746305a01ed6

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Android Build Merger (Role) [Wed, 14 Mar 2018 15:23:46 +0000 (15:23 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97 am: d0fcb49352 skipped: 93f8bfa5c4

Change-Id: Ie516029e98d07f4ebb6916d75af625c92e711fde

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Android Build Merger (Role) [Wed, 14 Mar 2018 15:23:39 +0000 (15:23 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97 am: d0fcb49352

Change-Id: Ib890ce7495c1d5e64968cc9177ce3785bcfdedde

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Android Build Merger (Role) [Wed, 14 Mar 2018 15:23:32 +0000 (15:23 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab am: 1b6f3f9a97

Change-Id: I49de968aa0daa18b60921af1a381f77d13a8ff0e

6 years ago[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor...
Android Build Merger (Role) [Wed, 14 Mar 2018 15:23:19 +0000 (15:23 +0000)]
[automerger] DO NOT MERGE Fix build with SDK 24-like implementation of constructor am: f3c2e0b3ab

Change-Id: I87dcb4ce2fc52e0ed6ce5f79d15ab49084d088e3

6 years agoDO NOT MERGE Fix build with SDK 24-like implementation of constructor
Alan Viverette [Tue, 13 Mar 2018 17:56:24 +0000 (13:56 -0400)]
DO NOT MERGE Fix build with SDK 24-like implementation of constructor

Bug: 71992105
Test: manual
Change-Id: I106760ada9c85adde29fd143e5dfcd924fd95f54

6 years agoMerge "Set options on startingActivity instead of topActivity" into pi-dev
Chavi Weingarten [Wed, 14 Mar 2018 15:19:01 +0000 (15:19 +0000)]
Merge "Set options on startingActivity instead of topActivity" into pi-dev

6 years agoMerge "Check if last resumed activity is null before resuming." into pi-dev
Bryce Lee [Wed, 14 Mar 2018 14:37:48 +0000 (14:37 +0000)]
Merge "Check if last resumed activity is null before resuming." into pi-dev

6 years agoAllow controlling SystemUI flags during RecentsAnimation
Jorim Jaggi [Fri, 9 Mar 2018 16:29:48 +0000 (17:29 +0100)]
Allow controlling SystemUI flags during RecentsAnimation

Such that the bars can flip from light/dark depending on animation
progress.

Test: go/wm-smoke
Test: Swipe up from light bar app
Test: WindowStateTests
Bug: 73498721
Change-Id: Ie4b99c75840474a01225720fcd7372191f035a3e

6 years agoMerge "Add PrintRecommendationService to hidden API package whitelist" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 13:44:51 +0000 (13:44 +0000)]
Merge "Add PrintRecommendationService to hidden API package whitelist" into pi-dev

6 years agoMerge "DO NOT MERGE Create a key value settings observer for backup parameters" into...
Annie Meng [Wed, 14 Mar 2018 13:40:46 +0000 (13:40 +0000)]
Merge "DO NOT MERGE Create a key value settings observer for backup parameters" into pi-dev

6 years agoCutout: add runtime switch for screenshotting screen decorations
Adrian Roos [Thu, 8 Mar 2018 22:22:19 +0000 (23:22 +0100)]
Cutout: add runtime switch for screenshotting screen decorations

Bug: 65689439
Test: adb shell setprop debug.screenshot_rounded_corners true && adb shell kill `pid systemui` && adb exec-out screencap -p > out.png
Change-Id: Ibd2e8c94c0f1ad58b2357e8db1b20846588b1cce

6 years agoAdd new set of APIs to light grey.
Nicolas Geoffray [Wed, 14 Mar 2018 10:58:42 +0000 (10:58 +0000)]
Add new set of APIs to light grey.

bug:64382372
Test: m
Change-Id: I2ba92e8a7c04dca9c77f8ce58c5b9e85726c52d8
(cherry picked from commit ba0be3aaedf45b0f1cf4a589acfcea17fd65cd64)

6 years agoMerge "Add more uses of hidden APIs into light greylist" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 12:14:39 +0000 (12:14 +0000)]
Merge "Add more uses of hidden APIs into light greylist" into pi-dev

6 years agoMerge "Don't re-inflate bouncer" into pi-dev
TreeHugger Robot [Wed, 14 Mar 2018 11:34:13 +0000 (11:34 +0000)]
Merge "Don't re-inflate bouncer" into pi-dev

6 years agoAdd PrintRecommendationService to hidden API package whitelist
David Brazdil [Tue, 13 Mar 2018 16:14:03 +0000 (16:14 +0000)]
Add PrintRecommendationService to hidden API package whitelist

This app builds directly against the platform. Add it to the whitelist.

Bug: 64382372
Test: make
Test: device boots
Change-Id: I16574374d2c233221cd1305f031f78aca1947f05
(cherry picked from commit 06c8a439f7641b59e3648f691ae1a1921244c68e)

6 years agoMerge "MediaSession2: Refactor incoming binder calls to the MediaSession2Stub" into...
Jaewan Kim [Wed, 14 Mar 2018 10:18:22 +0000 (10:18 +0000)]
Merge "MediaSession2: Refactor incoming binder calls to the MediaSession2Stub" into pi-dev

6 years agoAdd more uses of hidden APIs into light greylist
David Brazdil [Wed, 14 Mar 2018 09:37:55 +0000 (09:37 +0000)]
Add more uses of hidden APIs into light greylist

Uses from tests and common apps.

Bug: 64382372
Bug: 73094390
Bug: 74575101
Bug: 74525273
Bug: 74340334
Test: make
Change-Id: I51ab73184b34b0240afccfebcb166687d14b94ae