OSDN Git Service
Evan Laird [Thu, 1 Mar 2018 16:13:58 +0000 (11:13 -0500)]
Use non-condensed font for QS labels
Test: visual
Change-Id: Iab2f2ff09a5c62f86730b90aa47f9cb2179ce2e5
Fixes:
74022469
Adrian Roos [Thu, 1 Mar 2018 13:57:22 +0000 (13:57 +0000)]
Merge "DisplayCutout: Add xml wrapper for layoutInDisplayCutoutMode"
Android Build Merger (Role) [Thu, 1 Mar 2018 12:06:09 +0000 (12:06 +0000)]
Merge "Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible." am:
c164c83191 am:
9ee9e6b2b6 am:
09ad1cbdc0 -s ours"
Anton Hansson [Thu, 1 Mar 2018 12:05:36 +0000 (12:05 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible." am:
c164c83191 am:
9ee9e6b2b6
am:
09ad1cbdc0 -s ours
Change-Id: Ie6a6e4241fbf4b614fa0683419e58969559992fe
TreeHugger Robot [Thu, 1 Mar 2018 12:03:29 +0000 (12:03 +0000)]
Merge "lowRamDevice TVs can have multi-user"
Anton Hansson [Thu, 1 Mar 2018 11:53:43 +0000 (11:53 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible." am:
c164c83191
am:
9ee9e6b2b6
Change-Id: I984b5ee633078401769d3c649aa9b020715772df
Anton Hansson [Thu, 1 Mar 2018 11:46:29 +0000 (11:46 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible."
am:
c164c83191
Change-Id: Icd753634a498a9c1a2d2e27ad4e6cd788e7b9e1f
Clara Bayarri [Thu, 1 Mar 2018 10:44:41 +0000 (10:44 +0000)]
Merge "Revert "Complete [add|remove]OnSessionTokensChangedListener""
Anton Hansson [Thu, 1 Mar 2018 10:25:12 +0000 (10:25 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible."
Esteban Talavera [Thu, 1 Mar 2018 10:13:34 +0000 (10:13 +0000)]
Revert "Complete [add|remove]OnSessionTokensChangedListener"
This reverts commit
86c7d721630ce0c6f4e4069e779e32d591a394c9.
Reason for revert: Broke several targets on git_master
Change-Id: I0876582b5211db90e25897690d57de6b179a50c5
Benjamin Franz [Thu, 1 Mar 2018 09:30:12 +0000 (09:30 +0000)]
Merge "Update javadoc for DISALLOW_SYSTEM_ERROR_DIALOGS"
Christofer Ã…kersten [Thu, 1 Mar 2018 07:54:03 +0000 (07:54 +0000)]
Merge "Complete [add|remove]OnSessionTokensChangedListener"
TreeHugger Robot [Thu, 1 Mar 2018 07:28:35 +0000 (07:28 +0000)]
Merge "MediaPlayer2: clean up APIs"
Jean-Michel Trivi [Thu, 1 Mar 2018 07:00:39 +0000 (07:00 +0000)]
Merge "AudioPolicy: support for add/remove AudioMix without unregistering"
Abodunrinwa Toki [Thu, 1 Mar 2018 06:38:24 +0000 (06:38 +0000)]
Merge "Add TCM.getTextClassifier(int type)"
Chalard Jean [Thu, 1 Mar 2018 06:13:04 +0000 (06:13 +0000)]
Merge "Fix up NetworkCapabilities' toString" am:
7959e70ef2 am:
773523a667
am:
669194a830
Change-Id: I3d3f3f34f30b69750e197b185c4e70bd360f35e0
Eric Schwarzenbach [Thu, 1 Mar 2018 05:57:20 +0000 (05:57 +0000)]
Merge "Plumb PhysicalChannelConfig all the way up." am:
44d13875ff am:
c870528371
am:
7771e91a99
Change-Id: Ia0a69386981e2984472e9153c161cca7bfccc9dd
Chalard Jean [Thu, 1 Mar 2018 05:56:33 +0000 (05:56 +0000)]
Merge "Fix up NetworkCapabilities' toString" am:
7959e70ef2
am:
773523a667
Change-Id: I2f1578589232c49574dbf401d7f4becfa350a1c0
Chalard Jean [Thu, 1 Mar 2018 05:48:14 +0000 (05:48 +0000)]
Merge "Fix up NetworkCapabilities' toString"
am:
7959e70ef2
Change-Id: I21e66bc78a763f9e37725f50ca8b406ac7259518
Eric Schwarzenbach [Thu, 1 Mar 2018 05:47:20 +0000 (05:47 +0000)]
Merge "Plumb PhysicalChannelConfig all the way up." am:
44d13875ff
am:
c870528371
Change-Id: I2b57a55e8bb36ba24578c00e2afaebfc21e0e4c3
Eric Schwarzenbach [Thu, 1 Mar 2018 05:38:49 +0000 (05:38 +0000)]
Merge "Plumb PhysicalChannelConfig all the way up."
am:
44d13875ff
Change-Id: I37f039ea44114b48b44bce7174deb3d55b2667fc
Makoto Onuki [Thu, 1 Mar 2018 05:35:49 +0000 (05:35 +0000)]
Merge "Fix "app doesn't support backup and restore" bug"
TreeHugger Robot [Thu, 1 Mar 2018 05:11:24 +0000 (05:11 +0000)]
Merge "MediaSession2: Unhide setAudioFocusRequest"
Jean-Michel Trivi [Wed, 14 Feb 2018 16:57:46 +0000 (08:57 -0800)]
AudioPolicy: support for add/remove AudioMix without unregistering
System API for a registered AudioPolicy to attach or detach
AudioMix without having to unregister, and then registering
the new mix configuration.
Bug:
63906162
Test: AudioPolicyTest
Change-Id: Ib2fea8aa034d3f7b498e76dc1fc51c1ea508d3a2
TreeHugger Robot [Thu, 1 Mar 2018 04:21:25 +0000 (04:21 +0000)]
Merge "Remove RemoteSurfaceTrace functionality."
Chalard Jean [Thu, 1 Mar 2018 04:01:16 +0000 (04:01 +0000)]
Merge "Fix up NetworkCapabilities' toString"
Wei Jia [Fri, 23 Feb 2018 17:16:08 +0000 (09:16 -0800)]
MediaPlayer2: clean up APIs
Make MediaPlayer2 derived from MediaPlayerBase
Test: MediaPlayer2 plays
Bug:
63934228
Change-Id: Ib31e3196ad65c694f778a8a79277e53017a7026f
Treehugger Robot [Thu, 1 Mar 2018 03:48:32 +0000 (03:48 +0000)]
Merge "Plumb PhysicalChannelConfig all the way up."
TreeHugger Robot [Thu, 1 Mar 2018 03:39:31 +0000 (03:39 +0000)]
Merge "MediaSession2: Refine APIs"
Sungsoo Lim [Thu, 1 Mar 2018 00:08:40 +0000 (09:08 +0900)]
MediaSession2: Unhide setAudioFocusRequest
Bug:
64098437
Test: make update-api
Change-Id: I9244719e1a771ab7b420a95af6ba43faef7b352c
TreeHugger Robot [Thu, 1 Mar 2018 03:06:23 +0000 (03:06 +0000)]
Merge "Prevent ripple animation when swiping up for quick step"
Logan Chien [Thu, 1 Mar 2018 03:00:30 +0000 (03:00 +0000)]
Merge "Reformat Android.bp file"
TreeHugger Robot [Thu, 1 Mar 2018 02:59:49 +0000 (02:59 +0000)]
Merge "Make activity-alias inherit "enableVrMode" attribute from target activity."
TreeHugger Robot [Thu, 1 Mar 2018 02:47:23 +0000 (02:47 +0000)]
Merge "Fix link-type check warning on com.android.mediadrm.signer"
TreeHugger Robot [Thu, 1 Mar 2018 02:47:15 +0000 (02:47 +0000)]
Merge "Fix link-type check warning on com.android.media.remotedisplay"
Dake Gu [Thu, 1 Mar 2018 02:40:03 +0000 (02:40 +0000)]
Merge "autofill: touch on IME should not close autofill"
TreeHugger Robot [Thu, 1 Mar 2018 02:38:47 +0000 (02:38 +0000)]
Merge "Add default implementation to handle master dev option switch."
Winson Chung [Thu, 1 Mar 2018 02:33:54 +0000 (02:33 +0000)]
Merge "Don't hold the WM lock when canceling recents animation"
TreeHugger Robot [Thu, 1 Mar 2018 02:24:10 +0000 (02:24 +0000)]
Merge "Add setting for off body, radio off feature"
TreeHugger Robot [Thu, 1 Mar 2018 02:06:40 +0000 (02:06 +0000)]
Merge changes I5c2facba,I2fecbeaa,I045ddf19,I961d190d
* changes:
Move frame validation logic for deferTransactionUntil.
Handle surfaceInset changes with deferred transactions.
Various pinned animation bug fixes.
Nuke WindowState#mShownPosition. Rework mXOffset/mYOffset.
Sungsoo Lim [Tue, 27 Feb 2018 12:39:50 +0000 (21:39 +0900)]
MediaSession2: Refine APIs
Bug:
64098437
Test: passed MediaComponentTest
Change-Id: I40e1ef141e47d17e2bfa0a689a680b45a3d73b03
TreeHugger Robot [Thu, 1 Mar 2018 01:29:22 +0000 (01:29 +0000)]
Merge "Auto set summary on preference during updateState"
TreeHugger Robot [Thu, 1 Mar 2018 01:27:16 +0000 (01:27 +0000)]
Merge "Add attr for customizing progress bar corner radius."
TreeHugger Robot [Thu, 1 Mar 2018 01:26:14 +0000 (01:26 +0000)]
Merge "NEW API: Add Image.getHardwareBuffer()"
TreeHugger Robot [Thu, 1 Mar 2018 01:11:35 +0000 (01:11 +0000)]
Merge "Finish ops started on behalf of a removed package."
TreeHugger Robot [Thu, 1 Mar 2018 01:11:25 +0000 (01:11 +0000)]
Merge "Use start/finish app ops in window manager"
TreeHugger Robot [Thu, 1 Mar 2018 01:06:38 +0000 (01:06 +0000)]
Merge "addModemTxPowerToHistory() made synchronized"
Jean-Michel Trivi [Thu, 1 Mar 2018 00:57:31 +0000 (00:57 +0000)]
Merge "Ringtone: unhide looping and volume control"
TreeHugger Robot [Thu, 1 Mar 2018 00:54:51 +0000 (00:54 +0000)]
Merge "Rename dumpsys protos to make platform proto names consistent."
TreeHugger Robot [Thu, 1 Mar 2018 00:41:50 +0000 (00:41 +0000)]
Merge "Fixes set lock task (and screen pinning) state with/out quickstep"
Makoto Onuki [Thu, 1 Mar 2018 00:25:40 +0000 (16:25 -0800)]
Fix "app doesn't support backup and restore" bug
Always make sure to scan all packages before back up. There was a case
where SPI.updateFromPackageInfo() wasn't called before backup.
Fix:
72638013
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Test: atest CtsShortcutHostTestCases
Change-Id: I7fd39a62924a2d3724dfbd759ed157933af3f357
Matthew Ng [Wed, 28 Feb 2018 19:55:52 +0000 (11:55 -0800)]
Prevent ripple animation when swiping up for quick step
Do not show animation of ripple on navigation bar buttons when swiping
up trigging quick step. The ripple is only shown when quick step is
disabled, tapping the button or long press on the button.
Bug:
67957962
Test: swipe up over home/back button
Change-Id: Ia9325eac61d18b99a39902fc0d368aa1fcb1d4d7
Dake Gu [Mon, 26 Feb 2018 20:25:14 +0000 (12:25 -0800)]
autofill: touch on IME should not close autofill
ag/
3434666 causes a regression:
Before ag/
3434666, autofill gets touch event after IME, autofill
close itself if it gets ACTION_OUTSIDE touch event.
But after ag/
3434666, autofill intercepts touch events before IME, if
user touches within IME, autofill still gets ACTION_OUTSIDE event,
and close itself unexpectedly.
The fix moves the closing code to ViewRootImpl.EarlyPostImeStage
around the same place closing tooltip.
If user taps outside autofill window, we will force to close window,
even last autofillid that requestShowUi does not match.
Bug:
73796497
Test: atest CtsAutoFillServiceTestCases
Test: Added LoginActivityTest.testAutofillTapOutside
Test: manually tested using IME and sample app
TODO: need a fake IME service to dispatch given key upon touch.
Change-Id: I10fc0d29dc30d29a48b2118264ec1c4375062deb
Joe Maples [Thu, 1 Mar 2018 00:09:25 +0000 (00:09 +0000)]
Merge "pm: Fix typo in error" am:
a12e18bcd1 am:
a79fef132b
am:
1ec4c3b3b1
Change-Id: I9d1b48c0852bc75108ab72cd4c58c08a43b62a8b
Doris Ling [Thu, 1 Mar 2018 00:06:19 +0000 (16:06 -0800)]
Add default implementation to handle master dev option switch.
- subclass that does not override the methods will inherit the default
behavior: preference will be enabled/disabled when the top level
developer options switch is turned on/off.
Bug:
73955632
Test: make RunSettingsLibRoboTests
Change-Id: I477170afd7eb4d74a807c933dcc254ff7a4bbd96
Abodunrinwa Toki [Wed, 28 Feb 2018 23:02:13 +0000 (23:02 +0000)]
Add TCM.getTextClassifier(int type)
Bug:
72747726
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationConstantsTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Change-Id: I0d6cb5eaf3f9baa0564672c4d4b680fb00f40a51
Joe Maples [Thu, 1 Mar 2018 00:00:13 +0000 (00:00 +0000)]
Merge "pm: Fix typo in error" am:
a12e18bcd1
am:
a79fef132b
Change-Id: I45fa701a8f9e727e1a072f4f6dd773bba0de01aa
Joe Maples [Wed, 28 Feb 2018 23:49:49 +0000 (23:49 +0000)]
Merge "pm: Fix typo in error"
am:
a12e18bcd1
Change-Id: I924eef635de153a0277da49c804f2c7dc1c97a4d
TreeHugger Robot [Wed, 28 Feb 2018 23:46:32 +0000 (23:46 +0000)]
Merge "Add metrics event for recent location requests"
Damien Bargiacchi [Fri, 16 Feb 2018 00:45:37 +0000 (16:45 -0800)]
Add setting for off body, radio off feature
Bug:
72714112
Change-Id: I8a632983c6c60ae195afa5bd6bdb677719bc5044
TreeHugger Robot [Wed, 28 Feb 2018 23:41:45 +0000 (23:41 +0000)]
Merge "Restore AutofillId when view is restored from a bundle."
TreeHugger Robot [Wed, 28 Feb 2018 23:22:30 +0000 (23:22 +0000)]
Merge "Update battery discharging strings"
TreeHugger Robot [Wed, 28 Feb 2018 23:19:13 +0000 (23:19 +0000)]
Merge "More work on issue #
73301635: Ability to extract device configuration"
TreeHugger Robot [Wed, 28 Feb 2018 23:18:52 +0000 (23:18 +0000)]
Merge "Delay the initial package checking in MediaUpdateService"
TreeHugger Robot [Wed, 28 Feb 2018 23:11:37 +0000 (23:11 +0000)]
Merge "WebView: relax URLUtil#isFileUrl()"
TreeHugger Robot [Wed, 28 Feb 2018 23:11:27 +0000 (23:11 +0000)]
Merge "WM: Split portrait and landscape status bar size"
TreeHugger Robot [Wed, 28 Feb 2018 23:05:09 +0000 (23:05 +0000)]
Merge "Fix heap buffer overflow"
Treehugger Robot [Wed, 28 Feb 2018 22:38:24 +0000 (22:38 +0000)]
Merge "pm: Fix typo in error"
TreeHugger Robot [Wed, 28 Feb 2018 22:34:58 +0000 (22:34 +0000)]
Merge "Associate TCconstants with the TCM instead of TCImpl"
TreeHugger Robot [Wed, 28 Feb 2018 22:28:30 +0000 (22:28 +0000)]
Merge "Added an api to query ForcedAppStandby state"
Mathias Agopian [Wed, 21 Feb 2018 02:32:22 +0000 (18:32 -0800)]
NEW API: Add Image.getHardwareBuffer()
This mirror the corresponding NDK API. For some
reason this was missing from the java version
of Image.
Bug:
73784759
Test: manual
Change-Id: Iafa6dedda809fe38ea4453d9873d1ba886f88481
TreeHugger Robot [Wed, 28 Feb 2018 22:09:34 +0000 (22:09 +0000)]
Merge "Tag foreground notis that use certain services"
TreeHugger Robot [Wed, 28 Feb 2018 21:59:47 +0000 (21:59 +0000)]
Merge "Toggle READ_BINARY_CPU_TIME"
Siddharth Ray [Wed, 28 Feb 2018 21:46:16 +0000 (13:46 -0800)]
addModemTxPowerToHistory() made synchronized
BUG:
73818082
Change-Id: Ie0cce10d993a696c5e915e8ef62a66f2cd453197
TreeHugger Robot [Wed, 28 Feb 2018 21:54:03 +0000 (21:54 +0000)]
Merge "Add component ordering"
Matthew Ng [Tue, 27 Feb 2018 21:47:38 +0000 (13:47 -0800)]
Fixes set lock task (and screen pinning) state with/out quickstep
When quickstep is enabled, ensures that the home button is gone when
locked to task without home access and prevents quickstep when overview
access is disabled. When quickstep is disabled, fixes recents visibility
according to overview access. Also prevent screen pinning after locking
task to app.
Bug:
72799389
Fixes:
73886663
Test: manual - use quickstep when locked to task
Change-Id: Iacfa0b12374217511602cee6c2ca5ceafd6e2964
Fan Zhang [Wed, 28 Feb 2018 01:13:20 +0000 (17:13 -0800)]
Auto set summary on preference during updateState
Change-Id: Ibc24f3f041841d9fe7d53674a672bc2bacad895b
Fixes:
73950519
Test: robotests
TreeHugger Robot [Wed, 28 Feb 2018 21:22:30 +0000 (21:22 +0000)]
Merge "slice() the ByteBuffer passed to ImageDecoder"
TreeHugger Robot [Wed, 28 Feb 2018 21:18:55 +0000 (21:18 +0000)]
Merge "[Companion] Stop scanning after 20sec timeout"
Jean-Michel Trivi [Mon, 26 Feb 2018 17:50:59 +0000 (09:50 -0800)]
Ringtone: unhide looping and volume control
Also clean up whitespace in file.
Bug:
22182606
Test: adb shell clrgt --loop true --volume 50
Change-Id: I937b678f72b4a47b0f02b3124669e2de5e743033
Android Build Merger (Role) [Wed, 28 Feb 2018 20:53:04 +0000 (20:53 +0000)]
Merge "Merge "Mark EUICC_PROVISIONED as @SystemApi." am:
4b5680b6fa am:
41fa5ff101 am:
a64db1336d -s ours"
Holly Jiuyu Sun [Wed, 28 Feb 2018 20:52:39 +0000 (20:52 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi." am:
4b5680b6fa am:
41fa5ff101
am:
a64db1336d -s ours
Change-Id: Icdff2b0bf538f1da59acc7757871e2fa3b01e0e0
Leon Scroggins [Wed, 28 Feb 2018 20:51:43 +0000 (20:51 +0000)]
Merge "Fixes for YuvToJpegEncoder::encode"
TreeHugger Robot [Wed, 28 Feb 2018 20:47:32 +0000 (20:47 +0000)]
Merge "Reset bouncer instead of just hiding it"
Svet Ganov [Wed, 28 Feb 2018 04:08:01 +0000 (20:08 -0800)]
Finish ops started on behalf of a removed package.
Two issues here - ops stated for a package that went away
by another package were not marked as finished. And when
the process that started the ops died we did not finish
all nested ops.
Test: atest android.permission.cts.AppOpsTest
bug:
64085448
Change-Id: Id57b3043605a65f2dfc1eea50b81793dd86f58d1
Holly Jiuyu Sun [Wed, 28 Feb 2018 20:38:13 +0000 (20:38 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi." am:
4b5680b6fa
am:
41fa5ff101
Change-Id: Ie737a298f1ab342d571e150be452a9590e623052
Andrii Kulian [Wed, 28 Feb 2018 20:29:23 +0000 (20:29 +0000)]
Merge "Use post-execution state for lifecycle callback sequences"
Jeff Sharkey [Wed, 28 Feb 2018 20:29:01 +0000 (20:29 +0000)]
Merge "More robust @RequiresPermission handling."
Holly Jiuyu Sun [Wed, 28 Feb 2018 20:24:08 +0000 (20:24 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi."
am:
4b5680b6fa
Change-Id: I7e3542edd0d092d6b0a7bc10b80b0565dfefda7e
TreeHugger Robot [Wed, 28 Feb 2018 20:22:59 +0000 (20:22 +0000)]
Merge "[AWARE] Add target API check to the Responder to ANYONE config"
Jason Monk [Wed, 28 Feb 2018 20:01:09 +0000 (20:01 +0000)]
Merge "Add APIs to look into whats in an Icon"
TreeHugger Robot [Wed, 28 Feb 2018 19:55:15 +0000 (19:55 +0000)]
Merge "deprecate EmbossMaskFilter"
Mike Ma [Wed, 28 Feb 2018 19:51:56 +0000 (11:51 -0800)]
Toggle READ_BINARY_CPU_TIME
Test: N/A
Change-Id: I41403c16feffa61dd4e3ae13498ff63b26a1d4b2
Robert Carr [Tue, 27 Feb 2018 19:21:05 +0000 (11:21 -0800)]
Move frame validation logic for deferTransactionUntil.
Currently it's only in place applying for operations on the global transaction.
Bug:
70666541
Test: Manual
Change-Id: I5c2facba14c783bad0d3aca0e8b66fea73df0776
Robert Carr [Tue, 27 Feb 2018 01:46:00 +0000 (17:46 -0800)]
Handle surfaceInset changes with deferred transactions.
First we have the client pass up the next frameNumber from relayoutWindow
and then we simply deferTransactions at the WindowState level until
this frame number is reached. This was always a little terrifying
because deferring transaction effecftively meant we gave up
control of the surface until the frame number was reached. However now
we can still control the surface from the stack and other SurfaceControl
nodes and so the window can still be moved around and animated even if
the client is unresponsive.
Bug:
70666541
Test: Manual. go/wm-smoke
Change-Id: I2fecbeaa30fc0eb9cc8f08e1ea734dcc65da0aa0
Robert Carr [Fri, 23 Feb 2018 20:17:51 +0000 (12:17 -0800)]
Various pinned animation bug fixes.
First we need to change the way the aspect scale cropping happens
on the way down, previously we relied on the stack bounds to crop us
and did not expand the stack bounds for shadows. Now that the stack
surface bounds are expanded for shadows we have to do the additional
cropping required by this animation at the WSA level. Namely we interpolate
such that when the animation reaches 100% progress everything except
the source bounds will be cropped out. If we didn't do this we would see
a surfaceInsets sized sliver of the original app at the end of the animation.
A second fix is to update the stack bounds when changing windowing modes
to make sure we immediately expand for the pinned insets (as the WindowState
level may now immediately reposition to compensate).
A third fix is to correct the stack outset logic to match the client side
in WindowManager.java
A fourth fix is to bump the default and arbitrary surface size to allow
for surfaces slightly larger than full-screen and positioned at a negative
position, e.g. a full-screen-surface which retained it's insets due
to a slow or non-cooperative client.
Bug:
70666541
Test: Manual. go/wm-smoke.
Change-Id: I045ddf191cd3875f5d32c2e15da6e01fb50f3a01
Robert Carr [Thu, 1 Feb 2018 02:08:39 +0000 (18:08 -0800)]
Nuke WindowState#mShownPosition. Rework mXOffset/mYOffset.
Ignoring Wallpaper Offsets, the WindowStateAnimator is now
always positioned at (0,0), so we don't need to calculate or store this. For
Wallpaper Offsets we can manipulate the position of the WindowStateAnimator surface
directly. This seems to be a nice level to model the concept of scrolling a buffer
larger than the "Window" to which it is assigned.
Everything on top of WSA can ignore the offsets by only interacting with the WS and above.
Seamless rotation may mess with the position so we need to be sure to reset it to 0,0.
Test: Manual. go/wm-smoke
Bug:
72038766
Change-Id: I961d190d1f1ee71faaede095617092a0ad32e16f
TreeHugger Robot [Wed, 28 Feb 2018 19:37:05 +0000 (19:37 +0000)]
Merge "Avoid reading logs that were processed before."
TreeHugger Robot [Wed, 28 Feb 2018 19:33:25 +0000 (19:33 +0000)]
Merge "Include slider events from managed profile."
Dianne Hackborn [Wed, 28 Feb 2018 01:16:37 +0000 (17:16 -0800)]
More work on issue #
73301635: Ability to extract device configuration
Now include Gl extensions (thanks to whoever wrote the code
I copied!).
Tweak the protos a bit to include missing info and correct
some things.
Add some new test APIs that are needed for CTS.
Bug:
73301635
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerGetConfigTests
Change-Id: Ie3f8173d217468246e8b6c7f45b7cbfcb352d60f