OSDN Git Service
Colin Cross [Wed, 6 Sep 2017 05:59:27 +0000 (22:59 -0700)]
Fix intermittent build failures with droiddoc generated sources
Jack builds fail very rarely with missing droiddoc generated
source files. This happens because jack builds have an extra
rule that does a quick check of the sources and touches a
jack.check.timestamp file. The manual dependencies for the
generated sources didn't cover this case. If the sources are
partially generated when the jack.check.timestamp rule runs,
the rule can see partial sources and fail. The same problem
might also happen for javac builds after
https://android-review.googlesource.com/c/platform/build/+/404743
separated the source list generation rule out of the
$(full_classes_jar) rule.
Use LOCAL_ADDITIONAL_DEPENDENCIES instead, which covers these
cases and will be updated to cover future changes.
Bug:
65255877
Test: m -j ANDROID_COMPILE_WITH_JACK=true out/target/common/obj/JAVA_LIBRARIES/android.test.runner.stubs_intermediates/jack.check.timestamp
make sure sources are generated
Change-Id: I4466b3128eb0bba6447c24abf921a6655a3d451f
Merged-In: I4466b3128eb0bba6447c24abf921a6655a3d451f
(cherry picked from commit
85ab406eb2abd2e98fa9a67384223592692c08a9)
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
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
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
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
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
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)
Calin Juravle [Sat, 2 Sep 2017 00:30:01 +0000 (17:30 -0700)]
Handle configuration splits when creating the class loader context
Configuration splits have no dependencies which can lead to exceptions
when computing their class loader context.
In general, we do not need to compute the class loader context for apks
without code.
This CL addresses the issue by ignoring "code" paths with no actual code.
Bug:
65159159
Test: adb install-multiple config_splits
runtest -x
services/tests/servicestests/src/com/android/server/pm/dex/DexoptUtilsTest.java
Change-Id: Ida1eb901eecba4a4266de73022f6ee4659367873
Chen Xu [Thu, 7 Sep 2017 04:08:02 +0000 (04:08 +0000)]
Merge "disable carrier actions on redirection part 2" into oc-mr1-dev
Sujith Ramakrishnan [Thu, 7 Sep 2017 02:08:53 +0000 (02:08 +0000)]
Merge "Make ASSIST launch VIS and add a keycode for TV (ALL_APPS)" into oc-dev am:
c07c23b1f7 -s ours
am:
1255f26551
Change-Id: I00e8a8a61aea8b48830405018265d04dea179508
Sujith Ramakrishnan [Thu, 7 Sep 2017 01:59:58 +0000 (01:59 +0000)]
Merge "Make ASSIST launch VIS and add a keycode for TV (ALL_APPS)" into oc-dev
am:
c07c23b1f7 -s ours
Change-Id: I87c316c7b1738e9a85b867088a074536bc5e9db1
TreeHugger Robot [Thu, 7 Sep 2017 01:21:41 +0000 (01:21 +0000)]
Merge "Send a ranking update on global dot state change" into oc-mr1-dev
Felipe Leme [Thu, 7 Sep 2017 00:03:16 +0000 (17:03 -0700)]
Add pseudo-filtering on authenticated views.
When the autofill UI is shown for an authenticated FillResponse or Dataset and
the user types something, it should be filtered as if the matched failed.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Fixes:
65415443
Change-Id: I6a6b5af369e4e5a9cea49ae124dc517dbe5c70be
Tarandeep Singh [Thu, 7 Sep 2017 00:59:05 +0000 (00:59 +0000)]
Merge "Revert "Make settings themed apps have light nav"" into oc-mr1-dev
Bryan Eyler [Wed, 6 Sep 2017 23:26:29 +0000 (16:26 -0700)]
Add spacing in QS footer and user switcher.
Adds space between user avatar and name.
Adds space below user icons in switcher.
Expands avatar image to size of view.
Adjust colour of user name.
Bug:
63593747
Tested on Mojave
Change-Id: If0a42b2ecd3ffa9dc11c918d6cdf42f109b3934e
Dan Sandler [Tue, 5 Sep 2017 01:36:01 +0000 (21:36 -0400)]
Cat rescue.
Change-Id: Ibeea21e14f52b018e9c130df17560c4d39f23ed3
Bug:
64305456
Fixes:
37926266
Fixes:
38349532
Test: adb shell am start -n com.android.egg/.neko.NekoActivationActivity ; \
adb shell am start -n com.android.egg/.neko.NekoLockedActivity ; \
echo "pick a dessert then press enter" ; read foo ; \
adb shell cmd jobscheduler run -f com.android.egg 42 ; \
adb shell am start -n com.android.egg/.neko.NekoLand ; \
echo "longpress your new cat and touch the share icon"
TreeHugger Robot [Thu, 7 Sep 2017 00:17:56 +0000 (00:17 +0000)]
Merge "Fix QS loading animation" into oc-mr1-dev
Sujith Ramakrishnan [Thu, 7 Sep 2017 00:09:21 +0000 (00:09 +0000)]
Merge "Make ASSIST launch VIS and add a keycode for TV (ALL_APPS)" into oc-dev
Bryan Eyler [Fri, 1 Sep 2017 00:57:45 +0000 (17:57 -0700)]
Add username beside user switch.
In car QS footer, show the username beside the user avatar/switch
button.
Bug:
63593747
Tested on Mojave
Change-Id: I62387b75951235350ee6d9326eba281374ebea69
TreeHugger Robot [Wed, 6 Sep 2017 23:27:47 +0000 (23:27 +0000)]
Merge "Fix truncated text in inline settings" into oc-mr1-dev
TreeHugger Robot [Wed, 6 Sep 2017 23:26:11 +0000 (23:26 +0000)]
Merge "Show No SIM icon in QS when there is no SIM" into oc-mr1-dev
TreeHugger Robot [Wed, 6 Sep 2017 23:21:11 +0000 (23:21 +0000)]
Merge "Guard against NPE" into oc-mr1-dev
TreeHugger Robot [Wed, 6 Sep 2017 23:09:05 +0000 (23:09 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
Daniel Nishi [Wed, 6 Sep 2017 23:07:13 +0000 (23:07 +0000)]
Merge "Flag storage settings cache invalidation time." into oc-mr1-dev
Tarandeep Singh [Wed, 6 Sep 2017 22:16:12 +0000 (22:16 +0000)]
Revert "Make settings themed apps have light nav"
This reverts commit
45484206740874ddd4024fedfdd8676d935ea67b.
The above change causes restart due to ClassCastException.
Test: Manually:
1. Open the Dialer app.
2. Focus into the edit field to show the IME.
3. Open the notification shade.
4. Tap the gear icon to show the system settings.
5. Make sure the system no longer restarts due to
ClassCastException.
Bug:
63630024
Fixes:
65413752
Change-Id: I4a17ba2f8d70f99009f091c2aaad5cd5f4e9b31c
fionaxu [Wed, 6 Sep 2017 19:07:14 +0000 (12:07 -0700)]
disable carrier actions on redirection part 2
DO NOT MERGE handle the corner case: user on new pixel device update from O-DR to
O-MR when they are in captive portal scenario. In this scenrio,
we enabled captiveportalLoginActivity has the default url handler. this
will be persist and reset on sim absent/sim load/network avail.
On my previous fix, I removed all the signals which means after OTA
we won't reset this part. We should leave the reset signal to ensure
no carrier actions applied. even if something abnormal happens, we can
recover gracefully from reboot.
Bug:
65113738
Test: Manual
Change-Id: I445c7bce01e0bf36214f5f4f6327a0582c774dae
Daniel Nishi [Wed, 6 Sep 2017 21:34:41 +0000 (14:34 -0700)]
Cap user-visible cache size at quota.
Anything over the quota is considered free for storage purposes because
the system can clear it out at will. This is reflected in the top level
Storage Settings, but not in the ApplicationsState-based views. This
change makes ApplicationsState cap the cache size as well.
Change-Id: I733a39da7fea993065d767978b4191cc82f908b8
Fixes:
65384688
Test: b/
34768986
Jason Monk [Wed, 6 Sep 2017 21:29:08 +0000 (21:29 +0000)]
Merge "Add metrics for status bar" into oc-mr1-dev
TreeHugger Robot [Wed, 6 Sep 2017 21:17:48 +0000 (21:17 +0000)]
Merge "Update demo mode clock to 8:00 for O." into oc-mr1-dev