OSDN Git Service

android-x86/frameworks-base.git
6 years agoDisable optimize startInput in IMMS
Tarandeep Singh [Fri, 30 Mar 2018 00:04:44 +0000 (17:04 -0700)]
Disable optimize startInput in IMMS

Disable optimize start input for P since there are few corner cases that
are not been fully adressed. One solution could be to call finishInput() on every
window focusing-out in bug 9216494

Change-Id: I4deb0a5e5e2ba951ec551e399636736dc0208154
Fixes: 76078731
Bug: 37617707
Test: atest CtsInputMethodTestCases

6 years agoMerge "Fix Skia's impl for TextureView.getBitmap" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 00:48:29 +0000 (00:48 +0000)]
Merge "Fix Skia's impl for TextureView.getBitmap" into pi-dev

6 years agoMerge "Add more privacy tags." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 00:43:58 +0000 (00:43 +0000)]
Merge "Add more privacy tags." into pi-dev

6 years agoMerge "wifi metrics(proto): Add new metrics for wifi native failures" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 00:28:15 +0000 (00:28 +0000)]
Merge "wifi metrics(proto): Add new metrics for wifi native failures" into pi-dev

6 years agoMerge "Revert "Install for all on replace"" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 00:26:12 +0000 (00:26 +0000)]
Merge "Revert "Install for all on replace"" into pi-dev

6 years agoMerge "Revert "[QS] Update landscape UI"" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 00:23:41 +0000 (00:23 +0000)]
Merge "Revert "[QS] Update landscape UI"" into pi-dev

6 years agoMerge changes I3e542532,Id8f2147f into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 00:10:22 +0000 (00:10 +0000)]
Merge changes I3e542532,Id8f2147f into pi-dev

* changes:
  Update notification blocking documentation.
  Wait before computing contact affinity

6 years agoMerge "Minor correction to the javadoc to match implementation" into pi-dev
Bo Zhu [Fri, 30 Mar 2018 00:04:46 +0000 (00:04 +0000)]
Merge "Minor correction to the javadoc to match implementation" into pi-dev

6 years agoMerge "Add documentation for TCP interactions with transforms" into pi-dev
Benedict Wong [Fri, 30 Mar 2018 00:01:43 +0000 (00:01 +0000)]
Merge "Add documentation for TCP interactions with transforms" into pi-dev

6 years agoMinor correction to the javadoc to match implementation
Bo Zhu [Thu, 29 Mar 2018 23:42:29 +0000 (16:42 -0700)]
Minor correction to the javadoc to match implementation

Change the number of bytes for the length prefix for salted hash to be
4-byte instead of 1-byte

Bug: 77294103
Test: None
Change-Id: Ifa2739c757539e9b7d2aaa1ea702de0148a311ba

6 years agoMerge "Creating java package for Privacy proto." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 23:37:55 +0000 (23:37 +0000)]
Merge "Creating java package for Privacy proto." into pi-dev

6 years agoMerge "Handle public volumes and otherwise invalid UUIDs." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 23:33:18 +0000 (23:33 +0000)]
Merge "Handle public volumes and otherwise invalid UUIDs." into pi-dev

6 years agoMerge "Add support for testing mode root certificate." into pi-dev
Dmitry Dementyev [Thu, 29 Mar 2018 23:25:14 +0000 (23:25 +0000)]
Merge "Add support for testing mode root certificate." into pi-dev

6 years agoMerge "Fix seccomp filter set up in zygote" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 23:21:50 +0000 (23:21 +0000)]
Merge "Fix seccomp filter set up in zygote" into pi-dev

6 years agoMerge "Minor javadoc fixes." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 23:11:32 +0000 (23:11 +0000)]
Merge "Minor javadoc fixes." into pi-dev

6 years agoMerge ""02:00:00:00:00:00" invalid for MAC randomization" into pi-dev
Mukesh Agrawal [Thu, 29 Mar 2018 22:25:13 +0000 (22:25 +0000)]
Merge ""02:00:00:00:00:00" invalid for MAC randomization" into pi-dev

6 years agoMerge "Allow PO to call setSystemSetting." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 22:24:25 +0000 (22:24 +0000)]
Merge "Allow PO to call setSystemSetting." into pi-dev

6 years agoMerge "[Magnifier-37] Hide handle when overlaps magnifier" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 22:16:58 +0000 (22:16 +0000)]
Merge "[Magnifier-37] Hide handle when overlaps magnifier" into pi-dev

6 years agoMerge "Only return internal path when not visible." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 22:16:32 +0000 (22:16 +0000)]
Merge "Only return internal path when not visible." into pi-dev

6 years agoMerge "Fixed mClientState dump." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 21:58:17 +0000 (21:58 +0000)]
Merge "Fixed mClientState dump." into pi-dev

6 years agoMerge "Fixed annotation typo." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 21:43:14 +0000 (21:43 +0000)]
Merge "Fixed annotation typo." into pi-dev

6 years agoMerge "Add the CorePerfTests and MultiUserPerfTests to APCT metrics" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 21:33:45 +0000 (21:33 +0000)]
Merge "Add the CorePerfTests and MultiUserPerfTests to APCT metrics" into pi-dev

6 years agoMerge "Add MtpDocumentsProviderPerfTests to APCT metric" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 21:33:25 +0000 (21:33 +0000)]
Merge "Add MtpDocumentsProviderPerfTests to APCT metric" into pi-dev

6 years agoMerge "Add permission hint, update permission slice structure" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 21:29:07 +0000 (21:29 +0000)]
Merge "Add permission hint, update permission slice structure" into pi-dev

6 years agoCreating java package for Privacy proto.
Kweku Adams [Thu, 29 Mar 2018 21:26:23 +0000 (14:26 -0700)]
Creating java package for Privacy proto.

Also setting fields in the GlobalSettingsProto.Private message to LOCAL.

Bug: 72814439
Bug: 74975371
Test: flash device and check incident.proto output
Change-Id: Ia580144b8b0d0cb9bd9a3297a37213ed5f60a514

6 years agoAdd support for testing mode root certificate.
Dmitry Dementyev [Wed, 28 Mar 2018 19:36:45 +0000 (12:36 -0700)]
Add support for testing mode root certificate.

1) Add Certificate
2) Helper class for end-to-end tests
3) Only create snapshot for passwords with special prefix in test mode
4) Sync only keys with insecure prefix in test mode.

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

Change-Id: I6edc8c4716c3a034b6b79c7aa6f4b8478e9a3c9e

6 years agoMerge "Block root task from being shown in recents" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 21:10:31 +0000 (21:10 +0000)]
Merge "Block root task from being shown in recents" into pi-dev

6 years agoMerge "Update mobile data icons." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 20:58:02 +0000 (20:58 +0000)]
Merge "Update mobile data icons." into pi-dev

6 years agoMerge "Surface the log write errors to StatsLog.write" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 20:57:56 +0000 (20:57 +0000)]
Merge "Surface the log write errors to StatsLog.write" into pi-dev

6 years agoMerge "Add a SystemApi to control display saturation." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 20:55:22 +0000 (20:55 +0000)]
Merge "Add a SystemApi to control display saturation." into pi-dev

6 years agoFix seccomp filter set up in zygote
Victor Hsieh [Tue, 27 Mar 2018 22:02:38 +0000 (15:02 -0700)]
Fix seccomp filter set up in zygote

This needs to land with extra syscalls whitelisted, including capset and
setresuid.  These privileged syscalls are used in the setup after the
filter is initialized.

Test: system starts, different apps run
Bug: 63944145
Bug: 76461821
Change-Id: I49e6b292805f35baffb3530461c8741e75aceb32
Merged-In: I49e6b292805f35baffb3530461c8741e75aceb32

6 years agoUpdate notification blocking documentation.
Julia Reynolds [Thu, 29 Mar 2018 19:44:13 +0000 (15:44 -0400)]
Update notification blocking documentation.

Change-Id: I3e5425321d127fbf11adfa1c4ac5bed53fc73e03
Fixes: 73750866
Test: make

6 years agoAdd more privacy tags.
Yi Jin [Thu, 29 Mar 2018 01:31:07 +0000 (18:31 -0700)]
Add more privacy tags.

Bug: 74837756
Test: manual
Change-Id: I8993ae736df171f379aa6e24e865a6fbace9d091

6 years agoHandle public volumes and otherwise invalid UUIDs.
Jeff Sharkey [Thu, 29 Mar 2018 20:29:27 +0000 (14:29 -0600)]
Handle public volumes and otherwise invalid UUIDs.

Public volumes have short UUIDs (which aren't valid 128-bit UUIDs),
so we can't pass them around.  Even if they were valid UUIDs, we
don't handle clearing cached data on them, and they most likely
don't support fallocate(), so don't match them.

Test: manual
Bug: 74132243
Change-Id: Ib855eb869a86392e96ced94a9926c0b32b87e57e

6 years agoMerge "Fix empty program list filter handling." into pi-dev
Tomasz Wasilczyk [Thu, 29 Mar 2018 20:28:12 +0000 (20:28 +0000)]
Merge "Fix empty program list filter handling." into pi-dev

6 years agoMerge "Add in/out ColorSpace to ImageDecoder" into pi-dev
Leon Scroggins [Thu, 29 Mar 2018 20:27:43 +0000 (20:27 +0000)]
Merge "Add in/out ColorSpace to ImageDecoder" into pi-dev

6 years agoMerge "Clean up codes holding mInstallLock in PackageParserCallback" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 20:27:35 +0000 (20:27 +0000)]
Merge "Clean up codes holding mInstallLock in PackageParserCallback" into pi-dev

6 years agoAllow PO to call setSystemSetting.
yuemingw [Wed, 28 Mar 2018 14:58:49 +0000 (15:58 +0100)]
Allow PO to call setSystemSetting.

As system setting is per user, we should allow PO to call it.

Bug: 77204777
Test: runtest -x services/tests/servicestests/src/
com/android/server/devicepolicy/DevicePolicyManagerTest.java

Change-Id: I84152fa04adb441955b48b676be6e792134b52c2

6 years agoOnly return internal path when not visible.
Jeff Sharkey [Thu, 29 Mar 2018 20:20:48 +0000 (14:20 -0600)]
Only return internal path when not visible.

When a volume is visible (wrapped in sdcardfs), we need all file
operations to go through that sdcardfs layer to keep it in sync.

Test: manual
Bug: 73922090
Change-Id: I14f1f4743f470a6cbc78030e1ea8411f9910a5b9

6 years agoMerge "Avoid clock and challenge overlap" into pi-dev
Lucas Dupin [Thu, 29 Mar 2018 20:18:32 +0000 (20:18 +0000)]
Merge "Avoid clock and challenge overlap" into pi-dev

6 years agoMerge "Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 20:09:42 +0000 (20:09 +0000)]
Merge "Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)" into pi-dev

6 years ago[Magnifier-37] Hide handle when overlaps magnifier
Mihai Popa [Tue, 27 Mar 2018 18:03:09 +0000 (19:03 +0100)]
[Magnifier-37] Hide handle when overlaps magnifier

In most cases, the magnifier will be displayed above the current line,
so it will not overlap with the handle being dragged. However, when
there is not enough space in the current surface for the magnifier to be
displayed above the current line, the handle can overlap with the
magnifier. Since the handle is implemented as a different window, we
cannot really control the z ordering between them, and we noticed that
the handle will be rendered over the magnifier, which looks bad. This CL
better handles this situation, by hiding the handle when it would
overlap with the magnifier.

Bug: 76459199
Test: manual testing
Test: atest FrameworksCoreTests:android.widget.TextViewActivityTest
Test: atest FrameworksCoreTests:android.widget.TextViewTest
Change-Id: Id5a17fd964360df6094f9e2680e5bcca886c4d2d

6 years agoMinor javadoc fixes.
Felipe Leme [Thu, 29 Mar 2018 20:01:49 +0000 (13:01 -0700)]
Minor javadoc fixes.

Test: echo 'In TH we trust!'
Bug: 74830976

Change-Id: Ib88fc0b0275e87ea31d22759507b4c29c7849c05

6 years agoMerge "Revert "Clear pattern on completion (if fade is enabled)."" into pi-dev
Vishwath Mohan [Thu, 29 Mar 2018 19:57:37 +0000 (19:57 +0000)]
Merge "Revert "Clear pattern on completion (if fade is enabled)."" into pi-dev

6 years agoRevert "Clear pattern on completion (if fade is enabled)."
Vishwath Mohan [Thu, 29 Mar 2018 17:56:33 +0000 (17:56 +0000)]
Revert "Clear pattern on completion (if fade is enabled)."

This reverts commit b8e9782f70d6aa28368798cdb969607831c826ce.

Bug: 77257848
Test: Can change from pattern to pin/password

Change-Id: I17f9625e506c8e0839fffa95a62c904890cac603

6 years agoWait before computing contact affinity
Julia Reynolds [Thu, 29 Mar 2018 19:22:59 +0000 (15:22 -0400)]
Wait before computing contact affinity

Instead of assuming we'll have an answer as soon as the handler
gets around to handling the rankingreconsideration.

Change-Id: Id8f2147f59abf6435d869b9ffcc5cf2c2b52f0f7
Fixes: 73010730
Test: cts-verifier

6 years agoFixed annotation typo.
Felipe Leme [Thu, 29 Mar 2018 18:56:58 +0000 (11:56 -0700)]
Fixed annotation typo.

Bug: 73648631
Test: not really

Change-Id: I4a10642f05e28e5e324ca5b40e50a29138f49b8b

6 years agoFix Skia's impl for TextureView.getBitmap
Leon Scroggins III [Mon, 26 Mar 2018 19:00:49 +0000 (15:00 -0400)]
Fix Skia's impl for TextureView.getBitmap

Bug: 73392905
Test: New test added with I2d4ef440f943a50b9367976ba1444f4350071bfd

When providing a width and height, getBitmap should scale to the
destination. Add a parameter to LayerDrawable::DrawLayer for a
destination rectangle to scale to. Pass the size of the bitmap in
SkiaOpenGLPipeline::copyLayerInto down to DrawLayer. The only other
caller of DrawLayer is unaffected.

Change-Id: I7aa192181c2d15bc8fd4de2fb15c4d276b05d2ac

6 years agoAdd MtpDocumentsProviderPerfTests to APCT metric
jdesprez [Thu, 29 Mar 2018 19:27:57 +0000 (12:27 -0700)]
Add MtpDocumentsProviderPerfTests to APCT metric

Add it to the suite version of APCT metric instrumentation

Test: build device-tests.zip
Bug: 77280599
Change-Id: I3a00af2382f4905d84b500b6f5523456d211689f

6 years agoMerge "Tidy up users of TRANSPORT constants." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 19:23:38 +0000 (19:23 +0000)]
Merge "Tidy up users of TRANSPORT constants." into pi-dev

6 years agoMerge "Switch reference time to ZonedDateTime" into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 19:22:47 +0000 (19:22 +0000)]
Merge "Switch reference time to ZonedDateTime" into pi-dev

6 years agoAdd the CorePerfTests and MultiUserPerfTests to APCT metrics
jdesprez [Thu, 29 Mar 2018 19:17:50 +0000 (12:17 -0700)]
Add the CorePerfTests and MultiUserPerfTests to APCT metrics

Add them to the suite version of APCT metric instrumentation.

Test: atest CorePerfTests
Bug: 77280599
Change-Id: Ia8f0c44fcb9fd21869ed64e54483aa87556a469d

6 years agoMerge "Add the compilation reason to the dexopt dumps" into pi-dev
Calin Juravle [Thu, 29 Mar 2018 19:15:44 +0000 (19:15 +0000)]
Merge "Add the compilation reason to the dexopt dumps" into pi-dev

6 years agoMerge "Update BleScanStateChanged comment" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 19:05:19 +0000 (19:05 +0000)]
Merge "Update BleScanStateChanged comment" into pi-dev

6 years agoFix empty program list filter handling.
Tomasz Wasilczyk [Thu, 29 Mar 2018 00:50:08 +0000 (17:50 -0700)]
Fix empty program list filter handling.

Also, fix some minor issues about program list fetching.

Test: manual
Bug: 74353024
Change-Id: I77546b806f2d9de9505e64335af47e99079cea3e

6 years agoRevert "[QS] Update landscape UI"
Rohan Shah [Thu, 29 Mar 2018 18:28:07 +0000 (18:28 +0000)]
Revert "[QS] Update landscape UI"

This reverts commit bc204efbe5602e130fbe666d6ea2b5185d42b0c4.

Reason for revert: Causes crash on rotation due to something with config.xml overriding. Reverting as it's blocking daily build
Bug: 77217078
Test: Ran build, checked rotation
Change-Id: I79e94fb1703f888ac167cdae20142e130a2e80b3

6 years agoMerge "Bouncer should not show over the full screen user switcher on boot." into...
TreeHugger Robot [Thu, 29 Mar 2018 18:28:12 +0000 (18:28 +0000)]
Merge "Bouncer should not show over the full screen user switcher on boot." into pi-dev

6 years agoFixed mClientState dump.
Felipe Leme [Thu, 29 Mar 2018 18:26:53 +0000 (11:26 -0700)]
Fixed mClientState dump.

Test: adb shell dumpsys autofill
Bug: 72986827

Change-Id: I1df10dde0e16c68004cc99b47f84026d3c06c5b8

6 years agoMerge "Fix letterbox insets when starting app" into pi-dev
Jorim Jaggi [Thu, 29 Mar 2018 18:21:29 +0000 (18:21 +0000)]
Merge "Fix letterbox insets when starting app" into pi-dev

6 years agoMerge "RemoteAnimations: Add failsafe" into pi-dev
Adrian Roos [Thu, 29 Mar 2018 18:10:28 +0000 (18:10 +0000)]
Merge "RemoteAnimations: Add failsafe" into pi-dev

6 years agoMerge "Improved documentation of AutofillFieldClassificationService.onGetScores(...
TreeHugger Robot [Thu, 29 Mar 2018 18:00:55 +0000 (18:00 +0000)]
Merge "Improved documentation of AutofillFieldClassificationService.onGetScores()" into pi-dev

6 years agoSurface the log write errors to StatsLog.write
Yao Chen [Thu, 29 Mar 2018 18:00:38 +0000 (11:00 -0700)]
Surface the log write errors to StatsLog.write

Test: statsd_test
Bug: 77222120
Change-Id: I1c6e41a3949ce21fbec6893da7f5f94f5aec8c36

6 years agoMerge "Add FLAG_INCREMENTAL support to LocalTransport." into pi-dev
Anton Philippov [Thu, 29 Mar 2018 17:54:52 +0000 (17:54 +0000)]
Merge "Add FLAG_INCREMENTAL support to LocalTransport." into pi-dev

6 years agoAdd in/out ColorSpace to ImageDecoder
Leon Scroggins III [Thu, 29 Mar 2018 13:48:47 +0000 (09:48 -0400)]
Add in/out ColorSpace to ImageDecoder

Bug: 76448408
Test: I851173b771668f0e6712bebfe06bfb8559801199

Add ImageInfo.getColorSpace() for retrieving the default ColorSpace.
This matches BitmapFactory.Options.outColorSpace.

Add ImageDecoder.setTargetColorSpace() for choosing a new ColorSpace.
This matches BitmapFactory.Options.inPreferredColorSpace.

Rename setSampleSize to setTargetSampleSize to match setTargetSize and
setTargetColorSpace.

Change-Id: If2f4e755dfc163f754849f896de24659198973db

6 years agoAdd a SystemApi to control display saturation.
Bryan Mawhinney [Thu, 22 Mar 2018 15:52:41 +0000 (15:52 +0000)]
Add a SystemApi to control display saturation.

Allows an app with the appropriate permission to reduce
(make more gray) the saturation of colors on the display.

Test: manual
Bug: 77189882
Change-Id: I2b7b065d07bd2ca24730b2e8c52d161c22b307ab

6 years agoMerge "Prefer default orientation for secondary displays" into pi-dev
Andrii Kulian [Thu, 29 Mar 2018 17:32:57 +0000 (17:32 +0000)]
Merge "Prefer default orientation for secondary displays" into pi-dev

6 years agoMerge "Indicate whether BandConfig initialization is required or not." into pi-dev
Tomasz Wasilczyk [Thu, 29 Mar 2018 17:27:56 +0000 (17:27 +0000)]
Merge "Indicate whether BandConfig initialization is required or not." into pi-dev

6 years agoMerge "Root (uid=0) should be core. Fix UserHandle.isCore()." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 17:17:23 +0000 (17:17 +0000)]
Merge "Root (uid=0) should be core. Fix UserHandle.isCore()." into pi-dev

6 years agoClean up codes holding mInstallLock in PackageParserCallback
Jaekyun Seok [Thu, 29 Mar 2018 15:31:57 +0000 (00:31 +0900)]
Clean up codes holding mInstallLock in PackageParserCallback

Bug: 77232370
Test: succeeded building and tested with taimen
Change-Id: Id588cffdcd63684abcb115532bed597d8ca10924

6 years agoMerge "Fix StatsCompanionService pull on bucket ends" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 17:00:25 +0000 (17:00 +0000)]
Merge "Fix StatsCompanionService pull on bucket ends" into pi-dev

6 years agoMerge "Move Path to NAR" into pi-dev
John Reck [Thu, 29 Mar 2018 16:53:41 +0000 (16:53 +0000)]
Merge "Move Path to NAR" into pi-dev

6 years agoMerge "Change alarm/ringer status QS separator." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 16:50:21 +0000 (16:50 +0000)]
Merge "Change alarm/ringer status QS separator." into pi-dev

6 years agoSwitch reference time to ZonedDateTime
Jan Althaus [Thu, 29 Mar 2018 15:51:57 +0000 (17:51 +0200)]
Switch reference time to ZonedDateTime

Bug: 74838195
Test: atest FrameworksCoreTests:TextClassificationManagerTest
Test: atest FrameworksCoreTests:TextClassificationTest
Test: atest CtsViewTestCases:TextClassificationManagerTest
Test: atest CtsViewTestCases:TextClassifierValueObjectsTest
Change-Id: I0df9dddf415fa558435553336a8a0a15621e9b05

6 years agoMerge "Save KeyChainSnapshots to disk" into pi-dev
Robert Berry [Thu, 29 Mar 2018 16:27:42 +0000 (16:27 +0000)]
Merge "Save KeyChainSnapshots to disk" into pi-dev

6 years agoMerge "Add more hidden API uses to light greylist" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 16:22:47 +0000 (16:22 +0000)]
Merge "Add more hidden API uses to light greylist" into pi-dev

6 years agoMerge "NotificationManagerService: don't play notif in SILENT mode" into pi-dev
Jean-Michel Trivi [Thu, 29 Mar 2018 16:14:10 +0000 (16:14 +0000)]
Merge "NotificationManagerService: don't play notif in SILENT mode" into pi-dev

6 years agoAdd FLAG_INCREMENTAL support to LocalTransport.
Anton Philippov [Mon, 26 Mar 2018 18:12:08 +0000 (19:12 +0100)]
Add FLAG_INCREMENTAL support to LocalTransport.

Implement performBackup() with flags argument:

1. If FLAG_INCREMENTAL is passed and transport has no data for this
package or supports only non-incremental backups, request a non-incremental retry.
2. If FLAG_NON_INCREMENTAL is passed, but transport has data, discard
that data and continue.

Bug: 72212840
Test: GTS test in the same topic
Change-Id: I4c4a1dbfa1a807e4d4c523f42bb6a404a39731e9

6 years agowifi metrics(proto): Add new metrics for wifi native failures
Roshan Pius [Wed, 14 Mar 2018 23:10:16 +0000 (16:10 -0700)]
wifi metrics(proto): Add new metrics for wifi native failures

a) Add new metrics for supplicant & hostapd crash numbers. Also, create new
failure metrics for softap turn on.
b) Add metrics for unexpected interface down events.

Bug: 71720421
Bug: 68716726
Test: Unit tests
Change-Id: I9fd6e8bf8f42174a9d6a4ef8249656f804238408

6 years agoMerge "Don't print contents of user-provided bundles." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 15:36:43 +0000 (15:36 +0000)]
Merge "Don't print contents of user-provided bundles." into pi-dev

6 years agoRevert "Install for all on replace"
Patrick Baumann [Wed, 28 Mar 2018 21:25:57 +0000 (21:25 +0000)]
Revert "Install for all on replace"

This reverts commit dccef33d901398b1f39a8fea4dd919d57c5643f2.

Reason for revert: Breaks ADB install disabled setting

Change-Id: Icad438c592eb8e3be2a321e41fd75f9d577b002f
(cherry picked from commit d7b6815d2ca97e06de1594bc91ad7433c3165fe1)
Fixes: 73948872
Bug: 64472557

6 years agoMerge "Better public volumes handling on secondary users." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 15:15:54 +0000 (15:15 +0000)]
Merge "Better public volumes handling on secondary users." into pi-dev

6 years agoMerge "API for granting/revoking runtime permissions." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 15:14:34 +0000 (15:14 +0000)]
Merge "API for granting/revoking runtime permissions." into pi-dev

6 years agoMerge "DPM: API review for installKeyPair" into pi-dev
Eran Messeri [Thu, 29 Mar 2018 15:00:30 +0000 (15:00 +0000)]
Merge "DPM: API review for installKeyPair" into pi-dev

6 years agoMerge "Federate platform docs against AndroidX" into pi-dev
Alan Viverette [Thu, 29 Mar 2018 14:47:47 +0000 (14:47 +0000)]
Merge "Federate platform docs against AndroidX" into pi-dev

6 years agoIndicate whether BandConfig initialization is required or not.
Tomasz Wasilczyk [Tue, 27 Mar 2018 20:28:42 +0000 (13:28 -0700)]
Indicate whether BandConfig initialization is required or not.

The broadcastradio HAL 1.x requires waiting for onConfigChanged callback
to indicate the initialization is done, while HAL 2.0 does not have the
config setting (at the tuner session level) at all.

This change makes it possible to cleanly workaround race condition in the
radio app retaining support for both HAL revisions. Future versions of the
RadioManager will provide a method to open a session without taking care
about these nuances.

Bug: 74353024
Test: manual
Change-Id: I5de2d5e5c33626fcf0cfbbaf121d0b13e53d0bae

6 years agoMerge "Not allow shell to dump screen by using ui-automator if... DISALLOW_DEBUGGING_...
Tony Mak [Thu, 29 Mar 2018 14:36:55 +0000 (14:36 +0000)]
Merge "Not allow shell to dump screen by using ui-automator if... DISALLOW_DEBUGGING_FEATURES is set" into pi-dev

6 years agoFix letterbox insets when starting app
Jorim Jaggi [Wed, 28 Mar 2018 16:01:22 +0000 (18:01 +0200)]
Fix letterbox insets when starting app

Showing the letterbox with checking on HAS_DRAWN is too late. We
also need to show it in READY_TO_SHOW such that we have it
available when starting the transition.

Test: Open letterboxed app. Observe no flicker
Test: Capture winscope trace and make sure content insets when
reopening app are correct.
Bug: 76220728
Change-Id: I20ed8b1b5a90cc0a878d3eb1512e1aa1e4cd37f3

6 years agoMerge "Allow apps with dnd access to bypass DND" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 14:27:19 +0000 (14:27 +0000)]
Merge "Allow apps with dnd access to bypass DND" into pi-dev

6 years agoMerge "Add three more wifi APIs." into pi-dev
Nicolas Geoffray [Thu, 29 Mar 2018 14:23:10 +0000 (14:23 +0000)]
Merge "Add three more wifi APIs." into pi-dev

6 years agoChange alarm/ringer status QS separator.
Amin Shaikh [Thu, 29 Mar 2018 13:41:45 +0000 (09:41 -0400)]
Change alarm/ringer status QS separator.

Change-Id: Ib305e65e45a78f1db6091bb978e086c46205db5f
Fixes: 76208830
Test: visual

6 years agoSave KeyChainSnapshots to disk
Robert Berry [Thu, 29 Mar 2018 11:07:17 +0000 (12:07 +0100)]
Save KeyChainSnapshots to disk

Bug: 73921897
Test: runtest frameworks-services -p \
      com.android.server.locksettings.recoverablekeystore

Change-Id: I909f2f7f289d4e2a0cdff6a3f7184747e5deeae2

6 years agoMerge "Remove unused KeyStore field in RecoverableKeyStoreManager" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 13:44:59 +0000 (13:44 +0000)]
Merge "Remove unused KeyStore field in RecoverableKeyStoreManager" into pi-dev

6 years agoMerge "Utilize verbose KeyChain errors" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 13:31:14 +0000 (13:31 +0000)]
Merge "Utilize verbose KeyChain errors" into pi-dev

6 years agoMerge "Clear app data before full restore for specified packages" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 13:23:24 +0000 (13:23 +0000)]
Merge "Clear app data before full restore for specified packages" into pi-dev

6 years agoAdd more hidden API uses to light greylist
David Brazdil [Thu, 29 Mar 2018 13:21:48 +0000 (14:21 +0100)]
Add more hidden API uses to light greylist

Bug: 76443991
Bug: 64382372
Test: make
Change-Id: I5ec60bbf9b747230ab1a5ae539d7d014b24605b0

6 years agoMerge "DO NOT MERGE Unrevert update references to backup agent timeouts" into pi-dev
Annie Meng [Thu, 29 Mar 2018 12:55:42 +0000 (12:55 +0000)]
Merge "DO NOT MERGE Unrevert update references to backup agent timeouts" into pi-dev

6 years agoMerge "Rename ImageDecoder.setResize" into pi-dev
Leon Scroggins [Thu, 29 Mar 2018 12:40:24 +0000 (12:40 +0000)]
Merge "Rename ImageDecoder.setResize" into pi-dev

6 years agoMerge "Move graphics APIs to the light grey." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 12:26:26 +0000 (12:26 +0000)]
Merge "Move graphics APIs to the light grey." into pi-dev

6 years agoAdd three more wifi APIs.
Nicolas Geoffray [Wed, 28 Mar 2018 23:00:12 +0000 (00:00 +0100)]
Add three more wifi APIs.

bug: 74066078
Test: m
Change-Id: I2c9a7499094c743de3923226bbcea3c1cd147d5f

6 years agoMerge "Exempt some notis from DND visual suppression" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 12:25:02 +0000 (12:25 +0000)]
Merge "Exempt some notis from DND visual suppression" into pi-dev