OSDN Git Service
Andreas Gampe [Mon, 23 Apr 2018 15:59:12 +0000 (08:59 -0700)]
PackageManager: Skip dexopt on install for debuggable apps
To reduce install-to-started latency, skip dexopt at install-time
for debuggable apps. This is a conscious tradeoff, as the app
will run slower, and do repeated work on every startup. However,
for debuggable apps, turnaround time is more important.
(cherry picked from commit
58adf3a8eead2d7594fc1ac15aaed6a5760e7ba4)
Bug:
78200989
Test: m
Test: Device boots
Test: CTS (wrap & JVMTI)
Merged-In: I749934e794b0c89d72ea8ee413b845e7804de184
Change-Id: I749934e794b0c89d72ea8ee413b845e7804de184
David Brazdil [Mon, 23 Apr 2018 15:01:49 +0000 (15:01 +0000)]
Merge "Revert "Temporarily whitelist platform test packages for hidden API"" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 14:56:01 +0000 (14:56 +0000)]
Merge "Make settings icon invisible when QS is collapsed." into pi-dev
Bryce Lee [Mon, 23 Apr 2018 14:09:54 +0000 (14:09 +0000)]
Merge "Thaw input dispatching immediately after unfreezing." into pi-dev
Bryce Lee [Mon, 23 Apr 2018 14:08:29 +0000 (14:08 +0000)]
Merge "Consider lock state when determining next activity to become visible." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 13:44:01 +0000 (13:44 +0000)]
Merge "Add null check for wireless charging animation." into pi-dev
Amin Shaikh [Mon, 23 Apr 2018 12:52:38 +0000 (08:52 -0400)]
Make settings icon invisible when QS is collapsed.
Also fix calling super#onAttachedToWindow in QuickStatusBarHeader.
Change-Id: I2eb8c31b2d3a9ca20ac76608650a0e42ec25e504
Fixes:
78203022
Test: visual
David Brazdil [Mon, 23 Apr 2018 10:43:32 +0000 (11:43 +0100)]
Revert "Temporarily whitelist platform test packages for hidden API"
This reverts commit
6c5f36d3d9d82a390048eb386e0eca46cd9e1e2e.
Bug:
64382372
Bug:
74963051
Test: N/A
Change-Id: I8dc2b19c5d1ceee051791b639f30a1175b373117
Jorim Jaggi [Mon, 23 Apr 2018 12:17:37 +0000 (12:17 +0000)]
Merge "Remove prolonged animations" into pi-dev
David Brazdil [Mon, 23 Apr 2018 10:51:14 +0000 (10:51 +0000)]
Merge "Greylist test API for CtsSliceTestCases" into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:42:17 +0000 (10:42 +0000)]
Merge "Add light grey APIs." into pi-dev
David Brazdil [Thu, 19 Apr 2018 15:32:48 +0000 (16:32 +0100)]
Greylist test API for CtsSliceTestCases
The test invokes two hidden methods inside a ContentProvider.
Since we cannot exempt those, add the two methods to light greylist
until they are made @TestApi.
Bug:
64382372
Test: run cts --module CtsSliceTestCases
Change-Id: I9bc0c23282c1744f4b93b9d84fcdd022f70859c2
Nicolas Geoffray [Mon, 23 Apr 2018 10:33:39 +0000 (10:33 +0000)]
Merge "Add java.io.File fields to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:30:01 +0000 (10:30 +0000)]
Merge "Add camera APIs to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:23:09 +0000 (10:23 +0000)]
Merge "Add light grey APIs." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 08:58:24 +0000 (08:58 +0000)]
Merge "Add APIs to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 08:57:07 +0000 (08:57 +0000)]
Merge "Add SELinux->getFileContext to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 08:56:52 +0000 (08:56 +0000)]
Merge "Light grey some APIs." into pi-dev
Mathew Inwood [Mon, 23 Apr 2018 08:02:32 +0000 (08:02 +0000)]
Merge "Enforce permission when disabling API checks." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 07:22:12 +0000 (07:22 +0000)]
Merge "Let DnsManager fill in LinkProperties for private DNSes" into pi-dev
Chalard Jean [Wed, 11 Apr 2018 09:58:52 +0000 (18:58 +0900)]
Let DnsManager fill in LinkProperties for private DNSes
Test: new tests pass
Bug:
73641539
Change-Id: I971ef4d27b22a435d7459e1c4b31a8715ef6e610
Yu-Han Yang [Mon, 23 Apr 2018 04:20:04 +0000 (04:20 +0000)]
Merge "Use settings flag to control HAL location request" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 03:13:03 +0000 (03:13 +0000)]
Merge "Add nullchecks to ScreenPinningRequest." into pi-dev
Selim Cinek [Mon, 23 Apr 2018 02:26:58 +0000 (02:26 +0000)]
Merge "Made the DrawableWrapper return the right ColorFilter" into pi-dev
TreeHugger Robot [Sun, 22 Apr 2018 04:06:59 +0000 (04:06 +0000)]
Merge "Refactoring the User Switcher layout files to use dimensions in dimens_car.xml and colors_car.xml so that overlays will be easier. Also, added a dialog when adding a user. Fixed the issue where coming back to the user picker makes the buttons unresponsive" into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 21:49:24 +0000 (21:49 +0000)]
Merge "Use updated override config to notify listeners." into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 18:11:36 +0000 (18:11 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 17:52:04 +0000 (17:52 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Jack Yu [Sat, 21 Apr 2018 17:18:52 +0000 (17:18 +0000)]
Merge "Fixed CTS CtsUsageStatsTestCases test cases" into pi-dev
Jovana Knezevic [Sat, 21 Apr 2018 15:23:15 +0000 (15:23 +0000)]
Merge "Fixing issues with alpha 0.0 on parent view." into pi-dev
Bill Yi [Sat, 21 Apr 2018 09:18:07 +0000 (02:18 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I42a13b075c1517f0ec1f8f79fd46ec54ee26008e
Bryce Lee [Sat, 21 Apr 2018 05:56:01 +0000 (22:56 -0700)]
Thaw input dispatching immediately after unfreezing.
Currently, we thaw after taking a number of steps post-unfreezing,
including setting up screen animations for rotation. If there is an
exception in this intermediate code, the input dispatching will not
be thawed even though the display has unfrozen.
This changelist moves thawing to immediately after unfreezing to
prevent it from being skipped due to an exception.
Bug:
78301580
Test: atest CtsActivityManagerDeviceTestCases
Change-Id: I32a3ca909fe1a495b361f9e5ba7b3a158837bc3a
TreeHugger Robot [Sat, 21 Apr 2018 05:42:29 +0000 (05:42 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Sat, 21 Apr 2018 04:40:27 +0000 (21:40 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ic17792437048be044201531e491b4ef280cf37f4
TreeHugger Robot [Sat, 21 Apr 2018 02:29:55 +0000 (02:29 +0000)]
Merge changes from topic "statsd_socket_review" into pi-dev
* changes:
Add socket listener to statsd. And remove Davey atom.
Allow StatsLog to directly write to statsd's socket.
Aarthi Balachander [Fri, 20 Apr 2018 02:25:33 +0000 (19:25 -0700)]
Refactoring the User Switcher layout files to use dimensions in
dimens_car.xml and colors_car.xml so that overlays will be easier.
Also, added a dialog when adding a user. Fixed the issue where coming
back to the user picker makes the buttons unresponsive
Test: tested on Mojave
Bug:
78244241,
78309816,
78297334,
Change-Id: Iec44eb93ec4456be6d39d08940bb6ba2050eac7a
Jack Yu [Sat, 21 Apr 2018 01:22:51 +0000 (01:22 +0000)]
Merge "DO NOT MERGE - Set country code even when device is not registered on network" into pi-dev
Yao Chen [Wed, 18 Apr 2018 20:48:02 +0000 (13:48 -0700)]
Add socket listener to statsd. And remove Davey atom.
+ The socket listener is behind a flag. It's disabled until we get sepolicy changes in.
+ Data parsing code is from logd, because we use the same format.
+ Removed Davey from JankTracker because it violates our new sepolicy
Test: manually
Bug:
78239479
Change-Id: Ib17729fbc362cdb13385f780e2d636a95adf9bc3
Jack Yu [Fri, 20 Apr 2018 23:13:51 +0000 (16:13 -0700)]
Fixed CTS CtsUsageStatsTestCases test cases
We used the current RAT to load different carrier configuration to
determine whether the connection of a certain APN type is metered or
not. When the device is switched to IWLAN, the existing default
APN connection on cellular will be marked as unmetered based on
the current logic. This logic will be refactored when IWLAN full mode
is supported in Q.
For the short term workaround for P, we'll just mark default APN as
metered when the device is on IWLAN.
Test: CtsUsageStatsTestCases
Bug:
74540336,
77504652
Change-Id: Ib098e80d2bfd10e74c0b0dacf2cf2f217a66f7e4
Jack Yu [Fri, 13 Apr 2018 21:05:32 +0000 (14:05 -0700)]
DO NOT MERGE - Set country code even when device is not registered on network
Extends the functionality of getNetworkCountryIso to support
no SIM/no service case. When no SIM/no service, it returns
the country code of nearby network (unregistered but cell info
is available to the device).
Test: Manual
Bug:
64335394
Change-Id: Ic7c9e903cc497b7e43b557cb593407ff3e9305b5
Salvador Martinez [Fri, 20 Apr 2018 23:27:25 +0000 (23:27 +0000)]
Merge "Add composite string for battery summary in settings" into pi-dev
TreeHugger Robot [Fri, 20 Apr 2018 23:27:12 +0000 (23:27 +0000)]
Merge "Add a function to get the secondary split screen bounds" into pi-dev
Jeff Sharkey [Fri, 20 Apr 2018 23:24:28 +0000 (23:24 +0000)]
Merge "Extend adoptable override to force on or off." into pi-dev
Andrii Kulian [Fri, 20 Apr 2018 23:21:25 +0000 (23:21 +0000)]
Merge "Don't require post-execution state for onActivityResult" into pi-dev
Garfield Tan [Fri, 20 Apr 2018 23:19:03 +0000 (16:19 -0700)]
Use updated override config to notify listeners.
Bug:
77919579
Test: go/wm-smoke
Change-Id: I961aba587b9e193fbb9351aaa42c5633de49a367
Jorim Jaggi [Fri, 20 Apr 2018 22:32:59 +0000 (22:32 +0000)]
Merge "Fix issue with translucent animations" into pi-dev
Yao Chen [Wed, 18 Apr 2018 20:45:48 +0000 (13:45 -0700)]
Allow StatsLog to directly write to statsd's socket.
+ Reuse the log_event_list from liblog. StatsLog's binary format remains unchanged
+ Copied socket write code from liblog, including the retry logic.
+ Added build flags to control the StatsLog channel (logd, statsd, or both for debugging)
Bug:
78239479
Test: locally tested and saw logs being written to statsd
Change-Id: I7b1f0069ead00bbf3c29e4bd5b7f363a7ce26abe
Andrew Zeng [Fri, 20 Apr 2018 21:13:16 +0000 (14:13 -0700)]
Add null check for wireless charging animation.
StatusBarManagerService is not started in SystemServer on
wearable devices.
Bug:
78357692
Change-Id: I0e30a4996addb599b8c90aa86b5ccb5ee7d80490
TreeHugger Robot [Fri, 20 Apr 2018 20:40:32 +0000 (20:40 +0000)]
Merge "Give CTS a way to force-poll network stats." into pi-dev
Julia Reynolds [Fri, 20 Apr 2018 20:21:41 +0000 (20:21 +0000)]
Merge "GetActiveNotifications should never return null" into pi-dev
jovanak [Fri, 20 Apr 2018 19:35:09 +0000 (12:35 -0700)]
Fixing issues with alpha 0.0 on parent view.
Parent view should remain with 1.0 alpha.
Container view should fade when switching starts, and come back
to alpha of 1.0 once the switching has been completed.
Fixes:
78309123
Fixes:
78309400
Test: Visual confirmation of various flows. Switching to user with a pin. Canceling bouncer. Switching to user without a pin. Turning the screen off and back on after unlocking the user first.
Change-Id: I17946a1feea20bcb2fd2603c8cba0f2f51acd65d
Andrii Kulian [Thu, 19 Apr 2018 22:29:22 +0000 (15:29 -0700)]
Don't require post-execution state for onActivityResult
According to the documentation, onActivityResult() should be called
immediately before onResume(). This, however, was not always the case
in previous releases and fixing this caused some app compatibility
issues.
This CL removes required post execution state for ActivityResultItem.
Bug:
77695691
Test: ActivityLifecycleTests
Change-Id: Id8c02e9b49f9758aac616e37948570722d802de8
TreeHugger Robot [Fri, 20 Apr 2018 19:31:42 +0000 (19:31 +0000)]
Merge "Catch double unbind of dead service" into pi-dev
TreeHugger Robot [Fri, 20 Apr 2018 19:29:15 +0000 (19:29 +0000)]
Merge "Fix layering of non-IME target windows in IME-target app in split-screen." into pi-dev
Jeff Sharkey [Fri, 20 Apr 2018 19:11:20 +0000 (13:11 -0600)]
Extend adoptable override to force on or off.
Virtual disks are adoptable by default, but for debugging purposes
we want to treat them as unadoptable in some cases. Add the ability
for the "sm" shell command to force on/off, or return to default.
Bug:
77849654,
74132243
Test: manual
Change-Id: Ieda317396624ca081e5dd9568795483f684f9297
Matthew Ng [Thu, 19 Apr 2018 00:14:22 +0000 (17:14 -0700)]
Add a function to get the secondary split screen bounds
Access through the overview proxy to get the bounds of the secondary
split screen app when split screen is enabled.
Test: manual
Fixes:
77678123
Change-Id: Iabbcf30dc7194ac6fff9b4d7cad8a9fe5ee48a2b
TreeHugger Robot [Fri, 20 Apr 2018 18:59:11 +0000 (18:59 +0000)]
Merge "Fix fraction and dimension type in Resource.proto" into pi-dev
Julia Reynolds [Fri, 20 Apr 2018 17:33:36 +0000 (13:33 -0400)]
GetActiveNotifications should never return null
Test: runtest systemui-notification
Change-Id: I53e7a4a2a9f05318dd97ffb096658a4f8bcebc8a
Fixes:
70396956
TreeHugger Robot [Fri, 20 Apr 2018 18:44:02 +0000 (18:44 +0000)]
Merge "SmartLinkify - handle keyboard clicks" into pi-dev
Jeff Sharkey [Fri, 20 Apr 2018 16:59:09 +0000 (10:59 -0600)]
Give CTS a way to force-poll network stats.
Collecting network statistics is pretty heavy, which is why we're
throttling callers. However, to keep CTS running fast, we provide a
way for tests to force a poll event, instead of making them wait for
the throttle timeout.
Bug:
77908520
Test: atest cts/tests/tests/app.usage/src/android/app/usage/cts/NetworkUsageStatsTest.java
Change-Id: Ia792f0cd495023366ff8c4839df54e7da2ae8331
Michael Wachenschwanz [Thu, 19 Apr 2018 01:52:47 +0000 (18:52 -0700)]
Fix fraction and dimension type in Resource.proto
Change fraction and dimnesion type from float to uint32
Change-Id: I641dc42cf7b6bdd8bc16c8cdbd573ec3281a084a
Fixes:
78182701
Test: aapt2_tests
Jovana Knezevic [Fri, 20 Apr 2018 17:21:52 +0000 (17:21 +0000)]
Merge ""Guest" icon should be a default user icon." into pi-dev
Tobias Lindskog [Mon, 12 Mar 2018 14:44:47 +0000 (15:44 +0100)]
Catch double unbind of dead service
If a service receives onBindingDied after it has successfully connected
once, unbindService would be called once from the onBindingDied and then
again from registerServiceLocked when the service was rebound. This
second attempt would typically crash.
The first unbindService call has a try/catch, add one around the second
call as well.
Fixes:
78345567
Test: Manual. Boots and reboots without problems.
Change-Id: Ie9eabbcb6ee89c05abc565427465cfd6906f3fa3
Merged-In: Ie9eabbcb6ee89c05abc565427465cfd6906f3fa3
TreeHugger Robot [Fri, 20 Apr 2018 16:53:31 +0000 (16:53 +0000)]
Merge "No divider between floating toolbar item groups" into pi-dev
TreeHugger Robot [Fri, 20 Apr 2018 16:52:42 +0000 (16:52 +0000)]
Merge "Ensure QS tile secondary text marquees." into pi-dev
Amin Shaikh [Fri, 20 Apr 2018 15:27:46 +0000 (11:27 -0400)]
Ensure QS tile secondary text marquees.
Update the logic to marquee only the currently selected page.
Change-Id: Idc2398e1c67c614414ae4298c43a1609431c62fa
Fixes:
78159844
Test: visual
Bryce Lee [Sat, 14 Apr 2018 00:58:02 +0000 (17:58 -0700)]
Consider lock state when determining next activity to become visible.
When an activity shown on top of the lock screen finishes, the next
activity to become visible is considered. This activity is determined
by the supervisor's top running activity. When the focused stack does
not have a top running activity, the top most non-focused stack's
top running activity is considered. In the case the device is locked,
this value may be an activity that does not show on lock screen. As
a result, the finishing activity will wait indefinitely for an
activity that will never appear.
This changelist introduces the ability to ask for the top running
activity taking the current locked state into consideration. When
locked, only activities that can show on top of the lock screen will
be returned if we consider non-focused stacks.
Change-Id: I235e345c0b1d255b44d147bc71069c164389db4f
Fixes:
76424176
Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests#testNonFocusedTopRunningActivity
Bill Yi [Fri, 20 Apr 2018 15:07:46 +0000 (08:07 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I55740883147a59ce27b7321edca8030298ecc729
Jorim Jaggi [Fri, 20 Apr 2018 14:23:48 +0000 (16:23 +0200)]
Remove prolonged animations
Didn't work anymore since the animation refactoring. Doesn't look
like we still need it, and only causing issues with stuck
animations.
Test: go/wm-smoke
Test: Dock task from recents
Change-Id: Ibb3543d15f42fc7689c3ad705aee693eba93e8b7
Fixes:
77993227
TreeHugger Robot [Fri, 20 Apr 2018 14:43:38 +0000 (14:43 +0000)]
Merge "Defer resizing invisible stacks while drag resizing" into pi-dev
Nicolas Geoffray [Fri, 20 Apr 2018 14:40:58 +0000 (15:40 +0100)]
Light grey some APIs.
bug:
64382372
Test: m
Change-Id: I95fc5850ddfab08715bdbe4f2457965638d4a5d7
TreeHugger Robot [Fri, 20 Apr 2018 13:54:15 +0000 (13:54 +0000)]
Merge "Add way to use sysui as a broadcast relay for slices" into pi-dev
Tomasz Wasilczyk [Fri, 20 Apr 2018 13:49:39 +0000 (13:49 +0000)]
Merge "Don't check program selector's type for equality." into pi-dev
Jorim Jaggi [Thu, 19 Apr 2018 15:48:38 +0000 (17:48 +0200)]
Fix issue with translucent animations
If a translucent has overridden their activityOpenEnter/exit
animation in the resources, they won't be used anymore because the
system always forces the translucent animations, which is a bug.
Instead, we only use the translucent animation in case the app has
not overridden their animations manually.
Test: Open WhatsApp profile picture.
Test: go/wm-smoke
Change-Id: I7e81815e78453392773ac2ac96c47540e6146381
Fixes:
78270476
Abodunrinwa Toki [Mon, 16 Apr 2018 09:05:16 +0000 (10:05 +0100)]
SmartLinkify - handle keyboard clicks
Bug:
77998709
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: Ibb95a736248643949a7b521368374084f9f133ca
TreeHugger Robot [Fri, 20 Apr 2018 13:31:12 +0000 (13:31 +0000)]
Merge "WM: Only update magnification bounds when they are visible" into pi-dev
Nicolas Geoffray [Fri, 20 Apr 2018 13:20:30 +0000 (14:20 +0100)]
Add SELinux->getFileContext to light grey.
bug:
64382372
Test: m
Change-Id: Ifd5c3f3aeb6f87c93a1022667121f2f448f1cb90
Adrian Roos [Thu, 19 Apr 2018 16:58:22 +0000 (18:58 +0200)]
Defer resizing invisible stacks while drag resizing
Works around a source of jank when drag resizing in split
screen mode: instead of immediately resizing the (potentially
numerous) invisible secondary stacks, we defer that until
the user lets go of the handle.
Change-Id: I3b9faa83005fa86185d4e51b2849e3a826b7f6a9
Fixes:
78214347
Test: Open a gazillion (resizeable) tasks. Enter split screen. Drag handle, verify there is no jank
Test: atest RectTest
Nicolas Geoffray [Fri, 20 Apr 2018 13:04:08 +0000 (14:04 +0100)]
Add camera APIs to light grey.
bug:
64382372
Test: m
Change-Id: I610725a1d37d23fc482a985f1237864b72630ce0
Nicolas Geoffray [Fri, 20 Apr 2018 13:01:29 +0000 (14:01 +0100)]
Add java.io.File fields to light grey.
bug:
64382372
bug:
78024111
Test: m
Change-Id: Iaa330f261d31a2f1cb5b8e3351b09af6a30567ae
Jason Monk [Fri, 20 Apr 2018 02:14:46 +0000 (22:14 -0400)]
Add way to use sysui as a broadcast relay for slices
Test: runtest systemui
Bug:
78139069
Change-Id: I64c4d56cca005cec7204bf45215bb7b0015f4571
Nicolas Geoffray [Fri, 20 Apr 2018 12:16:18 +0000 (13:16 +0100)]
Add light grey APIs.
bug:
64382372
Test: m
Change-Id: If15820dda1c985dc8d367d211732611d0a56bd26
Nicolas Geoffray [Fri, 20 Apr 2018 12:12:46 +0000 (13:12 +0100)]
Add light grey APIs.
bug:
64382372
Test: m
Change-Id: I7c064a3af390a76f419176b1306328fcba8041d7
Nicolas Geoffray [Fri, 20 Apr 2018 12:08:19 +0000 (13:08 +0100)]
Add APIs to light grey.
bug:
64382372
Test: m
Change-Id: I340be61396fa7736c305333e02a54591e416286b
TreeHugger Robot [Fri, 20 Apr 2018 12:04:12 +0000 (12:04 +0000)]
Merge "AOD: Add additional delayed dozeTimeTick after unpausing" into pi-dev
TreeHugger Robot [Fri, 20 Apr 2018 11:41:52 +0000 (11:41 +0000)]
Merge "Adjust APF interpreter tests to match APFv4" into pi-dev
TreeHugger Robot [Fri, 20 Apr 2018 11:23:56 +0000 (11:23 +0000)]
Merge "Add the list of private DNS addresses to LinkProperties" into pi-dev
Jorim Jaggi [Fri, 20 Apr 2018 11:09:16 +0000 (11:09 +0000)]
Merge "Fix cutout with temp inset bounds" into pi-dev
Mihai Popa [Tue, 17 Apr 2018 15:21:10 +0000 (16:21 +0100)]
No divider between floating toolbar item groups
The CL removes the vertical divider that used to exist between adjacent
menu item groups in the floating toolbar, as well as the extra padding
between these, in order to adapt to the new UX requirements. The CL also
centers the text view inside a button, when there is no icon shown at
the left of the text view. This is only relevant when the minimum size
of the button is larger than the text measured width, and we want the
text to be centered inside the button in this case.
Bug:
74032743
Test: manual testing
Change-Id: I309c729eb842d9388066bfb43eb18f33dbfe10b8
David Brazdil [Fri, 20 Apr 2018 10:45:26 +0000 (10:45 +0000)]
Merge "Add intrinsics on light greylist" into pi-dev
Nicolas Geoffray [Fri, 20 Apr 2018 09:37:36 +0000 (09:37 +0000)]
Merge "Light grey java.net.HttpCookie fields." into pi-dev
Nicolas Geoffray [Fri, 20 Apr 2018 09:37:06 +0000 (09:37 +0000)]
Merge "Add some widget APIS to light grey." into pi-dev
Bernie Innocenti [Mon, 16 Apr 2018 14:27:51 +0000 (23:27 +0900)]
Adjust APF interpreter tests to match APFv4
Change-Id: I4311c754f1cb79633d49c5c1c0b4e27c8dde727e
Bug:
73804303
Test: runtest -x tests/net/java/android/net/apf/ApfTest.java
(cherry picked from commit
545d9367e24d1d55b2539c02273f92c61da74af0)
Mathew Inwood [Fri, 20 Apr 2018 08:04:07 +0000 (08:04 +0000)]
Merge "StrictMode: fix non-SDK API usage detection." into pi-dev
Chalard Jean [Wed, 11 Apr 2018 07:36:41 +0000 (16:36 +0900)]
Add the list of private DNS addresses to LinkProperties
Test: atest android.net.LinkPropertiesTest, also new tests pass
Bug:
73641539
Change-Id: If33a35b1354a67db09411ff098f20064797296ad
TreeHugger Robot [Fri, 20 Apr 2018 07:26:35 +0000 (07:26 +0000)]
Merge changes I7c48a326,I7395ecd4 into pi-dev
* changes:
Fix wrong bouncer translation during hint animation
Keep animating bouncer when fingerprint
Lucas Dupin [Fri, 20 Apr 2018 04:08:52 +0000 (12:08 +0800)]
Fix wrong bouncer translation during hint animation
It's not correct to assume that the bouncer translation is 0 when the
unlock hint animation is running. The correct translation is 1 since
the view is completely hidden.
FalsingManager was receiving the wrong bouncer state, and this caused
the rejection swipe gestures.
Change-Id: I7c48a326f054a2c09809e5a1096ca42907472eac
Fixes:
78108854
Test: tap on scrim, swipe notification
Test: turn on flasing logs, look at logcat
Test: go/sysui-bouncer-tests
TreeHugger Robot [Fri, 20 Apr 2018 02:43:54 +0000 (02:43 +0000)]
Merge "ExifInterface: Prevent infinite loop" into pi-dev
Jeff Sharkey [Fri, 20 Apr 2018 02:38:09 +0000 (02:38 +0000)]
Merge "Never interact with "phone" while holding locks." into pi-dev
Jeff Sharkey [Fri, 20 Apr 2018 02:38:01 +0000 (02:38 +0000)]
Merge "Protect usage data with OP_GET_USAGE_STATS." into pi-dev