OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Add Nullable annotations for HDMI APIs."
Amy Zhang [Fri, 1 Mar 2019 21:41:35 +0000 (21:41 +0000)]
Merge "Add Nullable annotations for HDMI APIs."

5 years agoMerge "Add nullability annotation to Theme#getAttributeResolutionStack"
TreeHugger Robot [Fri, 1 Mar 2019 21:26:35 +0000 (21:26 +0000)]
Merge "Add nullability annotation to Theme#getAttributeResolutionStack"

5 years agoMerge "Nullability of PermissionControllerService#onBind"
TreeHugger Robot [Fri, 1 Mar 2019 21:24:42 +0000 (21:24 +0000)]
Merge "Nullability of PermissionControllerService#onBind"

5 years agoMerge "Digital clock on left in RTL layout direction."
TreeHugger Robot [Fri, 1 Mar 2019 20:55:40 +0000 (20:55 +0000)]
Merge "Digital clock on left in RTL layout direction."

5 years agoMerge "Set Sharesheet to use AiAi for DirectShare targets."
George Hodulik [Fri, 1 Mar 2019 19:38:10 +0000 (19:38 +0000)]
Merge "Set Sharesheet to use AiAi for DirectShare targets."

5 years agoMerge "Add a whitelist to control packages that can use Bugreporting API"
TreeHugger Robot [Fri, 1 Mar 2019 19:36:23 +0000 (19:36 +0000)]
Merge "Add a whitelist to control packages that can use Bugreporting API"

5 years agoAdd Nullable annotations for HDMI APIs.
Amy [Thu, 28 Feb 2019 21:38:23 +0000 (13:38 -0800)]
Add Nullable annotations for HDMI APIs.

Test: manual
Bug: 126700355
Change-Id: Id9b6f29c1aa58da32a2a81d38e986f496b69086c

5 years agoMerge "Fixed wifi picker active network detection for Passpoint"
Quang Luong [Fri, 1 Mar 2019 19:03:35 +0000 (19:03 +0000)]
Merge "Fixed wifi picker active network detection for Passpoint"

5 years agoNullability of PermissionControllerService#onBind
Philip P. Moltmann [Fri, 1 Mar 2019 18:49:32 +0000 (10:49 -0800)]
Nullability of PermissionControllerService#onBind

Only set nullability if super-method specified nullability at the same
place too.

Test: Built
Bug: 126701055
Change-Id: I08b9ac43ecb5f200d192a536449a880bc9a91f38

5 years agoDigital clock on left in RTL layout direction.
Robert Snoeberger [Fri, 1 Mar 2019 18:25:07 +0000 (13:25 -0500)]
Digital clock on left in RTL layout direction.

Bug: 125375325
Test: Used "Force RTL layout direction" in developer options.
Change-Id: I0a93258747e992ff8f91f08ee5d2c148bb31802e

5 years agoMerge "Improve widget getters"
Ashley Rose [Fri, 1 Mar 2019 18:43:00 +0000 (18:43 +0000)]
Merge "Improve widget getters"

5 years agoMerge "Add nullability annotations to ColorStateListDrawable"
Ashley Rose [Fri, 1 Mar 2019 18:37:48 +0000 (18:37 +0000)]
Merge "Add nullability annotations to ColorStateListDrawable"

5 years agoMerge "Check if idmap2 is accessible before executing it."
Yabin Cui [Fri, 1 Mar 2019 18:33:11 +0000 (18:33 +0000)]
Merge "Check if idmap2 is accessible before executing it."

5 years agoMerge "[OWE] Rename isOweSupported to isEnhancedOpenSupported"
TreeHugger Robot [Fri, 1 Mar 2019 18:29:48 +0000 (18:29 +0000)]
Merge "[OWE] Rename isOweSupported to isEnhancedOpenSupported"

5 years agoMerge "[automerger skipped] Merge "Add euicc privileged actions and extras." am:...
Android Build Merger (Role) [Fri, 1 Mar 2019 18:26:40 +0000 (18:26 +0000)]
Merge "[automerger skipped] Merge "Add euicc privileged actions and extras." am: 9886350a69 am: 292d7a3692 am: 97d67dff39 -s ours am skip reason: change_id Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170 with SHA1 f43a0ccf9a is in history"

5 years ago[automerger skipped] Merge "Add euicc privileged actions and extras." am: 9886350a69...
Patrick Huang [Fri, 1 Mar 2019 18:25:36 +0000 (10:25 -0800)]
[automerger skipped] Merge "Add euicc privileged actions and extras." am: 9886350a69 am: 292d7a3692
am: 97d67dff39 -s ours
am skip reason: change_id Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170 with SHA1 f43a0ccf9a is in history

Change-Id: I58866926e399cb935948657dc1305fdb5744e52a

5 years agoMerge changes from topic "staged_userdata_restore"
TreeHugger Robot [Fri, 1 Mar 2019 18:23:42 +0000 (18:23 +0000)]
Merge changes from topic "staged_userdata_restore"

* changes:
  Followup cleanup after refactoring rollback states.
  Use a single list for available and committed rollbacks.

5 years agoMerge "Test for userdata restore in staged rollback test."
TreeHugger Robot [Fri, 1 Mar 2019 18:23:42 +0000 (18:23 +0000)]
Merge "Test for userdata restore in staged rollback test."

5 years agoMerge "Mark role related APIs as test API."
TreeHugger Robot [Fri, 1 Mar 2019 18:23:06 +0000 (18:23 +0000)]
Merge "Mark role related APIs as test API."

5 years agoMerge "Start running CtsGraphicsTestCases for changes to graphics code."
TreeHugger Robot [Fri, 1 Mar 2019 18:21:35 +0000 (18:21 +0000)]
Merge "Start running CtsGraphicsTestCases for changes to graphics code."

5 years ago[automerger skipped] Merge "Fix ImsMmTelManager API in accordance with the council...
Brad Ebinger [Fri, 1 Mar 2019 18:09:55 +0000 (10:09 -0800)]
[automerger skipped] Merge "Fix ImsMmTelManager API in accordance with the council" am: ea5bb6cd3b am: 5e7bfe1147
am: 92262ec974 -s ours
am skip reason: change_id I5d011e1875c082a4532747e30e8582ff3da4ee93 with SHA1 4b292c85b6 is in history

Change-Id: If926d944faecd5110264f92bf5aae896a78d5b53

5 years agoAdd nullability annotation to Theme#getAttributeResolutionStack
Aurimas Liutikas [Thu, 28 Feb 2019 19:16:06 +0000 (11:16 -0800)]
Add nullability annotation to Theme#getAttributeResolutionStack

Bug: 126700353
Test: None
Change-Id: I50979abbdffbf347f8ee2ac85df119fe76abf841

5 years agoMerge "Add euicc privileged actions and extras." am: 9886350a69
Patrick Huang [Fri, 1 Mar 2019 18:04:05 +0000 (10:04 -0800)]
Merge "Add euicc privileged actions and extras." am: 9886350a69
am: 292d7a3692

Change-Id: I813de31e3a086d05d0a9ec29bbccc70df5a76497

5 years agoMerge "Merge "Make Uri.toSafeString() also handle 'rtsp'" am: 948d11ffa6 am: a4fadcc1...
Android Build Merger (Role) [Fri, 1 Mar 2019 17:58:01 +0000 (17:58 +0000)]
Merge "Merge "Make Uri.toSafeString() also handle 'rtsp'" am: 948d11ffa6 am: a4fadcc192 am: 524cbefb5c"

5 years agoMerge "Make Uri.toSafeString() also handle 'rtsp'" am: 948d11ffa6 am: a4fadcc192
Dongwon Kang [Fri, 1 Mar 2019 17:56:56 +0000 (09:56 -0800)]
Merge "Make Uri.toSafeString() also handle 'rtsp'" am: 948d11ffa6 am: a4fadcc192
am: 524cbefb5c

Change-Id: I1c3b644fe63b34b41a452a72cb1ed03ff1e5fa71

5 years agoMerge "Fix ImsMmTelManager API in accordance with the council" am: ea5bb6cd3b
Brad Ebinger [Fri, 1 Mar 2019 17:55:56 +0000 (09:55 -0800)]
Merge "Fix ImsMmTelManager API in accordance with the council" am: ea5bb6cd3b
am: 5e7bfe1147

Change-Id: Ib71efd9afc25f0dbdd9547137c1d66d26e86b181

5 years agoMerge "Refactor CarrierTextController"
Fabian Kozynski [Fri, 1 Mar 2019 17:53:43 +0000 (17:53 +0000)]
Merge "Refactor CarrierTextController"

5 years agoMerge "Add euicc privileged actions and extras."
Patrick Huang [Fri, 1 Mar 2019 17:48:03 +0000 (09:48 -0800)]
Merge "Add euicc privileged actions and extras."
am: 9886350a69

Change-Id: I62dd31e083b229ad893208b88e4f91147c667974

5 years agoMerge "Make Uri.toSafeString() also handle 'rtsp'" am: 948d11ffa6
Dongwon Kang [Fri, 1 Mar 2019 17:42:25 +0000 (09:42 -0800)]
Merge "Make Uri.toSafeString() also handle 'rtsp'" am: 948d11ffa6
am: a4fadcc192

Change-Id: I5b8a8c6eddcbb8418494909757fe9b55d27acd01

5 years agoMerge "Add euicc privileged actions and extras."
Treehugger Robot [Fri, 1 Mar 2019 17:39:49 +0000 (17:39 +0000)]
Merge "Add euicc privileged actions and extras."

5 years agoMerge "Fix ImsMmTelManager API in accordance with the council"
Brad Ebinger [Fri, 1 Mar 2019 17:37:40 +0000 (09:37 -0800)]
Merge "Fix ImsMmTelManager API in accordance with the council"
am: ea5bb6cd3b

Change-Id: Iddb4c85b71d8fd17fda049e6137eec7a91f18413

5 years agoMerge "Make Uri.toSafeString() also handle 'rtsp'"
Dongwon Kang [Fri, 1 Mar 2019 17:28:43 +0000 (09:28 -0800)]
Merge "Make Uri.toSafeString() also handle 'rtsp'"
am: 948d11ffa6

Change-Id: I3f77108d5b739ed5039e95576db44d94f20ad53e

5 years agoMerge "Fix ImsMmTelManager API in accordance with the council"
Brad Ebinger [Fri, 1 Mar 2019 17:21:17 +0000 (17:21 +0000)]
Merge "Fix ImsMmTelManager API in accordance with the council"

5 years agoMerge "Use Uri.toSafeString() in MediaPlayer[2].java."
Dongwon Kang [Fri, 1 Mar 2019 17:10:08 +0000 (17:10 +0000)]
Merge "Use Uri.toSafeString() in MediaPlayer[2].java."

5 years agoMerge "WifiNetworkSpecifier/Suggestion Builder: Add @NonNull annotations"
Roshan Pius [Fri, 1 Mar 2019 17:09:31 +0000 (17:09 +0000)]
Merge "WifiNetworkSpecifier/Suggestion Builder: Add @NonNull annotations"

5 years agoMerge "Make Uri.toSafeString() also handle 'rtsp'"
Dongwon Kang [Fri, 1 Mar 2019 17:09:29 +0000 (17:09 +0000)]
Merge "Make Uri.toSafeString() also handle 'rtsp'"

5 years agoMerge "Migrate frameworks/base/tests/testables and its users to androidx.test"
Brett Chabot [Fri, 1 Mar 2019 16:54:31 +0000 (16:54 +0000)]
Merge "Migrate frameworks/base/tests/testables and its users to androidx.test"

5 years agoMigrate frameworks/base/tests/testables and its users to androidx.test
Brett Chabot [Wed, 27 Feb 2019 23:37:59 +0000 (15:37 -0800)]
Migrate frameworks/base/tests/testables and its users to androidx.test

See go/jetpack-test-android-migration

This is the internal version of AOSP change aosp/908373

Test: m -j TestablesTests NetworkStackTests FrameworksServicesTests SystemUITests FrameworksUiServicesTests ExtServicesUnitTests WmTests FrameworksCoreTests

Exempt-From-Owner-Approval: automated package name refactoring; already reviewed on AOSP
Change-Id: Ib04d80954bd8536914d88c66b28e6632e60a6245

5 years agoAdd a whitelist to control packages that can use Bugreporting API
Nikita Ioffe [Thu, 28 Feb 2019 21:35:02 +0000 (21:35 +0000)]
Add a whitelist to control packages that can use Bugreporting API

Test: checked SecurityException is thrown for my custom app
Test: whiltelisted my custom app, checked no SecurityException is thrown
Bug: 126541701
Change-Id: Id0b61ccc1adf40bcb455d3b59b640f4b160bdd84

5 years agoFollowup cleanup after refactoring rollback states.
Richard Uhler [Fri, 1 Mar 2019 16:03:01 +0000 (16:03 +0000)]
Followup cleanup after refactoring rollback states.

This CL addresses some minor comments as followup to the previous CL
"Use a single list for available and committed rollbacks".

Test: atest RollbackTest
Test: atest StagedRollbackTest
Test: atest AppDataRollbackHelperTest
Bug: 124044231
Change-Id: I6146cfac3a70017dc8d7eed6b6d3c19de932f14b

5 years agoMerge "Add defaultValue to javadocs for typed getters."
Matt Pape [Fri, 1 Mar 2019 15:30:08 +0000 (15:30 +0000)]
Merge "Add defaultValue to javadocs for typed getters."

5 years agoMerge "Merge "Support dexopting shared libraries." am: 3275a6b245 am: 2e07ca0f15...
Android Build Merger (Role) [Fri, 1 Mar 2019 15:18:02 +0000 (15:18 +0000)]
Merge "Merge "Support dexopting shared libraries." am: 3275a6b245 am: 2e07ca0f15 am: adcb9fd8c8"

5 years agoMerge "Support dexopting shared libraries." am: 3275a6b245 am: 2e07ca0f15
Nicolas Geoffray [Fri, 1 Mar 2019 15:16:31 +0000 (07:16 -0800)]
Merge "Support dexopting shared libraries." am: 3275a6b245 am: 2e07ca0f15
am: adcb9fd8c8

Change-Id: I419d04436685772e187c87292a8143910e56ceaf

5 years agowifi.proto: Fix a bug in the proto for API
Roshan Pius [Thu, 28 Feb 2019 19:04:00 +0000 (11:04 -0800)]
wifi.proto: Fix a bug in the proto for API

Bug: 123362619
Bug: 123362779
Test: Compiles
Change-Id: I021ef2e93bd8547d7c135868b87861c72c808df7

5 years agoWifiNetworkSpecifier/Suggestion Builder: Add @NonNull annotations
Roshan Pius [Tue, 26 Feb 2019 23:00:22 +0000 (15:00 -0800)]
WifiNetworkSpecifier/Suggestion Builder: Add @NonNull annotations

Based on feedback from API council.

Bug: 123313291
Bug: 126699563
Bug: 126701114
Test: Compiles
Change-Id: I119649add8ec71b041631357994aa20c253a5568

5 years agoMerge "Switch android.test and junit classes to use UnsupportedAppUsage" am: 7bb0bcd3...
Paul Duffin [Fri, 1 Mar 2019 15:08:14 +0000 (07:08 -0800)]
Merge "Switch android.test and junit classes to use UnsupportedAppUsage" am: 7bb0bcd305 am: b5ccf0e21c
am: d75f1793e6

Change-Id: I7a7c34980507393ec855c9e161ca0a922ed57fe4

5 years agoMerge "Support dexopting shared libraries." am: 3275a6b245
Nicolas Geoffray [Fri, 1 Mar 2019 15:06:51 +0000 (07:06 -0800)]
Merge "Support dexopting shared libraries." am: 3275a6b245
am: 2e07ca0f15

Change-Id: Icee2bd2eddf07c5b47b841fab60eb8f5f35f852c

5 years agoRefactor CarrierTextController
Fabian Kozynski [Tue, 5 Feb 2019 14:36:59 +0000 (09:36 -0500)]
Refactor CarrierTextController

The list of carriers is now created on the go, so it will always have
the same number of items as there are subscriptions.

Fixes code that reused same slotID into carrierName order.

Test: atest
Test: manual using DSDS

Change-Id: I2533738429b8f0f94c84110641e8c162d19f094a

5 years agoMerge "Merge changes I10c6ed68,I14d6defe am: 8dee71f101 am: 84817b5581 am: b130dbccd8"
Android Build Merger (Role) [Fri, 1 Mar 2019 14:59:36 +0000 (14:59 +0000)]
Merge "Merge changes I10c6ed68,I14d6defe am: 8dee71f101 am: 84817b5581 am: b130dbccd8"

5 years agoMerge "All Parcelable CREATOR fields are @NonNull."
Jeff Sharkey [Fri, 1 Mar 2019 14:58:28 +0000 (14:58 +0000)]
Merge "All Parcelable CREATOR fields are @NonNull."

5 years agoMerge "Support dexopting shared libraries."
Nicolas Geoffray [Fri, 1 Mar 2019 14:57:46 +0000 (06:57 -0800)]
Merge "Support dexopting shared libraries."
am: 3275a6b245

Change-Id: I9c0c742f38296efa42fb719f27ad08a90e2b55b5

5 years agoMerge changes I10c6ed68,I14d6defe am: 8dee71f101 am: 84817b5581
Roland Levillain [Fri, 1 Mar 2019 14:56:15 +0000 (06:56 -0800)]
Merge changes I10c6ed68,I14d6defe am: 8dee71f101 am: 84817b5581
am: b130dbccd8

Change-Id: I52701fa0965283feb469e867dae9e702f37f3b4b

5 years agoMerge "Switch android.test and junit classes to use UnsupportedAppUsage" am: 7bb0bcd305
Paul Duffin [Fri, 1 Mar 2019 14:54:49 +0000 (06:54 -0800)]
Merge "Switch android.test and junit classes to use UnsupportedAppUsage" am: 7bb0bcd305
am: b5ccf0e21c

Change-Id: I38729b9ea144ab550741436a7fe1aea99c376a05

5 years agoMerge changes I10c6ed68,I14d6defe am: 8dee71f101
Roland Levillain [Fri, 1 Mar 2019 14:46:35 +0000 (06:46 -0800)]
Merge changes I10c6ed68,I14d6defe am: 8dee71f101
am: 84817b5581

Change-Id: I66c0d80121dcc1a1dd9240716e6c3bd24eb293c5

5 years agoMerge "Support dexopting shared libraries."
Nicolas Geoffray [Fri, 1 Mar 2019 14:44:49 +0000 (14:44 +0000)]
Merge "Support dexopting shared libraries."

5 years agoMerge "Tweak spacing on grid-based Global Actions Menu."
Aaron Heuckroth [Fri, 1 Mar 2019 14:43:25 +0000 (14:43 +0000)]
Merge "Tweak spacing on grid-based Global Actions Menu."

5 years agoMerge "Switch android.test and junit classes to use UnsupportedAppUsage"
Paul Duffin [Fri, 1 Mar 2019 14:43:17 +0000 (06:43 -0800)]
Merge "Switch android.test and junit classes to use UnsupportedAppUsage"
am: 7bb0bcd305

Change-Id: Ie6fcc247d98d095cdb6b041a2551f727e4fee7d9

5 years agoMerge changes I10c6ed68,I14d6defe
Roland Levillain [Fri, 1 Mar 2019 14:39:10 +0000 (06:39 -0800)]
Merge changes I10c6ed68,I14d6defe
am: 8dee71f101

Change-Id: Ia494f123d14c740bf456d75670b469bc7c8c33f0

5 years agoMerge "CastTile: stop active projection (if any) on tile clicks"
Narayan Kamath [Fri, 1 Mar 2019 14:37:00 +0000 (14:37 +0000)]
Merge "CastTile: stop active projection (if any) on tile clicks"

5 years agoMerge "CastTile : Cosmetic changes to the cast tile UX."
Narayan Kamath [Fri, 1 Mar 2019 14:36:37 +0000 (14:36 +0000)]
Merge "CastTile : Cosmetic changes to the cast tile UX."

5 years agoMerge "Switch android.test and junit classes to use UnsupportedAppUsage"
Paul Duffin [Fri, 1 Mar 2019 14:24:16 +0000 (14:24 +0000)]
Merge "Switch android.test and junit classes to use UnsupportedAppUsage"

5 years agoMerge changes I10c6ed68,I14d6defe
Roland Levillain [Fri, 1 Mar 2019 14:22:49 +0000 (14:22 +0000)]
Merge changes I10c6ed68,I14d6defe

* changes:
  Check Android Runtime (Boot) device configuration flag `enable_apex_image`.
  Refactor unit test for Android Runtime (Boot) device configuration flags.

5 years agoUse a single list for available and committed rollbacks.
Richard Uhler [Tue, 26 Feb 2019 10:40:36 +0000 (10:40 +0000)]
Use a single list for available and committed rollbacks.

So that there is a single source of truth for pending backups and
pending restores. This fixes rollback of userdata for staged rollbacks.

Included in this change:
* Distinguish between PENDING_AVAILABLE, AVAILABLE, and COMMITTED
  rollback states.
* Separate completeEnableRollback from makeRollbackAvailable.
* Make timestamp @NonNull and set it when rollback is made available.
* Don't listen for SESSION_UPDATED broadcasts.
* Factor out common code for ignoring saveRollbackData IOException.
* Other minor cleanups.

Test: atest RollbackTest
Test: atest StagedRollbackTest
Test: atest AppDataRollbackHelperTest
Bug: 124044231

Change-Id: I654a7827e9ed15659d0cb80e5a2c29c2660aea08

5 years agoMerge "Add thread atom that contains sum of filtered thread CPU usage"
TreeHugger Robot [Fri, 1 Mar 2019 13:33:53 +0000 (13:33 +0000)]
Merge "Add thread atom that contains sum of filtered thread CPU usage"

5 years agoCastTile : Cosmetic changes to the cast tile UX.
Narayan Kamath [Wed, 27 Feb 2019 18:27:59 +0000 (18:27 +0000)]
CastTile : Cosmetic changes to the cast tile UX.

- Change the tile title to "Screen Cast".
- Always show the tile title as a primary label, and show
  the casting or projection device as the secondary label.
- Also fixes an issue where the cast tile would show as disabled
  when WiFi wasn't connected, despite the fact that the tile may
  have been displaying an in-progress projection session.

Test: manual
Bug: 124753835

Change-Id: I15f9c0a80d288e5d9a77e87fd1f3135033fdb873

5 years agoMerge "Add statslog logging for hidden api usage"
Andrei-Valentin Onea [Fri, 1 Mar 2019 11:47:15 +0000 (11:47 +0000)]
Merge "Add statslog logging for hidden api usage"

5 years agoMerge "Add comment to clarify use case of the new constructors."
Issei Suzuki [Fri, 1 Mar 2019 11:02:05 +0000 (11:02 +0000)]
Merge "Add comment to clarify use case of the new constructors."

5 years agoMerge "Add PARSE_IS_SYSTEM_DIR when parsing /system APEXes."
Martijn Coenen [Fri, 1 Mar 2019 10:43:50 +0000 (10:43 +0000)]
Merge "Add PARSE_IS_SYSTEM_DIR when parsing /system APEXes."

5 years agoSwitch android.test and junit classes to use UnsupportedAppUsage
Paul Duffin [Fri, 15 Feb 2019 12:58:26 +0000 (12:58 +0000)]
Switch android.test and junit classes to use UnsupportedAppUsage

The UnsupportedAppUsage annotations could not be added directly to the
java files in src/ as they have to be built against the current api
which does not include the annotation. Instead this uses the same
technique as used for libcore/ojluni files and adds the annotations to
stub files (in hiddenapi/src) which are built as part of the
android.test.base-hiddenapi target. That target is added to a special
whitelist in build/soong/java/config/config.go which causes the
hiddenapi information to be extracted from the target.

Also, updates the preupload check to prevent anymore entries being
added to the config/hiddenapi-greylist.txt for android.test or junit
classes.

Bug: 73711752
Test: m cts-hiddenapi_flags-csv and check that it contained the
        correct entries even though they had been removed from
config/hiddenapi-greylist.txt
Change-Id: Ifaf15d2751f54cb03f8402b866a0ee4da7acc4d2

5 years agoSupport dexopting shared libraries.
Nicolas Geoffray [Tue, 26 Feb 2019 23:24:34 +0000 (23:24 +0000)]
Support dexopting shared libraries.

Test: adb shell setprop dalvik.vm.boot-image /system/framework/apex.art && see compilations in dalvik-cache
Test: BackgroundDexOptServiceIntegrationTests
Test: DexoptUtilsTest
Bug: 119800099
Change-Id: I3445b8743d576e09c9a339602307ba3a219db1fc

5 years agoMerge "Bugreport Manager service clear binder identity"
Abhijeet Kaur [Fri, 1 Mar 2019 10:15:42 +0000 (10:15 +0000)]
Merge "Bugreport Manager service clear binder identity"

5 years agoTest for userdata restore in staged rollback test.
Richard Uhler [Tue, 19 Feb 2019 10:31:21 +0000 (10:31 +0000)]
Test for userdata restore in staged rollback test.

Bug: 124044231
Test: frameworks/base/tests/RollbackTest$ atest
Change-Id: Ic323b2e45c05ac4706d96fe15b109fdceaf53da4

5 years agoMerge "Set NetworkStack targetSdk to 28" am: 3e15c9f9ba am: 4be31060a2
Remi NGUYEN VAN [Fri, 1 Mar 2019 07:11:20 +0000 (23:11 -0800)]
Merge "Set NetworkStack targetSdk to 28" am: 3e15c9f9ba am: 4be31060a2
am: 6026ca9552

Change-Id: I6c02ff70600b1dc32e989493e6dfa924c0ef8b61

5 years agoMerge "Set NetworkStack targetSdk to 28" am: 3e15c9f9ba
Remi NGUYEN VAN [Fri, 1 Mar 2019 07:01:55 +0000 (23:01 -0800)]
Merge "Set NetworkStack targetSdk to 28" am: 3e15c9f9ba
am: 4be31060a2

Change-Id: I2575c6caaf3438338ab34d26c7900a28e7beac69

5 years agoMerge "Set NetworkStack targetSdk to 28"
Remi NGUYEN VAN [Fri, 1 Mar 2019 06:52:43 +0000 (22:52 -0800)]
Merge "Set NetworkStack targetSdk to 28"
am: 3e15c9f9ba

Change-Id: Ic1fe1670f10cb921cf38bcc666142252eb0b749f

5 years agoMerge "Set NetworkStack targetSdk to 28"
Remi NGUYEN VAN [Fri, 1 Mar 2019 06:43:21 +0000 (06:43 +0000)]
Merge "Set NetworkStack targetSdk to 28"

5 years agoMerge "Add null checks for attribute getters in View."
TreeHugger Robot [Fri, 1 Mar 2019 06:35:17 +0000 (06:35 +0000)]
Merge "Add null checks for attribute getters in View."

5 years agoAll Parcelable CREATOR fields are @NonNull.
Jeff Sharkey [Thu, 28 Feb 2019 19:06:45 +0000 (12:06 -0700)]
All Parcelable CREATOR fields are @NonNull.

If they were null, then the Parcelable would fail to work.

Bug: 126726802
Test: manual
Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014
Exempt-From-Owner-Approval: Trivial API annotations

5 years agoMerge "Translate selection arguments that are paths."
Jeff Sharkey [Fri, 1 Mar 2019 06:28:24 +0000 (06:28 +0000)]
Merge "Translate selection arguments that are paths."

5 years agoTo be @Nullable or @NonNull, that is the question.
Jeff Sharkey [Thu, 28 Feb 2019 19:02:10 +0000 (12:02 -0700)]
To be @Nullable or @NonNull, that is the question.

Bug: 126699288126699496126700389
Bug: 126700085126701638126702005126700497
Test: manual
Change-Id: Idcbc2722ddcf014a9e5cef14321b4e2ce30adf9c

5 years agoIntercept unlink(), remove(), and rename().
Jeff Sharkey [Thu, 28 Feb 2019 05:14:16 +0000 (22:14 -0700)]
Intercept unlink(), remove(), and rename().

Handles cases where apps try deleting paths returned in "_data"
columns, and where they try renaming across bind mounts.

Bug: 124349250
Test: atest android.appsecurity.cts.ExternalStorageHostTest#testExternalStorageRename
Change-Id: I7f4461bcacada80398eb95d051a0d29456f63499

5 years agoMerge "Check for NPE when sending enroll result"
TreeHugger Robot [Fri, 1 Mar 2019 05:32:31 +0000 (05:32 +0000)]
Merge "Check for NPE when sending enroll result"

5 years agoMerge "Add logging for when cancel times out"
Kevin Chyn [Fri, 1 Mar 2019 04:47:19 +0000 (04:47 +0000)]
Merge "Add logging for when cancel times out"

5 years agoMerge "Added NPE check on verifySameType()."
TreeHugger Robot [Fri, 1 Mar 2019 04:42:45 +0000 (04:42 +0000)]
Merge "Added NPE check on verifySameType()."

5 years agoMerge "Add missing ServiceType values to IntDef."
TreeHugger Robot [Fri, 1 Mar 2019 03:53:29 +0000 (03:53 +0000)]
Merge "Add missing ServiceType values to IntDef."

5 years agoAdd euicc privileged actions and extras.
Patrick Huang [Fri, 1 Mar 2019 03:51:10 +0000 (19:51 -0800)]
Add euicc privileged actions and extras.

Bug: 122769846
Test: Test on phone
Change-Id: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170
Merged-In: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170

5 years ago[automerger skipped] Merge "Remove ConnectivityManager and its usages from NetworkSta...
Varun Anand [Fri, 1 Mar 2019 03:35:07 +0000 (19:35 -0800)]
[automerger skipped] Merge "Remove ConnectivityManager and its usages from NetworkStatsService." am: 93dfa10da4 am: a8cb41a94d
am: fcdb1380ac -s ours
am skip reason: change_id I57e117bb4e9efe491b19d6b5a479f2d58d1c58e6 with SHA1 02c50ef1d1 is in history

Change-Id: I3ddc59f7abb5e3c0a2f4f54bb68632578948ee89

5 years agoMerge "Remove ConnectivityManager and its usages from NetworkStatsService." am: 93dfa...
Varun Anand [Fri, 1 Mar 2019 03:25:53 +0000 (19:25 -0800)]
Merge "Remove ConnectivityManager and its usages from NetworkStatsService." am: 93dfa10da4
am: a8cb41a94d

Change-Id: Ieb10b88344dd4436913426961e6999577a469f36

5 years agoMerge "Remove ConnectivityManager and its usages from NetworkStatsService."
Varun Anand [Fri, 1 Mar 2019 03:18:33 +0000 (19:18 -0800)]
Merge "Remove ConnectivityManager and its usages from NetworkStatsService."
am: 93dfa10da4

Change-Id: I2a2809d3a2ee4106cc131d61ace401f31c187844

5 years ago[OWE] Rename isOweSupported to isEnhancedOpenSupported
Hai Shalom [Thu, 28 Feb 2019 20:40:40 +0000 (12:40 -0800)]
[OWE] Rename isOweSupported to isEnhancedOpenSupported

Stick to the official WFA marketing name in this public API.

Bug: 125850601
Test: atest com.android.server.wifi
Test: Use Settings to scan and connect to OWE network
Change-Id: I4eb9fb99500d7d56489c00ef0ee2ac571ff162d1

5 years agoMerge "Remove ConnectivityManager and its usages from NetworkStatsService."
Varun Anand [Fri, 1 Mar 2019 03:06:06 +0000 (03:06 +0000)]
Merge "Remove ConnectivityManager and its usages from NetworkStatsService."

5 years agoMerge "Merge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0 am: 715c2d8...
Android Build Merger (Role) [Fri, 1 Mar 2019 02:55:26 +0000 (02:55 +0000)]
Merge "Merge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0 am: 715c2d87cc am: 3bc4573765"

5 years agoCheck for NPE when sending enroll result
Kevin Chyn [Fri, 1 Mar 2019 02:55:10 +0000 (18:55 -0800)]
Check for NPE when sending enroll result

It's possible for the client to crash and have the service continue to
receive results for a short amount of time.

Bug: 126212114

Test: system server doesn't die anymore
Change-Id: I574b605eba50169a611cae8e95c46aa61defcb9c

5 years agoMerge "Fixed PASSWORD_COMPLEXITY_HIGH javadoc to require complex PIN of length at...
TreeHugger Robot [Fri, 1 Mar 2019 02:55:04 +0000 (02:55 +0000)]
Merge "Fixed PASSWORD_COMPLEXITY_HIGH javadoc to require complex PIN of length at least 8"

5 years agoMerge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0 am: 715c2d87cc
Chen Xu [Fri, 1 Mar 2019 02:54:02 +0000 (18:54 -0800)]
Merge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0 am: 715c2d87cc
am: 3bc4573765

Change-Id: I35e81dcc8e091e91cf335587849c596134781a7c

5 years agoMerge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0
Chen Xu [Fri, 1 Mar 2019 02:44:41 +0000 (18:44 -0800)]
Merge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0
am: 715c2d87cc

Change-Id: I0c9f9cea0afaf221506906b79c18b562caba355f

5 years agoSet NetworkStack targetSdk to 28
Remi NGUYEN VAN [Fri, 1 Mar 2019 01:01:24 +0000 (10:01 +0900)]
Set NetworkStack targetSdk to 28

Test: flashed, booted, WiFi works
Change-Id: I7bbd7eb563432a290358d16652c0ae69e9772002

5 years agoMerge "Add NonNull to remaining BiometricPrompt Builder methods"
Kevin Chyn [Fri, 1 Mar 2019 02:40:55 +0000 (02:40 +0000)]
Merge "Add NonNull to remaining BiometricPrompt Builder methods"

5 years agoAdd NonNull to remaining BiometricPrompt Builder methods
Kevin Chyn [Thu, 28 Feb 2019 23:51:43 +0000 (15:51 -0800)]
Add NonNull to remaining BiometricPrompt Builder methods

Test: make -j56 update-api
Test: builds

Fixes: 126799710

Change-Id: Ifc074863b5ffa5c69f7b8edb7aecbad9220faab4

5 years agoMerge "add NonNull and Nullable annotation to APIs"
Chen Xu [Fri, 1 Mar 2019 02:33:17 +0000 (18:33 -0800)]
Merge "add NonNull and Nullable annotation to APIs"
am: c931e9b0c0

Change-Id: I4ec29b409230a04be5897ccde9bb524dc1eadbdf