[Sony Cross-Device General] Arif JeNong:
Hello guys i wana share you how to make blur effect on your expanded notification Android 10, huge thanks to [MENTION=3989065]serajr[/MENTION] for source code blur LP

ALWAYS BACKUP BEFORE YOU MODIFY YOUR ROM

I don't take any responsibility for any damage that may occur while you doing this, you are free no force to do this

Tested On Xperia XZP running [Bliss ROM Android 10]

Credit and thanks to :

- Sir [MENTION=3989065]serajr[/MENTION] for source code

- Abdullah Ba'agill

- [MENTION=5098929]Nathan Ali Ashari[/MENTION]

- paraS.H.I.T team

- mediatek Android Art and Dev Reborn (MAAaDR) (Fb group)

- Hidannn

- Bliss ROM

- And You

Requirements:

1. Knowledge About editing smali

2. SystemUI.apk

3. Latest APKTool

4. text Editor like Notepad ++

Start:

- Download smali.zip on Attached Files

- Decompile SystemUI.apk

- Merge the complete files to your SystemUI.apk

- Now Open com/android/systemui/statusbar/phone/NotificationPanelView.smali

above # static fields

add :

[COLOR="Blue"]# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/android/systemui/statusbar/phone/NotificationPanelView$Animation;
}
.end annotation[/COLOR]

below # static fields

add

# static fields

[COLOR="blue"].field private static mAlphaAnimation:Landroid/view/animation/AlphaAnimation;

.field private static mAnimationListener:Landroid/view/animation/Animation$AnimationListener;

.field private static mBlurRadius:I

.field private static mBlurScale:I

.field public static mBlurredScreenBitmap:Landroid/graphics/Bitmap;

.field private static mBlurredStatusBarExpandedEnabled:Z

.field private static mBlurredView:Landroid/widget/FrameLayout;

.field public static mDisplay:[I

.field public static mKontek:Landroid/content/Context;[/COLOR]

below # direct methods

add

[COLOR="blue"].method static synthetic access$L1000010()Landroid/view/animation/AlphaAnimation;
.locals 3

sget-object v2, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mAlphaAnimation:Landroid/view/animation/AlphaAnimation;

move-object v0, v2

return-object v0
.end method

.method static synthetic access$L1000004()Landroid/widget/FrameLayout;
.locals 1

.line 57
sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

return-object v0
.end method

.method static synthetic access$S1000010(Landroid/view/animation/AlphaAnimation;)V
.locals 4

move-object v0, p0

move-object v3, v0

sput-object v3, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mAlphaAnimation:Landroid/view/animation/AlphaAnimation;

return-void
.end method[/COLOR]

search .method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;Lcom/android/systemui/util/InjectionInflationController;Lcom/android/systemui/statusbar/notification/NotificationWakeUpCoordinator;Lcom/android/systemui/statusbar/PulseExpansionHandler;Lcom/android/systemui/statusbar/notification/DynamicPrivacyController;Lcom/android/systemui/statusbar/phone/KeyguardBypassController;Lcom/android/systemui/plugins/FalsingManager;)V

add red line

[COLOR="blue"].method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;Lcom/android/systemui/util/InjectionInflationController;Lcom/android/systemui/statusbar/notification/NotificationWakeUpCoordinator;Lcom/android/systemui/statusbar/PulseExpansionHandler;Lcom/android/systemui/statusbar/notification/DynamicPrivacyController;Lcom/android/systemui/statusbar/phone/KeyguardBypassController;Lcom/android/systemui/plugins/FalsingManager;)V
.locals 13

move-object v0, p0

move-object v1, p1

move-object/from16 v2, p5

.line 505
invoke-direct {p0, p1, p2}, Lcom/android/systemui/statusbar/phone/PanelView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V[/COLOR]

[COLOR="Red"]new-instance v3, Lcom/android/systemui/statusbar/phone/NotificationPanelView$Animation;

invoke-direct {v3, p0}, Lcom/android/systemui/statusbar/phone/NotificationPanelView$Animation;-><init>(Lcom/android/systemui/statusbar/phone/NotificationPanelView;)V

sput-object v3, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mAnimationListener:Landroid/view/animation/Animation$AnimationListener;[/COLOR]

[COLOR="Blue"].line 197
new-instance v3, Lcom/android/systemui/statusbar/phone/NotificationPanelView$1;

invoke-direct {v3, p0}, Lcom/android/systemui/statusbar/phone/NotificationPanelView$1;-><init>(Lcom/android/systemui/statusbar/phone/NotificationPanelView;)V

iput-object v3, v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mKeyguardUpdateCallback:Lcom/android/keyguard/KeyguardUpdateMonitorCallback;[/COLOR]

below # virtual methods

add

[COLOR="blue"].method public blurBitmap(Landroid/graphics/Bitmap;I)Landroid/graphics/Bitmap;
.locals 11

.prologue
.line 116
move-object v0, p0

move-object v1, p1

move v2, p2

sget-object v9, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mKontek:Landroid/content/Context;

invoke-static {v9}, Landroid/renderscript/RenderScript;->create(Landroid/content/Context;)Landroid/renderscript/RenderScript;

move-result-object v9

move-object v4, v9

.line 117
move-object v9, v4

move-object v10, v4

invoke-static {v10}, Landroid/renderscript/Element;->U8_4(Landroid/renderscript/RenderScript;)Landroid/renderscript/Element;

move-result-object v10

invoke-static {v9, v10}, Landroid/renderscript/ScriptIntrinsicBlur;->create(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;)Landroid/renderscript/ScriptIntrinsicBlur;

move-result-object v9

move-object v5, v9

.line 118
move-object v9, v4

move-object v10, v1

invoke-static {v9, v10}, Landroid/renderscript/Allocation;->createFromBitmap(Landroid/renderscript/RenderScript;Landroid/graphics/Bitmap;)Landroid/renderscript/Allocation;

move-result-object v9

move-object v6, v9

.line 119
move-object v9, v4

move-object v10, v6

invoke-virtual {v10}, Landroid/renderscript/Allocation;->getType()Landroid/renderscript/Type;

move-result-object v10

invoke-static {v9, v10}, Landroid/renderscript/Allocation;->createTyped(Landroid/renderscript/RenderScript;Landroid/renderscript/Type;)Landroid/renderscript/Allocation;

move-result-object v9

move-object v7, v9

.line 120
move-object v9, v5

move v10, v2

int-to-float v10, v10

invoke-virtual {v9, v10}, Landroid/renderscript/ScriptIntrinsicBlur;->setRadius(F)V

.line 121
move-object v9, v5

move-object v10, v6

invoke-virtual {v9, v10}, Landroid/renderscript/ScriptIntrinsicBlur;->setInput(Landroid/renderscript/Allocation;)V

.line 122
move-object v9, v5

move-object v10, v7

invoke-virtual {v9, v10}, Landroid/renderscript/ScriptIntrinsicBlur;->forEach(Landroid/renderscript/Allocation;)V

.line 123
move-object v9, v7

move-object v10, v1

invoke-virtual {v9, v10}, Landroid/renderscript/Allocation;->copyTo(Landroid/graphics/Bitmap;)V

.line 124
move-object v9, v1

move-object v0, v9

return-object v0
.end method

.method public createBlurredView()V
.locals 10
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation

.prologue
.line 419
move-object v0, p0

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->getContext()Landroid/content/Context;

move-result-object v2

sput-object v2, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mKontek:Landroid/content/Context;

.line 420
new-instance v2, Landroid/view/animation/AlphaAnimation;

move-object v9, v2

move-object v2, v9

move-object v3, v9

const/4 v4, 0x0

const/high16 v5, 0x3f800000 # 1.0f

invoke-direct {v3, v4, v5}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

sput-object v2, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mAlphaAnimation:Landroid/view/animation/AlphaAnimation;

.line 421
sget-object v2, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mAlphaAnimation:Landroid/view/animation/AlphaAnimation;

const/16 v3, 0x12c

int-to-long v3, v3

invoke-virtual {v2, v3, v4}, Landroid/view/animation/AlphaAnimation;->setDuration(J)V

.line 422
sget-object v2, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mAlphaAnimation:Landroid/view/animation/AlphaAnimation;

move-object v3, v0

sget-object v3, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mAnimationListener:Landroid/view/animation/Animation$AnimationListener;

invoke-virtual {v2, v3}, Landroid/view/animation/AlphaAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

.line 423
new-instance v2, Landroid/widget/FrameLayout;

move-object v9, v2

move-object v2, v9

move-object v3, v9

move-object v4, v0

iget-object v4, v4, Landroid/view/View;->mContext:Landroid/content/Context;

invoke-direct {v3, v4}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

sput-object v2, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

.line 424
move-object v2, v0

sget-object v3, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

const/4 v4, 0x0

new-instance v5, Landroid/widget/FrameLayout$LayoutParams;

move-object v9, v5

move-object v5, v9

move-object v6, v9

const/4 v7, -0x1

const/4 v8, -0x1

invoke-direct {v6, v7, v8}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

invoke-virtual {v2, v3, v4, v5}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

.line 425
move-object v2, v0

invoke-virtual {v2}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->requestLayout()V

.line 426
sget-object v2, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

const-string v3, "ready_to_blur"

invoke-virtual {v2, v3}, Landroid/widget/FrameLayout;->setTag(Ljava/lang/Object;)V

.line 427
sget-object v2, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

const/4 v3, 0x4

invoke-virtual {v2, v3}, Landroid/widget/FrameLayout;->setVisibility(I)V

return-void
.end method

.method public handleFadeInOut()V
.locals 12
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation

.prologue
.line 65
move-object v0, p0

move-object v5, v0

invoke-virtual {v5}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->handleUpdateForUser()V

.line 66
sget-object v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

const-string v6, "blur_applied"

invoke-virtual {v5, v6}, Landroid/widget/FrameLayout;->setTag(Ljava/lang/Object;)V

.line 67
const/4 v5, 0x4

move v2, v5

.line 68
sget-boolean v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredStatusBarExpandedEnabled:Z

if-eqz v5, :cond_1

.line 69
move-object v5, v0

iget-boolean v5, v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mKeyguardShowing:Z

if-nez v5, :cond_0

move-object v5, v0

invoke-virtual {v5}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->isPanelVisibleBecauseOfHeadsUp()Z

move-result v5

if-eqz v5, :cond_4

:cond_0
const/4 v5, 0x4

:goto_0
move v3, v5

.line 70
move v5, v3

move v2, v5

.line 72
:cond_1
sget v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurScale:I

const/4 v6, 0x0

if-ne v5, v6, :cond_2

.line 73
const/4 v5, 0x1

sput v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurScale:I

.line 75
:cond_2
sget v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurRadius:I

const/4 v6, 0x0

if-ne v5, v6, :cond_3

.line 76
const/4 v5, 0x1

sput v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurRadius:I

.line 78
:cond_3
move-object v5, v0

sget-object v6, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredScreenBitmap:Landroid/graphics/Bitmap;

sget-object v7, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mDisplay:[I

const/4 v8, 0x0

aget v7, v7, v8

sget v8, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurScale:I

div-int/2addr v7, v8

sget-object v8, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mDisplay:[I

const/4 v9, 0x1

aget v8, v8, v9

sget v9, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurScale:I

div-int/2addr v8, v9

const/4 v9, 0x0

invoke-static {v6, v7, v8, v9}, Landroid/graphics/Bitmap;->createScaledBitmap(Landroid/graphics/Bitmap;IIZ)Landroid/graphics/Bitmap;

move-result-object v6

sget v7, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurRadius:I

invoke-virtual {v5, v6, v7}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->blurBitmap(Landroid/graphics/Bitmap;I)Landroid/graphics/Bitmap;

move-result-object v5

sput-object v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredScreenBitmap:Landroid/graphics/Bitmap;

.line 79
sget-object v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

invoke-virtual {v5}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

move-result-object v5

sget-object v6, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mDisplay:[I

const/4 v7, 0x0

aget v6, v6, v7

iput v6, v5, Landroid/view/ViewGroup$LayoutParams;->width:I

.line 80
sget-object v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

invoke-virtual {v5}, Landroid/widget/FrameLayout;->requestLayout()V

.line 81
new-instance v5, Landroid/graphics/drawable/BitmapDrawable;

move-object v11, v5

move-object v5, v11

move-object v6, v11

sget-object v7, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredScreenBitmap:Landroid/graphics/Bitmap;

invoke-direct {v6, v7}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/graphics/Bitmap;)V

move-object v3, v5

.line 82
move-object v5, v3

const/4 v6, -0x1

sget-object v7, Landroid/graphics/PorterDuff$Mode;->MULTIPLY:Landroid/graphics/PorterDuff$Mode;

invoke-virtual {v5, v6, v7}, Landroid/graphics/drawable/BitmapDrawable;->setColorFilter(ILandroid/graphics/PorterDuff$Mode;)V

.line 83
sget-object v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

move-object v6, v3

invoke-virtual {v5, v6}, Landroid/widget/FrameLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V

.line 84
sget-object v5, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

move v6, v2

invoke-virtual {v5, v6}, Landroid/widget/FrameLayout;->setVisibility(I)V

return-void

.line 69
:cond_4
const/4 v5, 0x0

goto :goto_0
.end method

.method public handleUpdateForUser()V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation

.prologue
const/4 v3, 0x3

const/4 v0, 0x1

.line 553
sget-object v1, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mKontek:Landroid/content/Context;

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

.line 555
const-string v2, "BLUR_SCALA"

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

sput v2, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurScale:I

.line 557
const-string v2, "BLUR_RADIUS"

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

sput v2, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurRadius:I

.line 559
const-string v2, "BLUR"

invoke-static {v1, v2, v0}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

if-eq v1, v0, :cond_0

const/4 v0, 0x0

:cond_0
sput-boolean v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredStatusBarExpandedEnabled:Z

return-void
.end method

.method public recycle()V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation

.prologue
const/4 v1, 0x0

.line 613
sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

if-eqz v0, :cond_1

sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

invoke-virtual {v0}, Landroid/widget/FrameLayout;->getBackground()Landroid/graphics/drawable/Drawable;

move-result-object v0

if-eqz v0, :cond_1

.line 615
sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

invoke-virtual {v0}, Landroid/widget/FrameLayout;->getBackground()Landroid/graphics/drawable/Drawable;

move-result-object v0

instance-of v0, v0, Landroid/graphics/drawable/BitmapDrawable;

if-eqz v0, :cond_0

.line 616
sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

invoke-virtual {v0}, Landroid/widget/FrameLayout;->getBackground()Landroid/graphics/drawable/Drawable;

move-result-object v0

check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

move-result-object v0

.line 617
if-eqz v0, :cond_0

.line 618
invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

move-object v0, v1

.line 619
check-cast v0, Landroid/graphics/Bitmap;

.line 623
:cond_0
sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

check-cast v1, Landroid/graphics/drawable/Drawable;

invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V

.line 625
:cond_1
sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

const-string v1, "ready_to_blur"

invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setTag(Ljava/lang/Object;)V

sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

const/4 v1, 0x4

invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setVisibility(I)V

return-void
.end method

.method public startBlurTask()V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation

.prologue
.line 91
sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mKontek:Landroid/content/Context;

invoke-static {v0}, Lcom/znxt/systemui/DisplayUtils;->TakeScreenshotSurface(Landroid/content/Context;)Landroid/graphics/Bitmap;

move-result-object v0

sput-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredScreenBitmap:Landroid/graphics/Bitmap;

.line 92
sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mKontek:Landroid/content/Context;

invoke-static {v0}, Lcom/znxt/systemui/DisplayUtils;->getRealDimensionDisplay(Landroid/content/Context;)[I

move-result-object v0

sput-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mDisplay:[I

.line 93
iget-boolean v0, p0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mKeyguardShowing:Z

if-eqz v0, :cond_0

.line 94
sget-object v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBlurredView:Landroid/widget/FrameLayout;

const/4 v1, 0x4

invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setVisibility(I)V

.line 98
:goto_0
return-void

.line 97
:cond_0
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->handleUpdateForUser()V

.line 98
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->handleFadeInOut()V

goto :goto_0
.end method[/COLOR]

search .method protected onFinishInflate()V

add red line

[COLOR="blue"].method protected onFinishInflate()V
.locals 3

.line 575
invoke-super {p0}, Lcom/android/systemui/statusbar/phone/PanelView;->onFinishInflate()V[/COLOR]

[COLOR="Red"].line 437
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->createBlurredView()V[/COLOR]

[COLOR="blue"].line 576
sget v0, Lcom/android/systemui/R$id;->keyguard_header:I

invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

move-result-object v0

check-cast v0, Lcom/android/systemui/statusbar/phone/KeyguardStatusBarView;

iput-object v0, p0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mKeyguardStatusBar:Lcom/android/systemui/statusbar/phone/KeyguardStatusBarView;[/COLOR]

Save and Close

- open com/android/systemui/statusbar/phone/StatusBar.smali

search .method makeExpandedVisible(Z)V

add red line

[COLOR="blue"].method makeExpandedVisible(Z)V
.locals[/COLOR] [COLOR="Red"]3 <--- change .locals 3 to locals. 4[/COLOR]

[COLOR="blue"]if-nez p1, :cond_1

.line 2639
iget-boolean v0, p0, Lcom/android/systemui/statusbar/phone/StatusBar;->mExpandedVisible:Z

if-nez v0, :cond_0

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/StatusBar;->mCommandQueue:Lcom/android/systemui/statusbar/CommandQueue;

invoke-virtual {v0}, Lcom/android/systemui/statusbar/CommandQueue;->panelsEnabled()Z

move-result v0

if-nez v0, :cond_1

:cond_0
return-void

:cond_1
const/4 v0, 0x1[/COLOR]

[COLOR="Red"]iget-object v3, p0, Lcom/android/systemui/statusbar/phone/StatusBar;->mNotificationPanel:Lcom/android/systemui/statusbar/phone/NotificationPanelView;

.line 2673
invoke-virtual {v3}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->startBlurTask()V[/COLOR]

[COLOR="blue"].line 2643
iput-boolean v0, p0, Lcom/android/systemui/statusbar/phone/StatusBar;->mExpandedVisible:Z[/COLOR]

ScreenRecord:

https://youtu.be/pADQyCZDw4Y

- save and close

- recompile systemui and push

- don't forget instal app on Attached

- reboot your phone and tada :D