OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 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 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 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."

5 years agoMerge "[KA02] internal cleanup and refactor for SocketKeepalive"
Chalard Jean [Mon, 4 Feb 2019 08:23:07 +0000 (08:23 +0000)]
Merge "[KA02] internal cleanup and refactor for SocketKeepalive"

5 years ago[KA02] internal cleanup and refactor for SocketKeepalive
junyulai [Thu, 3 Jan 2019 10:50:15 +0000 (18:50 +0800)]
[KA02] internal cleanup and refactor for SocketKeepalive

In previous change, the new SocketKeepalive API was exported.
But internally, old PacketKeepalive names and structures are
still used.

This change rename them properly for code consistency and also
refactor KeepalivePacketData to support different types of
KeepalivePacketData.

(clean cherry-pick from aosp/860394)

Bug: 114151147
Test: 1. atest FrameworksNetTests
      2. atest FrameworksWifiTests
      3. atest FrameworksTelephonyTests

Change-Id: Ia9917d12987e91e87e34ffb3f126e7bc7c9c187e

5 years agoAdd tests for window decor caption and fix a flaky test
Yunfan Chen [Thu, 31 Jan 2019 09:38:45 +0000 (18:38 +0900)]
Add tests for window decor caption and fix a flaky test

We introduced display windowing mode and freeform policy to our decor
view handling. The tests are unit tests to make sure the
WindowConfiguration has the correct return value of
hasWindowDecorCaption with the new conditions.

The WindowConfigurationTests was flaky because the AppBounds root
configuration now should consider the cutout and the test expected
result doesn't. This patch also fixed it.

Test: atest WindowConfigurationTests
Bug: 123425316
Bug: 74078662
Change-Id: I5c7f4484b240f9a2bf9d18e9414b8201dc4c0ec3

5 years agoAdd System Audio Mode Status handler to update sam status
Amy [Sat, 26 Jan 2019 01:04:07 +0000 (17:04 -0800)]
Add System Audio Mode Status handler to update sam status

Note that we send out Give System Audio Mode message to potential audio
system device to trigger responce. If no responce, we set sam false.

Test: atest com.android.server.hdmi
Bug: 123369653
Change-Id: I7b54f7d54ff40d3abe0f5e4201fafbf8a05f54db

5 years agoAdd setSystemAudioMode handler to update isSystemAudioModeActivated.
Amy [Fri, 25 Jan 2019 22:47:06 +0000 (14:47 -0800)]
Add setSystemAudioMode handler to update isSystemAudioModeActivated.

Test: atest com.android.server.hdmi
Bug: 123369653
Change-Id: I03349499236d32e4bf14ec89fe4a79046e8056fb

5 years agoMigrate systemAudioActivated to HdmiControlService
Amy [Fri, 25 Jan 2019 03:06:57 +0000 (19:06 -0800)]
Migrate systemAudioActivated to HdmiControlService

Note that for all the devices that connected to the same HDMI system,
their System Audio Mode should be the same. So for devices that share
the same physical address, they should be able to share this status in
HdmiControlService. It's also easier for framework to set and get the
status.

Test: manul
Bug: 123369653
Change-Id: Id42995fb2c4687e71d98f431c2cc6a9ff9b53737

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 02:55:26 +0000 (02:55 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:49:37 +0000 (01:49 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:49:34 +0000 (01:49 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:45:21 +0000 (01:45 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:38:13 +0000 (01:38 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:25:38 +0000 (01:25 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:25:35 +0000 (01:25 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:21:29 +0000 (01:21 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 2 Feb 2019 22:26:51 +0000 (14:26 -0800)]
Import translations. DO NOT MERGE

Change-Id: I2af7b078ad48ac1f68aec26dd682ddcf04628673
Auto-generated-cl: translation import

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 2 Feb 2019 22:19:25 +0000 (14:19 -0800)]
Import translations. DO NOT MERGE

Change-Id: I8634898190413904bb0e5d5aa93b0233f0a68c6d
Auto-generated-cl: translation import

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 2 Feb 2019 20:17:08 +0000 (12:17 -0800)]
Import translations. DO NOT MERGE

Change-Id: I7fda2af86593c821eac93bada8680b3dd42290be
Auto-generated-cl: translation import

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 2 Feb 2019 20:10:07 +0000 (12:10 -0800)]
Import translations. DO NOT MERGE

Change-Id: I3338c97d19fbd65e5eaeaa96af0f238c5e312669
Auto-generated-cl: translation import

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 2 Feb 2019 20:02:52 +0000 (12:02 -0800)]
Import translations. DO NOT MERGE

Change-Id: I1403e72dca3bae01052d55eca57f4af4194cb87a
Auto-generated-cl: translation import

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 2 Feb 2019 19:55:48 +0000 (11:55 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ide3e6ed6300254de66ca459b1012104592ca6db7
Auto-generated-cl: translation import

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 2 Feb 2019 18:28:30 +0000 (18:28 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 2 Feb 2019 18:10:31 +0000 (18:10 +0000)]
Merge "Import translations. DO NOT MERGE"