OSDN Git Service
Soonil Nagarkar [Mon, 4 Feb 2019 22:28:45 +0000 (22:28 +0000)]
Merge "Change provider packages API to test all providers"
TreeHugger Robot [Mon, 4 Feb 2019 22:26:42 +0000 (22:26 +0000)]
Merge "Better interpolation and duration for animations"
TreeHugger Robot [Mon, 4 Feb 2019 22:20:19 +0000 (22:20 +0000)]
Merge "Create a default package name for device level events."
Ruslan Tkhakokhov [Mon, 4 Feb 2019 22:12:50 +0000 (22:12 +0000)]
Merge "[Multi-user] Support permission backup for multi-user"
TreeHugger Robot [Mon, 4 Feb 2019 22:10:52 +0000 (22:10 +0000)]
Merge "CamcorderProfiles: Add new camcorder profiles"
TreeHugger Robot [Mon, 4 Feb 2019 22:09:28 +0000 (22:09 +0000)]
Merge "Make RoleManager inject DefaultBrowserProvider into PackageManager."
TreeHugger Robot [Mon, 4 Feb 2019 22:05:25 +0000 (22:05 +0000)]
Merge "Fix HdmiCecLocalDeviceAudioSystem audio status report log"
TreeHugger Robot [Mon, 4 Feb 2019 21:27:50 +0000 (21:27 +0000)]
Merge "Adds mShowCursor to dark-grey list above P"
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"""
TreeHugger Robot [Mon, 4 Feb 2019 21:17:36 +0000 (21:17 +0000)]
Merge "verity: Fix memory leaks"
Marco Nelissen [Mon, 4 Feb 2019 21:10:47 +0000 (21:10 +0000)]
Merge "Remove support for updatable media components in apk"
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
TreeHugger Robot [Mon, 4 Feb 2019 20:49:49 +0000 (20:49 +0000)]
Merge "Update Task surface position when bounds are changed"
TreeHugger Robot [Mon, 4 Feb 2019 20:26:11 +0000 (20:26 +0000)]
Merge "TEST_MAPPING: Remove CtsActivityManagerDeviceSdk25TestCases"
TreeHugger Robot [Mon, 4 Feb 2019 20:14:57 +0000 (20:14 +0000)]
Merge "Fix crash when VulkanSurface is no longer valid"
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
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
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)
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
TreeHugger Robot [Mon, 4 Feb 2019 19:38:42 +0000 (19:38 +0000)]
Merge "Add closing div tag for ContentResolver javadoc" into pi-dev
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
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
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
TreeHugger Robot [Mon, 4 Feb 2019 18:52:57 +0000 (18:52 +0000)]
Merge "Update navigation bar upon change of display density"
TreeHugger Robot [Mon, 4 Feb 2019 18:50:34 +0000 (18:50 +0000)]
Merge "Migrate default browser to use role."
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
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."
Shubang Lu [Mon, 4 Feb 2019 18:47:15 +0000 (18:47 +0000)]
Merge "Implement findAudioReceiverAddress for playback device."
Shubang Lu [Mon, 4 Feb 2019 18:47:15 +0000 (18:47 +0000)]
Merge "Add sendVolumeKeyEvent API to handle forwarding volume key separately."
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
Anil Admal [Mon, 4 Feb 2019 18:19:26 +0000 (18:19 +0000)]
Merge "Do not report GNSS requests from location providers to AppOps"
TreeHugger Robot [Mon, 4 Feb 2019 18:05:32 +0000 (18:05 +0000)]
Merge "Revert "Convert RollbackTest Android.mk to an Android.bp.""
Ned Burns [Mon, 4 Feb 2019 17:57:44 +0000 (17:57 +0000)]
Merge "Track and dump notification lifetime extension"
Nataniel Borges [Mon, 4 Feb 2019 17:45:15 +0000 (17:45 +0000)]
Merge "Allow for different log levels on WM traces"
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."
TreeHugger Robot [Mon, 4 Feb 2019 17:38:33 +0000 (17:38 +0000)]
Merge "Verify config push to launchTaskBehind activities."
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."
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
Philip P. Moltmann [Mon, 4 Feb 2019 17:13:37 +0000 (17:13 +0000)]
Merge "Plumming of perm restore via permission controller"
Valerie Hau [Mon, 4 Feb 2019 16:59:37 +0000 (16:59 +0000)]
Merge "Combining background color transactions"
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
Christine Franks [Mon, 4 Feb 2019 16:39:12 +0000 (16:39 +0000)]
Merge "Add availability query method to TintController"
TreeHugger Robot [Mon, 4 Feb 2019 16:29:21 +0000 (16:29 +0000)]
Merge "Add SystemUI icon pack overlays."
Nadia Benbernou [Mon, 4 Feb 2019 16:18:12 +0000 (16:18 +0000)]
Merge "Add compat for secondary splitscreen window option"
TreeHugger Robot [Mon, 4 Feb 2019 16:09:32 +0000 (16:09 +0000)]
Merge "XmlBlock: Avoid potential NULL dereference"
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
TreeHugger Robot [Mon, 4 Feb 2019 16:01:35 +0000 (16:01 +0000)]
Merge "Add mIsStaged and mCommittedSessionId to RollbackInfo."
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
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
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
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
TreeHugger Robot [Mon, 4 Feb 2019 13:45:45 +0000 (13:45 +0000)]
Merge "Logging getPasswordComplexity events with the calling app package name"
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
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
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
Jorim Jaggi [Mon, 4 Feb 2019 11:54:45 +0000 (11:54 +0000)]
Merge "Apply visibility at the beginning of the animation"
TreeHugger Robot [Mon, 4 Feb 2019 11:05:34 +0000 (11:05 +0000)]
Merge "Make method private to fix checkstyle error."
Dario Freni [Mon, 4 Feb 2019 10:37:23 +0000 (10:37 +0000)]
Merge "Include APEX information in PackageManager dumpsys."
Dario Freni [Mon, 4 Feb 2019 10:34:09 +0000 (10:34 +0000)]
Merge "Add STAGED_SESSION_ prefix to error codes."
Gavin Corkery [Mon, 4 Feb 2019 10:08:00 +0000 (10:08 +0000)]
Merge "Renaming plsCertsNoVerifyOnlyCerts to unsafeGetCertsWithoutVerification."
Olivier Gaillard [Mon, 4 Feb 2019 09:54:37 +0000 (09:54 +0000)]
Merge "Fix a bug with worksource propagation."
Richard Uhler [Mon, 4 Feb 2019 09:44:26 +0000 (09:44 +0000)]
Merge "Factor out common code for APK and APEX backups."
Chalard Jean [Mon, 4 Feb 2019 08:23:07 +0000 (08:23 +0000)]
Merge "[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
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
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
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
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
TreeHugger Robot [Sun, 3 Feb 2019 02:55:26 +0000 (02:55 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:49:37 +0000 (01:49 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:49:34 +0000 (01:49 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:45:21 +0000 (01:45 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:38:13 +0000 (01:38 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:25:38 +0000 (01:25 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:25:35 +0000 (01:25 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Feb 2019 01:21:29 +0000 (01:21 +0000)]
Merge "Import 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
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
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
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
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
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
TreeHugger Robot [Sat, 2 Feb 2019 18:28:30 +0000 (18:28 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 2 Feb 2019 18:10:31 +0000 (18:10 +0000)]
Merge "Import translations. DO NOT MERGE"
Philip P. Moltmann [Sun, 20 Jan 2019 17:01:19 +0000 (09:01 -0800)]
Plumming of perm restore via permission controller
On Android backup restoration first restores and inital state. Then with
the packages getting downloaded the leftover "delayed" backup gets
restored bit by bit.
This currently just created plumming mirroring the previously implemented
behavior.
Bug:
116738135
Test: Built
Change-Id: I528b5f76dfca5bbdc9f69d6402b23b3d2ef11706
TreeHugger Robot [Sat, 2 Feb 2019 18:00:35 +0000 (18:00 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 2 Feb 2019 17:59:37 +0000 (17:59 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 2 Feb 2019 17:46:29 +0000 (17:46 +0000)]
Merge "Import translations. DO NOT MERGE"
Varun Shah [Sat, 2 Feb 2019 17:44:52 +0000 (17:44 +0000)]
Merge "Avoid NPE when Activity Manager calls notifyCleartextNetwork."
TreeHugger Robot [Sat, 2 Feb 2019 17:42:38 +0000 (17:42 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 2 Feb 2019 17:42:16 +0000 (17:42 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 2 Feb 2019 17:32:05 +0000 (17:32 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 2 Feb 2019 17:12:32 +0000 (17:12 +0000)]
Merge "Disable multi-resumed activities for pre-Q app"
Bill Yi [Sat, 2 Feb 2019 16:42:02 +0000 (08:42 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ide9284fa5807304d30659604190b6f1470b8d581
Auto-generated-cl: translation import
Bill Yi [Sat, 2 Feb 2019 16:35:07 +0000 (08:35 -0800)]
Import translations. DO NOT MERGE
Change-Id: Iaac842a1e6ac69e885b14a7d9b6b18b74bbf93cc
Auto-generated-cl: translation import
Bill Yi [Sat, 2 Feb 2019 16:27:57 +0000 (08:27 -0800)]
Import translations. DO NOT MERGE
Change-Id: I2e8669990526c050c97a671f88aba1864cd6d803
Auto-generated-cl: translation import
Bill Yi [Sat, 2 Feb 2019 16:21:02 +0000 (08:21 -0800)]
Import translations. DO NOT MERGE
Change-Id: I5d9ed79b13c8a2af09d6909473ae42a95d8452ad
Auto-generated-cl: translation import
Bill Yi [Sat, 2 Feb 2019 16:14:12 +0000 (08:14 -0800)]
Import translations. DO NOT MERGE
Change-Id: I532c931f8b5eb095d88ad078f2ab1b0ec6cbd0e2
Auto-generated-cl: translation import
Bill Yi [Sat, 2 Feb 2019 16:07:09 +0000 (08:07 -0800)]
Import translations. DO NOT MERGE
Change-Id: I1ff29b7ab0db503616a3b4574b73a507f158f817
Auto-generated-cl: translation import
Bill Yi [Sat, 2 Feb 2019 16:00:08 +0000 (08:00 -0800)]
Import translations. DO NOT MERGE
Change-Id: Iff02b6c96a324737ac64a53dabfe1ed6676611dc
Auto-generated-cl: translation import