OSDN Git Service
Suprabh Shukla [Sun, 10 Sep 2017 21:00:56 +0000 (21:00 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229 am:
7d9e844124 am:
25ec24740b am:
4f31a88d4b am:
bf1b7e9030 -s ours am:
84aa3f4c81 -s ours
am:
a8e0d5f73a -s ours
Change-Id: I34f6294cfa3d9e23bfe9b3f0edfb03da4fd5dfd2
Suprabh Shukla [Sun, 10 Sep 2017 20:47:27 +0000 (20:47 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229 am:
7d9e844124 am:
25ec24740b am:
4f31a88d4b am:
bf1b7e9030 -s ours
am:
84aa3f4c81 -s ours
Change-Id: I701fa204e66a8dd239e3ed3913f734e8ea503049
Suprabh Shukla [Sun, 10 Sep 2017 20:29:17 +0000 (20:29 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229 am:
7d9e844124 am:
25ec24740b am:
4f31a88d4b
am:
bf1b7e9030 -s ours
Change-Id: Ifcb9a5a08af1722bc5df28c470d4ca356b865acb
Suprabh Shukla [Sun, 10 Sep 2017 20:16:00 +0000 (20:16 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229 am:
7d9e844124 am:
25ec24740b
am:
4f31a88d4b
Change-Id: Ia97ee26a24e49809ad7484f850d256bc733ee239
Suprabh Shukla [Sun, 10 Sep 2017 20:01:33 +0000 (20:01 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229 am:
7d9e844124
am:
25ec24740b
Change-Id: I858f75717157bd9269bcd43d4198935302132d5a
Suprabh Shukla [Sun, 10 Sep 2017 19:48:10 +0000 (19:48 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229
am:
7d9e844124
Change-Id: Ifc197fbb16e1bb6773b2f08c7c62ca92f82238f7
Suprabh Shukla [Sun, 10 Sep 2017 19:32:22 +0000 (19:32 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev
am:
fc9e382229
Change-Id: I80e814ed0266b3868bd7039508bbc50b2e2a51aa
TreeHugger Robot [Sun, 10 Sep 2017 19:25:54 +0000 (19:25 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev
TreeHugger Robot [Sun, 10 Sep 2017 05:31:42 +0000 (05:31 +0000)]
Merge "Revert "Remove a compat hack SurfaceView#setWindowType()"" into oc-mr1-dev
TreeHugger Robot [Sun, 10 Sep 2017 04:37:35 +0000 (04:37 +0000)]
Merge "Documented use of AutofillManager.notifyViewVisibilityChanged()" into oc-mr1-dev
Yohei Yukawa [Sun, 10 Sep 2017 00:45:27 +0000 (17:45 -0700)]
Revert "Remove a compat hack SurfaceView#setWindowType()"
This CL reverts my previous CL [1] that aimed to get rid of
a nasty compatibility hack that was introduced for Bug
36345857.
For those who are interested in, what happenned are:
1. @hide method SurfaceView#setWindowType() was removed [2].
2. It broke some app (Bug
36345857). We had to work around
it by re-introducing SurfaceView#setWindowType()
temporarily [3].
3. Some app switched to the correct implementation when
running on Android O devices.
4. We removed that compatibility hack [1] (Bug
62054282).
5. Android O MR1 is set to be "REL" [4].
6. It broke some app, probably because of some unfortunate
mistake in the version check logic in that app.
7. We end up introducing the same hack again for O MR1.
[1]: Icee198c554de558cfa4ffe0b264064969839654e
7a1ad6d97ca1984789446211a986d5ad1b5c81e2
[2]: Ie56b6f7ab16f32d7fc459b8eba26594337ad55de
d5c7dd6da810a6b89151b337bea79fd817e6b72a
[3]: I5217f6417a73690ae8a978754218b7b089070fdd
3b5011afc9e17963607269bfb6665d04e3ab4ca1
[4]: I054e3ecff49803e61e7741753fe6764a567d72c4
62a835d0ef89e51f4a97fecf8576224551b545a5
Bug:
36345857
Bug:
62054282
Fixes:
65508814
Test: Manually verified that Bug
65508814 is not reproducible
Change-Id: If8a3f726789daa22f73e1962e938f071d3c09414
TreeHugger Robot [Sat, 9 Sep 2017 09:04:39 +0000 (09:04 +0000)]
Merge "Don't log TYPE_DATASET_SELECTED on dataset authentication." into oc-mr1-dev
TreeHugger Robot [Sat, 9 Sep 2017 07:03:01 +0000 (07:03 +0000)]
Merge "Destroy Save UI when it's hidden without a pending restoration." into oc-mr1-dev
TreeHugger Robot [Sat, 9 Sep 2017 04:01:35 +0000 (04:01 +0000)]
Merge "Added more logging to diagnose a racy runtime restart." into oc-mr1-dev
Felipe Leme [Fri, 8 Sep 2017 16:37:57 +0000 (09:37 -0700)]
Destroy Save UI when it's hidden without a pending restoration.
This scenario typically happens when the BACK button is tapped after
the SaveUI is restored.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.SimpleSaveActivityTest#testTapLink_launchTrampolineActivityThenTapBackAndStartNewSession
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.PreSimpleSaveActivityTest#testTapLink_launchTrampolineActivityThenTapBackAndStartNewSession
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Fixes:
65459113
Merged-In: I07c6d9b6d219889c50caeaff99b883841b87d9cc
Change-Id: I07c6d9b6d219889c50caeaff99b883841b87d9cc
TreeHugger Robot [Sat, 9 Sep 2017 01:39:52 +0000 (01:39 +0000)]
Merge "Follow-up on bug #
65298216: DeviceIdleController needs to..." into oc-mr1-dev
TreeHugger Robot [Sat, 9 Sep 2017 01:04:14 +0000 (01:04 +0000)]
Merge "Sealed sessions need to be destroyed or validated" into oc-mr1-dev
TreeHugger Robot [Sat, 9 Sep 2017 00:14:03 +0000 (00:14 +0000)]
Merge "Add logging const for smart setting suggestion enabled/disabled state" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 23:08:45 +0000 (23:08 +0000)]
Merge "Fixed a flakey test" into oc-mr1-dev
Bryce Lee [Fri, 8 Sep 2017 22:57:25 +0000 (22:57 +0000)]
Merge "Do not process set WindowAnimator param when screen is already on." into oc-mr1-dev
Tomasz Wasilczyk [Fri, 8 Sep 2017 22:28:49 +0000 (22:28 +0000)]
Merge "Fix NativeCallbackThread race condition." into oc-mr1-dev
Philip P. Moltmann [Fri, 8 Sep 2017 16:46:22 +0000 (09:46 -0700)]
Sealed sessions need to be destroyed or validated
- Always destroy session on validate failure.
- Always validate session when restoring a sealed session.
- Never persist destroyed sessions
Fixes:
65456964
Test: cts-tradefed run singleCommand cts-dev -m CtsContentTestCases --test=android.content.pm.cts.InstallSessionTransferTest
Installed apps via Google Play Store
Installed apps via Package installer
Change-Id: I38940608eca6d32a9a454937d273706f3ce57d79
Phil Weaver [Fri, 8 Sep 2017 21:56:38 +0000 (21:56 +0000)]
Merge "Don't call disconnected AccessibilityServices" into oc-mr1-dev
Calin Juravle [Fri, 8 Sep 2017 21:55:28 +0000 (21:55 +0000)]
Merge "Handle configuration splits when creating the class loader context" into oc-mr1-dev
Felipe Leme [Fri, 8 Sep 2017 21:51:51 +0000 (21:51 +0000)]
Merge "Javadoc: Added alternative to Package verification." into oc-dev am:
092349600d
am:
33d476c170
Change-Id: I59c6ddc48fad9178b03c7a1da7957238d4045ea7
Soroosh Mariooryad [Thu, 7 Sep 2017 15:45:18 +0000 (08:45 -0700)]
Add logging const for smart setting suggestion enabled/disabled state
Test: builds
Bug:
64121058
Change-Id: I4136d9bfab8c828e85b36ee25421189389a5dddc
Merged-In: I9d1e27082d535da90a5a30f6c2fc9b717c07bf1b
TreeHugger Robot [Fri, 8 Sep 2017 21:48:08 +0000 (21:48 +0000)]
Merge "Camera: fix race in onRepeatingRequestError callback" into oc-mr1-dev
Daniel Nishi [Fri, 8 Sep 2017 21:42:56 +0000 (21:42 +0000)]
Merge "Cap user-visible cache size at quota." into oc-mr1-dev
Felipe Leme [Fri, 8 Sep 2017 21:41:36 +0000 (21:41 +0000)]
Merge "Javadoc: Added alternative to Package verification." into oc-dev
am:
092349600d
Change-Id: Ic765df95fc660fb0df8a0f027d739ea999a36702
Hall Liu [Fri, 8 Sep 2017 21:39:29 +0000 (21:39 +0000)]
Merge changes from topics "embms-0728-adjustments", "embms-0721-adjustments", "fix-streaming-api", "mock-unhide-embms-streaming" into oc-mr1-dev
* changes:
Embms adjustments for 7/28
Embms API adjustments for 7/21
Fix lint errors in the streaming API
Mock-un-hide the MBMS streaming APIs
TreeHugger Robot [Fri, 8 Sep 2017 21:28:02 +0000 (21:28 +0000)]
Merge "Javadoc: Added alternative to Package verification." into oc-dev
TreeHugger Robot [Fri, 8 Sep 2017 21:14:01 +0000 (21:14 +0000)]
Merge "Fixed the icon clipping of the notification shelf" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 21:13:02 +0000 (21:13 +0000)]
Merge "Add pseudo-filtering on authenticated views." into oc-mr1-dev
Bryce Lee [Fri, 8 Sep 2017 20:56:52 +0000 (20:56 +0000)]
Merge "Make sure top activity is stopped on sleep if paused." into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 20:55:05 +0000 (20:55 +0000)]
Merge "Update QS if the content gets stale" into oc-mr1-dev
Dianne Hackborn [Fri, 8 Sep 2017 20:45:35 +0000 (13:45 -0700)]
Follow-up on bug #
65298216: DeviceIdleController needs to...
...watch interactivity, not display state
Fix locking.
Bug:
65298216
Test: manual
Change-Id: If761ce73c82c23295720aea73c3a7fdda40ceedf
Selim Cinek [Fri, 8 Sep 2017 20:24:21 +0000 (13:24 -0700)]
Fixed a flakey test
Since the test could be off the UI thread, cancelling
would not be synchronized properly.
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java
Change-Id: Icfb02b637b76cdfb853c88130eabddf75203909b
Fixes:
65031224
TreeHugger Robot [Fri, 8 Sep 2017 20:20:12 +0000 (20:20 +0000)]
Merge "Make settings themed apps have light nav DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 20:05:37 +0000 (20:05 +0000)]
Merge "Define priority for video threads" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 19:47:52 +0000 (19:47 +0000)]
Merge "Fixes recents entrance animation when launching before onStop happens" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 19:08:47 +0000 (19:08 +0000)]
Merge "OemLockService: remove canUserAllowOemUnlock()" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 19:08:06 +0000 (19:08 +0000)]
Merge "Fixed CharSequenceTransformation to use find() instead of matches()." into oc-mr1-dev
Yin-Chia Yeh [Wed, 6 Sep 2017 01:14:21 +0000 (18:14 -0700)]
Camera: fix race in onRepeatingRequestError callback
Test: CTS
Bug:
64180296
Change-Id: I72b76695d580d2cfddb02a6da9d7ab04cdcfb98a
Felipe Leme [Wed, 6 Sep 2017 16:10:51 +0000 (09:10 -0700)]
Don't log TYPE_DATASET_SELECTED on dataset authentication.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Bug:
65007529
Fixes:
65403592
Merged-In: I98f1198cbe1836c8154b73a1227be4f6947abc19
Change-Id: I98f1198cbe1836c8154b73a1227be4f6947abc19
Jason Monk [Fri, 1 Sep 2017 16:40:06 +0000 (12:40 -0400)]
Make settings themed apps have light nav DO NOT MERGE
This is needed to help with differential aging.
The nav needs to be white with a 1dp divider on it, so add support
for the divider and add hidden attribute to set the nav buttons
inverted.
Change-Id: I4a5329f7486a6774ca4de8362caebbe8ba421aad
Test: Open settings
Bug:
63630024
TreeHugger Robot [Fri, 8 Sep 2017 16:59:14 +0000 (16:59 +0000)]
Merge "Always treat password as sufficient if no password policy is set" into oc-mr1-dev
Daniel Sandler [Fri, 8 Sep 2017 16:41:38 +0000 (16:41 +0000)]
Merge "Cat rescue." into oc-mr1-dev
Tomasz Wasilczyk [Thu, 7 Sep 2017 21:44:40 +0000 (14:44 -0700)]
Fix NativeCallbackThread race condition.
Bug: b/
65286959
Test: instrumentation
Change-Id: I0086a362b9b916d87118ed478aa8222874df19b1
Andrew Scull [Thu, 7 Sep 2017 13:03:21 +0000 (14:03 +0100)]
OemLockService: remove canUserAllowOemUnlock()
No longer used by Settings as the logic was wrong.
Test: gts-tradefed run gts -m GtsOemLockServiceTestCases
Bug:
65124732
Change-Id: I44e5f697aabd2b5eefecf64060502b5c9ef5f911
(cherry picked from commit
d37fe2d3e1cbf03161df9f4e16f791a99445cdc1)
Jason Monk [Wed, 6 Sep 2017 21:33:01 +0000 (17:33 -0400)]
Update QS if the content gets stale
For system tiles this is more often, but for 3P tiles its pretty rare
except for on boot.
Test: runtest systemui
Fixes:
34804413
Change-Id: I166e2ab6a609acd63b9b4f19579bab12beabba27
Bryce Lee [Wed, 6 Sep 2017 21:55:48 +0000 (14:55 -0700)]
Do not process set WindowAnimator param when screen is already on.
Doing so can lead to the param be processed during onPause,
potentially causing the device erroneously waking up.
Change-Id: Id0f0bc74873e6e41bd2b10dc423a435ca050947f
Fixes:
65412431
Bug:
65385210
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerActivityVisibilityTests#testTurnScreenOnActivity_withRelayout
Todd Kennedy [Fri, 8 Sep 2017 13:29:49 +0000 (13:29 +0000)]
Merge "skip filtered entries instead of returning" into oc-mr1-dev
Rubin Xu [Fri, 8 Sep 2017 11:08:26 +0000 (12:08 +0100)]
Always treat password as sufficient if no password policy is set
Handle the special case when work profile is freshly created on a FDE device
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases
-t com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testPasswordSufficientInitially
Bug:
63887564
Change-Id: Ie8e430d4ff63be74fb2d4fc3ad3a8735f1de48b0
TreeHugger Robot [Fri, 8 Sep 2017 06:36:44 +0000 (06:36 +0000)]
Merge "Add method to update tile's remoteview using summaryUri" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 05:48:58 +0000 (05:48 +0000)]
Merge "Alternative fix for preventing PiP from screenshot sharing." into oc-mr1-dev
Bryan Eyler [Fri, 8 Sep 2017 05:28:31 +0000 (05:28 +0000)]
Merge "Add spacing in QS footer and user switcher." into oc-mr1-dev
Bryan Eyler [Fri, 8 Sep 2017 05:27:52 +0000 (05:27 +0000)]
Merge "Add username beside user switch." into oc-mr1-dev
Sujith Ramakrishnan [Fri, 8 Sep 2017 04:25:15 +0000 (04:25 +0000)]
Merge "Make ASSIST launch VIS and add a new keycode for TV (ALL_APPS)" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 04:04:35 +0000 (04:04 +0000)]
Merge "ONA: Make ONA related broadcasts protected." into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 02:38:59 +0000 (02:38 +0000)]
Merge "Always enable nav and status bar opaque/translucency" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 02:26:02 +0000 (02:26 +0000)]
Merge "Javadoc update for permission requirements" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 02:21:21 +0000 (02:21 +0000)]
Merge "Fixes seascape recents task centering for low ram devices" into oc-mr1-dev
Jeff Tinker [Thu, 7 Sep 2017 23:46:50 +0000 (16:46 -0700)]
Define priority for video threads
Video threads have soft realtime requirements that
must be met in order to maintain reliable frame delivery
even when the system is under high load. A new priority
has been defined that can be used by video threads to
enable them to be scheduled appropriately relative
to other system threads. This CL updates the media codec
looper to use the new priority.
Tests: GTS media tests, Manual verification with
Play Movies, Netflix, com.google.vr.sdk.samples.videoplayer
Change-Id: Ibfee09bb6a5359ab96ec2184775c486e4bd77871
related-to-bug:
63898080
TreeHugger Robot [Fri, 8 Sep 2017 02:09:04 +0000 (02:09 +0000)]
Merge "Updates the background of the clear all button for low ram devices" into oc-mr1-dev
Selim Cinek [Fri, 8 Sep 2017 01:56:49 +0000 (01:56 +0000)]
Merge "Changed the accessibility experience for notifications" into oc-mr1-dev
Selim Cinek [Fri, 8 Sep 2017 01:53:17 +0000 (18:53 -0700)]
Fixed the icon clipping of the notification shelf
Before the icon wasn't clipped to it's notification container
and could go out of bounds. We're now clipping it to it's
surrounding notification.
Change-Id: I1b9a3650eb3e3f0bcd7d7cef087afb7cc41ccf62
Fixes:
63477094
Test: add notifications, observe icon animations, better clipping
Stephen Chen [Tue, 5 Sep 2017 19:51:15 +0000 (12:51 -0700)]
ONA: Make ONA related broadcasts protected.
Bug:
65257065
Bug:
37357441
Test: build with ONA, check that broadcasts do not log WTF errors.
Change-Id: I623da59f5cc7ca3feff6cc156664c05fbeb34107
TreeHugger Robot [Fri, 8 Sep 2017 01:00:35 +0000 (01:00 +0000)]
Merge "Improve NewDatabasePerformanceTests" into oc-mr1-dev
Winson Chung [Thu, 7 Sep 2017 21:05:42 +0000 (14:05 -0700)]
Alternative fix for preventing PiP from screenshot sharing.
- Revert
942a85c6d608dd6a4a31937fe0b57ae43105d5b2
- Use a more specific fix for the triggering of PiP from the SysUI
screenshot share intent.
Bug:
63984385
Bug:
63581685
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: Click share on the screenshot action, ensure activity below does
not enter PiP
Change-Id: Id8041d50dd429030c20940dca19e5c62bbc0c6a4
Fyodor Kupolov [Fri, 8 Sep 2017 00:13:51 +0000 (00:13 +0000)]
Merge "Allow using SQLiteGlobal for testing" into oc-mr1-dev
Amith Yamasani [Tue, 5 Sep 2017 20:41:19 +0000 (13:41 -0700)]
Javadoc update for permission requirements
Bluetooth scanning requires holding these permissions for results
to be delivered.
Bug:
65013767
Test: N/A
Change-Id: I0b5fa9efa7fc8d5cff25319fbd7719cedee6a4aa
Matthew Ng [Fri, 1 Sep 2017 19:45:04 +0000 (12:45 -0700)]
Always enable nav and status bar opaque/translucency
Removed the logic to enable or disable translucency and have it fully
enable all the time. Having it on has very or no impact on RAM.
Test: boot device and look at nav and status bar
Change-Id: Id9e613abc689ab8c1b53424aa92e864f75f8ed02
Fixes:
65286386
Sujith Ramakrishnan [Wed, 19 Jul 2017 01:35:14 +0000 (18:35 -0700)]
Make ASSIST launch VIS and add a new keycode for TV (ALL_APPS)
- KEYCODE_ASSIST: Looks for default VIS in system partition
and launches it.
- Ensure foreground activity assist context extras are collected
and sent to VIS.
- KEYCODE_ALL_APPS: Sends Intent.ACTION_ALL_APPS. For TV,
this targets default launcher package in system partition.
Test: Manual: ASSIST: adb shell input keyevent 219
Test: Manual: ALL_APPS: adb shell input keyevent 284
Test: also tested with --longpress for these keys
Test: Manual: Checked with dummy app populating overridden
onProvideAssistData()
Test: Keypresses after overriding ALL_APPS and ASSIST
on Nexus Remote
Bug:
37950079
Bug:
38496261
Change-Id: I96d9de67d4a442a8c6cb7feec28fc9aeb0dcbc18
Jack He [Thu, 7 Sep 2017 23:12:25 +0000 (23:12 +0000)]
Merge "Bluetooth: add metrics for pairing with devices without names" into oc-mr1-dev
Selim Cinek [Thu, 7 Sep 2017 22:43:13 +0000 (15:43 -0700)]
Changed the accessibility experience for notifications
The expand button is now not labeling the notification
anymore since it was too wordy.
Change-Id: I14374b1a97389b8441fdf44eb4993954e765e89f
Fixes:
65123834
Test: use talkback and navigate to expand button, verify not speaking notification anymore
Felipe Leme [Thu, 7 Sep 2017 22:21:01 +0000 (15:21 -0700)]
Fixed CharSequenceTransformation to use find() instead of matches().
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.CharSequenceTransformationTest#testReplaceAllByOne
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Fixes:
65459117
Change-Id: Ib5ff31b6b12e5583e736a0593e941e1556ae7384
Matthew Ng [Thu, 7 Sep 2017 00:10:06 +0000 (17:10 -0700)]
Fixes seascape recents task centering for low ram devices
Added missing system insets left to the calculation.
Test: manual - go to recents and rotate to seascape
Change-Id: I25cd2f35b81e350e2934859423985257c4d6daea
Fixes:
65420616
Fyodor Kupolov [Sat, 22 Jul 2017 02:36:50 +0000 (19:36 -0700)]
Improve NewDatabasePerformanceTests
They didn't properly report timings. It included setup time.
Also cleaned up code and added CREATE TABLE performance test.
Cherry-pick from
66c1852cced1c09f2dc7d536efd875c44d9a1cfe
Test: run_newdb_perf_test.sh
Bug:
63942513
Bug:
65302651
Merged-In: I15fcb5fa43f81e8ea39c2e29252527a8f3714398
Change-Id: I15fcb5fa43f81e8ea39c2e29252527a8f3714398
Todd Kennedy [Thu, 7 Sep 2017 21:22:23 +0000 (14:22 -0700)]
skip filtered entries instead of returning
When retrieving all packages / apps on the system, we should just
skip over any filtered entries rather than returning 'null'.
Change-Id: If874be3904b6d5a1103e099eb2ddff839091121e
Fixes:
65389431
Test: Manual:
Test: bit FrameworksCoreTests:android.content.pm.PackageManagerTests\#testGetInstalledPackages ; passes
Test: adb install --instantapp somepackage.apk
Test: bit FrameworksCoreTests:android.content.pm.PackageManagerTests\#testGetInstalledPackages ; passes
Bryce Lee [Thu, 7 Sep 2017 21:17:05 +0000 (14:17 -0700)]
Make sure top activity is stopped on sleep if paused.
Currently we have logic in place to handle moving a top resumed
activity to paused and eventually stopped if entering sleep. However,
we do not handle the case when the top activity is already paused.
This changelist addresses this issue by identifying this condition
and moving the activity to the stopped state.
Change-Id: I8d6f9282ff863cf8017f6d64ab60911fb1c376c2
Fixes:
65457314
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerDisplayTests#testExternalDisplayActivityTurnPrimaryOff
TreeHugger Robot [Thu, 7 Sep 2017 21:14:17 +0000 (21:14 +0000)]
Merge "Fixes clear all button disappearing after rotate on low ram device" into oc-mr1-dev
Felipe Leme [Thu, 7 Sep 2017 21:13:18 +0000 (21:13 +0000)]
Merge "Finishes the session when the service returns a null response on authentication." into oc-mr1-dev
Jack He [Thu, 31 Aug 2017 02:24:37 +0000 (19:24 -0700)]
Bluetooth: add metrics for pairing with devices without names
Bug:
34685932
Test: make, unit test
Change-Id: I486c210790fe72a594d6144dfd17b01a7a4a9003
Merged-In: I486c210790fe72a594d6144dfd17b01a7a4a9003
Jason Monk [Thu, 7 Sep 2017 18:55:43 +0000 (18:55 +0000)]
Merge "Fix crash in presubmit tests" into oc-mr1-dev
Jason Monk [Thu, 7 Sep 2017 18:51:41 +0000 (14:51 -0400)]
Fix crash in presubmit tests
Test: runtest systemui
Bug:
65289824
Change-Id: Ibbce459e5e87ea667e91d546b7568f9addbb1c66
TreeHugger Robot [Thu, 7 Sep 2017 17:38:59 +0000 (17:38 +0000)]
Merge "Bluetooth: Thread-safe binder invocation" into oc-mr1-dev
Fyodor Kupolov [Thu, 7 Sep 2017 17:30:54 +0000 (17:30 +0000)]
Merge "Introduced AppRestrictionsLock" into oc-mr1-dev
Rubin Xu [Thu, 7 Sep 2017 17:15:35 +0000 (17:15 +0000)]
Merge "Always add local subnet routes to the interface's routing table" into oc-mr1-dev
Felipe Leme [Wed, 6 Sep 2017 22:19:11 +0000 (15:19 -0700)]
Added more logging to diagnose a racy runtime restart.
Also fixed a possible NPE on saveLocked() and improved locking.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Bug:
65374274
Merged-Id: I4b8368a9d19b4b4da76533dadb013ff2e2922955
Change-Id: I4b8368a9d19b4b4da76533dadb013ff2e2922955
Jason Monk [Thu, 7 Sep 2017 16:11:24 +0000 (16:11 +0000)]
Merge "Fix presubmit tests" into oc-mr1-dev
Jason Monk [Thu, 7 Sep 2017 16:04:42 +0000 (12:04 -0400)]
Fix presubmit tests
Test: runtest systemui
Bug:
65289824
Change-Id: Ibf2b61670d09a76eb908bd9d322ae36e0f7af3e0
Julia Reynolds [Thu, 7 Sep 2017 15:40:28 +0000 (15:40 +0000)]
Merge "Correctly block system work profile notifications." into oc-mr1-dev
Tyler Gunn [Thu, 7 Sep 2017 15:14:44 +0000 (15:14 +0000)]
Merge "Ensure *# are included in TTS spans generated with PhoneNumberUtils." into oc-mr1-dev
Ajay Nadathur [Wed, 30 Aug 2017 21:56:46 +0000 (14:56 -0700)]
Add method to update tile's remoteview using summaryUri
- Calling com.android.settingslib.drawer.TileUtils#updateTileData no
longer sets the summary in RemoteView.
- To update summary and title of remoteview,
com.android.settingslib.drawer.TileUtils#updateTileUsingSummaryUri
should be called
bug:
62713030
Test: Added robolectric tests, also manually tested settings
Change-Id: I8c63601a901d5b140e36baec424c226724c43bc4
Beverly Tai [Thu, 7 Sep 2017 13:20:59 +0000 (13:20 +0000)]
Merge "Ensures zen rule update locale retains enabled val" into oc-mr1-dev
Rubin Xu [Tue, 5 Sep 2017 17:40:49 +0000 (18:40 +0100)]
Always add local subnet routes to the interface's routing table
For some networks such as mobile data connections, its LinkProperties
does not contain routes for the local subnet so no such route is added
to the interface's routing table. This can be problematic especially
if the device is in VPN lockdown mode where there exists high-priority
PROHIBIT routing rule which in turn blocks the network's default gateway
route from being added (next hop address hitting the prohibit rule).
We fix this by patching LinkProperties to always include direct connected routes
when they are received by ConnectivityService. This has the added advantage that
when apps get LinkProperties, they see the directly connected routes as well.
Bug:
63662962
Test: runtest frameworks-core -c android.net.LinkPropertiesTest
Test: runtest frameworks-services -c com.android.server.ConnectivityServiceTest
Test: Start with device with mobile data, set up ics-OpenVPN in always-on
lockdown mode. Turn off mobile data then turn it back on, observe
mobile data connectivity is restored and VPN successfully reconnects.
(cherry picked from commit
1bb5c0818f0c4fb426e13b65a3ba3db7f36c3d88)
Change-Id: Ia14f88bcf49d37286519c26dff6b7180303e2cbe
Jason Monk [Thu, 7 Sep 2017 12:48:02 +0000 (12:48 +0000)]
Merge "Fix disabled views with nearest touch frame" into oc-mr1-dev
Erik Kline [Thu, 7 Sep 2017 12:46:12 +0000 (12:46 +0000)]
Merge "Support NAT keepalives" into oc-mr1-dev
Erik Kline [Mon, 19 Jun 2017 02:33:59 +0000 (11:33 +0900)]
Support NAT keepalives
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
- turned on debugging and walked around watching IpReachabilityMonitor
force neighbors into NUD_PROBE state without error
- observed NAT callbacks happening without any reported errors
- watched:
adb shell cat /proc/net/nf_conntrack | egrep '192[.]168[.]43[.]' | sort -n -k5
for correct timeout updates
Bug:
29337859
Bug:
32163131
Change-Id: Icb23da64cfaa3a19f7bc75fba426a52b0994fb0f
Jack He [Thu, 17 Aug 2017 19:11:18 +0000 (12:11 -0700)]
Bluetooth: Thread-safe binder invocation
* Binder object may become null between null check and actual invocation
if using a instance private variable assignable by service connection
callbacks
* The solution to this problem without locking is to assign existing
binder variable to a local final variable before the null check
* Any further invocation to a disconnected binder object will result in
RemoteException that is caught by the try-catch block
* Read and write to volatile variable is always atomic and hence thread-safe
* Removed unnecessary synchronization in BluetoothAdapter constructor
* Private mConnection objects should be final
* Simplfied several return statements where booleans can be returned
directly
* Removed unnecessary catches for NPE since there won't be any
Bug:
64724692
Test: make, pair and use devices, no functional change
Change-Id: Ifc9d6337c0d451a01484b61243230725d5314f8e
(cherry picked from commit
16eeac356c68f3674677169b618774718ec982b2)