OSDN Git Service
Siyamed Sinir [Mon, 23 Apr 2018 18:19:22 +0000 (18:19 +0000)]
Merge "Update fontchain_linter for emoji 11" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 18:16:21 +0000 (18:16 +0000)]
Merge "Actually read config_showActivity in the signal policy" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 18:14:32 +0000 (18:14 +0000)]
Merge "Don't consider resources < 0 as invalid" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 18:09:09 +0000 (18:09 +0000)]
Merge "AOD: Fix WakeLock leak" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 18:03:07 +0000 (18:03 +0000)]
Merge "Do not allow elevating system_server priority for remote anim" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 17:49:06 +0000 (17:49 +0000)]
Merge "Enabled aggregated per-uid stats collection by default" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 17:44:10 +0000 (17:44 +0000)]
Merge "AodPolicy: Fix service leak" into pi-dev
Jorim Jaggi [Wed, 18 Apr 2018 16:17:56 +0000 (18:17 +0200)]
Do not allow elevating system_server priority for remote anim
Test: go/wm-smoke
Bug:
77908520
Change-Id: I45f47d73bedb7317c9e80907930f8d4d628f212a
Adrian Roos [Mon, 23 Apr 2018 15:48:08 +0000 (17:48 +0200)]
AodPolicy: Fix service leak
Fixes an issue where the AlwaysOnDisplayPolicy leaked a service
context, and with it the entirety of DozeMachine, preventing
wakelocks from being GCed and preventing them from being
fallback-released.
Bug:
78402666
Test: Toggle screen on and off a few times, verify that DozeService is not being leaked.
Change-Id: Ie3ad67c2d0c83760f4d04a53394fab4a3a35d6bc
Adrian Roos [Mon, 23 Apr 2018 15:41:17 +0000 (17:41 +0200)]
AOD: Fix WakeLock leak
Bug:
78402666
Test: Toggle screen off and on again real quick. Verify "Doze" wake lock was not leaked.
Change-Id: Ie34f8aeeb5d10628f2a40567267ab36e694e21bb
Mathew Inwood [Mon, 23 Apr 2018 15:57:27 +0000 (15:57 +0000)]
Merge "Light greylist additions." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 15:56:04 +0000 (15:56 +0000)]
Merge "Metrics constants for new zen screen" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 15:53:47 +0000 (15:53 +0000)]
Merge "Fixed ConcurrentModificationException with HearingAids profile" into pi-dev
Evan Laird [Mon, 23 Apr 2018 15:37:04 +0000 (11:37 -0400)]
Actually read config_showActivity in the signal policy
Test: visual
Change-Id: Ieff1de97ee0c79eba1f98024b5a3339033b65714
Fixes:
78265329
Nicolas Geoffray [Mon, 23 Apr 2018 15:27:43 +0000 (15:27 +0000)]
Merge "Add more light grey APIs." into pi-dev
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
Julia Reynolds [Mon, 23 Apr 2018 13:41:21 +0000 (09:41 -0400)]
Metrics constants for new zen screen
Test: make
Bug:
78448988
Change-Id: Iaf3b35b3f22dd81c372683042372681f4086f1c8
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
Mathew Inwood [Mon, 23 Apr 2018 12:31:17 +0000 (13:31 +0100)]
Light greylist additions.
These are scraped from bugreports attached to numerous bugs. They all
related to reflective API accesses (not linking).
Test: m
Bug:
64382372
Bug:
33010617
Bug:
62090571
Bug:
69061609
Bug:
73554018
Bug:
73741036
Bug:
74234537
Bug:
74240254
Bug:
76097575
Bug:
76134480
Bug:
76231474
Bug:
76390527
Bug:
77154412
Bug:
77289927
Bug:
77319364
Bug:
77481479
Bug:
77675425
Bug:
77735374
Bug:
78045614
Bug:
78242776
Bug:
78322423
Bug:
78436746
Bug:
78437951
Bug:
78438371
Change-Id: Ibe00e41e7c8cb4e79a245a41fc50a1744266ecb5
TreeHugger Robot [Mon, 23 Apr 2018 13:44:01 +0000 (13:44 +0000)]
Merge "Add null check for wireless charging animation." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 12:54:50 +0000 (13:54 +0100)]
Add more light grey APIs.
bug:
64382372
Test: m
Change-Id: I1d36c4d1087e8b9a184487ede4f567e778e1589e
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
Fyodor Kupolov [Thu, 19 Apr 2018 00:26:43 +0000 (17:26 -0700)]
Enabled aggregated per-uid stats collection by default
Enabled collection of number of calls per-uid. It has relatively small
overhead. Memory impact is minimal and cpu overhead is also small -
250 ns vs 1500 ns with detailed tracking
Detailed tracking is disabled by default. Controlled by
persist.sys.binder_calls_detailed_tracking
Added commands to reset and enable/disable detailed stats:
dumpsys binder_calls_stats --reset
dumpsys binder_calls_stats --enable-detailed-tracking
dumpsys binder_calls_stats --disable-detailed-tracking
Test: manual
Bug:
75318418
Change-Id: I7c1280c025001b6d2b46e4a37bad841712b6da2f
Todd Kennedy [Thu, 19 Apr 2018 22:17:24 +0000 (15:17 -0700)]
Don't consider resources < 0 as invalid
The only invalid resource ID is '0'. All other resource IDs are
valid; even negative resource IDs.
With the introduction of namespaces in AAPT2, resource IDs start with
0x80, 0x81, ... [ie. because Java only supports signed types, they are
considered negative]. For app transition animations negative resource
IDs were incorrectly considered "invalid".
Change-Id: Ic8837975d8811826bb9b6635d44a0ac004daad36
Fixes:
70716301
Test: Manual. Run multi-split APK and see that transition animations work when defined in a split
Test: Manual. Open a textbox and see the keyboard animates correctly.
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
Stanley Tng [Fri, 20 Apr 2018 18:54:36 +0000 (11:54 -0700)]
Fixed ConcurrentModificationException with HearingAids profile
Prevent ConcurrentModificationException crash when traversing the
mCachedDevices list by removing entries outside of the loop.
Bug:
78357837
Test: Runs ROBOTEST_FILTER=CachedBluetoothDeviceManagerTest make -j40 RunSettingsLibRoboTests
Change-Id: I27db2dc94a7d0108e9b848d187d4e5bc9f5b567c
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