[Sony Cross-Device Development Themes and Apps] user26335377:
Continuation:

/smali/com/android/quickstep/WindowTransformSwipeHandler$5.smali:

Original:

.method public onPostDraw(Landroid/graphics/Canvas;)V
.locals 2
.param p1, "canvas" # Landroid/graphics/Canvas;

.line 789
.local p0, "this":Lcom/android/quickstep/WindowTransformSwipeHandler$5;, "Lcom/android/quickstep/WindowTransformSwipeHandler$5;"
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler$5;->this$0:Lcom/android/quickstep/WindowTransformSwipeHandler;

const v1, 0x8000

invoke-static {v0, v1}, Lcom/android/quickstep/WindowTransformSwipeHandler;->access$300(Lcom/android/quickstep/WindowTransformSwipeHandler;I)V

.line 790
invoke-virtual {p0}, Lcom/android/quickstep/WindowTransformSwipeHandler$5;->detach()V

.line 791
return-void
.end method

Mod:

.method public onPostDraw(Landroid/graphics/Canvas;)V
.locals 2
.param p1, "canvas" # Landroid/graphics/Canvas;

.line 789
.local p0, "this":Lcom/android/quickstep/WindowTransformSwipeHandler$5;, "Lcom/android/quickstep/WindowTransformSwipeHandler$5;"
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler$5;->this$0:Lcom/android/quickstep/WindowTransformSwipeHandler;

const v1, 0x8000

invoke-static {v0, v1}, Lcom/android/quickstep/WindowTransformSwipeHandler;->access$300(Lcom/android/quickstep/WindowTransformSwipeHandler;I)V

.line 791
return-void
.end method

/smali/com/android/quickstep/WindowTransformSwipeHandler.smali:

Original:

.method private invalidateHandler()V
.locals 1

.line 736
.local p0, "this":Lcom/android/quickstep/WindowTransformSwipeHandler;, "Lcom/android/quickstep/WindowTransformSwipeHandler<TT;>;"
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mCurrentShift:Lcom/android/quickstep/AnimatedFloat;

invoke-virtual {v0}, Lcom/android/quickstep/AnimatedFloat;->finishAnimation()V

.line 738
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mGestureEndCallback:Ljava/lang/Runnable;

if-eqz v0, :cond_0

.line 739
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mGestureEndCallback:Ljava/lang/Runnable;

invoke-interface {v0}, Ljava/lang/Runnable;->run()V

.line 742
:cond_0
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mActivityInitListener:Lcom/android/quickstep/ActivityControlHelper$ActivityInitListener;

invoke-interface {v0}, Lcom/android/quickstep/ActivityControlHelper$ActivityInitListener;->unregister()V

.line 743
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mInputConsumer:Lcom/android/systemui/shared/system/InputConsumerController;

invoke-virtual {v0}, Lcom/android/systemui/shared/system/InputConsumerController;->unregisterInputConsumer()V

.line 744
const/4 v0, 0x0

iput-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mTaskSnapshot:Lcom/android/systemui/shared/recents/model/ThumbnailData;

.line 745
return-void
.end method

Mod:

.method private invalidateHandler()V
.locals 1

.line 736
.local p0, "this":Lcom/android/quickstep/WindowTransformSwipeHandler;, "Lcom/android/quickstep/WindowTransformSwipeHandler<TT;>;"
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mCurrentShift:Lcom/android/quickstep/AnimatedFloat;

invoke-virtual {v0}, Lcom/android/quickstep/AnimatedFloat;->finishAnimation()V

.line 738
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mGestureEndCallback:Ljava/lang/Runnable;

if-eqz v0, :cond_0

.line 739
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mGestureEndCallback:Ljava/lang/Runnable;

invoke-interface {v0}, Ljava/lang/Runnable;->run()V

.line 742
:cond_0
iget-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mActivityInitListener:Lcom/android/quickstep/ActivityControlHelper$ActivityInitListener;

invoke-interface {v0}, Lcom/android/quickstep/ActivityControlHelper$ActivityInitListener;->unregister()V

.line 740
const/4 v0, 0x0

iput-object v0, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mTaskSnapshot:Lcom/android/systemui/shared/recents/model/ThumbnailData;

.line 745
return-void
.end method

Original:

.method private switchToScreenshot()V
.locals 5

.line 773
.local p0, "this":Lcom/android/quickstep/WindowTransformSwipeHandler;, "Lcom/android/quickstep/WindowTransformSwipeHandler<TT;>;"
const/4 v0, 0x0

.line 774
.local v0, "finishTransitionPosted":Z
iget-object v1, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mRecentsAnimationWrapper:Lcom/android/quickstep/RecentsAnimationWrapper;

invoke-virtual {v1}, Lcom/android/quickstep/RecentsAnimationWrapper;->getController()Lcom/android/systemui/shared/system/RecentsAnimationControllerCompat;

move-result-object v1

.line 775
.local v1, "controller":Lcom/android/systemui/shared/system/RecentsAnimationControllerCompat;
if-eqz v1, :cond_1

.line 777
iget-object v2, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mTaskSnapshot:Lcom/android/systemui/shared/recents/model/ThumbnailData;

if-nez v2, :cond_0

.line 778
iget v2, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mRunningTaskId:I

invoke-virtual {v1, v2}, Lcom/android/systemui/shared/system/RecentsAnimationControllerCompat;->screenshotTask(I)Lcom/android/systemui/shared/recents/model/ThumbnailData;

move-result-object v2

iput-object v2, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mTaskSnapshot:Lcom/android/systemui/shared/recents/model/ThumbnailData;

.line 780
:cond_0
iget-object v2, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mRecentsView:Lcom/android/quickstep/views/RecentsView;

iget v3, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mRunningTaskId:I

iget-object v4, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mTaskSnapshot:Lcom/android/systemui/shared/recents/model/ThumbnailData;

invoke-virtual {v2, v3, v4}, Lcom/android/quickstep/views/RecentsView;->updateThumbnail(ILcom/android/systemui/shared/recents/model/ThumbnailData;)Lcom/android/quickstep/views/TaskView;

move-result-object v2

.line 781
.local v2, "taskView":Lcom/android/quickstep/views/TaskView;
iget-object v3, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mRecentsView:Lcom/android/quickstep/views/RecentsView;

const/4 v4, 0x0

invoke-virtual {v3, v4}, Lcom/android/quickstep/views/RecentsView;->setRunningTaskHidden(Z)V

.line 782
if-eqz v2, :cond_1

.line 785
new-instance v3, Lcom/android/quickstep/WindowTransformSwipeHandler$5;

invoke-direct {v3, p0, v2}, Lcom/android/quickstep/WindowTransformSwipeHandler$5;-><init>(Lcom/android/quickstep/WindowTransformSwipeHandler;Landroid/view/View;)V

.line 792
invoke-virtual {v3}, Lcom/android/quickstep/WindowTransformSwipeHandler$5;->attach()Z

move-result v0

.line 795
.end local v2 # "taskView":Lcom/android/quickstep/views/TaskView;
:cond_1
if-nez v0, :cond_2

.line 797
const v2, 0x8000

invoke-direct {p0, v2}, Lcom/android/quickstep/WindowTransformSwipeHandler;->setStateOnUiThread(I)V

.line 799
:cond_2
return-void
.end method

Mod:

.method private switchToScreenshot()V
.locals 5

.line 773
.local p0, "this":Lcom/android/quickstep/WindowTransformSwipeHandler;, "Lcom/android/quickstep/WindowTransformSwipeHandler<TT;>;"
const/4 v0, 0x0

.line 774
.local v0, "finishTransitionPosted":Z
iget-object v1, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mRecentsAnimationWrapper:Lcom/android/quickstep/RecentsAnimationWrapper;

invoke-virtual {v1}, Lcom/android/quickstep/RecentsAnimationWrapper;->getController()Lcom/android/systemui/shared/system/RecentsAnimationControllerCompat;

move-result-object v1

.line 775
.local v1, "controller":Lcom/android/systemui/shared/system/RecentsAnimationControllerCompat;
if-eqz v1, :cond_1

.line 777
iget-object v2, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mTaskSnapshot:Lcom/android/systemui/shared/recents/model/ThumbnailData;

if-nez v2, :cond_0

.line 778
iget v2, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mRunningTaskId:I

invoke-virtual {v1, v2}, Lcom/android/systemui/shared/system/RecentsAnimationControllerCompat;->screenshotTask(I)Lcom/android/systemui/shared/recents/model/ThumbnailData;

move-result-object v2

iput-object v2, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mTaskSnapshot:Lcom/android/systemui/shared/recents/model/ThumbnailData;

.line 780
:cond_0
iget-object v2, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mRecentsView:Lcom/android/quickstep/views/RecentsView;

iget v3, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mRunningTaskId:I

iget-object v4, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mTaskSnapshot:Lcom/android/systemui/shared/recents/model/ThumbnailData;

invoke-virtual {v2, v3, v4}, Lcom/android/quickstep/views/RecentsView;->updateThumbnail(ILcom/android/systemui/shared/recents/model/ThumbnailData;)Lcom/android/quickstep/views/TaskView;

move-result-object v2

.line 781
.local v2, "taskView":Lcom/android/quickstep/views/TaskView;
iget-object v3, p0, Lcom/android/quickstep/WindowTransformSwipeHandler;->mRecentsView:Lcom/android/quickstep/views/RecentsView;

const/4 v4, 0x0

invoke-virtual {v3, v4}, Lcom/android/quickstep/views/RecentsView;->setRunningTaskHidden(Z)V

.line 778
if-nez v2, :cond_1

.line 785
new-instance v3, Lcom/android/quickstep/WindowTransformSwipeHandler$5;

invoke-direct {v3, p0, v2}, Lcom/android/quickstep/WindowTransformSwipeHandler$5;-><init>(Lcom/android/quickstep/WindowTransformSwipeHandler;Landroid/view/View;)V

.line 795
.end local v2 # "taskView":Lcom/android/quickstep/views/TaskView;
:cond_1
if-nez v0, :cond_2

.line 797
const v2, 0x8000

invoke-direct {p0, v2}, Lcom/android/quickstep/WindowTransformSwipeHandler;->setStateOnUiThread(I)V

.line 799
:cond_2
return-void
.end method

/smali/com/android/systemui/shared/recents/model/ThumbnailData.smali:

Original:

.method public constructor <init>(Landroid/app/ActivityManager$TaskSnapshot;)V
.locals 2
.param p1, "snapshot" # Landroid/app/ActivityManager$TaskSnapshot;

.line 53
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

.line 54
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->getSnapshot()Landroid/graphics/GraphicBuffer;

move-result-object v0

invoke-static {v0}, Landroid/graphics/Bitmap;->createHardwareBitmap(Landroid/graphics/GraphicBuffer;)Landroid/graphics/Bitmap;

move-result-object v0

iput-object v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->thumbnail:Landroid/graphics/Bitmap;

.line 55
new-instance v0, Landroid/graphics/Rect;

invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->getContentInsets()Landroid/graphics/Rect;

move-result-object v1

invoke-direct {v0, v1}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V

iput-object v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->insets:Landroid/graphics/Rect;

.line 56
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->getOrientation()I

move-result v0

iput v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->orientation:I

.line 57
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->isReducedResolution()Z

move-result v0

iput-boolean v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->reducedResolution:Z

.line 58
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->getScale()F

move-result v0

iput v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->scale:F

.line 59
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->isRealSnapshot()Z

move-result v0

iput-boolean v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->isRealSnapshot:Z

.line 60
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->isTranslucent()Z

move-result v0

iput-boolean v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->isTranslucent:Z

.line 61
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->getWindowingMode()I

move-result v0

iput v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->windowingMode:I

.line 62
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->getSystemUiVisibility()I

move-result v0

iput v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->systemUiVisibility:I

.line 63
return-void
.end method

Mod:

.method public constructor <init>(Landroid/app/ActivityManager$TaskSnapshot;)V
.locals 2
.param p1, "snapshot" # Landroid/app/ActivityManager$TaskSnapshot;

.line 53
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

.line 54
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->getSnapshot()Landroid/graphics/GraphicBuffer;

move-result-object v0

invoke-static {v0}, Landroid/graphics/Bitmap;->createHardwareBitmap(Landroid/graphics/GraphicBuffer;)Landroid/graphics/Bitmap;

move-result-object v0

iput-object v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->thumbnail:Landroid/graphics/Bitmap;

.line 55
new-instance v0, Landroid/graphics/Rect;

invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->getContentInsets()Landroid/graphics/Rect;

move-result-object v1

invoke-direct {v0, v1}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V

iput-object v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->insets:Landroid/graphics/Rect;

.line 56
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->getOrientation()I

move-result v0

iput v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->orientation:I

.line 57
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->isReducedResolution()Z

move-result v0

iput-boolean v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->reducedResolution:Z

.line 58
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->getScale()F

move-result v0

iput v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->scale:F

.line 59
invoke-virtual {p1}, Landroid/app/ActivityManager$TaskSnapshot;->isRealSnapshot()Z

move-result v0

iput-boolean v0, p0, Lcom/android/systemui/shared/recents/model/ThumbnailData;->isRealSnapshot:Z

.line 63
return-void
.end method

/smali/com/android/systemui/shared/system/InputConsumerController$InputEventReceiver.smali:

Original:

.method public onInputEvent(Landroid/view/InputEvent;I)V
.locals 3
.param p1, "event" # Landroid/view/InputEvent;
.param p2, "displayId" # I

.line 71
const/4 v0, 0x1

.line 73
.local v0, "handled":Z
:try_start_0
iget-object v1, p0, Lcom/android/systemui/shared/system/InputConsumerController$InputEventReceiver;->this$0:Lcom/android/systemui/shared/system/InputConsumerController;

invoke-static {v1}, Lcom/android/systemui/shared/system/InputConsumerController;->access$000(Lcom/android/systemui/shared/system/InputConsumerController;)Lcom/android/systemui/shared/system/InputConsumerController$TouchListener;

move-result-object v1

if-eqz v1, :cond_0

instance-of v1, p1, Landroid/view/MotionEvent;

if-eqz v1, :cond_0

.line 74
move-object v1, p1

check-cast v1, Landroid/view/MotionEvent;

.line 75
.local v1, "ev":Landroid/view/MotionEvent;
iget-object v2, p0, Lcom/android/systemui/shared/system/InputConsumerController$InputEventReceiver;->this$0:Lcom/android/systemui/shared/system/InputConsumerController;

invoke-static {v2}, Lcom/android/systemui/shared/system/InputConsumerController;->access$000(Lcom/android/systemui/shared/system/InputConsumerController;)Lcom/android/systemui/shared/system/InputConsumerController$TouchListener;

move-result-object v2

invoke-interface {v2, v1}, Lcom/android/systemui/shared/system/InputConsumerController$TouchListener;->onTouchEvent(Landroid/view/MotionEvent;)Z

move-result v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0

move v0, v2

.line 78
.end local v1 # "ev":Landroid/view/MotionEvent;
:cond_0
invoke-virtual {p0, p1, v0}, Lcom/android/systemui/shared/system/InputConsumerController$InputEventReceiver;->finishInputEvent(Landroid/view/InputEvent;Z)V

.line 79
nop

.line 80
return-void

.line 78
:catchall_0
move-exception v1

invoke-virtual {p0, p1, v0}, Lcom/android/systemui/shared/system/InputConsumerController$InputEventReceiver;->finishInputEvent(Landroid/view/InputEvent;Z)V

throw v1
.end method

Mod:

.method public onInputEvent(Landroid/view/InputEvent;I)V
.locals 3
.param p1, "event" # Landroid/view/InputEvent;
.param p2, "displayId" # I

.line 71
const/4 v0, 0x1

.line 73
.local v0, "handled":Z
:try_start_0
iget-object v1, p0, Lcom/android/systemui/shared/system/InputConsumerController$InputEventReceiver;->this$0:Lcom/android/systemui/shared/system/InputConsumerController;

invoke-static {v1}, Lcom/android/systemui/shared/system/InputConsumerController;->access$000(Lcom/android/systemui/shared/system/InputConsumerController;)Lcom/android/systemui/shared/system/InputConsumerController$TouchListener;

move-result-object v1

if-eqz v1, :cond_0

instance-of v1, p1, Landroid/view/MotionEvent;

if-eqz v1, :cond_0

.line 74
move-object v1, p1

check-cast v1, Landroid/view/MotionEvent;

.line 75
.local v1, "ev":Landroid/view/MotionEvent;
iget-object v2, p0, Lcom/android/systemui/shared/system/InputConsumerController$InputEventReceiver;->this$0:Lcom/android/systemui/shared/system/InputConsumerController;

invoke-static {v2}, Lcom/android/systemui/shared/system/InputConsumerController;->access$000(Lcom/android/systemui/shared/system/InputConsumerController;)Lcom/android/systemui/shared/system/InputConsumerController$TouchListener;

move-result-object v2

invoke-interface {v2, v1}, Lcom/android/systemui/shared/system/InputConsumerController$TouchListener;->onTouchEvent(Landroid/view/MotionEvent;)Z

move-result v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0

move v0, v2

.line 78
.line 79
.end local v1 # "ev":Landroid/view/MotionEvent;
:cond_0
nop

.line 80
return-void

.line 78
:catchall_0
move-exception v1

throw v1
.end method

/smali/com/android/systemui/shared/system/RotationWatcher.smali:

Original:

.method public enable()V
.locals 3

.line 48
iget-boolean v0, p0, Lcom/android/systemui/shared/system/RotationWatcher;->mIsWatching:Z

if-nez v0, :cond_0

.line 50
:try_start_0
invoke-static {}, Landroid/view/WindowManagerGlobal;->getWindowManagerService()Landroid/view/IWindowManager;

move-result-object v0

iget-object v1, p0, Lcom/android/systemui/shared/system/RotationWatcher;->mWatcher:Landroid/view/IRotationWatcher;

iget-object v2, p0, Lcom/android/systemui/shared/system/RotationWatcher;->mContext:Landroid/content/Context;

.line 51
invoke-virtual {v2}, Landroid/content/Context;->getDisplay()Landroid/view/Display;

move-result-object v2

invoke-virtual {v2}, Landroid/view/Display;->getDisplayId()I

move-result v2

.line 50
invoke-interface {v0, v1, v2}, Landroid/view/IWindowManager;->watchRotation(Landroid/view/IRotationWatcher;I)I

.line 52
const/4 v0, 0x1

iput-boolean v0, p0, Lcom/android/systemui/shared/system/RotationWatcher;->mIsWatching:Z
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

.line 55
goto :goto_0

.line 53
:catch_0
move-exception v0

.line 54
.local v0, "e":Landroid/os/RemoteException;
const-string v1, "RotationWatcher"

const-string v2, "Failed to set rotation watcher"

invoke-static {v1, v2, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

.line 57
.end local v0 # "e":Landroid/os/RemoteException;
:cond_0
:goto_0
return-void
.end method

Mod:

.method public enable()V
.locals 3

.line 48
iget-boolean v0, p0, Lcom/android/systemui/shared/system/RotationWatcher;->mIsWatching:Z

if-nez v0, :cond_0

.line 50
:try_start_0
invoke-static {}, Landroid/view/WindowManagerGlobal;->getWindowManagerService()Landroid/view/IWindowManager;

move-result-object v0

iget-object v1, p0, Lcom/android/systemui/shared/system/RotationWatcher;->mWatcher:Landroid/view/IRotationWatcher;

iget-object v2, p0, Lcom/android/systemui/shared/system/RotationWatcher;->mContext:Landroid/content/Context;

.line 51
invoke-virtual {v2}, Landroid/content/Context;->getDisplay()Landroid/view/Display;

move-result-object v2

invoke-virtual {v2}, Landroid/view/Display;->getDisplayId()I

move-result v2

.line 52
const/4 v0, 0x1

iput-boolean v0, p0, Lcom/android/systemui/shared/system/RotationWatcher;->mIsWatching:Z
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

.line 55
goto :goto_0

.line 53
:catch_0
move-exception v0

.line 54
.local v0, "e":Landroid/os/RemoteException;
const-string v1, "RotationWatcher"

const-string v2, "Failed to set rotation watcher"

invoke-static {v1, v2, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

.line 57
.end local v0 # "e":Landroid/os/RemoteException;
:cond_0
:goto_0
return-void
.end method

/smali/com/android/systemui/shared/system/ThreadedRendererCompat.smali:

Original:

.method public static setContextPriority(I)V
.locals 0
.param p0, "priority" # I

.line 31
invoke-static {p0}, Landroid/view/ThreadedRenderer;->setContextPriority(I)V

.line 32
return-void
.end method

Mod:

.method public static setContextPriority(I)V
.locals 0
.param p0, "priority" # I

.line 32
return-void
.end method

/smali/com/android/systemui/shared/system/TransactionCompat.smali:

Original:

.method public setEarlyWakeup()Lcom/android/systemui/shared/system/TransactionCompat;
.locals 1

.line 105
iget-object v0, p0, Lcom/android/systemui/shared/system/TransactionCompat;->mTransaction:Landroid/view/SurfaceControl$Transaction;

invoke-virtual {v0}, Landroid/view/SurfaceControl$Transaction;->setEarlyWakeup()Landroid/view/SurfaceControl$Transaction;

.line 106
return-object p0
.end method

Mod:

.method public setEarlyWakeup()Lcom/android/systemui/shared/system/TransactionCompat;
.locals 1

.line 106
return-object p0
.end method

/smali/com/android/systemui/shared/system/WindowManagerWrapper.smali:

Original:

.method public getNavBarPosition()I
.locals 3

.line 163
:try_start_0
invoke-static {}, Landroid/view/WindowManagerGlobal;->getWindowManagerService()Landroid/view/IWindowManager;

move-result-object v0

invoke-interface {v0}, Landroid/view/IWindowManager;->getNavBarPosition()I

move-result v0
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

return v0

.line 164
:catch_0
move-exception v0

.line 165
.local v0, "e":Landroid/os/RemoteException;
const-string v1, "WindowManagerWrapper"

const-string v2, "Failed to get nav bar position"

invoke-static {v1, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

.line 167
.end local v0 # "e":Landroid/os/RemoteException;
const/4 v0, -0x1

return v0
.end method

Mod:

.method public getNavBarPosition()I
.locals 3

.line 163
:try_start_0
invoke-static {}, Landroid/view/WindowManagerGlobal;->getWindowManagerService()Landroid/view/IWindowManager;

move-result-object v0

invoke-interface {v0}, Landroid/view/IWindowManager;->getNavBarPosition()I

move-result v0
:try_end_0
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0

return v0

.line 164
:catch_0
move-exception v0

.line 165
.local v0, "e":Landroid/os/RemoteException;
const-string v1, "WindowManagerWrapper"

const-string v2, "Failed to get nav bar position"

invoke-static {v1, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

.line 167
.end local v0 # "e":Landroid/os/RemoteException;
const/4 v0, -0x1

return v0
.end method

I tryed to change something similar in your apk, but in new Xperia 5 Launcher there is so meny differents from Xperia 10 Launcher and I couldn't get a workable version.

I hope, that it can help to get gestures work in your port.