OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "idmap2: move commands to Result<Unit>"
TreeHugger Robot [Wed, 20 Mar 2019 13:58:07 +0000 (13:58 +0000)]
Merge "idmap2: move commands to Result<Unit>"

5 years agoMerge "Add notification opPkg to logs"
Julia Reynolds [Wed, 20 Mar 2019 12:36:37 +0000 (12:36 +0000)]
Merge "Add notification opPkg to logs"

5 years agoMerge "Revert "Add Foldable feature flag""
TreeHugger Robot [Wed, 20 Mar 2019 12:22:17 +0000 (12:22 +0000)]
Merge "Revert "Add Foldable feature flag""

5 years agoRevert "Add Foldable feature flag"
Sam Lin [Wed, 20 Mar 2019 04:05:03 +0000 (04:05 +0000)]
Revert "Add Foldable feature flag"

This reverts commit 821f43aa64a32a608883db8ae25c78a59631ce6d.

Reason for revert: better fit:
- restrict the Package Manager feature flags to features for which the app developer would need to "target"
- typically hardware types should be mutually exclusive to each other

Bug: 124406307
Test: make checkbuild
Change-Id: Ie247a21eb8bbc83efad833ca8db675fd11e7ea4e

5 years ago[automerger skipped] Merge changes from topic "framework-no-networkstack-aidl" am...
Lorenzo Colitti [Wed, 20 Mar 2019 11:03:21 +0000 (04:03 -0700)]
[automerger skipped] Merge changes from topic "framework-no-networkstack-aidl" am: 74867d1661 am: be2028471f
am: ed6c130647 -s ours
am skip reason: change_id I74531ef11d504b232d4f377532d5e0812dbc88db with SHA1 59d474b3c2 is in history

Change-Id: I694f5e54fba6ddc7a9f486b09ddaeaf54d50e9d1

5 years ago[automerger skipped] Move TcpKeepalivePacketData out of the framework. am: a3f811a547...
Lorenzo Colitti [Wed, 20 Mar 2019 10:55:40 +0000 (03:55 -0700)]
[automerger skipped] Move TcpKeepalivePacketData out of the framework. am: a3f811a547 am: bc1d9ded1a
am: aa597216e3 -s ours
am skip reason: change_id Ib2805f7fcc516a5f6989c252365d1c95b8042703 with SHA1 27e59c575c is in history

Change-Id: I844cf9813437afda3c835b087607a5ef2b38dc42

5 years ago[automerger skipped] Stop using netd parcelables in the framework. am: b90ad24f99...
Lorenzo Colitti [Wed, 20 Mar 2019 10:49:36 +0000 (03:49 -0700)]
[automerger skipped] Stop using netd parcelables in the framework. am: b90ad24f99 am: faa074ebbe
am: d5d9507572 -s ours
am skip reason: change_id I027d50ba56091f5558f45e6e08f32e5912b2a82a with SHA1 cc7f1db970 is in history

Change-Id: Iafb073f81f528a0bf3ec750a348ea7ada190e245

5 years agoMerge changes from topic "framework-no-networkstack-aidl" am: 74867d1661
Lorenzo Colitti [Wed, 20 Mar 2019 10:38:52 +0000 (03:38 -0700)]
Merge changes from topic "framework-no-networkstack-aidl" am: 74867d1661
am: be2028471f

Change-Id: Ie5e1e5fce574ca993b1ec2a998f49f9201c59b4d

5 years agoMove TcpKeepalivePacketData out of the framework. am: a3f811a547
Lorenzo Colitti [Wed, 20 Mar 2019 10:32:50 +0000 (03:32 -0700)]
Move TcpKeepalivePacketData out of the framework. am: a3f811a547
am: bc1d9ded1a

Change-Id: I5f90bdf3993c472f5564164e17106d2a59233656

5 years agoStop using netd parcelables in the framework. am: b90ad24f99
Lorenzo Colitti [Wed, 20 Mar 2019 10:28:08 +0000 (03:28 -0700)]
Stop using netd parcelables in the framework. am: b90ad24f99
am: faa074ebbe

Change-Id: I5a8e45d669f36dfdc67b9f9533d0ff6a24e8f27c

5 years agoMerge changes from topic "framework-no-networkstack-aidl"
Lorenzo Colitti [Wed, 20 Mar 2019 10:18:47 +0000 (03:18 -0700)]
Merge changes from topic "framework-no-networkstack-aidl"
am: 74867d1661

Change-Id: I13ba3cb016a63353cfa62a61106d16e30eff0076

5 years agoMerge "Require a foreground service of a specific type to start media projection."
Narayan Kamath [Wed, 20 Mar 2019 10:18:05 +0000 (10:18 +0000)]
Merge "Require a foreground service of a specific type to start media projection."

5 years agoMove TcpKeepalivePacketData out of the framework.
Lorenzo Colitti [Wed, 20 Mar 2019 10:11:11 +0000 (03:11 -0700)]
Move TcpKeepalivePacketData out of the framework.
am: a3f811a547

Change-Id: I7657e6827299ad398bc16bc792150fd901226b4d

5 years agoStop using netd parcelables in the framework.
Lorenzo Colitti [Wed, 20 Mar 2019 10:03:27 +0000 (03:03 -0700)]
Stop using netd parcelables in the framework.
am: b90ad24f99

Change-Id: Ic4ac445c582ff8b55d253d99de6750d250e9d9e5

5 years agoMerge changes from topic "framework-no-networkstack-aidl"
Lorenzo Colitti [Wed, 20 Mar 2019 09:45:37 +0000 (09:45 +0000)]
Merge changes from topic "framework-no-networkstack-aidl"

* changes:
  Remove the framework dependency on netd_aidl_parcelables-java.
  Move TcpKeepalivePacketData out of the framework.
  Stop using netd parcelables in the framework.

5 years agoMerge "Only allow rollback to be enabled on modules."
Richard Uhler [Wed, 20 Mar 2019 09:40:13 +0000 (09:40 +0000)]
Merge "Only allow rollback to be enabled on modules."

5 years agoMerge "Grant record audio permission to SystemCaptionsService instead of ContentCaptu...
Nadav Bar [Wed, 20 Mar 2019 08:00:52 +0000 (08:00 +0000)]
Merge "Grant record audio permission to SystemCaptionsService instead of ContentCaptureService"

5 years agoMerge "Fix the problem of CaptivePortalLogin app cannot show SSL error page" am:...
Lucas Lin [Wed, 20 Mar 2019 07:41:19 +0000 (00:41 -0700)]
Merge "Fix the problem of CaptivePortalLogin app cannot show SSL error page" am: 1a80ff943d am: 4e7830d866
am: 0f05c2a7c1

Change-Id: I6e0b3c5ab67449d11b1e4c0be0d16c322ae380f0

5 years agoMerge "[automerger skipped] Merge "Renamed NetworkRegistrationState to NetworkRegistr...
Android Build Merger (Role) [Wed, 20 Mar 2019 07:27:23 +0000 (07:27 +0000)]
Merge "[automerger skipped] Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo" am: 936c536bba am: 55e73c27a8 am: dc025370cd -s ours am skip reason: change_id I8af36b388182ab08257b64c37078f156d4821709 with SHA1 e27d3fde88 is in history"

5 years ago[automerger skipped] Merge "Renamed NetworkRegistrationState to NetworkRegistrationIn...
Jack Yu [Wed, 20 Mar 2019 07:25:29 +0000 (00:25 -0700)]
[automerger skipped] Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo" am: 936c536bba am: 55e73c27a8
am: dc025370cd -s ours
am skip reason: change_id I8af36b388182ab08257b64c37078f156d4821709 with SHA1 e27d3fde88 is in history

Change-Id: I15947c878571752d578b65813a1592487155d8ed

5 years agoMerge "Bubble expanded view - update header color on uimode and overlay change"
TreeHugger Robot [Wed, 20 Mar 2019 07:20:42 +0000 (07:20 +0000)]
Merge "Bubble expanded view - update header color on uimode and overlay change"

5 years agoMerge "Fix the problem of CaptivePortalLogin app cannot show SSL error page" am:...
Lucas Lin [Wed, 20 Mar 2019 07:15:35 +0000 (00:15 -0700)]
Merge "Fix the problem of CaptivePortalLogin app cannot show SSL error page" am: 1a80ff943d
am: 4e7830d866

Change-Id: I6a14e5e1ddbf6346e90c98b324a1760b0e3e8227

5 years agoMerge "Fix the problem of CaptivePortalLogin app cannot show SSL error page"
Lucas Lin [Wed, 20 Mar 2019 07:07:59 +0000 (00:07 -0700)]
Merge "Fix the problem of CaptivePortalLogin app cannot show SSL error page"
am: 1a80ff943d

Change-Id: Ief7b9c8f172fa3ad5a1143d998d455797c1bf937

5 years agoMerge "Renamed NetworkRegistrationState to NetworkRegistrationInfo" am: 936c536bba
Jack Yu [Wed, 20 Mar 2019 07:03:39 +0000 (00:03 -0700)]
Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo" am: 936c536bba
am: 55e73c27a8

Change-Id: I84a8dcfbfad1e9d2b8b342f1f4cce9d8c9a4c69d

5 years agoMerge "Add metrics constants / enums for removal dialog"
Kevin Chyn [Wed, 20 Mar 2019 07:01:52 +0000 (07:01 +0000)]
Merge "Add metrics constants / enums for removal dialog"

5 years agoMerge "Fix TextureView glitch and memory leak"
TreeHugger Robot [Wed, 20 Mar 2019 07:00:25 +0000 (07:00 +0000)]
Merge "Fix TextureView glitch and memory leak"

5 years agoMerge "Fix the problem of CaptivePortalLogin app cannot show SSL error page"
Lucas Lin [Wed, 20 Mar 2019 06:53:26 +0000 (06:53 +0000)]
Merge "Fix the problem of CaptivePortalLogin app cannot show SSL error page"

5 years agoMerge "Use updated DeviceConfig API's new getters to simplify invocations."
TreeHugger Robot [Wed, 20 Mar 2019 06:50:15 +0000 (06:50 +0000)]
Merge "Use updated DeviceConfig API's new getters to simplify invocations."

5 years agoMerge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"
Jack Yu [Wed, 20 Mar 2019 06:42:34 +0000 (23:42 -0700)]
Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"
am: 936c536bba

Change-Id: I8142e09fbee353c95a4b429e8d1bc7365aa5863e

5 years agoMerge "Better description and parameter name of setPreferredDataSubscriptionId"
Xiangyu/Malcolm Chen [Wed, 20 Mar 2019 06:41:26 +0000 (06:41 +0000)]
Merge "Better description and parameter name of setPreferredDataSubscriptionId"

5 years agoMerge "Add javadoc for link to valid SessionCommand values"
Jin Seok Park [Wed, 20 Mar 2019 06:35:20 +0000 (06:35 +0000)]
Merge "Add javadoc for link to valid SessionCommand values"

5 years agoMerge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"
Jack Yu [Wed, 20 Mar 2019 06:30:53 +0000 (06:30 +0000)]
Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"

5 years agoMerge "Add documentation for CaptivePortal APP_RETURN_*" am: 31e3f2e734 am: 72841b4287
Remi NGUYEN VAN [Wed, 20 Mar 2019 06:13:15 +0000 (23:13 -0700)]
Merge "Add documentation for CaptivePortal APP_RETURN_*" am: 31e3f2e734 am: 72841b4287
am: 73a4b8e463

Change-Id: I2fce43bf23ac9689f69bc2c432b3032cc9abb7d9

5 years agoMerge "Add documentation for CaptivePortal APP_RETURN_*" am: 31e3f2e734
Remi NGUYEN VAN [Wed, 20 Mar 2019 06:02:52 +0000 (23:02 -0700)]
Merge "Add documentation for CaptivePortal APP_RETURN_*" am: 31e3f2e734
am: 72841b4287

Change-Id: I1e14b2d2d5f49980601f2e75eeffc992997de3f5

5 years agoMerge "Add error handling for SearchIndexablesProvider."
Stanley Wang [Wed, 20 Mar 2019 06:01:14 +0000 (06:01 +0000)]
Merge "Add error handling for SearchIndexablesProvider."

5 years agoMerge "Add documentation for CaptivePortal APP_RETURN_*"
Remi NGUYEN VAN [Wed, 20 Mar 2019 05:53:43 +0000 (22:53 -0700)]
Merge "Add documentation for CaptivePortal APP_RETURN_*"
am: 31e3f2e734

Change-Id: Idc55c5c729e2a66ad845dbc8ddaf97580c7ae8cc

5 years agoMerge "Add documentation for CaptivePortal APP_RETURN_*"
Remi NGUYEN VAN [Wed, 20 Mar 2019 05:40:41 +0000 (05:40 +0000)]
Merge "Add documentation for CaptivePortal APP_RETURN_*"

5 years agoMerge "Guard NPE in getIcon of Tile"
TreeHugger Robot [Wed, 20 Mar 2019 05:05:12 +0000 (05:05 +0000)]
Merge "Guard NPE in getIcon of Tile"

5 years ago[automerger skipped] Merge "Convert tests/**/Android.mk files to Android.bp, part...
Sasha Smundak [Wed, 20 Mar 2019 04:54:31 +0000 (21:54 -0700)]
[automerger skipped] Merge "Convert tests/**/Android.mk files to Android.bp, part II" am: e1f19a6ef9 am: 3c611bc533
am: 21a06f23e6 -s ours
am skip reason: change_id I886b6536a0ef1c8d21f15ec7ff9fdb9784d5b865 with SHA1 89414e1ed5 is in history

Change-Id: Icb46e2a1eec04013f97d45fc453c5ce4b7a519df

5 years agoMerge "Convert tests/**/Android.mk files to Android.bp, part II" am: e1f19a6ef9
Sasha Smundak [Wed, 20 Mar 2019 04:36:53 +0000 (21:36 -0700)]
Merge "Convert tests/**/Android.mk files to Android.bp, part II" am: e1f19a6ef9
am: 3c611bc533

Change-Id: Id521f08f6f2225edaf17e5ce99b971d34252df24

5 years agoMerge "Convert tests/**/Android.mk files to Android.bp, part II"
Sasha Smundak [Wed, 20 Mar 2019 04:25:31 +0000 (21:25 -0700)]
Merge "Convert tests/**/Android.mk files to Android.bp, part II"
am: e1f19a6ef9

Change-Id: I036b1a4ccb3e09132a9eb51aa579db58d2e7809d

5 years agoMerge "improve mism support for phonestatelistner"
Chen Xu [Wed, 20 Mar 2019 04:21:15 +0000 (04:21 +0000)]
Merge "improve mism support for phonestatelistner"

5 years agoFix TextureView glitch and memory leak
Stan Iliev [Fri, 15 Mar 2019 16:07:35 +0000 (12:07 -0400)]
Fix TextureView glitch and memory leak

Keep EglImage/VkImage alive until the last SkImage object using
it is destroyed.
Fix memory leak with GL pipeline only, caused by destroying
EGLImage on the wrong thread.
Make sure cached SkImage dtor is invoked on RenderThread.

Bug: 128523183
Bug: 128688107
Test: Ran settings app, systrace and CTS
Change-Id: I32c14c7174a2a97e54fbfaa49dffb4e9a160f90d

5 years agoAdd metrics constants / enums for removal dialog
Kevin Chyn [Wed, 20 Mar 2019 02:55:08 +0000 (19:55 -0700)]
Add metrics constants / enums for removal dialog

Bug: 123605413

Test: Builds
Change-Id: I4693771066d02a5920d97790f2f9e0c40bc76b5c

5 years agoAdd error handling for SearchIndexablesProvider.
Stanley Wang [Fri, 8 Mar 2019 09:31:52 +0000 (17:31 +0800)]
Add error handling for SearchIndexablesProvider.

Catch exception to avoid the client process killed.

Bug: 127906747
Test: rebuild

Change-Id: I595b0ed9ca62579f0b5f90d8e85adffbaa3bd611

5 years agoMerge "Replace GoogleDeviceSetup with DeviceSetup in FlickerTests"
Hsin-Yi Chen [Wed, 20 Mar 2019 02:12:41 +0000 (02:12 +0000)]
Merge "Replace GoogleDeviceSetup with DeviceSetup in FlickerTests"

5 years agoMerge "Hide the title of the uninstall alert dialog"
TreeHugger Robot [Wed, 20 Mar 2019 02:04:22 +0000 (02:04 +0000)]
Merge "Hide the title of the uninstall alert dialog"

5 years agoMerge "Update documentation for TextToSpeech."
Rakesh Iyer [Wed, 20 Mar 2019 01:36:26 +0000 (01:36 +0000)]
Merge "Update documentation for TextToSpeech."

5 years agoMerge "Update BT summary for tws device"
Lei Yu [Wed, 20 Mar 2019 01:26:43 +0000 (01:26 +0000)]
Merge "Update BT summary for tws device"

5 years agoMerge "When device ID access is revoked get app info as calling user"
TreeHugger Robot [Wed, 20 Mar 2019 01:19:20 +0000 (01:19 +0000)]
Merge "When device ID access is revoked get app info as calling user"

5 years agoMerge "Convert tests/**/Android.mk files to Android.bp, part II"
Treehugger Robot [Wed, 20 Mar 2019 01:18:56 +0000 (01:18 +0000)]
Merge "Convert tests/**/Android.mk files to Android.bp, part II"

5 years agoMerge "Add Parcelable implementation for ApfCapabilities" am: cea27f4327 am: 39e5f3feaf
Remi NGUYEN VAN [Wed, 20 Mar 2019 01:09:23 +0000 (18:09 -0700)]
Merge "Add Parcelable implementation for ApfCapabilities" am: cea27f4327 am: 39e5f3feaf
am: 61ac53a0fc

Change-Id: I4d878b8dc0928aca47f944050becaa4d5206e336

5 years agoMerge "Add Parcelable implementation for ApfCapabilities" am: cea27f4327
Remi NGUYEN VAN [Wed, 20 Mar 2019 00:59:22 +0000 (17:59 -0700)]
Merge "Add Parcelable implementation for ApfCapabilities" am: cea27f4327
am: 39e5f3feaf

Change-Id: Iecec6a6376e2ff64d24813dbdb5b958f6968d627

5 years agoBubble expanded view - update header color on uimode and overlay change
Lyn Han [Thu, 14 Mar 2019 23:49:48 +0000 (16:49 -0700)]
Bubble expanded view - update header color on uimode and overlay change

Bug:123829494
Test: manual
Change-Id: I1e399f30d61ba0e00a7a39a16995209de8896f2c

5 years agoMerge "Add Parcelable implementation for ApfCapabilities"
Remi NGUYEN VAN [Wed, 20 Mar 2019 00:51:34 +0000 (17:51 -0700)]
Merge "Add Parcelable implementation for ApfCapabilities"
am: cea27f4327

Change-Id: I218b583755259a8c0824777c3247a090bdbd348b

5 years agoMerge "Checking connectivity constraint when Data Saver is toggled."
TreeHugger Robot [Wed, 20 Mar 2019 00:42:41 +0000 (00:42 +0000)]
Merge "Checking connectivity constraint when Data Saver is toggled."

5 years agoMerge changes I0e699465,If2bc354f
TreeHugger Robot [Wed, 20 Mar 2019 00:38:51 +0000 (00:38 +0000)]
Merge changes I0e699465,If2bc354f

* changes:
  Remove mSupportsLongpress from KeyButtonView
  Remove keyRepeat from KeyButtonView

5 years agoMerge "Update API documentation"
Soonil Nagarkar [Wed, 20 Mar 2019 00:37:59 +0000 (00:37 +0000)]
Merge "Update API documentation"

5 years agoMerge "Add Parcelable implementation for ApfCapabilities"
Remi NGUYEN VAN [Wed, 20 Mar 2019 00:34:53 +0000 (00:34 +0000)]
Merge "Add Parcelable implementation for ApfCapabilities"

5 years agoMerge "Add class comment to avoid extending ServiceState class." am: f0a67227c4 am...
Cody Kesting [Wed, 20 Mar 2019 00:20:40 +0000 (17:20 -0700)]
Merge "Add class comment to avoid extending ServiceState class." am: f0a67227c4 am: 0b0d934919
am: 2315621839

Change-Id: Ifdf2427161abde18695ee9575032af3db9ca308e

5 years agoMerge "Add class comment to avoid extending ServiceState class." am: f0a67227c4
Cody Kesting [Wed, 20 Mar 2019 00:11:08 +0000 (17:11 -0700)]
Merge "Add class comment to avoid extending ServiceState class." am: f0a67227c4
am: 0b0d934919

Change-Id: Ifb20705f8e58acf35af7ce9c665e8f006c48c889

5 years agoMerge "Document that Bundle.getParcelableXXX() can throw exception when classloader...
Felipe Leme [Wed, 20 Mar 2019 00:08:44 +0000 (00:08 +0000)]
Merge "Document that Bundle.getParcelableXXX() can throw exception when classloader is not set."

5 years agoMove TcpKeepalivePacketData out of the framework.
Lorenzo Colitti [Mon, 18 Mar 2019 15:24:19 +0000 (00:24 +0900)]
Move TcpKeepalivePacketData out of the framework.

This class is not used in framework.jar, only in services.jar.
Move it out of the framework so framework.jar can stop depending
on the NetworkStack stable AIDL interfaces.

This should really under com.android.server as well, but that's
a cross-project change to be done in another CL.

Test: m
Bug: 128804404
Change-Id: Ib2805f7fcc516a5f6989c252365d1c95b8042703
Merged-In: Ib2805f7fcc516a5f6989c252365d1c95b8042703

5 years agoRemove the framework dependency on netd_aidl_parcelables-java.
Lorenzo Colitti [Tue, 19 Mar 2019 01:56:37 +0000 (10:56 +0900)]
Remove the framework dependency on netd_aidl_parcelables-java.

In its own change because it conflicts in internal master.

Test: m
Bug: 128804404
Change-Id: I74531ef11d504b232d4f377532d5e0812dbc88db
Merged-In: I74531ef11d504b232d4f377532d5e0812dbc88db

5 years agoStop using netd parcelables in the framework.
Lorenzo Colitti [Mon, 18 Mar 2019 14:50:34 +0000 (23:50 +0900)]
Stop using netd parcelables in the framework.

The only actual users of these classes are in services.jar, not
in frameworks.jar. The only reason the framework depends on them
is that the code that converts to and from stable parcelables is
currently in the framework. Move that code to services and cut
the dependency.

These classes aren't used in the networkstack app so they don't
need to be in shared. They also can't be in shared because the
classes are not in the SDK. So put the conversion functions
directly inside their only user (NetworkManagementService).

Also remove the jarjar rules that rename the classes for use by
the NetworkStack app.

This does not actually remove the dependency from the build file,
that will be done in a future CL.

Bug: 128804404
Test: builds, boots
Test: atest FrameworksNetTests android.net.cts.ConnectivityManagerTest HostsideVpnTests
Change-Id: I027d50ba56091f5558f45e6e08f32e5912b2a82a
Merged-In: I027d50ba56091f5558f45e6e08f32e5912b2a82a

5 years agoMerge "Add class comment to avoid extending ServiceState class."
Cody Kesting [Tue, 19 Mar 2019 23:52:15 +0000 (16:52 -0700)]
Merge "Add class comment to avoid extending ServiceState class."
am: f0a67227c4

Change-Id: Ie643f2f1292df7491c9d800127e0c81bc70fc605

5 years agoMerge "Clarifying LOW_POWER_MODE_TRIGGER_LEVEL comment."
TreeHugger Robot [Tue, 19 Mar 2019 23:40:19 +0000 (23:40 +0000)]
Merge "Clarifying LOW_POWER_MODE_TRIGGER_LEVEL comment."

5 years agoHide the title of the uninstall alert dialog
Evan Severson [Tue, 19 Mar 2019 23:03:58 +0000 (16:03 -0700)]
Hide the title of the uninstall alert dialog

Fixes: 126376004
Test: Observation
Change-Id: Id76477b3dee11613dd6d39d48a322746f6cd5a97

5 years agoMerge "Add class comment to avoid extending ServiceState class."
Cody Kesting [Tue, 19 Mar 2019 23:33:40 +0000 (23:33 +0000)]
Merge "Add class comment to avoid extending ServiceState class."

5 years agoMerge "Updating DeviceIdleController comment."
TreeHugger Robot [Tue, 19 Mar 2019 22:59:44 +0000 (22:59 +0000)]
Merge "Updating DeviceIdleController comment."

5 years agoMerge "Adding a per-uid cap on concurrent alarms"
TreeHugger Robot [Tue, 19 Mar 2019 22:44:14 +0000 (22:44 +0000)]
Merge "Adding a per-uid cap on concurrent alarms"

5 years agoMerge "Added @Nullable to ContentCaptureContext.getLocusId()"
Felipe Leme [Tue, 19 Mar 2019 22:33:33 +0000 (22:33 +0000)]
Merge "Added @Nullable to ContentCaptureContext.getLocusId()"

5 years ago[automerger skipped] Merge "Zygote: Load system server code early" am: f039816600...
Andreas Gampe [Tue, 19 Mar 2019 22:28:12 +0000 (15:28 -0700)]
[automerger skipped] Merge "Zygote: Load system server code early" am: f039816600 am: 782ae5139d
am: 27799c5f83 -s ours
am skip reason: change_id If4a75fa106db09f1bd666d6d8df7ac3ac3e35a8c with SHA1 76b4b2c366 is in history

Change-Id: I7853dbd4e7f632413f16e5d52be9ae1ebbafa37c

5 years agoMerge "Fix AssistDataRequesterTest"
TreeHugger Robot [Tue, 19 Mar 2019 22:14:40 +0000 (22:14 +0000)]
Merge "Fix AssistDataRequesterTest"

5 years ago[automerger skipped] Merge "Add uid information in PackageListObserver" am: 62e041a6d...
Chenbo Feng [Tue, 19 Mar 2019 22:08:07 +0000 (15:08 -0700)]
[automerger skipped] Merge "Add uid information in PackageListObserver" am: 62e041a6dd am: c059f56e0f
am: 89ca736711 -s ours
am skip reason: change_id I2bd4bdf924687960a4fa3a47235bae68d885e445 with SHA1 de8e3b7931 is in history

Change-Id: Ie05eba316be7bf44fb06706f3e3457dffbf729a7

5 years agoMerge "Zygote: Load system server code early" am: f039816600
Andreas Gampe [Tue, 19 Mar 2019 22:05:42 +0000 (15:05 -0700)]
Merge "Zygote: Load system server code early" am: f039816600
am: 782ae5139d

Change-Id: I82e6879aec4c55c806c3b512a813253cb122b656

5 years agoMerge "Move work off UI thread"
TreeHugger Robot [Tue, 19 Mar 2019 22:03:40 +0000 (22:03 +0000)]
Merge "Move work off UI thread"

5 years agoMerge "Add versionCode to packages.list."
TreeHugger Robot [Tue, 19 Mar 2019 21:56:17 +0000 (21:56 +0000)]
Merge "Add versionCode to packages.list."

5 years agoimprove mism support for phonestatelistner
chen xu [Sun, 17 Mar 2019 07:50:56 +0000 (00:50 -0700)]
improve mism support for phonestatelistner

1. throw exception if reuse the same listner for different sub
2. subId should come from TM instance not phonestateListener.
3. refactor settings to apply phonestatelistner with TM instances

Bug: 117555407
Test: Manual
Change-Id: I1af07798d7982575cccc27462af179182c033409

5 years agoMerge "Add uid information in PackageListObserver" am: 62e041a6dd
Chenbo Feng [Tue, 19 Mar 2019 21:53:10 +0000 (14:53 -0700)]
Merge "Add uid information in PackageListObserver" am: 62e041a6dd
am: c059f56e0f

Change-Id: I61f46bf443c2027ed70a884f0cbb3ede80a8c1f3

5 years agoMerge "Zygote: Load system server code early"
Andreas Gampe [Tue, 19 Mar 2019 21:49:48 +0000 (14:49 -0700)]
Merge "Zygote: Load system server code early"
am: f039816600

Change-Id: I0a2895b64d3a505c3de8e6dfe24a861cc1e38fec

5 years agoMerge "Add new GNSS capabilities for year of hardware deprecation (framework)"
Anil Admal [Tue, 19 Mar 2019 21:44:34 +0000 (21:44 +0000)]
Merge "Add new GNSS capabilities for year of hardware deprecation (framework)"

5 years agoMerge "Add uid information in PackageListObserver"
Chenbo Feng [Tue, 19 Mar 2019 21:42:14 +0000 (14:42 -0700)]
Merge "Add uid information in PackageListObserver"
am: 62e041a6dd

Change-Id: I4fef26fed802902d6a69563c19704a94916ff834

5 years agoMerge "Avoid PluginManager NPE"
TreeHugger Robot [Tue, 19 Mar 2019 21:39:28 +0000 (21:39 +0000)]
Merge "Avoid PluginManager NPE"

5 years agoAdd new GNSS capabilities for year of hardware deprecation (framework)
Anil Admal [Wed, 13 Mar 2019 00:39:20 +0000 (17:39 -0700)]
Add new GNSS capabilities for year of hardware deprecation (framework)

The following capabilities need to be added to the GNSS HAL interface
to enforce support through the CTS/VTS tests.

-Add low power mode capability.
-Add satellite blacklisting capability.
-Add measurement corrections capability and move capabilities in
 IGnssCallback.hal that are specific to measurement correctons
 to its own sub-HAL measurement_corrections@1.0.

Bug: 128028791
Bug: 127434062
Bug: 128309220
Test: Tested on cuttlefish using default implementation and VTS tests
Change-Id: I95c76b276afef5f0ffc14dc08bf618530d6a1bd9

5 years agoMerge "Zygote: Load system server code early"
Andreas Gampe [Tue, 19 Mar 2019 21:37:38 +0000 (21:37 +0000)]
Merge "Zygote: Load system server code early"

5 years agoMerge "Annotate MediaPlayer2 DRM APIs with @NonNull/@Nullable"
Robert Shih [Tue, 19 Mar 2019 21:32:29 +0000 (21:32 +0000)]
Merge "Annotate MediaPlayer2 DRM APIs with @NonNull/@Nullable"

5 years agoDocument that Bundle.getParcelableXXX() can throw exception when classloader is not...
Felipe Leme [Tue, 19 Mar 2019 20:51:38 +0000 (13:51 -0700)]
Document that Bundle.getParcelableXXX() can throw exception when classloader is not set.

Fixes: 128848849
Test: mmm -j frameworks/base/:doc-comment-check-docs

Change-Id: I027176bd0b022ab0d2a45f8a757e7eb7c7665acd

5 years agoidmap2: move commands to Result<Unit>
Mårten Kongstad [Thu, 7 Feb 2019 01:21:56 +0000 (02:21 +0100)]
idmap2: move commands to Result<Unit>

Change the signature of the idmap2 commands (Create, Dump, ...) to
return Result<Unit> instead of bool. This removes the need to pass in an
ostream for error messages: instead, those messages are part of the
returned Result.

Consolidate error messages: texts in Error objects should not be
prefixed with "error:", that is the responsibility of the outer-most
caller (i.e. main()).

Test: make idmap2_tests
Change-Id: I074881b3d1982ea8f4be5752161ac74b14fcba95

5 years agoMerge "Add uid information in PackageListObserver"
Treehugger Robot [Tue, 19 Mar 2019 21:19:16 +0000 (21:19 +0000)]
Merge "Add uid information in PackageListObserver"

5 years agoBetter description and parameter name of setPreferredDataSubscriptionId
Malcolm Chen [Tue, 19 Mar 2019 00:26:43 +0000 (17:26 -0700)]
Better description and parameter name of setPreferredDataSubscriptionId

Bug: 128455935 128456058
Test: build
Change-Id: I41ae6752756d998739fd7635bcc7765f255806d7

5 years agoRemove mSupportsLongpress from KeyButtonView
Siarhei Vishniakou [Tue, 19 Mar 2019 20:52:50 +0000 (13:52 -0700)]
Remove mSupportsLongpress from KeyButtonView

This variable is always true. Remove this variable.

Bug: 128553584
Test: none
Change-Id: I0e6994655cfc4c503ea057029986ed415099bef0

5 years agoRemove keyRepeat from KeyButtonView
Siarhei Vishniakou [Tue, 19 Mar 2019 20:45:57 +0000 (13:45 -0700)]
Remove keyRepeat from KeyButtonView

This attribute is not used by anyone in Android master. It therefore
always defaults to "true".

There are some potential usages in the "experimental" project, but it
will be up to the owners of those copies to clean this up.

Bug: 128553584
Test: presubmit
Test: search for "keyRepeat" in Android via code search and examine
every usage (166 results). Also grep the local tree for "keyRepeat"
inside the frameworks/base and the vendor/unbundled_google projects.

Change-Id: If2bc354ff2a2259874dc19a973e1e0152d9fd9c3

5 years agoMerge "Remove interface for Scheduler."
Matt Pape [Tue, 19 Mar 2019 20:35:52 +0000 (20:35 +0000)]
Merge "Remove interface for Scheduler."

5 years agoMerge "Remove SubscriptionManager#setMetered API."
Xiangyu/Malcolm Chen [Tue, 19 Mar 2019 20:32:34 +0000 (20:32 +0000)]
Merge "Remove SubscriptionManager#setMetered API."

5 years agoAdded @Nullable to ContentCaptureContext.getLocusId()
Felipe Leme [Tue, 19 Mar 2019 19:47:24 +0000 (12:47 -0700)]
Added @Nullable to ContentCaptureContext.getLocusId()

Test: m update-api
Fixes: 128922706

Change-Id: I541d0b33732069d6df85f6dbe12d1f599e4cb241

5 years agoClarifying LOW_POWER_MODE_TRIGGER_LEVEL comment.
Kweku Adams [Tue, 19 Mar 2019 19:48:35 +0000 (12:48 -0700)]
Clarifying LOW_POWER_MODE_TRIGGER_LEVEL comment.

The comment made it sound like 0 isn't used to turn it off in Q anymore,
however, 0 is still used to turn it off.

Bug: N/A
Test: N/A
Change-Id: I17262bd7087de9ae8cbbcd7433fcbccfbc6b66b2

5 years agoUpdating DeviceIdleController comment.
Kweku Adams [Tue, 19 Mar 2019 19:45:55 +0000 (12:45 -0700)]
Updating DeviceIdleController comment.

The state machine had been updated to the Q flow, but the comment still
said Pie.

Bug: N/A
Test: N/A
Change-Id: I61e9e40a657394d5eeaf39de2dcdb34d0eb9f5f8

5 years agoUpdate API documentation
Soonil Nagarkar [Tue, 19 Mar 2019 19:31:28 +0000 (12:31 -0700)]
Update API documentation

Add information on exact API level for intent extra.

Bug: 128904083
Test: manual
Change-Id: Ie45feeea43b0fed72bee682b1c6a2076a2f85824

5 years agoMerge "WindowInsets: Add mandatory system gesture and tappable element insets"
TreeHugger Robot [Tue, 19 Mar 2019 19:29:45 +0000 (19:29 +0000)]
Merge "WindowInsets: Add mandatory system gesture and tappable element insets"