OSDN Git Service

android-x86/frameworks-base.git
5 years agoMake ContentCapture calls directly from the UI thread.
Felipe Leme [Tue, 5 Feb 2019 01:52:27 +0000 (17:52 -0800)]
Make ContentCapture calls directly from the UI thread.

Most calls are bufffered anyways, so by not using a handler we save time spent
on getting a pooled lambda and posting to the the handler.

The only "expensive" operation is flushing, but it makes a oneway binder call
so it might be fine (and if necessary, we can optimize it later).

Bug: 123307965
Test: atest CtsContentCaptureServiceTestCases
Change-Id: I7182c8e193f58fa000396fdb3003e771214bf79b

5 years agoRefactored how initial content capture events are sent.
Felipe Leme [Wed, 30 Jan 2019 02:16:23 +0000 (18:16 -0800)]
Refactored how initial content capture events are sent.

The overall workflow of Content Capture is:
 - send initial structure
 - send deltas afterwards

Initially, the initial structure was being reported one view at time, which was causing janking.
This CL changes it so while that while the initial structure is being laid out, the content captures
are held. Then after it's finished, it traverses the structure and sends the initial events.

This change also allowed use to optimize the performance by caching the following state:
 - View.isImportantForContentCapture()
 - View.getContentCaptureSession()
 - Context.getContentCaptureManager()

Besides the performance improvements, this approach also has the following advantanges:
- It sends the VIEW_APPEARED events for the parent views before the events for the children.
- It send events to notify when the view structure layout is ready.

Bug: 123307965
Test: atest CtsContentCaptureServiceTestCases
Test: m update-api

Change-Id: I6db7cc11c6edf65cbffe42187fda82c84c3665ff

5 years agoMerge "Add runtime_native_boot namespace"
Mathieu Chartier [Tue, 5 Feb 2019 01:36:32 +0000 (01:36 +0000)]
Merge "Add runtime_native_boot namespace"

5 years agoMerge "Revert "Enable vulkan webview draw functor""
TreeHugger Robot [Tue, 5 Feb 2019 01:15:34 +0000 (01:15 +0000)]
Merge "Revert "Enable vulkan webview draw functor""

5 years agoMerge "More TEST_MAPPING for role + permissions"
Philip P. Moltmann [Tue, 5 Feb 2019 01:03:55 +0000 (01:03 +0000)]
Merge "More TEST_MAPPING for role + permissions"

5 years agoMerge "audiopolicy: get rid of hardcoded attributes <--> stream types"
Eric Laurent [Tue, 5 Feb 2019 01:02:43 +0000 (01:02 +0000)]
Merge "audiopolicy: get rid of hardcoded attributes <--> stream types"

5 years agoMerge "Fix ArrayIndexOOB crash with invalid sim slot"
Evan Laird [Tue, 5 Feb 2019 00:59:29 +0000 (00:59 +0000)]
Merge "Fix ArrayIndexOOB crash with invalid sim slot"

5 years agoMerge "atoms: Fix HardwareErrorCode to match Stats HAL definition"
Maggie White [Tue, 5 Feb 2019 00:57:03 +0000 (00:57 +0000)]
Merge "atoms: Fix HardwareErrorCode to match Stats HAL definition"

5 years agoMerge "Make SmsHelper local to Assistant rather than a singleton (I accidentally...
Nadia Benbernou [Tue, 5 Feb 2019 00:54:56 +0000 (00:54 +0000)]
Merge "Make SmsHelper local to Assistant rather than a singleton (I accidentally forgot to include this piece in my previous CL it looks like)."

5 years agoMerge "Refactor locks in "audio" service for device management"
Jean-Michel Trivi [Tue, 5 Feb 2019 00:54:51 +0000 (00:54 +0000)]
Merge "Refactor locks in "audio" service for device management"

5 years agoMerge "Turn off TimeController job skipping."
TreeHugger Robot [Tue, 5 Feb 2019 00:44:30 +0000 (00:44 +0000)]
Merge "Turn off TimeController job skipping."

5 years agoMerge "Fix `break` location for WM Service message handler"
Nataniel Borges [Tue, 5 Feb 2019 00:39:23 +0000 (00:39 +0000)]
Merge "Fix `break` location for WM Service message handler"

5 years agoMerge "Clean up on metalava_updatable_media_args"
TreeHugger Robot [Tue, 5 Feb 2019 00:33:49 +0000 (00:33 +0000)]
Merge "Clean up on metalava_updatable_media_args"

5 years agoaudiopolicy: get rid of hardcoded attributes <--> stream types
François Gaffie [Mon, 30 Jul 2018 07:33:05 +0000 (09:33 +0200)]
audiopolicy: get rid of hardcoded attributes <--> stream types

Linked to CL in frameworks/av:
"audio policy service: Add introspection API to retrieve AudioProductStrategies"

Test: CTS: AudioTrackTest AudioRecordTest
Test: audio smoke test on sailfish, walleye blueline

Change-Id: I14515704bf8de76815f0d9ad7ed4b46f42a441b0
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
5 years agoMerge "audio: fix AudioRecordingConfiguration.equals()"
TreeHugger Robot [Mon, 4 Feb 2019 23:58:33 +0000 (23:58 +0000)]
Merge "audio: fix AudioRecordingConfiguration.equals()"

5 years agoMerge "Expose a few keys that's already used by apps"
TreeHugger Robot [Mon, 4 Feb 2019 23:25:48 +0000 (23:25 +0000)]
Merge "Expose a few keys that's already used by apps"

5 years agoMerge "Added maxSdk annotation to mNinePatchChunk field on Bitmap"
TreeHugger Robot [Mon, 4 Feb 2019 23:21:55 +0000 (23:21 +0000)]
Merge "Added maxSdk annotation to mNinePatchChunk field on Bitmap"

5 years agoRevert "Enable vulkan webview draw functor"
Bo Liu [Mon, 4 Feb 2019 23:05:44 +0000 (23:05 +0000)]
Revert "Enable vulkan webview draw functor"

This reverts commit dec730fda539fa941f7db1b9ed231a4585654dbe.

Reason for revert: b/123877499

Change-Id: I14fc562c81f5ef5dab0f5404402b64858e54e364

5 years agoMerge "Removed the Content Capture blacklist APIs."
TreeHugger Robot [Mon, 4 Feb 2019 23:04:48 +0000 (23:04 +0000)]
Merge "Removed the Content Capture blacklist APIs."

5 years agoMerge "Restrict reflection access to INotificationManager from Toast"
TreeHugger Robot [Mon, 4 Feb 2019 23:02:47 +0000 (23:02 +0000)]
Merge "Restrict reflection access to INotificationManager from Toast"

5 years agoMerge "WifiConfiguration: New disable network status for no subscription"
Ecco Park [Mon, 4 Feb 2019 23:00:47 +0000 (23:00 +0000)]
Merge "WifiConfiguration: New disable network status for no subscription"

5 years agoAdd runtime_native_boot namespace
Mathieu Chartier [Sat, 2 Feb 2019 00:51:12 +0000 (16:51 -0800)]
Add runtime_native_boot namespace

For runtime properties that require reboots.

Bug: 120794191
Bug: 123524494
Test: set a property and ensure it can be read in AndroidRuntime.cpp

Change-Id: I6287320465f633447a7ef65af6c29cd9f8cce18d

5 years agoMerge "Implement screen edge swipe for prototype"
TreeHugger Robot [Mon, 4 Feb 2019 22:44:22 +0000 (22:44 +0000)]
Merge "Implement screen edge swipe for prototype"

5 years agoMerge "SurfaceView: Check correct OPAQUE flag for background visibility."
TreeHugger Robot [Mon, 4 Feb 2019 22:34:43 +0000 (22:34 +0000)]
Merge "SurfaceView: Check correct OPAQUE flag for background visibility."

5 years agoMerge "Add InspectionCompanionProvider"
Ashley Rose [Mon, 4 Feb 2019 22:28:51 +0000 (22:28 +0000)]
Merge "Add InspectionCompanionProvider"

5 years agoMerge "Change provider packages API to test all providers"
Soonil Nagarkar [Mon, 4 Feb 2019 22:28:45 +0000 (22:28 +0000)]
Merge "Change provider packages API to test all providers"

5 years agoMerge "Better interpolation and duration for animations"
TreeHugger Robot [Mon, 4 Feb 2019 22:26:42 +0000 (22:26 +0000)]
Merge "Better interpolation and duration for animations"

5 years agoMake SmsHelper local to Assistant rather than a singleton (I accidentally
Nadia Benbernou [Mon, 4 Feb 2019 19:26:39 +0000 (14:26 -0500)]
Make SmsHelper local to Assistant rather than a singleton (I accidentally
forgot to include this piece in my previous CL it looks like).

Bug: 123365364
Test: Unit tests and manual testing.
Change-Id: I7c7096890c06d98f04e307f00f10c4138eee2868

5 years agoMerge "Create a default package name for device level events."
TreeHugger Robot [Mon, 4 Feb 2019 22:20:19 +0000 (22:20 +0000)]
Merge "Create a default package name for device level events."

5 years agoClean up on metalava_updatable_media_args
Dongwon Kang [Mon, 4 Feb 2019 22:18:38 +0000 (14:18 -0800)]
Clean up on metalava_updatable_media_args

Test: TH
Bug: 123253805
Change-Id: I640280ba93b7424418c4ba28eaa39e7fc2b1ef46

5 years agoTurn off TimeController job skipping.
Kweku Adams [Mon, 4 Feb 2019 22:17:51 +0000 (14:17 -0800)]
Turn off TimeController job skipping.

The job skipping checks are increasing lock contention and app startup
times. I'm turning this off while I work on a proper fix.

Bug: 123756120
Bug: 123879683
Test: N/A
Change-Id: Iab1dd9e77a5bb77f47cd730c2867dca75537ea45

5 years agoMerge "[Multi-user] Support permission backup for multi-user"
Ruslan Tkhakokhov [Mon, 4 Feb 2019 22:12:50 +0000 (22:12 +0000)]
Merge "[Multi-user] Support permission backup for multi-user"

5 years agoMerge "CamcorderProfiles: Add new camcorder profiles"
TreeHugger Robot [Mon, 4 Feb 2019 22:10:52 +0000 (22:10 +0000)]
Merge "CamcorderProfiles: Add new camcorder profiles"

5 years agoMerge "Make RoleManager inject DefaultBrowserProvider into PackageManager."
TreeHugger Robot [Mon, 4 Feb 2019 22:09:28 +0000 (22:09 +0000)]
Merge "Make RoleManager inject DefaultBrowserProvider into PackageManager."

5 years agoRefactor locks in "audio" service for device management
Jean-Michel Trivi [Fri, 1 Feb 2019 17:58:54 +0000 (09:58 -0800)]
Refactor locks in "audio" service for device management

Do not use shared locks across AudioDeviceBroker, BtHelper
  and AudioDeviceInventory.
Synchronize package private  tmethods on BtHelper and avoid
  dealing with external locks.
Clean up code ordering, more nullability annotations and
  annotation for connection state.

Bug: 112863932
Test: regression test on BT usecases
Change-Id: Id9e19e3c5e5241af913d06275f325fe505c1b509

5 years agoMerge "Fix HdmiCecLocalDeviceAudioSystem audio status report log"
TreeHugger Robot [Mon, 4 Feb 2019 22:05:25 +0000 (22:05 +0000)]
Merge "Fix HdmiCecLocalDeviceAudioSystem audio status report log"

5 years agoRestrict reflection access to INotificationManager from Toast
Adam Powell [Mon, 4 Feb 2019 21:29:11 +0000 (13:29 -0800)]
Restrict reflection access to INotificationManager from Toast

Bug: 123768917
Change-Id: Ice757d9f10f08f6d50dc34ca5c459e44d1ade10d

5 years agoMerge "Adds mShowCursor to dark-grey list above P"
TreeHugger Robot [Mon, 4 Feb 2019 21:27:50 +0000 (21:27 +0000)]
Merge "Adds mShowCursor to dark-grey list above P"

5 years agoMerge "Revert "Revert "Add public API to use new interfaces from cas@1.1"""
Henry Fang [Mon, 4 Feb 2019 21:25:34 +0000 (21:25 +0000)]
Merge "Revert "Revert "Add public API to use new interfaces from cas@1.1"""

5 years agoAdded maxSdk annotation to mNinePatchChunk field on Bitmap
Nader Jawad [Mon, 4 Feb 2019 21:18:49 +0000 (13:18 -0800)]
Added maxSdk annotation to mNinePatchChunk field on Bitmap

Hidden API usage in Bitmap->mNinePatchChunk. Annotated the field
with the max sdk annotation as there is a public getNinePatchChunk
method on Bitmap.

Bug: 123769491
Test: N/A
Change-Id: I59cee2b8af238e5656b1366c044600f6feaa95ab

5 years agoMerge "verity: Fix memory leaks"
TreeHugger Robot [Mon, 4 Feb 2019 21:17:36 +0000 (21:17 +0000)]
Merge "verity: Fix memory leaks"

5 years agoFix `break` location for WM Service message handler
Nataniel Borges [Mon, 4 Feb 2019 20:42:33 +0000 (12:42 -0800)]
Fix `break` location for WM Service message handler

The message handler for the WM Service is implemented in a switch
statement. For each case the `break` command is located in different
locations, making it harder to debug and easier to make mistakes.

Move the break conditions to the same location in all messages.

Test: Check the conditions of the `handleMessage` method. All messages
should end with a `break` command, within their body

Change-Id: Ibd225547d46ae1b092c071824570e5dbe01a8dca

5 years agoMerge "Remove support for updatable media components in apk"
Marco Nelissen [Mon, 4 Feb 2019 21:10:47 +0000 (21:10 +0000)]
Merge "Remove support for updatable media components in apk"

5 years agoBetter interpolation and duration for animations
Jorim Jaggi [Fri, 18 Jan 2019 16:36:10 +0000 (17:36 +0100)]
Better interpolation and duration for animations

Test: Open IME
Bug: 111084606
Change-Id: I3c64fe8b772a8164573c8fe3de94d3573e8cd238

5 years agoMerge "Update Task surface position when bounds are changed"
TreeHugger Robot [Mon, 4 Feb 2019 20:49:49 +0000 (20:49 +0000)]
Merge "Update Task surface position when bounds are changed"

5 years agoaudio: fix AudioRecordingConfiguration.equals()
Eric Laurent [Mon, 4 Feb 2019 20:31:15 +0000 (12:31 -0800)]
audio: fix AudioRecordingConfiguration.equals()

Use Arrays.equals() instead of equals() methods on the effects
Arrays contained in AudioRecordingConfiguration.

Bug: 123702064
Test: cts-tradefed run cts-dev -m CtsMediaTestCases -t android.media.cts.AudioRecordingConfigurationTest
Change-Id: I11d1321f1a5d8f50c248a4702bbba6a309280b5a

5 years agoMerge "TEST_MAPPING: Remove CtsActivityManagerDeviceSdk25TestCases"
TreeHugger Robot [Mon, 4 Feb 2019 20:26:11 +0000 (20:26 +0000)]
Merge "TEST_MAPPING: Remove CtsActivityManagerDeviceSdk25TestCases"

5 years agoSurfaceView: Check correct OPAQUE flag for background visibility.
Robert Carr [Mon, 4 Feb 2019 20:24:17 +0000 (12:24 -0800)]
SurfaceView: Check correct OPAQUE flag for background visibility.

No explanation beyond: Typo.

Bug: 123644326
Test: Manual
Change-Id: I2c2cf9eb441fd92703189e5566d70c07b048373c

5 years agoMerge "Fix crash when VulkanSurface is no longer valid"
TreeHugger Robot [Mon, 4 Feb 2019 20:14:57 +0000 (20:14 +0000)]
Merge "Fix crash when VulkanSurface is no longer valid"

5 years agoMerge "Add closing div tag for ContentResolver javadoc" into pi-dev am: a3a280e4d8
Ng Zhi An [Mon, 4 Feb 2019 20:12:39 +0000 (12:12 -0800)]
Merge "Add closing div tag for ContentResolver javadoc" into pi-dev am: a3a280e4d8
am: 5a7c4f1c75

Change-Id: I62b91239ceba7b3cfda24230547ec755a02bd298

5 years ago[Multi-user] Support permission backup for multi-user
Ruslan Tkhakokhov [Wed, 30 Jan 2019 09:19:13 +0000 (09:19 +0000)]
[Multi-user] Support permission backup for multi-user

Bug: 123349308
Test: 1) atest RunBackupFrameworksServicesRoboTests
         2) atest CtsBackupTestCases
         3) atest CtsBackupHostTestCases
         4) atest GtsBackupTestCases
         5) atest GtsBackupHostTestCases

Manual testing (for system/secondary users):
  * Install Textra Sms (third-party sms client, requires sms
  permissions) and give permissions
  * adb shell bmgr --user [user-id] backupnow android
  * Uninstall and reinstall the app
  * abd shell bmgr --user [user-id] restore [token] android
  * Launch the app and verify permission dialog doesn't appear

Change-Id: I61ec4eb9c593465363dcf43059584b15f4aa81f5

5 years agoFix HdmiCecLocalDeviceAudioSystem audio status report log
Dmitry Shmidt [Mon, 22 Oct 2018 20:24:38 +0000 (13:24 -0700)]
Fix HdmiCecLocalDeviceAudioSystem audio status report log

Bug: 118165614
Test: Manual

Change-Id: I2899b00d34b8356e82f3223371d551425074faec
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
(cherry picked from commit 8eb171afa02ee1d44b9c39d451d17e170d14957b)

5 years agoMerge "Add closing div tag for ContentResolver javadoc" into pi-dev
Ng Zhi An [Mon, 4 Feb 2019 19:52:44 +0000 (11:52 -0800)]
Merge "Add closing div tag for ContentResolver javadoc" into pi-dev
am: a3a280e4d8

Change-Id: I12f32a13f8b6ca1c33bee80207c6e1bed6f7cb4b

5 years agoMerge "Add closing div tag for ContentResolver javadoc" into pi-dev
TreeHugger Robot [Mon, 4 Feb 2019 19:38:42 +0000 (19:38 +0000)]
Merge "Add closing div tag for ContentResolver javadoc" into pi-dev

5 years agoFix ArrayIndexOOB crash with invalid sim slot
Fabian Kozynski [Mon, 4 Feb 2019 14:21:38 +0000 (09:21 -0500)]
Fix ArrayIndexOOB crash with invalid sim slot

Added guards for multiple ArrayIndexOOB Exceptions.

CarrierTextController needs to be refactored to show proper names and
not need split

Test: atest
Bug: 123753387
Change-Id: I55fa40ec26d91da0379440b010c20b61a0941f66

5 years agoAdd InspectionCompanionProvider
Ashley Rose [Tue, 29 Jan 2019 23:40:22 +0000 (18:40 -0500)]
Add InspectionCompanionProvider

Bug: 117616612
Test: atest GeneratedInspectionCompanionProviderTest
Change-Id: I7998f4f8d9fdbb042e01b5b0c2fc66933b2035d1

5 years agoExpose a few keys that's already used by apps
Chong Zhang [Tue, 5 Jun 2018 22:43:15 +0000 (15:43 -0700)]
Expose a few keys that's already used by apps

bug: 80314065
Change-Id: Ia9369decb8c454fe091fca77f8996e1400c14790

5 years agoverity: Fix memory leaks
George Burgess IV [Fri, 1 Feb 2019 19:52:55 +0000 (11:52 -0800)]
verity: Fix memory leaks

This CL refactors this code slightly in order to fix memory leaks
reported by the static analyzer. In general, RAII classes are
stack-allocated and moveable, rather than being heap-allocated. (If they
are heap-allocated, they should sit in a unique_ptr.)

Since it looks like this class has no children (adding `final` still
builds without issue), this devirtualizes its dtor, as well.

Finally, it looks like one instance of this class can easily be replaced
with a stack variable, so that's done, too.

Bug: None
Test: Built with the analyzer. Complaints are gone.
Change-Id: I6d284b06828afd47987534720bdaaa99e54b2c4c

5 years agoChange provider packages API to test all providers
Soonil Nagarkar [Thu, 31 Jan 2019 22:36:56 +0000 (14:36 -0800)]
Change provider packages API to test all providers

This will replace the LocationManager.getNetworkProviderPackage() API
with LocationManager.isProviderPackage(). The network provider should
not be considered special.

In addition, providers now have the ability to specify additional
packages that may make location requests on their behalf, so that those
packages can be considered location providers as well.

Bug: 117177078
Test: manually
Change-Id: I204b56e7bb40874ac3347988474fb8afa787feb8

5 years agoRevert "Revert "Add public API to use new interfaces from cas@1.1""
Henry Fang [Fri, 1 Feb 2019 19:24:55 +0000 (19:24 +0000)]
Revert "Revert "Add public API to use new interfaces from cas@1.1""

This reverts commit cdcaed6acb426f50bd5dfe4e30792ff22219c690.

Reason for revert: <Verified build locally, CL is fine. original issue may be caused by conflict between merges>

Change-Id: Id9707692a704c3d4475aee1f6c580208eb6ab744
Test: Manual
Bug: 122472761

5 years agoMerge "Update navigation bar upon change of display density"
TreeHugger Robot [Mon, 4 Feb 2019 18:52:57 +0000 (18:52 +0000)]
Merge "Update navigation bar upon change of display density"

5 years agoMerge "Migrate default browser to use role."
TreeHugger Robot [Mon, 4 Feb 2019 18:50:34 +0000 (18:50 +0000)]
Merge "Migrate default browser to use role."

5 years agoMerge changes from topic "cp pi-tv-dev 6162606"
Shubang Lu [Mon, 4 Feb 2019 18:47:15 +0000 (18:47 +0000)]
Merge changes from topic "cp pi-tv-dev 6162606"

* changes:
  Add System Audio Mode Status handler to update sam status
  Add setSystemAudioMode handler to update isSystemAudioModeActivated.
  Migrate systemAudioActivated to HdmiControlService

5 years agoMerge "Add callback to sendCecCommand in SendKeyEventAction when handling volume...
Shubang Lu [Mon, 4 Feb 2019 18:47:15 +0000 (18:47 +0000)]
Merge "Add callback to sendCecCommand in SendKeyEventAction when handling volume key forwarding."

5 years agoMerge "Implement findAudioReceiverAddress for playback device."
Shubang Lu [Mon, 4 Feb 2019 18:47:15 +0000 (18:47 +0000)]
Merge "Implement findAudioReceiverAddress for playback device."

5 years agoMerge "Add sendVolumeKeyEvent API to handle forwarding volume key separately."
Shubang Lu [Mon, 4 Feb 2019 18:47:15 +0000 (18:47 +0000)]
Merge "Add sendVolumeKeyEvent API to handle forwarding volume key separately."

5 years agoMake RoleManager inject DefaultBrowserProvider into PackageManager.
Hai Zhang [Fri, 1 Feb 2019 22:06:04 +0000 (14:06 -0800)]
Make RoleManager inject DefaultBrowserProvider into PackageManager.

This way PackageManager does not depend on RoleManager any more. Also
did some refactoring on RoleManagerService.

Bug: 123775970
Test: manual
Change-Id: I56c50d410ef212c960ffaa6212655b2f42870878

5 years agoMerge "Do not report GNSS requests from location providers to AppOps"
Anil Admal [Mon, 4 Feb 2019 18:19:26 +0000 (18:19 +0000)]
Merge "Do not report GNSS requests from location providers to AppOps"

5 years agoMerge "Revert "Convert RollbackTest Android.mk to an Android.bp.""
TreeHugger Robot [Mon, 4 Feb 2019 18:05:32 +0000 (18:05 +0000)]
Merge "Revert "Convert RollbackTest Android.mk to an Android.bp.""

5 years agoMerge "Track and dump notification lifetime extension"
Ned Burns [Mon, 4 Feb 2019 17:57:44 +0000 (17:57 +0000)]
Merge "Track and dump notification lifetime extension"

5 years agoMerge "Allow for different log levels on WM traces"
Nataniel Borges [Mon, 4 Feb 2019 17:45:15 +0000 (17:45 +0000)]
Merge "Allow for different log levels on WM traces"

5 years agoMerge "Clean up some CarSystemUI color elements so they are derived from device default."
TreeHugger Robot [Mon, 4 Feb 2019 17:42:17 +0000 (17:42 +0000)]
Merge "Clean up some CarSystemUI color elements so they are derived from device default."

5 years agoMerge "Verify config push to launchTaskBehind activities."
TreeHugger Robot [Mon, 4 Feb 2019 17:38:33 +0000 (17:38 +0000)]
Merge "Verify config push to launchTaskBehind activities."

5 years agoMerge "Make sure notifications from the default sms app do not get filtered to the...
Nadia Benbernou [Mon, 4 Feb 2019 17:25:31 +0000 (17:25 +0000)]
Merge "Make sure notifications from the default sms app do not get filtered to the non-interruptive section."

5 years agoAdds mShowCursor to dark-grey list above P
Louis Pullen-Freilich [Mon, 4 Feb 2019 17:07:52 +0000 (17:07 +0000)]
Adds mShowCursor to dark-grey list above P

This was being used by developers to work out when to 'blink' their
custom cursors using custom drawables. Now that TextView has a
setTextCursorDrawable method, developers should use that instead to set
a custom cursor, and shouldn't need to reflect on this value. If they
still need more customization than setting a custom drawable, they
should handle the blinking themselves - no need to reflect on an
internal timestamp.

Bug: b/123769485
Test: n/a
Change-Id: I7817b2b83b19a3fdb8922c718720dd9ca5e8b291

5 years agoMerge "Plumming of perm restore via permission controller"
Philip P. Moltmann [Mon, 4 Feb 2019 17:13:37 +0000 (17:13 +0000)]
Merge "Plumming of perm restore via permission controller"

5 years agoMerge "Combining background color transactions"
Valerie Hau [Mon, 4 Feb 2019 16:59:37 +0000 (16:59 +0000)]
Merge "Combining background color transactions"

5 years agoFix crash when VulkanSurface is no longer valid
Stan Iliev [Sun, 3 Feb 2019 23:01:02 +0000 (18:01 -0500)]
Fix crash when VulkanSurface is no longer valid

SkiaVulkanPipeline::mVkSurface can become obsolete if
RenderThread destroys Vulkan context. This CL enables
RenderThread to notify active Vulkan pipelines that their
surface is invalid.
Improve error handling, when trying to draw a frame with null
VulkanSurface.

Bug: 123640274
Bug: 123541940
Test: Ran several apps
Change-Id: If7fba00713d097192c96179df36e90b54f4f8090

5 years agoMerge "Add availability query method to TintController"
Christine Franks [Mon, 4 Feb 2019 16:39:12 +0000 (16:39 +0000)]
Merge "Add availability query method to TintController"

5 years agoMerge "Add SystemUI icon pack overlays."
TreeHugger Robot [Mon, 4 Feb 2019 16:29:21 +0000 (16:29 +0000)]
Merge "Add SystemUI icon pack overlays."

5 years agoMerge "Add compat for secondary splitscreen window option"
Nadia Benbernou [Mon, 4 Feb 2019 16:18:12 +0000 (16:18 +0000)]
Merge "Add compat for secondary splitscreen window option"

5 years agoMerge "XmlBlock: Avoid potential NULL dereference"
TreeHugger Robot [Mon, 4 Feb 2019 16:09:32 +0000 (16:09 +0000)]
Merge "XmlBlock: Avoid potential NULL dereference"

5 years agoRemove support for updatable media components in apk
Marco Nelissen [Fri, 1 Feb 2019 21:58:13 +0000 (13:58 -0800)]
Remove support for updatable media components in apk

Bug: 123250010
Test: boot, play video
Change-Id: I95f8d28cdb4ce0bef04711ba0e9322fe8bfd79d9

5 years agoMerge "Add mIsStaged and mCommittedSessionId to RollbackInfo."
TreeHugger Robot [Mon, 4 Feb 2019 16:01:35 +0000 (16:01 +0000)]
Merge "Add mIsStaged and mCommittedSessionId to RollbackInfo."

5 years agoMerge changes I1811ad12,I8d8800a6
Olivier Gaillard [Mon, 4 Feb 2019 15:49:58 +0000 (15:49 +0000)]
Merge changes I1811ad12,I8d8800a6

* changes:
  Bug fix: Do not track the looper exception if the session is not sampled
  Bug fix: looper not enabled

5 years agoWifiConfiguration: New disable network status for no subscription
Daisuke Niwa [Mon, 7 Jan 2019 02:45:26 +0000 (11:45 +0900)]
WifiConfiguration: New disable network status for no subscription

Add a new network disable reason to disable EAP network if
AT_NOTIFICATION notification code (1031) is returned. It indicates
user has not subscribed to the requested service.

Bug: 122921493
Test: Manually verified that device will not try to connect to the
EAP network if EAP authentication failed with 1031 code before.
Signed-off-by: Daichi Ueura <daichi.ueura@sony.com>
Change-Id: I0c531064cb5098f1e036a7fd8975a94cb51855b9

5 years agoAdd SystemUI icon pack overlays.
Amin Shaikh [Thu, 31 Jan 2019 23:26:36 +0000 (18:26 -0500)]
Add SystemUI icon pack overlays.

This change includes most QS icon overlays. Also renamed android
targetted icon packs to include Android in the overlay name.

Bug: 118757293
Test: adb shell cmd overlay enable-exclusive --user 0 com.android.theme.icon_pack.{circular,filled,rounded}.systemui
Change-Id: I87d7514c03231408fb0f6815279e9bc1c18b52e9

5 years agoXmlBlock: Avoid potential NULL dereference
Greg Kaiser [Mon, 4 Feb 2019 14:26:03 +0000 (06:26 -0800)]
XmlBlock: Avoid potential NULL dereference

We move our dereference after the NULL check.

Test: TreeHugger
Change-Id: I8334be8faf67752e9c0dddf97b133b92b4a7f345

5 years agoAdd mIsStaged and mCommittedSessionId to RollbackInfo.
Richard Uhler [Mon, 4 Feb 2019 14:04:52 +0000 (14:04 +0000)]
Add mIsStaged and mCommittedSessionId to RollbackInfo.

These will be needed for the rollback manager to support rollback of
staged sessions.

Bug: 112431924
Test: atest RollbackTest

Change-Id: I22c02ba2de023af6cf6908207bf69ab36ca9291c

5 years agoMerge "Logging getPasswordComplexity events with the calling app package name"
TreeHugger Robot [Mon, 4 Feb 2019 13:45:45 +0000 (13:45 +0000)]
Merge "Logging getPasswordComplexity events with the calling app package name"

5 years agoBug fix: Do not track the looper exception if the session is not sampled
Olivier Gaillard [Mon, 4 Feb 2019 10:47:48 +0000 (10:47 +0000)]
Bug fix: Do not track the looper exception if the session is not sampled

Test: atest LooperStatsTest
Change-Id: I1811ad12bdf9830699c615fff02f5aceea74c175

5 years agoBug fix: looper not enabled
Olivier Gaillard [Mon, 4 Feb 2019 10:42:34 +0000 (10:42 +0000)]
Bug fix: looper not enabled

Looper should not be enabled when we build the LooperStatsService so
that setEnabled is called and the observer is installed.

Test: atest LooperStatsTest
Change-Id: I8d8800a6a2222b2d67a2aacdc58ce631dc1c8217

5 years agoRevert "Convert RollbackTest Android.mk to an Android.bp."
Richard Uhler [Mon, 4 Feb 2019 12:51:58 +0000 (12:51 +0000)]
Revert "Convert RollbackTest Android.mk to an Android.bp."

This reverts commit 0145c883e00619a3270ca14d5e5cfdd3331fc413.

Reason for revert: Causes the RollbackTest apps to be installed to the system partition, which breaks the rollback tests.
Bug: 123695037

Change-Id: I3ee89ecb370144c67fe88bb389abafdda59dc502

5 years agoMerge "Apply visibility at the beginning of the animation"
Jorim Jaggi [Mon, 4 Feb 2019 11:54:45 +0000 (11:54 +0000)]
Merge "Apply visibility at the beginning of the animation"

5 years agoMerge "Make method private to fix checkstyle error."
TreeHugger Robot [Mon, 4 Feb 2019 11:05:34 +0000 (11:05 +0000)]
Merge "Make method private to fix checkstyle error."

5 years agoMerge "Include APEX information in PackageManager dumpsys."
Dario Freni [Mon, 4 Feb 2019 10:37:23 +0000 (10:37 +0000)]
Merge "Include APEX information in PackageManager dumpsys."

5 years agoMerge "Add STAGED_SESSION_ prefix to error codes."
Dario Freni [Mon, 4 Feb 2019 10:34:09 +0000 (10:34 +0000)]
Merge "Add STAGED_SESSION_ prefix to error codes."

5 years agoMerge "Renaming plsCertsNoVerifyOnlyCerts to unsafeGetCertsWithoutVerification."
Gavin Corkery [Mon, 4 Feb 2019 10:08:00 +0000 (10:08 +0000)]
Merge "Renaming plsCertsNoVerifyOnlyCerts to unsafeGetCertsWithoutVerification."

5 years agoMerge "Fix a bug with worksource propagation."
Olivier Gaillard [Mon, 4 Feb 2019 09:54:37 +0000 (09:54 +0000)]
Merge "Fix a bug with worksource propagation."

5 years agoMerge "Factor out common code for APK and APEX backups."
Richard Uhler [Mon, 4 Feb 2019 09:44:26 +0000 (09:44 +0000)]
Merge "Factor out common code for APK and APEX backups."