OSDN Git Service

android-x86/frameworks-base.git
5 years agoMade ContentCapture APIs available for testing.
Felipe Leme [Mon, 4 Feb 2019 21:01:29 +0000 (13:01 -0800)]
Made ContentCapture APIs available for testing.

Test: atest CtsContentCaptureServiceTestCases
Test: m update-api

Bug: 123584359
Bug: 119187075

Change-Id: I4ece03de6c7994451dbb9d0ce36d37f20656d3e0

5 years ago[automerger skipped] Add NR to preferred network type combination
chen xu [Tue, 5 Feb 2019 04:45:15 +0000 (20:45 -0800)]
[automerger skipped] Add NR to preferred network type combination
am: 32993551f3 -s ours
am skip reason: change_id I08a8f7bf44a62ef109583b82b22f65fd6f89c71d with SHA1 8bcdc4cf66 is in history

Change-Id: I17e71193ca71314fc722a4d239e34db05790d899

5 years agoMerge "Format fixing for ArcTerminationActionFromAvrTest."
TreeHugger Robot [Tue, 5 Feb 2019 04:22:17 +0000 (04:22 +0000)]
Merge "Format fixing for ArcTerminationActionFromAvrTest."

5 years agoMerge "Game Driver: clean up GraphicsEnvironment"
TreeHugger Robot [Tue, 5 Feb 2019 04:20:36 +0000 (04:20 +0000)]
Merge "Game Driver: clean up GraphicsEnvironment"

5 years agoAdd NR to preferred network type combination
chen xu [Thu, 31 Jan 2019 08:44:52 +0000 (00:44 -0800)]
Add NR to preferred network type combination

This add NR 5G to preferred network type and move preferredNetworkMode
from SystemApi to hidden api as we are not going to support
preferredNetworMode enum in the future.

Bug: 111453000
Test: build
Change-Id: I08a8f7bf44a62ef109583b82b22f65fd6f89c71d
(cherry picked from commit 8bcdc4cf66e9d654fa31d7c62654ff81ee04cdc6)
Merged-in: I08a8f7bf44a62ef109583b82b22f65fd6f89c71d

5 years agoMerge changes Ib3997487,Ifed8351b
Tarandeep Singh [Tue, 5 Feb 2019 03:56:58 +0000 (03:56 +0000)]
Merge changes Ib3997487,Ifed8351b

* changes:
  Link InsetsController to IME (IME transitons 4/n)
  Send IME control to client

5 years agoMerge "MediaPlayer2: add doc referencing androidx"
TreeHugger Robot [Tue, 5 Feb 2019 03:34:04 +0000 (03:34 +0000)]
Merge "MediaPlayer2: add doc referencing androidx"

5 years agoMerge "Fix AVRCP volume control from UI volume slider"
TreeHugger Robot [Tue, 5 Feb 2019 03:26:26 +0000 (03:26 +0000)]
Merge "Fix AVRCP volume control from UI volume slider"

5 years agoMerge "Remove quickswitch flag toggled by systemui"
TreeHugger Robot [Tue, 5 Feb 2019 03:15:25 +0000 (03:15 +0000)]
Merge "Remove quickswitch flag toggled by systemui"

5 years agoGame Driver: clean up GraphicsEnvironment
Yiwei Zhang [Tue, 5 Feb 2019 01:53:57 +0000 (17:53 -0800)]
Game Driver: clean up GraphicsEnvironment

Bug: 123529932
Test: Build, flash and boot. Verify by installing game driver apk
Change-Id: Id73605125410a2b4054d9179227022e177d20af2

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 agoFormat fixing for ArcTerminationActionFromAvrTest.
Amy [Fri, 27 Jul 2018 22:42:20 +0000 (15:42 -0700)]
Format fixing for ArcTerminationActionFromAvrTest.

Test: atest com.android.server.hdmi
Change-Id: Ie800465adefa3e0c2d2acdbed25f4c03586c2202

5 years agoRemove quickswitch flag toggled by systemui
Matthew Ng [Tue, 5 Feb 2019 00:03:08 +0000 (16:03 -0800)]
Remove quickswitch flag toggled by systemui

Test: manual
Bug: 112934365

Change-Id: Ic17cdba0f4bf301ef366aadd66421c20dfc3495b

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 agoFix AVRCP volume control from UI volume slider
Jean-Michel Trivi [Mon, 4 Feb 2019 23:44:28 +0000 (15:44 -0800)]
Fix AVRCP volume control from UI volume slider

Fix error where volume index rescaling was happening twice in the
  setStreamVolume code path for AVRCP absolute volume code path.

Bug: 123857725
Test: see bug
Change-Id: Iadfa664e6eb6298acf712f02f98b892ad2d36d44

5 years agoMediaPlayer2: add doc referencing androidx
Wei Jia [Mon, 4 Feb 2019 23:39:02 +0000 (15:39 -0800)]
MediaPlayer2: add doc referencing androidx

Test: compiles
Change-Id: I8267c40eae23e3faa188c2cd6b68eb3bb2fd2a9a

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 agoLink InsetsController to IME (IME transitons 4/n)
Tarandeep Singh [Wed, 30 Jan 2019 02:09:15 +0000 (18:09 -0800)]
Link InsetsController to IME (IME transitons 4/n)

With this change, InsetsController.show/hide now links to IME. This also
takes care of animating IME along with other types.
Insets API are reactive i.e. they remain in sync with state of IME.

Test: atest InsetsControllerTest
Test: atest ImeInsetsConsumerTest
Bug: 118118435

Change-Id: Ib3997487bd19351d1d23bc70173fc9bdfd23a704

5 years agoSend IME control to client
Tarandeep Singh [Sat, 12 Jan 2019 02:24:37 +0000 (18:24 -0800)]
Send IME control to client

Sends the IME control to the client by calling
InsetsStateController.onImeTargetChanged.

Furthermore, since the frame we use to calculate the insets isn't
necessarily the surface frame, we also need to pass down the
surface position such that the client can calculate the final
leash position correctly.

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

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