OSDN Git Service
Julia Reynolds [Fri, 30 Mar 2018 16:28:04 +0000 (16:28 +0000)]
Merge "Show media stream always when a11y is active stream" into pi-dev
Rohan Shah [Fri, 30 Mar 2018 15:45:53 +0000 (15:45 +0000)]
Merge "[QS] Override/add long click accessibility action" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 15:39:27 +0000 (15:39 +0000)]
Merge "System notif channels updated on locale change" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 15:09:26 +0000 (15:09 +0000)]
Merge "Slices: Fix up some formatting and add examples" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 14:54:55 +0000 (14:54 +0000)]
Merge "Enable Last Kmsg, also fix the GZipSection test." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 14:38:34 +0000 (14:38 +0000)]
Merge "Allow for the different nav bars before the device is provisioned Split window creation from content creation so I could remove and add new content once the provisioned state changed." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 14:29:30 +0000 (14:29 +0000)]
Merge "Make battery saver suggestion configurable" into pi-dev
Brian Young [Fri, 30 Mar 2018 14:21:19 +0000 (14:21 +0000)]
Merge changes from topics "niap-asym-write-pi-dev", "niap-asym-write-api-pi-dev" into pi-dev
* changes:
Restore "Add "Unlocked device required" parameter to keys"
Add "Unlocked device required" key API
Julia Reynolds [Fri, 30 Mar 2018 14:16:09 +0000 (10:16 -0400)]
Show media stream always when a11y is active stream
Test: manual
Bug:
76438403
Change-Id: I9da010b9bb03dfdcb48fc15e3c6d538d540f8f11
Rubin Xu [Fri, 30 Mar 2018 13:38:31 +0000 (13:38 +0000)]
Merge "Remove password blacklist API" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 13:16:46 +0000 (13:16 +0000)]
Merge "Don't exit dnd rule for old alarms" into pi-dev
Robert Berry [Fri, 30 Mar 2018 10:37:41 +0000 (10:37 +0000)]
Merge "Update RecoveryController JavaDoc" into pi-dev
Robert Berry [Thu, 29 Mar 2018 16:19:38 +0000 (17:19 +0100)]
Update RecoveryController JavaDoc
Try to encode as many requirements as possible into the Recovery Agent
JavaDoc.
Bug:
70900575
Test: None, it is documentation
Change-Id: Iae05be24fa29d885f560943f256fd8d7ca692cf7
TreeHugger Robot [Fri, 30 Mar 2018 09:47:51 +0000 (09:47 +0000)]
Merge "Fix socket leaks in various android.net.Network methods." into pi-dev
Remi NGUYEN VAN [Fri, 30 Mar 2018 09:15:13 +0000 (09:15 +0000)]
Merge "Use InterfaceSet for upstream interfaces." into pi-dev
Remi NGUYEN VAN [Fri, 30 Mar 2018 09:13:50 +0000 (09:13 +0000)]
Merge "Add tests for IPv4 of dual stack tethering." into pi-dev
Remi NGUYEN VAN [Fri, 9 Mar 2018 05:07:18 +0000 (14:07 +0900)]
Use InterfaceSet for upstream interfaces.
Allows using different upstream interfaces for IPv4 and IPv6.
Bug:
38218697
Bug:
64382985
Bug:
64976379
Bug:
64995262
Bug:
64380515
Test: runtest frameworks-net, manual (with aosp/644099 applied)
(cherry-pick of aosp I3db63f7aa5255a0229253187def7590a386c5133)
Merged-In: Ic8602dd029b5a9626aaf6651315b82ab6327037c
Merged-In: I015ac946afa581be1d94f10ab766ac00f5a4ede0
Change-Id: I8c48dab5eb67e60dadbfa974122fc884f4badd15
Remi NGUYEN VAN [Thu, 15 Mar 2018 02:57:14 +0000 (11:57 +0900)]
Add tests for IPv4 of dual stack tethering.
Also refactoring some Tethering and TetherInterfaceStateMachine calls
to address testability issues.
This is in preparation of other work to have IPv6-only or 464xlat
tethering working.
Test: runtest frameworks-net
Bug:
38218697
Bug:
64382985
Bug:
64976379
Bug:
64995262
Merged-In: I3b91125b1a715690c2cd417b1e937e568c755d9f
Merged-In: I05de77d9b90d147bf1d6ee7f7ee19a049afddfa1
(cherry-pick of aosp I721aca4789ddfbee5a97316aae0b378d79ee2107)
Change-Id: Idfdd1b9cd5419c1f51f0fbb1eba2f36a9c12474b
TreeHugger Robot [Fri, 30 Mar 2018 08:48:25 +0000 (08:48 +0000)]
Merge "Limit the number of routes for performance" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 08:22:29 +0000 (08:22 +0000)]
Merge "Clarify documentation for getActiveNetworkInfo and friends" into pi-dev
Bernie Innocenti [Fri, 30 Mar 2018 07:54:17 +0000 (07:54 +0000)]
Merge "Relax APF version check in ApfGenerator" into pi-dev
Remi NGUYEN VAN [Fri, 30 Mar 2018 07:39:23 +0000 (07:39 +0000)]
Merge "Allow null subscriberId in NetworkStatsManager." into pi-dev
Chalard Jean [Thu, 29 Mar 2018 05:10:44 +0000 (14:10 +0900)]
Limit the number of routes for performance
In evaluating whether "most" of the addressing space is
covered, the list of routes are obtained from a third-party
app, so it's possbile the system service stalls unless
some limit is enforced on how much work it has to do.
This change limits the number of routes to 400, as determined
by time measurement on various devices.
Bug:
74176086
Test: runtest framework-net
Change-Id: Ie4a96098bc044ade87b188839586f14dd101c100
TreeHugger Robot [Fri, 30 Mar 2018 06:36:47 +0000 (06:36 +0000)]
Merge "Add unit test ValueMetricProducer on boundary" into pi-dev
David Brazdil [Fri, 30 Mar 2018 06:23:21 +0000 (06:23 +0000)]
Merge "Add more hidden API on light greylist" into pi-dev
Bernie Innocenti [Fri, 30 Mar 2018 04:08:26 +0000 (13:08 +0900)]
Relax APF version check in ApfGenerator
Instead of requiring an *exact* version, we now require a minimum
version. This is necessary if we wish to upgrade the APF interpreter in
vendor firmware independently of the framework code. Adding new opcodes
without changing the semantics of the old ones is always possible and
usually easy, so we can at least have a backwards-compatibility horizon
wider than a single version.
Bug:
36221302
Bug:
73804303
Change-Id: I4f1ed661afb2ede193188eb8086fbf2a8b45b33d
Test: Change extracted from aosp/647079 and tested there
(cherry picked from commit
d6bf7ffea788f5753be48a487a2a3b34951dfcb8)
Chenjie Yu [Sun, 25 Mar 2018 21:57:30 +0000 (14:57 -0700)]
Add unit test ValueMetricProducer on boundary
Mostly to add test to assure the corner cases are covered.
One minor logic change is if two true conditions happen, in the case
when following happen:
(bucket boundary1) -> (condition false) -> (condition true) -> (pull
triggered for the boundary1)
Previously we take the latest. Now we skip the late boundary pull.
Bug:
76384731
Test: unit test
Change-Id: I345c2210a58bf03eb91d65742573073d2668358b
Peiyong Lin [Fri, 30 Mar 2018 04:08:26 +0000 (04:08 +0000)]
Merge "Rename GraphicsTypes.h to GraphicTypes.h" into pi-dev
Chalard Jean [Thu, 29 Mar 2018 08:45:24 +0000 (17:45 +0900)]
Clarify documentation for getActiveNetworkInfo and friends
For VPNs it's unobvious what these methods do, so document that.
Bug:
70917007
Test: Comment changes only. Checkdoc passes.
Change-Id: I31ec1aea356d88d969eaf9fc7d8c2ed13ce924eb
Remi NGUYEN VAN [Mon, 5 Mar 2018 09:14:56 +0000 (18:14 +0900)]
Allow null subscriberId in NetworkStatsManager.
Use a MATCH_MOBILE_WILDCARD template to avoid filtering by
subscriberId when querying statistics from NetworkStatsService.
Bug:
74038898
Change-Id: I8296220472a9ba37044dd1a5ede9bdb45d3ed339
Fixes:
74038898
Test: runtest frameworks-net, CTS tests pass
Merged-In: I1e4e283c6eaecf33d12488e41e0c524f6ff83954
Merged-In: Ia84d2c7cc63bf8b8bf30f133e0382fd7103bf490
(cherry-picked from aosp I4b39e7031416cb33b23d89aa36ff0f774eaa942f)
TreeHugger Robot [Fri, 30 Mar 2018 03:14:25 +0000 (03:14 +0000)]
Merge "Fix drawing sequence from using deprecated Canvas APIs." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 03:12:51 +0000 (03:12 +0000)]
Merge "Add isAudioOn() in HeadsetProfile" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 03:12:33 +0000 (03:12 +0000)]
Merge "Show ripples in QQS." into pi-dev
Julia Reynolds [Fri, 30 Mar 2018 01:55:42 +0000 (01:55 +0000)]
Merge "Volume UI updates" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 01:53:23 +0000 (01:53 +0000)]
Merge "Update AndroidTest.xml to be APCT suite ready" into pi-dev
Yi Jin [Wed, 28 Mar 2018 22:32:50 +0000 (15:32 -0700)]
Enable Last Kmsg, also fix the GZipSection test.
Bug:
73354384,
76208934
Test: atest incidentd_test and manual as well
Change-Id: I074027f4d972686ae3e9415b50e4d3967f6a2355
Lorenzo Colitti [Fri, 30 Mar 2018 01:36:10 +0000 (01:36 +0000)]
Merge "Add Network.fromNetworkHandle()" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 01:26:35 +0000 (01:26 +0000)]
Merge "AppStandby exemption: sync requested by FG apps" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 01:26:27 +0000 (01:26 +0000)]
Merge "Return PERMISSION_DENIED instead of NPE when missing ActivityManager" into pi-dev
Dongwon Kang [Fri, 30 Mar 2018 01:25:59 +0000 (01:25 +0000)]
Merge "Unhide MediaPlayer#MEDIA_INFO_STARTED_AS_NEXT" into pi-dev
ryanywlin [Wed, 28 Mar 2018 09:19:39 +0000 (17:19 +0800)]
Add isAudioOn() in HeadsetProfile
* Add this API for checking audio status from BlueTooth Headset Service
Bug:
74130772
Test: ROBOTEST_FILTER="HeadsetProfileTest" make -j40 RunSettingsLibRoboTests
Change-Id: I80b3dbc8b0f9926859ff08f6849cafca89e940a7
Rohan Shah [Fri, 30 Mar 2018 00:35:00 +0000 (17:35 -0700)]
[QS] Override/add long click accessibility action
Overrides the long click action for QS tiles. Tiles are always
long-clickable so this can always be present as an action for that node.
Test: Via talkback selection + node printing/debug
Bug:
72408442
Change-Id: Idacf79cd4a91e6091c6f9f0a8fa24a286cd3a262
Leon Scroggins [Fri, 30 Mar 2018 00:53:53 +0000 (00:53 +0000)]
Merge changes from topics "DocumentSource", "ID_API" into pi-dev
* changes:
Add documentation for ImageDecoder and its Source
Rename getters and setters on ImageDecoder
TreeHugger Robot [Fri, 30 Mar 2018 00:48:29 +0000 (00:48 +0000)]
Merge "Fix Skia's impl for TextureView.getBitmap" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 00:43:58 +0000 (00:43 +0000)]
Merge "Add more privacy tags." 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
TreeHugger Robot [Fri, 30 Mar 2018 00:26:12 +0000 (00:26 +0000)]
Merge "Revert "Install for all on replace"" 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
Peiyong Lin [Wed, 28 Mar 2018 19:03:45 +0000 (12:03 -0700)]
Rename GraphicsTypes.h to GraphicTypes.h
Renamed GraphicsTypes.h to GraphicTypes.h for nameing convention
consistency, updated namespace for ColorMode.
BUG:
77156734
Test: Build and flash
Change-Id: Ic49f6214adc63e9c0e269ba5ce0d0250e6feba2b
Merged-In: Ic49f6214adc63e9c0e269ba5ce0d0250e6feba2b
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
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
Benedict Wong [Fri, 30 Mar 2018 00:01:43 +0000 (00:01 +0000)]
Merge "Add documentation for TCP interactions with transforms" into pi-dev
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
TreeHugger Robot [Thu, 29 Mar 2018 23:37:55 +0000 (23:37 +0000)]
Merge "Creating java package for Privacy proto." into pi-dev
Erik Wolsheimer [Thu, 29 Mar 2018 23:21:41 +0000 (16:21 -0700)]
Return PERMISSION_DENIED instead of NPE when missing ActivityManager
Bug:
75005160
Change-Id: I710c5ee9f3d679240bf708102ef508041d0a3122
TreeHugger Robot [Thu, 29 Mar 2018 23:33:18 +0000 (23:33 +0000)]
Merge "Handle public volumes and otherwise invalid UUIDs." 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
TreeHugger Robot [Thu, 29 Mar 2018 23:21:50 +0000 (23:21 +0000)]
Merge "Fix seccomp filter set up in zygote" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 23:11:32 +0000 (23:11 +0000)]
Merge "Minor javadoc fixes." into pi-dev
Leon Scroggins III [Thu, 29 Mar 2018 19:54:59 +0000 (15:54 -0400)]
Add documentation for ImageDecoder and its Source
Bug:
76448408
Bug:
76462125
Test: Iec21bad971dc9cffc807a412bb6329757c499baa
- Document DecodeException.getSource
- Add thread annotations
- slice() ByteBuffer inside createImageDecoder, so it can be reused
- Make ResourceSource thread safe by locking around mResDensity
- Specify that OnHeaderDecodedListener is necessary for changing default
settings
Change-Id: I3b55d3ba1b0a2276938cb521449bceb7aa9f96e2
jdesprez [Thu, 29 Mar 2018 22:45:17 +0000 (15:45 -0700)]
Update AndroidTest.xml to be APCT suite ready
Test: atest FrameworksServicesTests
Bug:
74440293
Bug:
77290273
Change-Id: I9f20e9979b17985c8cd7cdcefd73f677b8e5ecc1
David Brazdil [Thu, 29 Mar 2018 22:16:38 +0000 (23:16 +0100)]
Add more hidden API on light greylist
Bug:
64382372
Bug:
74763801
Test: make
Change-Id: I9cac934983addb32127f7571a3d290b4d57fb55d
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
TreeHugger Robot [Thu, 29 Mar 2018 22:24:25 +0000 (22:24 +0000)]
Merge "Allow PO to call setSystemSetting." 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
TreeHugger Robot [Thu, 29 Mar 2018 22:16:32 +0000 (22:16 +0000)]
Merge "Only return internal path when not visible." into pi-dev
Dongwon Kang [Thu, 29 Mar 2018 22:00:43 +0000 (15:00 -0700)]
Unhide MediaPlayer#MEDIA_INFO_STARTED_AS_NEXT
Expose a listener constant which is used with OnInfoListener() in
order to notify that the player instance started the playback since
previous player just completed the playback.
Bug:
76121592
Test: make offline-sdk-docs
Change-Id: I69ade8e9f6916bc653ea2831e3721dc7d171dc0e
Beverly [Thu, 29 Mar 2018 22:14:04 +0000 (18:14 -0400)]
Don't exit dnd rule for old alarms
Bug:
77209521
Test: atest ScheduleCalendarTest
Change-Id: I394a6a74872f76f90b75238593197bb6c50531ef
TreeHugger Robot [Thu, 29 Mar 2018 21:58:17 +0000 (21:58 +0000)]
Merge "Fixed mClientState dump." into pi-dev
Makoto Onuki [Wed, 28 Mar 2018 21:42:42 +0000 (14:42 -0700)]
AppStandby exemption: sync requested by FG apps
Bug:
72443754
Fix:
72443754
Test: atest ${ANDROID_BUILD_TOP}/frameworks/base/services/tests/servicestests/src/com/android/server/content/SyncOperationTest.java
Test: Manual test with contacts sync:
Precondition: Put the contacts sync in RARE bucket.
adb shell dumpsys deviceidle tempwhitelist -r com.google.android.syncadapters.contacts
adb shell am make-uid-idle com.google.android.syncadapters.contacts
adb shell am set-standby-bucket com.google.android.syncadapters.contacts 40
Test 1: Toggle contacts sync from the Settings -> Account
- Make sure a sync happens.
Test 2: Mutate a contact on the WEB
- Sync is scheduled, but won't run because it has no network access.
- am set-standby-bucket com.google.android.syncadapters.contacts 30
- Sync run runs.
Test 3. adb shell requestsync -n ACCOUNT -t com.google -a com.android.contacts
- Sync is scheduled but won't run.
Test 4. adb shell requestsync -n ACCOUNT -t com.google -a com.android.contacts -f
- Sync is scheduled but it still won't run.
Test 5. adb shell requestsync -n ACCOUNT -t com.google -a com.android.contacts -F
- Sync now runs
Change-Id: I1eb972ed321d2a1a782ae23ccb806671926d3e6b
TreeHugger Robot [Thu, 29 Mar 2018 21:43:14 +0000 (21:43 +0000)]
Merge "Fixed annotation typo." 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
TreeHugger Robot [Thu, 29 Mar 2018 21:33:25 +0000 (21:33 +0000)]
Merge "Add MtpDocumentsProviderPerfTests to APCT metric" into pi-dev
Derek Sollenberger [Thu, 29 Mar 2018 21:29:29 +0000 (17:29 -0400)]
Fix drawing sequence from using deprecated Canvas APIs.
Bug:
77286317
Test: marlin-userdebug reboots successfully
Change-Id: I72688931f29ff9db6bb1e39af9d313be7df33a03
TreeHugger Robot [Thu, 29 Mar 2018 21:29:07 +0000 (21:29 +0000)]
Merge "Add permission hint, update permission slice structure" into pi-dev
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
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
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
Beverly [Thu, 29 Mar 2018 21:09:16 +0000 (17:09 -0400)]
System notif channels updated on locale change
- both System and SystemUi notification channels' names
change on locale update
Change-Id: I0d23fe9b008c608c54ac178a97c2f682aa46d954
Fixes:
64887866
Test: manual
TreeHugger Robot [Thu, 29 Mar 2018 20:58:02 +0000 (20:58 +0000)]
Merge "Update mobile data icons." 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
TreeHugger Robot [Thu, 29 Mar 2018 20:55:22 +0000 (20:55 +0000)]
Merge "Add a SystemApi to control display saturation." into pi-dev
Julia Reynolds [Tue, 27 Mar 2018 15:17:30 +0000 (11:17 -0400)]
Volume UI updates
- Reorder streams
- constrain ripples
- Show an introductory ripple on the ringer toggle
- Add sound/vibration feedback for the ringer toggle
- resize some elements
Test: manual
Bug:
76438403
Fixes:
73892482
Change-Id: I92dd6f5681f1822ae493a5a2b218b15970293e80
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
Julia Reynolds [Thu, 29 Mar 2018 19:44:13 +0000 (15:44 -0400)]
Update notification blocking documentation.
Change-Id: I3e5425321d127fbf11adfa1c4ac5bed53fc73e03
Fixes:
73750866
Test: make
Yi Jin [Thu, 29 Mar 2018 01:31:07 +0000 (18:31 -0700)]
Add more privacy tags.
Bug:
74837756
Test: manual
Change-Id: I8993ae736df171f379aa6e24e865a6fbace9d091
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
Tomasz Wasilczyk [Thu, 29 Mar 2018 20:28:12 +0000 (20:28 +0000)]
Merge "Fix empty program list filter handling." 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
TreeHugger Robot [Thu, 29 Mar 2018 20:27:35 +0000 (20:27 +0000)]
Merge "Clean up codes holding mInstallLock in PackageParserCallback" into pi-dev
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
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
Lucas Dupin [Thu, 29 Mar 2018 20:18:32 +0000 (20:18 +0000)]
Merge "Avoid clock and challenge overlap" 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
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
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
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
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
Rubin Xu [Thu, 29 Mar 2018 11:04:34 +0000 (12:04 +0100)]
Remove password blacklist API
Bug:
73750934
Test: compiles
Change-Id: I4a73ea47285b7d0be06f84d45a5166a6642c29cf
Leon Scroggins III [Thu, 29 Mar 2018 18:52:29 +0000 (14:52 -0400)]
Rename getters and setters on ImageDecoder
Bug:
76448408
Test: Ib8782ff10072c81a5ed2a1031a70475fffee7ccf
- Use "is" prefix for booleans instead of "get"
- Reverse "require" and "unpremultiplied" for a more natural sound
- Add "Required" to "Mutable" methods
- Add "Enabled" to "DecodeAsAlphaMask" methods
Change-Id: I644ddccd37898d89609e4534ece4ea70f74587c4