[Galaxy Ace S5830 Themes and Apps] M.WeWe:
Task Manager Doesn't Open

i Am Trying To Do This Method On

Sony Xperia S Running CM10 FXP206a

I Have Added

TaskManager.apk And SystemUI.apk

To /System/App

And Changed Permission To (rw--r--r--)

And Here Is My SystemUIService.smali Looks

.class public Lcom/android/systemui/SystemUIService;
.super Landroid/app/Service;
.source "SystemUIService.java"

# instance fields
.field final SERVICES:[Ljava/lang/Object;

.field mServices:[Lcom/android/systemui/SystemUI;

# direct methods
.method public constructor <init>()V
.locals 3

.prologue
const/4 v2, 0x0

.line 35
invoke-direct {p0}, Landroid/app/Service;-><init>()V

.line 41
const/4 v0, 0x3

new-array v0, v0, [Ljava/lang/Object;

invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v1

aput-object v1, v0, v2

const/4 v1, 0x1

const-class v2, Lcom/android/systemui/power/PowerUI;

aput-object v2, v0, v1

const/4 v1, 0x2

const-class v2, Lcom/android/systemui/media/RingtonePlayer;

aput-object v2, v0, v1

iput-object v0, p0, Lcom/android/systemui/SystemUIService;->SERVICES:[Ljava/lang/Object;

return-void
.end method

.method private chooseClass(Ljava/lang/Object;)Ljava/lang/Class;
.locals 5
.parameter "o"

.prologue
.line 53
instance-of v2, p1, Ljava/lang/Integer;

if-eqz v2, :cond_0

.line 54
check-cast p1, Ljava/lang/Integer;

.end local p1
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

move-result v2

invoke-virtual {p0, v2}, Lcom/android/systemui/SystemUIService;->getString(I)Ljava/lang/String;

move-result-object v0

.line 56
.local v0, cl:Ljava/lang/String;
:try_start_0
invoke-virtual {p0}, Lcom/android/systemui/SystemUIService;->getClassLoader()Ljava/lang/ClassLoader;

move-result-object v2

invoke-virtual {v2, v0}, Ljava/lang/ClassLoader;->loadClass(Ljava/lang/String;)Ljava/lang/Class;
:try_end_0
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

move-result-object p1

.line 61
.end local v0 #cl:Ljava/lang/String;
:goto_0
return-object p1

.line 57
.restart local v0 #cl:Ljava/lang/String;
:catch_0
move-exception v1

.line 58
.local v1, ex:Ljava/lang/ClassNotFoundException;
new-instance v2, Ljava/lang/RuntimeException;

invoke-direct {v2, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V

throw v2

.line 60
.end local v0 #cl:Ljava/lang/String;
.end local v1 #ex:Ljava/lang/ClassNotFoundException;
.restart local p1
:cond_0
instance-of v2, p1, Ljava/lang/Class;

if-eqz v2, :cond_1

.line 61
check-cast p1, Ljava/lang/Class;

goto :goto_0

.line 63
:cond_1
new-instance v2, Ljava/lang/RuntimeException;

new-instance v3, Ljava/lang/StringBuilder;

invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

const-string v4, "Unknown system ui service: "

invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v3

invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

move-result-object v3

invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v3

invoke-direct {v2, v3}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

throw v2
.end method

# virtual methods
.method protected dump(Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
.locals 8
.parameter "fd"
.parameter "pw"
.parameter "args"

.prologue
.line 116
if-eqz p3, :cond_0

array-length v6, p3

if-nez v6, :cond_1

.line 117
:cond_0
iget-object v0, p0, Lcom/android/systemui/SystemUIService;->mServices:[Lcom/android/systemui/SystemUI;

.local v0, arr$:[Lcom/android/systemui/SystemUI;
array-length v2, v0

.local v2, len$:I
const/4 v1, 0x0

.local v1, i$:I
:goto_0
if-ge v1, v2, :cond_3

aget-object v5, v0, v1

.line 118
.local v5, ui:Lcom/android/systemui/SystemUI;
new-instance v6, Ljava/lang/StringBuilder;

invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

const-string v7, "dumping service: "

invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v6

invoke-virtual {v5}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

move-result-object v7

invoke-virtual {v7}, Ljava/lang/Class;->getName()Ljava/lang/String;

move-result-object v7

invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v6

invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v6

invoke-virtual {p2, v6}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

.line 119
invoke-virtual {v5, p1, p2, p3}, Lcom/android/systemui/SystemUI;->dump(Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V

.line 117
add-int/lit8 v1, v1, 0x1

goto :goto_0

.line 122
.end local v0 #arr$:[Lcom/android/systemui/SystemUI;
.end local v1 #i$:I
.end local v2 #len$:I
.end local v5 #ui:Lcom/android/systemui/SystemUI;
:cond_1
const/4 v6, 0x0

aget-object v4, p3, v6

.line 123
.local v4, svc:Ljava/lang/String;
iget-object v0, p0, Lcom/android/systemui/SystemUIService;->mServices:[Lcom/android/systemui/SystemUI;

.restart local v0 #arr$:[Lcom/android/systemui/SystemUI;
array-length v2, v0

.restart local v2 #len$:I
const/4 v1, 0x0

.restart local v1 #i$:I
:goto_1
if-ge v1, v2, :cond_3

aget-object v5, v0, v1

.line 124
.restart local v5 #ui:Lcom/android/systemui/SystemUI;
invoke-virtual {v5}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

move-result-object v6

invoke-virtual {v6}, Ljava/lang/Class;->getName()Ljava/lang/String;

move-result-object v3

.line 125
.local v3, name:Ljava/lang/String;
invoke-virtual {v3, v4}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

move-result v6

if-eqz v6, :cond_2

.line 126
invoke-virtual {v5, p1, p2, p3}, Lcom/android/systemui/SystemUI;->dump(Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V

.line 123
:cond_2
add-int/lit8 v1, v1, 0x1

goto :goto_1

.line 130
.end local v3 #name:Ljava/lang/String;
.end local v4 #svc:Ljava/lang/String;
.end local v5 #ui:Lcom/android/systemui/SystemUI;
:cond_3
return-void
.end method

.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
.locals 1
.parameter "intent"

.prologue
.line 111
const/4 v0, 0x0

return-object v0
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.locals 4
.parameter "newConfig"

.prologue
.line 101
iget-object v0, p0, Lcom/android/systemui/SystemUIService;->mServices:[Lcom/android/systemui/SystemUI;

.local v0, arr$:[Lcom/android/systemui/SystemUI;
array-length v2, v0

.local v2, len$:I
const/4 v1, 0x0

.local v1, i$:I
:goto_0
if-ge v1, v2, :cond_0

aget-object v3, v0, v1

.line 102
.local v3, ui:Lcom/android/systemui/SystemUI;
invoke-virtual {v3, p1}, Lcom/android/systemui/SystemUI;->onConfigurationChanged(Landroid/content/res/Configuration;)V

.line 101
add-int/lit8 v1, v1, 0x1

goto :goto_0

.line 104
.end local v3 #ui:Lcom/android/systemui/SystemUI;
:cond_0
return-void
.end method

.method public onCreate()V
.locals 9

.prologue
.line 70
const-string v6, "window"

invoke-static {v6}, Landroid/os/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IBinder;

move-result-object v6

invoke-static {v6}, Landroid/view/IWindowManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/view/IWindowManager;

move-result-object v5

.line 73
.local v5, wm:Landroid/view/IWindowManager;
:try_start_0
iget-object v7, p0, Lcom/android/systemui/SystemUIService;->SERVICES:[Ljava/lang/Object;

const/4 v8, 0x0

invoke-interface {v5}, Landroid/view/IWindowManager;->hasSystemNavBar()Z

move-result v6

if-eqz v6, :cond_0

const v6, 0x7f090001

:goto_0
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v6

aput-object v6, v7, v8
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

.line 80
:goto_1
iget-object v6, p0, Lcom/android/systemui/SystemUIService;->SERVICES:[Ljava/lang/Object;

array-length v0, v6

.line 81
.local v0, N:I
new-array v6, v0, [Lcom/android/systemui/SystemUI;

iput-object v6, p0, Lcom/android/systemui/SystemUIService;->mServices:[Lcom/android/systemui/SystemUI;

.line 82
const/4 v4, 0x0

.local v4, i:I
:goto_2
if-ge v4, v0, :cond_1

.line 83
iget-object v6, p0, Lcom/android/systemui/SystemUIService;->SERVICES:[Ljava/lang/Object;

aget-object v6, v6, v4

invoke-direct {p0, v6}, Lcom/android/systemui/SystemUIService;->chooseClass(Ljava/lang/Object;)Ljava/lang/Class;

move-result-object v1

.line 84
.local v1, cl:Ljava/lang/Class;
const-string v6, "SystemUIService"

new-instance v7, Ljava/lang/StringBuilder;

invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

const-string v8, "loading: "

invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

invoke-virtual {v7, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

move-result-object v7

invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v7

invoke-static {v6, v7}, Landroid/util/Slog;->d(Ljava/lang/String;Ljava/lang/String;)I

.line 86
:try_start_1
iget-object v7, p0, Lcom/android/systemui/SystemUIService;->mServices:[Lcom/android/systemui/SystemUI;

invoke-virtual {v1}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;

move-result-object v6

check-cast v6, Lcom/android/systemui/SystemUI;

aput-object v6, v7, v4
:try_end_1
.catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_1
.catch Ljava/lang/InstantiationException; {:try_start_1 .. :try_end_1} :catch_2

.line 92
iget-object v6, p0, Lcom/android/systemui/SystemUIService;->mServices:[Lcom/android/systemui/SystemUI;

aget-object v6, v6, v4

iput-object p0, v6, Lcom/android/systemui/SystemUI;->mContext:Landroid/content/Context;

.line 93
const-string v6, "SystemUIService"

new-instance v7, Ljava/lang/StringBuilder;

invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

const-string v8, "running: "

invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

iget-object v8, p0, Lcom/android/systemui/SystemUIService;->mServices:[Lcom/android/systemui/SystemUI;

aget-object v8, v8, v4

invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

move-result-object v7

invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v7

invoke-static {v6, v7}, Landroid/util/Slog;->d(Ljava/lang/String;Ljava/lang/String;)I

.line 95
iget-object v6, p0, Lcom/android/systemui/SystemUIService;->mServices:[Lcom/android/systemui/SystemUI;

aget-object v6, v6, v4

invoke-virtual {v6}, Lcom/android/systemui/SystemUI;->start()V

.line 82
add-int/lit8 v4, v4, 0x1

goto :goto_2

.line 73
.end local v0 #N:I
.end local v1 #cl:Ljava/lang/Class;
.end local v4 #i:I
:cond_0
const/high16 v6, 0x7f09

goto :goto_0

.line 76
:catch_0
move-exception v2

.line 77
.local v2, e:Landroid/os/RemoteException;
const-string v6, "SystemUIService"

const-string v7, "Failing checking whether status bar can hide"

invoke-static {v6, v7, v2}, Landroid/util/Slog;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

goto :goto_1

.line 87
.end local v2 #e:Landroid/os/RemoteException;
.restart local v0 #N:I
.restart local v1 #cl:Ljava/lang/Class;
.restart local v4 #i:I
:catch_1
move-exception v3

.line 88
.local v3, ex:Ljava/lang/IllegalAccessException;
new-instance v6, Ljava/lang/RuntimeException;

invoke-direct {v6, v3}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V

throw v6

.line 89
.end local v3 #ex:Ljava/lang/IllegalAccessException;
:catch_2
move-exception v3

.line 90
.local v3, ex:Ljava/lang/InstantiationException;
new-instance v6, Ljava/lang/RuntimeException;

invoke-direct {v6, v3}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V

throw v6

.line 97
.end local v1 #cl:Ljava/lang/Class;
.end local v3 #ex:Ljava/lang/InstantiationException;
:cond_1
return-void
.end method
.method public openTaskManager(Landroid/view/View;)V
.locals 5
.parameter "view"

.prologue
.line 99
.line 100
:try_start_0
new-instance v1, Landroid/content/Intent;

invoke-direct {v1}, Landroid/content/Intent;-><init>()V

.line 102
.local v1, intent:Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"

invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

.line 105
const/high16 v2, 0x1000

invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

.line 107
const-string v2, "com.sec.android.app.controlpanel"

const-string v3, "com.sec.android.app.controlpanel.activity.JobManagerActivity"

invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

invoke-virtual {p0, v1}, Lcom/android/systemui/SystemUIService;->startActivity(Landroid/content/Intent;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

.line 109
.line 112
.end local v1 #intent:Landroid/content/Intent;
:goto_0
return-void

.line 115
:catch_0
move-exception v0

.line 117
.local v0, e:Ljava/lang/Exception;
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

goto :goto_0
.end method

And Here Is ScreenShot From My Phone

When Press On Task manger Button Nothing Happen

​