OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "WM: Split portrait and landscape status bar size"
TreeHugger Robot [Wed, 28 Feb 2018 23:11:27 +0000 (23:11 +0000)]
Merge "WM: Split portrait and landscape status bar size"

6 years agoMerge "Fix heap buffer overflow"
TreeHugger Robot [Wed, 28 Feb 2018 23:05:09 +0000 (23:05 +0000)]
Merge "Fix heap buffer overflow"

6 years agoMerge "Associate TCconstants with the TCM instead of TCImpl"
TreeHugger Robot [Wed, 28 Feb 2018 22:34:58 +0000 (22:34 +0000)]
Merge "Associate TCconstants with the TCM instead of TCImpl"

6 years agoMerge "Added an api to query ForcedAppStandby state"
TreeHugger Robot [Wed, 28 Feb 2018 22:28:30 +0000 (22:28 +0000)]
Merge "Added an api to query ForcedAppStandby state"

6 years agoMerge "Tag foreground notis that use certain services"
TreeHugger Robot [Wed, 28 Feb 2018 22:09:34 +0000 (22:09 +0000)]
Merge "Tag foreground notis that use certain services"

6 years agoMerge "Toggle READ_BINARY_CPU_TIME"
TreeHugger Robot [Wed, 28 Feb 2018 21:59:47 +0000 (21:59 +0000)]
Merge "Toggle READ_BINARY_CPU_TIME"

6 years agoMerge "Add component ordering"
TreeHugger Robot [Wed, 28 Feb 2018 21:54:03 +0000 (21:54 +0000)]
Merge "Add component ordering"

6 years agoMerge "slice() the ByteBuffer passed to ImageDecoder"
TreeHugger Robot [Wed, 28 Feb 2018 21:22:30 +0000 (21:22 +0000)]
Merge "slice() the ByteBuffer passed to ImageDecoder"

6 years agoMerge "[Companion] Stop scanning after 20sec timeout"
TreeHugger Robot [Wed, 28 Feb 2018 21:18:55 +0000 (21:18 +0000)]
Merge "[Companion] Stop scanning after 20sec timeout"

6 years agoMerge "Merge "Mark EUICC_PROVISIONED as @SystemApi." am: 4b5680b6fa am: 41fa5ff101...
Android Build Merger (Role) [Wed, 28 Feb 2018 20:53:04 +0000 (20:53 +0000)]
Merge "Merge "Mark EUICC_PROVISIONED as @SystemApi." am: 4b5680b6fa am: 41fa5ff101 am: a64db1336d  -s ours"

6 years agoMerge "Mark EUICC_PROVISIONED as @SystemApi." am: 4b5680b6fa am: 41fa5ff101
Holly Jiuyu Sun [Wed, 28 Feb 2018 20:52:39 +0000 (20:52 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi." am: 4b5680b6fa am: 41fa5ff101
am: a64db1336d  -s ours

Change-Id: Icdff2b0bf538f1da59acc7757871e2fa3b01e0e0

6 years agoMerge "Fixes for YuvToJpegEncoder::encode"
Leon Scroggins [Wed, 28 Feb 2018 20:51:43 +0000 (20:51 +0000)]
Merge "Fixes for YuvToJpegEncoder::encode"

6 years agoMerge "Reset bouncer instead of just hiding it"
TreeHugger Robot [Wed, 28 Feb 2018 20:47:32 +0000 (20:47 +0000)]
Merge "Reset bouncer instead of just hiding it"

6 years agoMerge "Mark EUICC_PROVISIONED as @SystemApi." am: 4b5680b6fa
Holly Jiuyu Sun [Wed, 28 Feb 2018 20:38:13 +0000 (20:38 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi." am: 4b5680b6fa
am: 41fa5ff101

Change-Id: Ie737a298f1ab342d571e150be452a9590e623052

6 years agoMerge "Use post-execution state for lifecycle callback sequences"
Andrii Kulian [Wed, 28 Feb 2018 20:29:23 +0000 (20:29 +0000)]
Merge "Use post-execution state for lifecycle callback sequences"

6 years agoMerge "More robust @RequiresPermission handling."
Jeff Sharkey [Wed, 28 Feb 2018 20:29:01 +0000 (20:29 +0000)]
Merge "More robust @RequiresPermission handling."

6 years agoMerge "Mark EUICC_PROVISIONED as @SystemApi."
Holly Jiuyu Sun [Wed, 28 Feb 2018 20:24:08 +0000 (20:24 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi."
am: 4b5680b6fa

Change-Id: I7e3542edd0d092d6b0a7bc10b80b0565dfefda7e

6 years agoMerge "[AWARE] Add target API check to the Responder to ANYONE config"
TreeHugger Robot [Wed, 28 Feb 2018 20:22:59 +0000 (20:22 +0000)]
Merge "[AWARE] Add target API check to the Responder to ANYONE config"

6 years agoMerge "Add APIs to look into whats in an Icon"
Jason Monk [Wed, 28 Feb 2018 20:01:09 +0000 (20:01 +0000)]
Merge "Add APIs to look into whats in an Icon"

6 years agoMerge "deprecate EmbossMaskFilter"
TreeHugger Robot [Wed, 28 Feb 2018 19:55:15 +0000 (19:55 +0000)]
Merge "deprecate EmbossMaskFilter"

6 years agoToggle READ_BINARY_CPU_TIME
Mike Ma [Wed, 28 Feb 2018 19:51:56 +0000 (11:51 -0800)]
Toggle READ_BINARY_CPU_TIME

Test: N/A
Change-Id: I41403c16feffa61dd4e3ae13498ff63b26a1d4b2

6 years agoMerge "Avoid reading logs that were processed before."
TreeHugger Robot [Wed, 28 Feb 2018 19:37:05 +0000 (19:37 +0000)]
Merge "Avoid reading logs that were processed before."

6 years agoMerge "Include slider events from managed profile."
TreeHugger Robot [Wed, 28 Feb 2018 19:33:25 +0000 (19:33 +0000)]
Merge "Include slider events from managed profile."

6 years agoFix heap buffer overflow
Yi Jin [Wed, 28 Feb 2018 19:25:58 +0000 (11:25 -0800)]
Fix heap buffer overflow

Bug: 74000767
Test: manual
Change-Id: Id57674c0ae527da055a06acf4f458c440328c5c3

6 years agoMerge "Allow chaining ImageDecoder's setters"
TreeHugger Robot [Wed, 28 Feb 2018 19:05:29 +0000 (19:05 +0000)]
Merge "Allow chaining ImageDecoder's setters"

6 years agoTag foreground notis that use certain services
Julia Reynolds [Wed, 21 Feb 2018 17:25:27 +0000 (12:25 -0500)]
Tag foreground notis that use certain services

- Draw over other apps
- Camera
- Microphone

The icons are not yet clickable, and the system 'drawing over
other apps' notification still appears even when the app's
notification is tagged.

Test: runtest systemui
Bug: 64085448
Change-Id: Ib3b0cdd9adced82f562f256cb81af80dc395440d

6 years agoMerge "setPreferRamOverQuality -> setConserveMemory"
TreeHugger Robot [Wed, 28 Feb 2018 18:47:03 +0000 (18:47 +0000)]
Merge "setPreferRamOverQuality -> setConserveMemory"

6 years agoMerge "Merge "Delay starting the webview_zygote until first use." am: 6d9d717ab7...
Android Build Merger (Role) [Wed, 28 Feb 2018 18:33:03 +0000 (18:33 +0000)]
Merge "Merge "Delay starting the webview_zygote until first use." am: 6d9d717ab7 am: 99440a0ab8 am: 92697692b3"

6 years agoMerge "Delay starting the webview_zygote until first use." am: 6d9d717ab7 am: 99440a0ab8
Robert Sesek [Wed, 28 Feb 2018 18:32:39 +0000 (18:32 +0000)]
Merge "Delay starting the webview_zygote until first use." am: 6d9d717ab7 am: 99440a0ab8
am: 92697692b3

Change-Id: I4f810427f083d9b7874df7d90fc00a33967d9323

6 years agoMerge "Log app start memory state in background"
TreeHugger Robot [Wed, 28 Feb 2018 18:32:23 +0000 (18:32 +0000)]
Merge "Log app start memory state in background"

6 years agoFixes for YuvToJpegEncoder::encode
Leon Scroggins III [Wed, 28 Feb 2018 18:23:32 +0000 (13:23 -0500)]
Fixes for YuvToJpegEncoder::encode

Bug: 70969260
Test: Existing CTS tests

Call jpeg_destroy_compress after compression (and failure), eliminating
a memory leak.

In addition, use a custom method for handling errors. skjpeg_error_exit
was previously used, but that method expects a skjpeg_error_mgr, which
isn't used here. skjpeg_error_mgr is more complex than necessary; it
allows for multiple methods to set their own jmp_bufs, even if they call
each other. The entire compression here is contained in one method. The
code for handling this single jmp_buf is simple, so no need to share
code.

This is a follow-on to If9a33ed10ea60131906a632a7030e0b69a21f4ea, which
removed skjpeg_error_mgr, but incorrectly left the skjpeg_error_exit.

Change-Id: Ib76e07ae0d29b093d3709f60e427b18e0e32bd9d

6 years agoMerge "Update Slice.Builder#addInt javadoc."
TreeHugger Robot [Wed, 28 Feb 2018 18:23:47 +0000 (18:23 +0000)]
Merge "Update Slice.Builder#addInt javadoc."

6 years ago[AWARE] Add target API check to the Responder to ANYONE config
Etan Cohen [Thu, 22 Feb 2018 23:54:20 +0000 (15:54 -0800)]
[AWARE] Add target API check to the Responder to ANYONE config

Responder to ANYONE was deprecated for API >= P. But the manager
code did not check for target API - i.e. even older apps would have
been rejected. Added the target API check to the manager code.

Bug: 72175022
Test: unit test + integration tests
Change-Id: I52e0c877e0af0756816b5b13e42f432504461e20

6 years agoMerge "Mark EUICC_PROVISIONED as @SystemApi."
Holly Jiuyu Sun [Wed, 28 Feb 2018 18:18:04 +0000 (18:18 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi."

6 years agoMerge "Delay starting the webview_zygote until first use." am: 6d9d717ab7
Robert Sesek [Wed, 28 Feb 2018 18:16:43 +0000 (18:16 +0000)]
Merge "Delay starting the webview_zygote until first use." am: 6d9d717ab7
am: 99440a0ab8

Change-Id: Icf9297f730bc4fa779d989eccc05e436c5d463b6

6 years agoMerge "Delay starting the webview_zygote until first use."
Robert Sesek [Wed, 28 Feb 2018 18:07:09 +0000 (18:07 +0000)]
Merge "Delay starting the webview_zygote until first use."
am: 6d9d717ab7

Change-Id: I7a2c485fcf04a5728081f99610435a970dc4bb1b

6 years agoReset bouncer instead of just hiding it
Lucas Dupin [Tue, 27 Feb 2018 19:32:16 +0000 (11:32 -0800)]
Reset bouncer instead of just hiding it

We can't just hide the view because the state should
be propagated to other parts of the system.

Test: show bouncer, launch camera
Change-Id: I76bb316a117d9a017b55d56a0e0750586e4f81fa
Fixes: 73905701

6 years agoAdd component ordering
Todd Kennedy [Thu, 22 Feb 2018 22:15:18 +0000 (14:15 -0800)]
Add component ordering

When multiple activities match the same Intent, allow app developers
to reorder matched results within their own application. This is not
a replacement for priority which reorders matched results between
applications.

Change-Id: I12ee987622e12e40d6b5b48f616cc362d01381de
Fixes: 64582537
Test: atest -it CtsAppSecurityHostTestCases:PackageResolutionHostTest

6 years agoMerge "Make "am kill" actually support --user all"
TreeHugger Robot [Wed, 28 Feb 2018 17:15:30 +0000 (17:15 +0000)]
Merge "Make "am kill" actually support --user all"

6 years agoMerge "frameworks/base: Set LOCAL_SDK_VERSION where possible."
Anton Hansson [Wed, 28 Feb 2018 17:09:04 +0000 (17:09 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible."

6 years agoMerge "Revert "Update A11y action serialization to use longs""
TreeHugger Robot [Wed, 28 Feb 2018 17:08:47 +0000 (17:08 +0000)]
Merge "Revert "Update A11y action serialization to use longs""

6 years agoMerge "Use the proper API to get managed profile user drawable"
TreeHugger Robot [Wed, 28 Feb 2018 17:03:20 +0000 (17:03 +0000)]
Merge "Use the proper API to get managed profile user drawable"

6 years agoBetter Override APN javadoc.
yuemingw [Mon, 26 Feb 2018 14:25:35 +0000 (14:25 +0000)]
Better Override APN javadoc.

Add explanation for the possible failure reasons of
addOverrideApn, updateOverrideApn and removeOverrideApn.

Bug: 73750993
Test: test not required

Change-Id: Ic3493043fe6e5fedea006118bfc8dab7219d03ab

6 years agoMerge "MediaPlayerBase API"
TreeHugger Robot [Wed, 28 Feb 2018 16:36:23 +0000 (16:36 +0000)]
Merge "MediaPlayerBase API"

6 years agoLog app start memory state in background
Ng Zhi An [Tue, 20 Feb 2018 17:02:14 +0000 (09:02 -0800)]
Log app start memory state in background

Bug: 73379331
Test: refactoring, unit tests pass
adb logcat -b events | grep "319,"
adb logcat -b stats | grep "55,"

Change-Id: Id959b1b6ce547b9155c72e6734a32b54a2d3a64a

6 years agoMerge "Revert "Elevate remote/recents animation priority""
TreeHugger Robot [Wed, 28 Feb 2018 16:25:31 +0000 (16:25 +0000)]
Merge "Revert "Elevate remote/recents animation priority""

6 years agoMerge "Remove repackaged.android.test.mock"
TreeHugger Robot [Wed, 28 Feb 2018 16:04:20 +0000 (16:04 +0000)]
Merge "Remove repackaged.android.test.mock"

6 years agoMerge "Delay starting the webview_zygote until first use."
Treehugger Robot [Wed, 28 Feb 2018 16:02:58 +0000 (16:02 +0000)]
Merge "Delay starting the webview_zygote until first use."

6 years agoMerge "Ignores resolution if installer is disabled"
TreeHugger Robot [Wed, 28 Feb 2018 15:45:25 +0000 (15:45 +0000)]
Merge "Ignores resolution if installer is disabled"

6 years agoMerge "Check the given CertPath against the root of trust during recovery"
Bo Zhu [Wed, 28 Feb 2018 15:14:49 +0000 (15:14 +0000)]
Merge "Check the given CertPath against the root of trust during recovery"

6 years agoframeworks/base: Set LOCAL_SDK_VERSION where possible.
Anton Hansson [Fri, 23 Feb 2018 12:57:51 +0000 (12:57 +0000)]
frameworks/base: Set LOCAL_SDK_VERSION where possible.

This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841
Change-Id: I4233b9091d9066c4fa69f3d24aaf367ea500f760

6 years agoUse the proper API to get managed profile user drawable
Tony Mak [Wed, 28 Feb 2018 14:59:31 +0000 (14:59 +0000)]
Use the proper API to get managed profile user drawable

FIX: 73997367

Test: Go to settings -> Storage, observes the icon change.

Change-Id: I60153b31adf1175aea4cdf960d5094a89e8bc6b9

6 years agoRevert "Update A11y action serialization to use longs"
Artem Iglikov [Wed, 28 Feb 2018 15:07:31 +0000 (15:07 +0000)]
Revert "Update A11y action serialization to use longs"

This reverts commit 54549163b09e78396d6998172437b52a5cb7a042.

Reason for revert: breaks tests, b/73997494

Bug: 73997494
Change-Id: I122c260898277d876c019554cb92351ac13a9eb0

6 years agoAssociate TCconstants with the TCM instead of TCImpl
Abodunrinwa Toki [Mon, 26 Feb 2018 21:37:51 +0000 (21:37 +0000)]
Associate TCconstants with the TCM instead of TCImpl

Also updates flags list.

Bug: 72946306
Bug: 72946123
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationConstantsTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Change-Id: I8af9d3d1da01836fbadcbbf6ce7c1c0db7456a05

6 years agoMerge "Bmgr about running backups"
TreeHugger Robot [Wed, 28 Feb 2018 14:26:34 +0000 (14:26 +0000)]
Merge "Bmgr about running backups"

6 years agoMerge "Add short term model reset threshold"
TreeHugger Robot [Wed, 28 Feb 2018 14:24:52 +0000 (14:24 +0000)]
Merge "Add short term model reset threshold"

6 years agoMerge "Merge "Don't use cutils/Atomic.h" am: 07735797a2 am: a272d540d8 am: 0f4ca4a5c0"
Android Build Merger (Role) [Wed, 28 Feb 2018 14:14:22 +0000 (14:14 +0000)]
Merge "Merge "Don't use cutils/Atomic.h" am: 07735797a2 am: a272d540d8 am: 0f4ca4a5c0"

6 years agoMerge "Implement QS spec."
TreeHugger Robot [Wed, 28 Feb 2018 14:14:16 +0000 (14:14 +0000)]
Merge "Implement QS spec."

6 years agoMerge "Don't use cutils/Atomic.h" am: 07735797a2 am: a272d540d8
Steven Moreland [Wed, 28 Feb 2018 14:13:52 +0000 (14:13 +0000)]
Merge "Don't use cutils/Atomic.h" am: 07735797a2 am: a272d540d8
am: 0f4ca4a5c0

Change-Id: I4b9798b39d890537f888415b5ac283227970e4de

6 years agoRevert "Elevate remote/recents animation priority"
Jorim Jaggi [Wed, 28 Feb 2018 14:03:08 +0000 (14:03 +0000)]
Revert "Elevate remote/recents animation priority"

This reverts commit 574aea0f1b073889186a82c94a991cc746b1c58c.

Reason for revert: Crashes sometimes (chaselist issue)

Change-Id: I1440ef7a002e85c3e020d424f13073ca2516dd9c
Fixes: 73991490

6 years agoMerge "Don't use cutils/Atomic.h" am: 07735797a2
Steven Moreland [Wed, 28 Feb 2018 14:01:17 +0000 (14:01 +0000)]
Merge "Don't use cutils/Atomic.h" am: 07735797a2
am: a272d540d8

Change-Id: Ie442c255e43f2ebe80ef5423aa4508930d72c44c

6 years agoMerge "Use putIntForUser to turn off ambient display secure settings"
TreeHugger Robot [Wed, 28 Feb 2018 13:54:25 +0000 (13:54 +0000)]
Merge "Use putIntForUser to turn off ambient display secure settings"

6 years agoMerge "Don't use cutils/Atomic.h"
Steven Moreland [Wed, 28 Feb 2018 13:51:44 +0000 (13:51 +0000)]
Merge "Don't use cutils/Atomic.h"
am: 07735797a2

Change-Id: Ie56fadea498f35c7e820f9fadac1b64697565a78

6 years agoMerge "More tests for ActiveRestoreSession - 2"
Bernardo Rufino [Wed, 28 Feb 2018 13:49:26 +0000 (13:49 +0000)]
Merge "More tests for ActiveRestoreSession - 2"

6 years agoMerge "Remove @removed from APIs still in use"
TreeHugger Robot [Wed, 28 Feb 2018 13:43:36 +0000 (13:43 +0000)]
Merge "Remove @removed from APIs still in use"

6 years agoMerge "Don't use cutils/Atomic.h"
Treehugger Robot [Wed, 28 Feb 2018 12:37:50 +0000 (12:37 +0000)]
Merge "Don't use cutils/Atomic.h"

6 years agoBmgr about running backups
Bernardo Rufino [Wed, 28 Feb 2018 12:10:18 +0000 (12:10 +0000)]
Bmgr about running backups

Says that backups can be canceled if one already running. Put message
for running backups in dumpsys for checking.

Bug: 72484277
Test: Triggered backup, checked dumpsys and bmgr backupnow
Change-Id: I028cf663858e374389f50175aaf5a3e8c9d45e42

6 years agoAdd short term model reset threshold
Dan Gittik [Thu, 22 Feb 2018 13:53:47 +0000 (13:53 +0000)]
Add short term model reset threshold

Add a threshold to prevent user birghtness adjustments from reseting
without a drastic enough change in the ambient light, and some minor
refactoring

Test: manually adjust brightness; turn screen off for 30 seconds;
      turn screen back on; brightness shouldn't change
Test: manually adjust brightness; turn screen off for 30 seconds;
      cover light sensor; turn screen back on; brightness should change

Make short term model reset decision only happen once, and change its
threshold to be relative

Test: same as before

Minor refactoring

Test: same as before
Fixes: 72734580

Change-Id: I724e88ddb79a55cadb547463d73131028bb57825

6 years agoMerge "Notify the user and turn off tethering when the service is disallowed." am...
Alexandru-Andrei Rotaru [Wed, 28 Feb 2018 11:40:00 +0000 (11:40 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." am: e8b557bc08  -s ours am: 5217a34008  -s ours
am: 49b368b447  -s ours

Change-Id: If888f1000209f015dc097b616c64d626848d4402

6 years agoMerge "Notify the user and turn off tethering when the service is disallowed." am...
Alexandru-Andrei Rotaru [Wed, 28 Feb 2018 11:25:14 +0000 (11:25 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." am: e8b557bc08  -s ours
am: 5217a34008  -s ours

Change-Id: I6672cd7a23ee7c6b5d384fae7111be2948f59e45

6 years agoMerge "Notify the user and turn off tethering when the service is disallowed."
Alexandru-Andrei Rotaru [Wed, 28 Feb 2018 11:11:39 +0000 (11:11 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed."
am: e8b557bc08  -s ours

Change-Id: I2a1805375252b56209ac9d18da0f1771f5b6187b

6 years agoMore tests for ActiveRestoreSession - 2
Bernardo Rufino [Wed, 28 Feb 2018 11:05:18 +0000 (11:05 +0000)]
More tests for ActiveRestoreSession - 2

Around restorePackage().

Test: m - j RunFrameworksServicesRoboTests
Change-Id: I291d899d5bb786a1d394e758698418718d6c4d9b

6 years agoUse putIntForUser to turn off ambient display secure settings
Alex Chau [Wed, 28 Feb 2018 10:47:48 +0000 (10:47 +0000)]
Use putIntForUser to turn off ambient display secure settings

- Without forUser we'll be turning off ambient display in primary user instead

Test: Use TestDPC to set DISALLOW_AMBIENT_DISPLAY in secondary users, ambient display is actually turned off
Bug: 72487689
Change-Id: I11a7a5304fcc609ab37594ad5d28814c217bc7f5

6 years agoMerge "Unhide VideoView2 APIs"
TreeHugger Robot [Wed, 28 Feb 2018 10:43:38 +0000 (10:43 +0000)]
Merge "Unhide VideoView2 APIs"

6 years agoRemove @removed from APIs still in use
Robert Berry [Wed, 28 Feb 2018 10:14:24 +0000 (10:14 +0000)]
Remove @removed from APIs still in use

I completely misunderstood this annotation.

Bug: 73962883
Test: ran unit tests
Change-Id: Id3e3863fc6fd1e0614a3c75d25cd35239667eaf0

6 years agoMerge "Unhide MediaControlView2 APIs"
TreeHugger Robot [Wed, 28 Feb 2018 10:28:25 +0000 (10:28 +0000)]
Merge "Unhide MediaControlView2 APIs"

6 years agoMerge "Allow restoring of apps that rotated key"
Michal Karpinski [Wed, 28 Feb 2018 10:08:14 +0000 (10:08 +0000)]
Merge "Allow restoring of apps that rotated key"

6 years agoMerge "Notify the user and turn off tethering when the service is disallowed."
Treehugger Robot [Wed, 28 Feb 2018 10:03:02 +0000 (10:03 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed."

6 years agoNotify the user and turn off tethering when the service is disallowed.
Alexandru-Andrei Rotaru [Tue, 18 Jul 2017 15:49:22 +0000 (16:49 +0100)]
Notify the user and turn off tethering when the service is disallowed.

Added UserRestrinctionListener for turning the service off one the
DISALLOW_CONFIG_TETHERING is on into Tethering.  Added notification
about
tethering being turned off. Also added Unit Tests to test the
functionality
of the UserRestrictionListener added.

Bug: 27936525
Test: Turn the tehering service on (either wifi, usb or bluetooth).
Automatically the system should send a notification about the service
being active.Close settings from recents. From TestDPC User Restrictions
switch on DISALLOW_CONFIG_TETHERING. The tethering should be turned off
and a notification should appear informing that the service is inactive.

Merged-In: Ib7ea8885cedc2a842ebd4487c8b366a6666996bc
Change-Id: I4a57137a7ad592ca186d9508d5cc2fad3f1bc985

6 years agoUnhide VideoView2 APIs
Insun Kang [Wed, 24 Jan 2018 06:56:37 +0000 (15:56 +0900)]
Unhide VideoView2 APIs

Test: make update-api
Bug: 64293205
Change-Id: Ie57e3ea78dd623fc095c1ad5f270f3b97320f155

6 years agoMerge "Merge "Add OEM_PAID network capability" am: 4c00edd361 am: 7b87c2050c am:...
Android Build Merger (Role) [Wed, 28 Feb 2018 08:42:50 +0000 (08:42 +0000)]
Merge "Merge "Add OEM_PAID network capability" am: 4c00edd361 am: 7b87c2050c am: 3b7de55419"

6 years agoMerge "Add OEM_PAID network capability" am: 4c00edd361 am: 7b87c2050c
Pavel Maltsev [Wed, 28 Feb 2018 08:42:24 +0000 (08:42 +0000)]
Merge "Add OEM_PAID network capability" am: 4c00edd361 am: 7b87c2050c
am: 3b7de55419

Change-Id: Id64d288764dc5a556b60f5e3b866b40792647ac0

6 years agoMerge "Change PreferenceController#getSummary return type."
TreeHugger Robot [Wed, 28 Feb 2018 08:40:29 +0000 (08:40 +0000)]
Merge "Change PreferenceController#getSummary return type."

6 years agoMerge "Add OEM_PAID network capability" am: 4c00edd361
Pavel Maltsev [Wed, 28 Feb 2018 08:28:25 +0000 (08:28 +0000)]
Merge "Add OEM_PAID network capability" am: 4c00edd361
am: 7b87c2050c

Change-Id: Ie0377fea66f784c910bd0a06f87543cc5cf82c84

6 years agoMerge "Add OEM_PAID network capability"
Pavel Maltsev [Wed, 28 Feb 2018 08:14:48 +0000 (08:14 +0000)]
Merge "Add OEM_PAID network capability"
am: 4c00edd361

Change-Id: I2fb8825bc1038783ef45907846b52192b6fe5d18

6 years agoCheck the given CertPath against the root of trust during recovery
Bo Zhu [Wed, 28 Feb 2018 07:52:19 +0000 (23:52 -0800)]
Check the given CertPath against the root of trust during recovery

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

Change-Id: I28893d815c57260c4d0f0d55d252bff5d34d4832

6 years agoUse post-execution state for lifecycle callback sequences
Andrii Kulian [Wed, 14 Feb 2018 21:48:56 +0000 (13:48 -0800)]
Use post-execution state for lifecycle callback sequences

onActivityResult callback should always be executed before onResume.
If an activity is in the process of starting or creation, it can be
executed after onStart. If an activity was already resumed, then we
should pause it first, execute onActivityResult, then resume again.
So there are two valid pre-execute states - onStart and onPause.

For cases like the one described above this CL uses post-execution
state to identify valid pre-execute states and will try to use the
one that is closer to the current activity state during execution.

It also moves activity result and new intent callbacks into the same
transaction as the resumed state request, so that all changes can be
handled appropriately on the client side.

Bug: 72547861
Bug: 73348613
Test: TransactionExecutorTests
Test: ActivityLifecycleTests
Change-Id: I0af457d305c73a640040b8b7aee46dbbdfa6038f

6 years agoMerge "Revert "Small fixes to StatsManager API.""
Maurice Lam [Wed, 28 Feb 2018 07:20:36 +0000 (07:20 +0000)]
Merge "Revert "Small fixes to StatsManager API.""

6 years agoMerge "Add OEM_PAID network capability"
Treehugger Robot [Wed, 28 Feb 2018 07:06:00 +0000 (07:06 +0000)]
Merge "Add OEM_PAID network capability"

6 years agoMediaPlayerBase API
Jean-Michel Trivi [Wed, 28 Feb 2018 04:09:10 +0000 (20:09 -0800)]
MediaPlayerBase API

Define as an abstract class the high level interface for
  media players. Consumers are MediaSession2, providers
  are MediaPlayer2, which will extend this class.

Bug: 64098437
Test: to be in MediaPlayer2 tests once it extends MPB
Change-Id: Id0d0fcb6d1b377a0e05a4a8e3d659e12a58fc45e

6 years agoMerge "Dynamics Processing Effect"
TreeHugger Robot [Wed, 28 Feb 2018 06:19:35 +0000 (06:19 +0000)]
Merge "Dynamics Processing Effect"

6 years agoMerge "Don't throw exception if phone process is dead for carrier ID APIs" am: 8c3295...
fionaxu [Wed, 28 Feb 2018 05:14:07 +0000 (05:14 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs" am: 8c32954906 am: 0713fcf66d
am: 9af710c587  -s ours

Change-Id: I9361259e27ffea1ec358323f57cc4681c7c5e991

6 years agoUnhide MediaControlView2 APIs
Jin Seok Park [Wed, 24 Jan 2018 07:46:44 +0000 (16:46 +0900)]
Unhide MediaControlView2 APIs

Test: make update-api
Bug: 64293205
Change-Id: Ia202a7fc1f8733cc2d95d13e7126916affe4f52e

6 years agoMerge "Don't throw exception if phone process is dead for carrier ID APIs" am: 8c32954906
fionaxu [Wed, 28 Feb 2018 05:03:13 +0000 (05:03 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs" am: 8c32954906
am: 0713fcf66d

Change-Id: Iacf464a898da538795152135b0c40cd648bbdf7d

6 years agoMark EUICC_PROVISIONED as @SystemApi.
Holly Jiuyu Sun [Thu, 22 Feb 2018 04:34:22 +0000 (20:34 -0800)]
Mark EUICC_PROVISIONED as @SystemApi.

Bug: 35851809
Test: test on phone
Merged-In: I1627aeaf6846e889767fb4223c46fa278a751b23
Change-Id: I1627aeaf6846e889767fb4223c46fa278a751b23

6 years agoMerge "Modify shouldProcessCall API to remove redundancy" am: 59391aa4a0 am: 8f2c2ca09a
Brad Ebinger [Wed, 28 Feb 2018 04:59:52 +0000 (04:59 +0000)]
Merge "Modify shouldProcessCall API to remove redundancy" am: 59391aa4a0 am: 8f2c2ca09a
am: 27617a9894

Change-Id: Id4638c9126cce687bb4513731be2aeb962b2250d

6 years agoMerge "Add the option to match a whitelist of strings in FieldValueMatcher."
TreeHugger Robot [Wed, 28 Feb 2018 04:50:17 +0000 (04:50 +0000)]
Merge "Add the option to match a whitelist of strings in FieldValueMatcher."

6 years agoMerge "Add documentation for SECRET_CODE_ACTION according to API review process....
Cassie [Wed, 28 Feb 2018 04:47:16 +0000 (04:47 +0000)]
Merge "Add documentation for SECRET_CODE_ACTION according to API review process." am: e6691d8e89 am: f29d208045
am: 9f373ee378

Change-Id: I9dcb76126e9cb06a7967f3f003b78fe605b69167

6 years agoMerge "Modify shouldProcessCall API to remove redundancy" am: 59391aa4a0
Brad Ebinger [Wed, 28 Feb 2018 04:46:13 +0000 (04:46 +0000)]
Merge "Modify shouldProcessCall API to remove redundancy" am: 59391aa4a0
am: 8f2c2ca09a

Change-Id: Id4762516cce2f6f902542d0b15195e9531c2eda4

6 years agoMerge "Don't throw exception if phone process is dead for carrier ID APIs"
fionaxu [Wed, 28 Feb 2018 04:45:25 +0000 (04:45 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs"
am: 8c32954906

Change-Id: Ia770310f6135df041bc1d84b09cfbdcda1debd2f