diff options
author | Arthur Hung <arthurhung@google.com> | 2019-02-19 11:31:44 +0800 |
---|---|---|
committer | Arthur Hung <arthurhung@google.com> | 2019-02-22 12:43:55 +0800 |
commit | a4c520694fee942a6a166bbb6687dcd0ea0e3509 (patch) | |
tree | a7b0f0a0b91fb99cb596510a558558c16cf5b806 /config/boot-image-profile.txt | |
parent | ddc0fa515588f6545f7ffbc4e9d03b55565020f8 (diff) |
Fix View#performHapticFeedback() can block UI thread
Currently, IWindowSession#performHapticFeedback() would first lookup
the WindowState via IWindow token. That would also hold the WMS lock,
so if some function like relayout window is still hold WMS lock,
it may block the function.
Use uid and package name from Session that they already restored.
Bug: 62330939
Test: Open app with autofill edit, type with IME.
Change-Id: I359c106d213b87aa8afee48b0f1ad70011970eab
Diffstat (limited to 'config/boot-image-profile.txt')
-rw-r--r-- | config/boot-image-profile.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/boot-image-profile.txt b/config/boot-image-profile.txt index 0a26bfb49bf7..d2535c9ba8ee 100644 --- a/config/boot-image-profile.txt +++ b/config/boot-image-profile.txt @@ -32983,7 +32983,7 @@ HSPLandroid/view/IWindowSession$Stub$Proxy;->getDisplayFrame(Landroid/view/IWind HSPLandroid/view/IWindowSession$Stub$Proxy;->getInTouchMode()Z HSPLandroid/view/IWindowSession$Stub$Proxy;->getWindowId(Landroid/os/IBinder;)Landroid/view/IWindowId; HSPLandroid/view/IWindowSession$Stub$Proxy;->onRectangleOnScreenRequested(Landroid/os/IBinder;Landroid/graphics/Rect;)V -HSPLandroid/view/IWindowSession$Stub$Proxy;->performHapticFeedback(Landroid/view/IWindow;IZ)Z +HSPLandroid/view/IWindowSession$Stub$Proxy;->performHapticFeedback(IZ)Z HSPLandroid/view/IWindowSession$Stub$Proxy;->pokeDrawLock(Landroid/os/IBinder;)V HSPLandroid/view/IWindowSession$Stub$Proxy;->relayout(Landroid/view/IWindow;ILandroid/view/WindowManager$LayoutParams;IIIIJLandroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/view/DisplayCutout$ParcelableWrapper;Landroid/util/MergedConfiguration;Landroid/view/Surface;)I HSPLandroid/view/IWindowSession$Stub$Proxy;->remove(Landroid/view/IWindow;)V @@ -33007,7 +33007,7 @@ HSPLandroid/view/IWindowSession;->getWindowId(Landroid/os/IBinder;)Landroid/view HSPLandroid/view/IWindowSession;->onRectangleOnScreenRequested(Landroid/os/IBinder;Landroid/graphics/Rect;)V HSPLandroid/view/IWindowSession;->outOfMemory(Landroid/view/IWindow;)Z HSPLandroid/view/IWindowSession;->performDrag(Landroid/view/IWindow;ILandroid/view/SurfaceControl;IFFFFLandroid/content/ClipData;)Landroid/os/IBinder; -HSPLandroid/view/IWindowSession;->performHapticFeedback(Landroid/view/IWindow;IZ)Z +HSPLandroid/view/IWindowSession;->performHapticFeedback(IZ)Z HSPLandroid/view/IWindowSession;->pokeDrawLock(Landroid/os/IBinder;)V HSPLandroid/view/IWindowSession;->prepareToReplaceWindows(Landroid/os/IBinder;Z)V HSPLandroid/view/IWindowSession;->relayout(Landroid/view/IWindow;ILandroid/view/WindowManager$LayoutParams;IIIIJLandroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/view/DisplayCutout$ParcelableWrapper;Landroid/util/MergedConfiguration;Landroid/view/Surface;)I |