OSDN Git Service

android-x86/frameworks-base.git
5 years agoUse test stubs for RollbackTests, not system stubs.
Richard Uhler [Fri, 8 Mar 2019 13:27:17 +0000 (13:27 +0000)]
Use test stubs for RollbackTests, not system stubs.

Adds @TestApi for all system apis needed for RollbackTests.

Removes @SystemApi for RollbackManager.expireRollbackForPackage and
RollbackManager.reloadPersistedData, which were always intended to be
used solely for testing.

Bug: 127282563
Test: atest RollbackTest StagedRollbackTest
Change-Id: I183b8a484b4a08f36fc19d64241ab408d28c64ca

5 years agoMerge "ServiceInfo: Add a new foreground service type for MediaProjection."
TreeHugger Robot [Tue, 12 Mar 2019 10:26:37 +0000 (10:26 +0000)]
Merge "ServiceInfo: Add a new foreground service type for MediaProjection."

5 years agoMerge "[Passpointv2] Add feature flag for saved network show details fragment"
TreeHugger Robot [Tue, 12 Mar 2019 09:38:23 +0000 (09:38 +0000)]
Merge "[Passpointv2] Add feature flag for saved network show details fragment"

5 years ago[automerger skipped] Merge "Add product apk support from libnativeloader" am: 307df45...
Kiyoung Kim [Tue, 12 Mar 2019 09:27:41 +0000 (02:27 -0700)]
[automerger skipped] Merge "Add product apk support from libnativeloader" am: 307df45b5f am: ad0ca523a6
am: 453a487b29 -s ours
am skip reason: change_id Iaa8d0ea61b1b9ab8a1da676a492f75c6a5d71d5d with SHA1 cfc8da11f6 is in history

Change-Id: Ie75c4519d6b1341fbd8b0992009add4eef913d85

5 years agoMerge "Add product apk support from libnativeloader" am: 307df45b5f
Kiyoung Kim [Tue, 12 Mar 2019 09:14:20 +0000 (02:14 -0700)]
Merge "Add product apk support from libnativeloader" am: 307df45b5f
am: ad0ca523a6

Change-Id: I896f609e4994eb6b0494e3fcf38737c4a69352a8

5 years agoMerge "Add product apk support from libnativeloader"
Kiyoung Kim [Tue, 12 Mar 2019 09:05:13 +0000 (02:05 -0700)]
Merge "Add product apk support from libnativeloader"
am: 307df45b5f

Change-Id: I1f9c9e63c1cf7477436b8bc38e5e62e075183c64

5 years agoMerge "Add product apk support from libnativeloader"
Kiyoung Kim [Tue, 12 Mar 2019 08:48:46 +0000 (08:48 +0000)]
Merge "Add product apk support from libnativeloader"

5 years agoMerge "Check if network has partial connectivity" am: 174ae05817 am: 6cf91d1558
Lucas Lin [Tue, 12 Mar 2019 08:47:25 +0000 (01:47 -0700)]
Merge "Check if network has partial connectivity" am: 174ae05817 am: 6cf91d1558
am: c0448b383f

Change-Id: Ib6c5ecc8238e1ac237eddcc00802fa5e7c0e24b9

5 years agoMerge "Check if network has partial connectivity" am: 174ae05817
Lucas Lin [Tue, 12 Mar 2019 08:37:59 +0000 (01:37 -0700)]
Merge "Check if network has partial connectivity" am: 174ae05817
am: 6cf91d1558

Change-Id: I1c552638f576738540dda033f35bd32b011485b5

5 years agoMerge "Check if network has partial connectivity"
Lucas Lin [Tue, 12 Mar 2019 08:28:50 +0000 (01:28 -0700)]
Merge "Check if network has partial connectivity"
am: 174ae05817

Change-Id: I3e94029fe067a1a22acc640a0df6a87720572b94

5 years agoMerge "Check if network has partial connectivity"
Lucas Lin [Tue, 12 Mar 2019 08:11:14 +0000 (08:11 +0000)]
Merge "Check if network has partial connectivity"

5 years agoMerge "Update listening state when settings changes"
TreeHugger Robot [Tue, 12 Mar 2019 08:07:51 +0000 (08:07 +0000)]
Merge "Update listening state when settings changes"

5 years agoMerge "Using SurfaceControl#remove() instead of release()"
TreeHugger Robot [Tue, 12 Mar 2019 07:40:45 +0000 (07:40 +0000)]
Merge "Using SurfaceControl#remove() instead of release()"

5 years agoCheck if network has partial connectivity
lucaslin [Tue, 12 Mar 2019 05:08:03 +0000 (13:08 +0800)]
Check if network has partial connectivity

In some networks, network validation may only get success
result for http probe but fail result for https probe.
For this kind of network, it may still work at some websites
or apps, but user didn't know about that. In order to fix this
issue, we will check if network has partial connectivity and
notify user to make a choice if they want to use this partial
connectivity or not.

Bug: 113450764
Test: 1. Build pass.
      2. Fake partial connectivity case for testing.
      3. atest FrameworksNetTests
      4. atest NetworkStackTests

Change-Id: I69ed00ac4850904ff708c9fef22e148879a10e92

5 years agoMerge "Fixed an issue where the panel height was wrong"
TreeHugger Robot [Tue, 12 Mar 2019 07:36:47 +0000 (07:36 +0000)]
Merge "Fixed an issue where the panel height was wrong"

5 years ago[automerger skipped] Merge "Modify API return type and add callback." am: f96cc08066...
Daniel Huang [Tue, 12 Mar 2019 06:50:05 +0000 (23:50 -0700)]
[automerger skipped] Merge "Modify API return type and add callback." am: f96cc08066 am: 9b82062164
am: 3f0ba8ac68 -s ours
am skip reason: change_id I32fe1407deabe36485227ec75931bec334d85abe with SHA1 1f2850c472 is in history

Change-Id: Ie8b4894d48f1562ed647881a4da15dbc7136c872

5 years ago[Passpointv2] Add feature flag for saved network show details fragment
cosmohsieh [Tue, 12 Mar 2019 06:02:18 +0000 (14:02 +0800)]
[Passpointv2] Add feature flag for saved network show details fragment

Add feature flag for saved network show details fragment

Bug: 128369527
Test: Manual
Change-Id: I661a923b4866c4595a5ad5d5fe2964a72def3952

5 years agoMerge "Modify API return type and add callback." am: f96cc08066
Daniel Huang [Tue, 12 Mar 2019 06:32:14 +0000 (23:32 -0700)]
Merge "Modify API return type and add callback." am: f96cc08066
am: 9b82062164

Change-Id: I6f54522dba518416445c647a1aaef11caf6865ec

5 years agoMerge changes Ide3e8e94,I84e7c06e
TreeHugger Robot [Tue, 12 Mar 2019 06:17:33 +0000 (06:17 +0000)]
Merge changes Ide3e8e94,I84e7c06e

* changes:
  Fixed flickering when swiping away last notification
  Fixed the order of notifications when Bubbles are present

5 years agoMerge "Modify API return type and add callback."
Daniel Huang [Tue, 12 Mar 2019 06:16:53 +0000 (23:16 -0700)]
Merge "Modify API return type and add callback."
am: f96cc08066

Change-Id: I8d8ff3efd4666c4548dfe8a142ae0ad3f0b34b2c

5 years agoMerge "Extract Instant Apps notification code into InstantAppNotifier"
Yoshiki Iguchi [Tue, 12 Mar 2019 06:06:24 +0000 (06:06 +0000)]
Merge "Extract Instant Apps notification code into InstantAppNotifier"

5 years agoMerge "Modify API return type and add callback."
Daniel Huang [Tue, 12 Mar 2019 06:02:04 +0000 (06:02 +0000)]
Merge "Modify API return type and add callback."

5 years agoMerge "Show number of failed pulls in print-stats"
TreeHugger Robot [Tue, 12 Mar 2019 05:58:29 +0000 (05:58 +0000)]
Merge "Show number of failed pulls in print-stats"

5 years agoMerge "Move NetworkStack start to AM.systemReady" am: f9cca7dcc2 am: 1091513f93
Remi NGUYEN VAN [Tue, 12 Mar 2019 05:56:17 +0000 (22:56 -0700)]
Merge "Move NetworkStack start to AM.systemReady" am: f9cca7dcc2 am: 1091513f93
am: 8f2af18c51

Change-Id: Ibdeef12797eb06fd67dc132e2f3e5a6ad06b38a1

5 years agoMerge "Update nullability of api" am: 47890345d0 am: 434096edef
Tony Huang [Tue, 12 Mar 2019 05:48:08 +0000 (22:48 -0700)]
Merge "Update nullability of api" am: 47890345d0 am: 434096edef
am: 952affa954

Change-Id: I938e2eb22971b0d54ba597a76de9b69e2c1e6bba

5 years agoMerge "Move NetworkStack start to AM.systemReady" am: f9cca7dcc2
Remi NGUYEN VAN [Tue, 12 Mar 2019 05:46:48 +0000 (22:46 -0700)]
Merge "Move NetworkStack start to AM.systemReady" am: f9cca7dcc2
am: 1091513f93

Change-Id: Ie86202fa755c1aa77938d82a7fbc3f2f39b42135

5 years agoMerge "Improve keepalive offload documentation and error handling" am: cc3a190b07...
Junyu Lai [Tue, 12 Mar 2019 05:40:00 +0000 (22:40 -0700)]
Merge "Improve keepalive offload documentation and error handling" am: cc3a190b07 am: 7bb0014975
am: 4def8da267

Change-Id: If13af1a50c9bb12c85559c9c7a83d0e861d76d09

5 years agoMerge "Update nullability of api" am: 47890345d0
Tony Huang [Tue, 12 Mar 2019 05:38:40 +0000 (22:38 -0700)]
Merge "Update nullability of api" am: 47890345d0
am: 434096edef

Change-Id: If4e283682ec64eabb7f85421b275bf0424df9355

5 years agoMerge "Move NetworkStack start to AM.systemReady"
Remi NGUYEN VAN [Tue, 12 Mar 2019 05:37:29 +0000 (22:37 -0700)]
Merge "Move NetworkStack start to AM.systemReady"
am: f9cca7dcc2

Change-Id: I80776bcaf5888b7244f83a467bc7c67267ccfee0

5 years agoMerge "Improve keepalive offload documentation and error handling" am: cc3a190b07
Junyu Lai [Tue, 12 Mar 2019 05:30:39 +0000 (22:30 -0700)]
Merge "Improve keepalive offload documentation and error handling" am: cc3a190b07
am: 7bb0014975

Change-Id: Iae2c4dfcfa2695a57ed54eb93c64eac54f18cf98

5 years agoMerge "Update nullability of api"
Tony Huang [Tue, 12 Mar 2019 05:29:24 +0000 (22:29 -0700)]
Merge "Update nullability of api"
am: 47890345d0

Change-Id: Ie8ed183155b16c87a98c19f11f69fe869e797880

5 years agoMerge "Move NetworkStack start to AM.systemReady"
Remi NGUYEN VAN [Tue, 12 Mar 2019 05:27:33 +0000 (05:27 +0000)]
Merge "Move NetworkStack start to AM.systemReady"

5 years agoMerge "Update nullability of api"
Tony Huang [Tue, 12 Mar 2019 05:22:28 +0000 (05:22 +0000)]
Merge "Update nullability of api"

5 years agoMerge "Improve keepalive offload documentation and error handling"
Junyu Lai [Tue, 12 Mar 2019 05:21:27 +0000 (22:21 -0700)]
Merge "Improve keepalive offload documentation and error handling"
am: cc3a190b07

Change-Id: Ia87def27904309d405c39607326a77133632461d

5 years agoMerge "Improve keepalive offload documentation and error handling"
Junyu Lai [Tue, 12 Mar 2019 05:11:50 +0000 (05:11 +0000)]
Merge "Improve keepalive offload documentation and error handling"

5 years agoMerge "Fix leakage of input window handle on removed display"
TreeHugger Robot [Tue, 12 Mar 2019 05:10:58 +0000 (05:10 +0000)]
Merge "Fix leakage of input window handle on removed display"

5 years agoMerge "Add logging for keyguard authentication."
TreeHugger Robot [Tue, 12 Mar 2019 05:00:40 +0000 (05:00 +0000)]
Merge "Add logging for keyguard authentication."

5 years agoMerge "Increase the thickness of the fill protection for the battery icon"
TreeHugger Robot [Tue, 12 Mar 2019 04:58:04 +0000 (04:58 +0000)]
Merge "Increase the thickness of the fill protection for the battery icon"

5 years agoMove NetworkStack start to AM.systemReady
Remi NGUYEN VAN [Tue, 12 Mar 2019 02:50:22 +0000 (11:50 +0900)]
Move NetworkStack start to AM.systemReady

In practice the NetworkStack was not started after
ActivityManager#systemReady, since ActivityManager was only scheduling
the start (mPendingStarts).
Requesting the start too early causes issues for the PackageManager to
install updates/rollbacks.

Test: flashed AOSP and internal builds, WiFi working
Bug: 128331883
Change-Id: I93315ad31925bd436e21d1eabb21d5967e6aae60

5 years agoMerge "Count letterbox into non-magnified bounds"
TreeHugger Robot [Tue, 12 Mar 2019 04:39:34 +0000 (04:39 +0000)]
Merge "Count letterbox into non-magnified bounds"

5 years agoMerge "Update boot classpath and system server profiles"
TreeHugger Robot [Tue, 12 Mar 2019 04:26:40 +0000 (04:26 +0000)]
Merge "Update boot classpath and system server profiles"

5 years agoMerge "Revert Media 1.0 API changes introduced for making 1.0 updatable"
Hyundo Moon [Tue, 12 Mar 2019 04:06:32 +0000 (04:06 +0000)]
Merge "Revert Media 1.0 API changes introduced for making 1.0 updatable"

5 years agoMerge "Copy extension names to an owning container to prevent use-after-free"
TreeHugger Robot [Tue, 12 Mar 2019 03:58:01 +0000 (03:58 +0000)]
Merge "Copy extension names to an owning container to prevent use-after-free"

5 years agoMerge "[webview] Rename force dark WebView settings."
TreeHugger Robot [Tue, 12 Mar 2019 03:52:33 +0000 (03:52 +0000)]
Merge "[webview] Rename force dark WebView settings."

5 years agoMerge "Darker scrim when pulsing"
TreeHugger Robot [Tue, 12 Mar 2019 03:34:36 +0000 (03:34 +0000)]
Merge "Darker scrim when pulsing"

5 years agoFixed an issue where the panel height was wrong
Selim Cinek [Tue, 12 Mar 2019 02:58:15 +0000 (19:58 -0700)]
Fixed an issue where the panel height was wrong

Because we wouldn't get a layout call when collapsing
the shade when we had a bubble, the panel would keep
the existing content height, because we didn't notify
it of the change properly.

Fixes: 128156368
Test: atest SystemUITests
Change-Id: Ib529f22074fcdd3a2f879fe8e10b12bff2c7950d

5 years agoMerge "Implement method for get previously connected devices"
TreeHugger Robot [Tue, 12 Mar 2019 02:50:03 +0000 (02:50 +0000)]
Merge "Implement method for get previously connected devices"

5 years agoMerge "Respect ambient HUN setting"
TreeHugger Robot [Tue, 12 Mar 2019 02:46:58 +0000 (02:46 +0000)]
Merge "Respect ambient HUN setting"

5 years agoMerge "Go back to original string for <1 day case"
TreeHugger Robot [Tue, 12 Mar 2019 02:42:47 +0000 (02:42 +0000)]
Merge "Go back to original string for <1 day case"

5 years agoMerge "[webview] rename unresponsive renderer APIs"
TreeHugger Robot [Tue, 12 Mar 2019 02:37:30 +0000 (02:37 +0000)]
Merge "[webview] rename unresponsive renderer APIs"

5 years agoMerge "Added Passpoint prefix to Passpoint related methods in WifiInfo"
Quang Luong [Tue, 12 Mar 2019 02:29:06 +0000 (02:29 +0000)]
Merge "Added Passpoint prefix to Passpoint related methods in WifiInfo"

5 years agoMerge "Use an in-process APK for in-process NetworkStack" am: b8f2ab9362 am: 13f2f93cd3
Remi NGUYEN VAN [Tue, 12 Mar 2019 02:19:47 +0000 (19:19 -0700)]
Merge "Use an in-process APK for in-process NetworkStack" am: b8f2ab9362 am: 13f2f93cd3
am: ad9be46d09

Change-Id: Ic440d09c0198c8b2161c74b52cbacf884c1d3df5

5 years agoUpdate boot classpath and system server profiles
Calin Juravle [Sat, 9 Mar 2019 01:52:20 +0000 (17:52 -0800)]
Update boot classpath and system server profiles

Boot profile:
- we added 164 methods & classes and remove 2312.
- everything that gets used is in the profile (without filtering).

Preloaded classes:
- we added 1000 classes (we used to have 6563 classes preloaded,
   now we have 7528)
- all the classes that are used on more than 7 devices are
   preloaded.

This is the initial update for Q. More tuning will follow up.
In particular, we have access on how many apps reported a particular
sample, which will provide grounds for more aggressive filtering.

This CL also update the preload blacklist. SystemConfig attempts to parse
OEM properties which is not allowed by SELinux and the PermissionManager
attempts to statically initialize the SystemConfig.

Bug: 122068885
Test: m & boot
Change-Id: I1f929d2c365db23f1c2c15475d59d1006e7c0a66

5 years agoMerge "Use an in-process APK for in-process NetworkStack" am: b8f2ab9362
Remi NGUYEN VAN [Tue, 12 Mar 2019 02:06:03 +0000 (19:06 -0700)]
Merge "Use an in-process APK for in-process NetworkStack" am: b8f2ab9362
am: 13f2f93cd3

Change-Id: I9018b01f0cf60a8595506cc347f4afac32684e2f

5 years agoMerge "WindowInsets: Properly initialize systemGestureInsets"
TreeHugger Robot [Tue, 12 Mar 2019 02:03:26 +0000 (02:03 +0000)]
Merge "WindowInsets: Properly initialize systemGestureInsets"

5 years agoMerge "Use an in-process APK for in-process NetworkStack"
Remi NGUYEN VAN [Tue, 12 Mar 2019 01:53:23 +0000 (18:53 -0700)]
Merge "Use an in-process APK for in-process NetworkStack"
am: b8f2ab9362

Change-Id: I4437757ba95f39d62a3418214d780f36daaada6e

5 years agoMerge "SurfaceControl, Surface: Add nullability annotations."
TreeHugger Robot [Tue, 12 Mar 2019 01:49:56 +0000 (01:49 +0000)]
Merge "SurfaceControl, Surface: Add nullability annotations."

5 years agoMerge "Make Resources#getAttributeSetSourceResId public"
TreeHugger Robot [Tue, 12 Mar 2019 01:46:35 +0000 (01:46 +0000)]
Merge "Make Resources#getAttributeSetSourceResId public"

5 years agoMerge "Change summary text of Wi-Fi calling"
Hall Liu [Tue, 12 Mar 2019 01:40:43 +0000 (01:40 +0000)]
Merge "Change summary text of Wi-Fi calling"

5 years agoMerge "Added UserManager#getUserSwitchability."
Varun Shah [Tue, 12 Mar 2019 01:39:32 +0000 (01:39 +0000)]
Merge "Added UserManager#getUserSwitchability."

5 years agoMerge "Update UserManager#removeUser to follow API guidelines."
Varun Shah [Tue, 12 Mar 2019 01:39:32 +0000 (01:39 +0000)]
Merge "Update UserManager#removeUser to follow API guidelines."

5 years agoFixed flickering when swiping away last notification
Selim Cinek [Tue, 12 Mar 2019 01:38:29 +0000 (18:38 -0700)]
Fixed flickering when swiping away last notification

Because the last section includes the shelf, it needs
to use the final position of the shelf instead of the
current position for the minimum bottom location.
Otherwise the background cancels the animation
immediately and things go wrong.

Fixes: 127807981
Test: atest SystemUITests
Change-Id: Ide3e8e94129bd77cebf68ff053275f9177db69f0

5 years agoMerge "Use an in-process APK for in-process NetworkStack"
Remi NGUYEN VAN [Tue, 12 Mar 2019 01:37:26 +0000 (01:37 +0000)]
Merge "Use an in-process APK for in-process NetworkStack"

5 years agoMerge "Battery Stats Dumpsys Readability Fixes"
TreeHugger Robot [Tue, 12 Mar 2019 01:35:41 +0000 (01:35 +0000)]
Merge "Battery Stats Dumpsys Readability Fixes"

5 years agoMerge "ContentSuggestionsService - allow user manager to disable content suggestions."
TreeHugger Robot [Tue, 12 Mar 2019 01:06:03 +0000 (01:06 +0000)]
Merge "ContentSuggestionsService - allow user manager to disable content suggestions."

5 years agoMerge "API review: annotate everything"
Mady Mellor [Tue, 12 Mar 2019 01:05:02 +0000 (01:05 +0000)]
Merge "API review: annotate everything"

5 years agoMerge "onPageFinished javadoc cleanup" into pi-dev am: dfd3a1b852
Shimi Zhang [Tue, 12 Mar 2019 00:45:09 +0000 (17:45 -0700)]
Merge "onPageFinished javadoc cleanup" into pi-dev am: dfd3a1b852
am: d4eed7352d

Change-Id: I0d405bad9ead8e1cd814c5634b5e0f69ead8956b

5 years agoMerge "onPageFinished javadoc cleanup" into pi-dev
Shimi Zhang [Tue, 12 Mar 2019 00:36:38 +0000 (17:36 -0700)]
Merge "onPageFinished javadoc cleanup" into pi-dev
am: dfd3a1b852

Change-Id: Ib79006f63037bbbdc6a22c46ab790fc01a40c010

5 years ago[automerger skipped] Merge "Remove android-support-test lib from testutils." am:...
Ian Kasprzak [Tue, 12 Mar 2019 00:26:22 +0000 (17:26 -0700)]
[automerger skipped] Merge "Remove android-support-test lib from testutils." am: bc18cc9b19 am: 2a8c949988
am: a22fbb808b -s ours
am skip reason: change_id Ia825e0926b46855f9056739441cb21a065692076 with SHA1 ec6bcbceee is in history

Change-Id: Id014babcc284424a40909a0259400fb5c69f8b43

5 years agoMerge "Do not hold lock when calling into PMS"
TreeHugger Robot [Tue, 12 Mar 2019 00:18:59 +0000 (00:18 +0000)]
Merge "Do not hold lock when calling into PMS"

5 years agoMerge "Remove android-support-test lib from testutils." am: bc18cc9b19
Ian Kasprzak [Tue, 12 Mar 2019 00:11:44 +0000 (17:11 -0700)]
Merge "Remove android-support-test lib from testutils." am: bc18cc9b19
am: 2a8c949988

Change-Id: I43eac6807d208c35e1338a6cc0bd626da440b6e3

5 years agoMerge "Remove sending intent to Carrier Location proxy app"
Anil Admal [Tue, 12 Mar 2019 00:05:47 +0000 (00:05 +0000)]
Merge "Remove sending intent to Carrier Location proxy app"

5 years agoMerge "Deliver deferred broadcasts if nothing else is pending"
TreeHugger Robot [Tue, 12 Mar 2019 00:03:26 +0000 (00:03 +0000)]
Merge "Deliver deferred broadcasts if nothing else is pending"

5 years agoMerge "onPageFinished javadoc cleanup" into pi-dev
TreeHugger Robot [Mon, 11 Mar 2019 23:59:07 +0000 (23:59 +0000)]
Merge "onPageFinished javadoc cleanup" into pi-dev

5 years ago[webview] Rename force dark WebView settings.
Tobias Sargeant [Mon, 11 Mar 2019 10:14:28 +0000 (10:14 +0000)]
[webview] Rename force dark WebView settings.

Per API council request, remove setForceDarkMode -> setForceDark to
align with other framework naming.

Bug: 120599879
Test: None
Change-Id: I3f4ed00303d7e4b7d0651a384324a8b265663290

5 years agoMerge "Remove android-support-test lib from testutils."
Ian Kasprzak [Mon, 11 Mar 2019 23:51:41 +0000 (16:51 -0700)]
Merge "Remove android-support-test lib from testutils."
am: bc18cc9b19

Change-Id: I6931a899078460e8879b6c0f5b3dcb1f8d55b884

5 years agoMerge "Do not convert whitespace chars above max char to regular space"
TreeHugger Robot [Mon, 11 Mar 2019 23:45:02 +0000 (23:45 +0000)]
Merge "Do not convert whitespace chars above max char to regular space"

5 years agoGo back to original string for <1 day case
Evan Laird [Mon, 11 Mar 2019 23:39:04 +0000 (19:39 -0400)]
Go back to original string for <1 day case

Battery remaining estimate will say "Until H:MM" in quick settings. Also
shorten the alloted #chars from 100 to 20

Test: visual
Fixes: 124861973
Change-Id: I48893e0254c6b3f84901866f6bf376015ca61251

5 years agoMerge "Partial revert to not flip the default of extractNativeLibs"
TreeHugger Robot [Mon, 11 Mar 2019 23:37:05 +0000 (23:37 +0000)]
Merge "Partial revert to not flip the default of extractNativeLibs"

5 years agoIncrease the thickness of the fill protection for the battery icon
Evan Laird [Mon, 11 Mar 2019 23:35:23 +0000 (19:35 -0400)]
Increase the thickness of the fill protection for the battery icon

The battery icon is real small, so making the protection around the
charging / powersave icons larger makes things look nicer

Test: visual
Change-Id: I71db27c6e16defa285de14f5c5c1a85af0afde0d

5 years agoRespect ambient HUN setting
Lucas Dupin [Mon, 11 Mar 2019 23:34:08 +0000 (16:34 -0700)]
Respect ambient HUN setting

Test: atest StatusBarTest
Test: manual
Fixes: 128156368
Change-Id: I271aabeab5cbfccb54eb31907ff0a4150edf2586

5 years agoFixed the order of notifications when Bubbles are present
Selim Cinek [Fri, 8 Mar 2019 01:29:55 +0000 (17:29 -0800)]
Fixed the order of notifications when Bubbles are present

Bubbles were still counted as showing in the shade, which lead
to the ordering logic not working properly anymore.

Test: atest SystemUITests
Fixes: 126580322
Change-Id: I84e7c06eb9ad91d21dc4ec2430ab71a5987563ad

5 years agoCopy extension names to an owning container to prevent use-after-free
Roman Kiryanov [Fri, 8 Mar 2019 02:22:19 +0000 (18:22 -0800)]
Copy extension names to an owning container to prevent use-after-free

Bug: 127660235
Test: make -j
Change-Id: I3748b7b4b51f99acf59748675223cef02c22bee2
Signed-off-by: Roman Kiryanov <rkir@google.com>
5 years agoMerge "[automerger skipped] Merge "rename precise carrier id to specific carrier...
Android Build Merger (Role) [Mon, 11 Mar 2019 22:58:33 +0000 (22:58 +0000)]
Merge "[automerger skipped] Merge "rename precise carrier id to specific carrier id" am: 118354f77c am: ab85849ce7 am: 8607125b45 -s ours am skip reason: change_id I4561ae8c15c429912695e0753b2ab3137a4e1e44 with SHA1 45f6621391 is in history"

5 years agoMerge "Remove android-support-test lib from testutils."
Treehugger Robot [Mon, 11 Mar 2019 22:57:58 +0000 (22:57 +0000)]
Merge "Remove android-support-test lib from testutils."

5 years ago[automerger skipped] Merge "rename precise carrier id to specific carrier id" am...
Chen Xu [Mon, 11 Mar 2019 22:54:46 +0000 (15:54 -0700)]
[automerger skipped] Merge "rename precise carrier id to specific carrier id" am: 118354f77c am: ab85849ce7
am: 8607125b45 -s ours
am skip reason: change_id I4561ae8c15c429912695e0753b2ab3137a4e1e44 with SHA1 45f6621391 is in history

Change-Id: I7fd50f9c28c0803d380ab4b06dddf2c0960a47ab

5 years agoMerge "Add carrier's option to cancel CS reject cause notification"
Jordan Liu [Mon, 11 Mar 2019 22:53:21 +0000 (22:53 +0000)]
Merge "Add carrier's option to cancel CS reject cause notification"

5 years agoMerge "Remove brightness adjustment check."
TreeHugger Robot [Mon, 11 Mar 2019 22:52:54 +0000 (22:52 +0000)]
Merge "Remove brightness adjustment check."

5 years agoMerge "rename precise carrier id to specific carrier id" am: 118354f77c
Chen Xu [Mon, 11 Mar 2019 22:33:16 +0000 (15:33 -0700)]
Merge "rename precise carrier id to specific carrier id" am: 118354f77c
am: ab85849ce7

Change-Id: Icb53a9998d1f93852aadbee36a0f61322d8962b3

5 years agoMerge "Add some logs to help debug a NotificationAssistant issue"
TreeHugger Robot [Mon, 11 Mar 2019 22:21:30 +0000 (22:21 +0000)]
Merge "Add some logs to help debug a NotificationAssistant issue"

5 years agoMerge "InspectionCompanions as nested classes"
Ashley Rose [Mon, 11 Mar 2019 22:12:53 +0000 (22:12 +0000)]
Merge "InspectionCompanions as nested classes"

5 years agoSurfaceControl, Surface: Add nullability annotations.
Robert Carr [Thu, 7 Mar 2019 23:54:37 +0000 (15:54 -0800)]
SurfaceControl, Surface: Add nullability annotations.

In response to API Feedback.

Test: Builds
Bug: 126700125
Bug: 126360307
Change-Id: I17a14fd0d1b527ee38f68935cddee73fb4d10195

5 years agoMerge "rename precise carrier id to specific carrier id"
Chen Xu [Mon, 11 Mar 2019 21:54:34 +0000 (14:54 -0700)]
Merge "rename precise carrier id to specific carrier id"
am: 118354f77c

Change-Id: I2ef97c1013e3e77b7ec4ec311eaa437503a758e8

5 years agoAdded UserManager#getUserSwitchability.
Varun Shah [Tue, 5 Mar 2019 00:41:12 +0000 (16:41 -0800)]
Added UserManager#getUserSwitchability.

The new SystemApi indicates whether user switching is currently allowed
or not. This API provides more detail than the already existing
UserManager#canSwitchUsers (now deprecated) by telling the user why
users cannot be switched via a flag that's returned.

Bug: 124883455
Test: atest android.server.pm.UserManagerTest#testGetUserSwitchability
Change-Id: Ib3ac2f063f3638a172fa339fd2330604b910c7f4

5 years agoUpdate listening state when settings changes
Kevin Chyn [Mon, 11 Mar 2019 21:48:17 +0000 (14:48 -0700)]
Update listening state when settings changes

Test: builds
Change-Id: I3680e522ef8278c832e455613ceddeb8aec10be5

5 years agoMerge "Added @NonNull annoation to Insets.NONE static field"
Nader Jawad [Mon, 11 Mar 2019 21:36:35 +0000 (21:36 +0000)]
Merge "Added @NonNull annoation to Insets.NONE static field"

5 years agoContentSuggestionsService - allow user manager to disable content suggestions.
Zak Cohen [Wed, 6 Mar 2019 00:50:39 +0000 (16:50 -0800)]
ContentSuggestionsService - allow user manager to disable content suggestions.

Bug: 126227834
Test: compile
Change-Id: I2e8f4a87b1d4adf0d3dd591380d50ee28ae20379

5 years agoMerge "rename precise carrier id to specific carrier id"
Chen Xu [Mon, 11 Mar 2019 21:34:30 +0000 (21:34 +0000)]
Merge "rename precise carrier id to specific carrier id"

5 years agoMerge "Add DeviceConfig.onPropertiesChangedListener."
Matt Pape [Mon, 11 Mar 2019 21:33:22 +0000 (21:33 +0000)]
Merge "Add DeviceConfig.onPropertiesChangedListener."

5 years agoMerge "Resume GNSS measurement reporting when location setting is back on."
Anil Admal [Mon, 11 Mar 2019 21:24:55 +0000 (21:24 +0000)]
Merge "Resume GNSS measurement reporting when location setting is back on."