1.Decompile services.jar
open MultiWindowManagerService.smali
1: Search : iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;
then get follow
1.1:
.prologue
.line 391
iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object
Z
move-result v0
if-eqz v0, :cond_a
.line 392
const/4 v0, 0x1
.line 395
:goto_9
return v0
:cond_a
const/4 v0, 0x0
goto :goto_9
.end method
1.2: Start from
.prologue
To
.end method
1.3: Replace with
.prologue
.line 391
const/4 v0, 0x1
goto :goto_b
iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object
Z
move-result v0
if-eqz v0, :cond_c
.line 392
const/4 v0, 0x1
.line 395
:goto_b
return v0
:cond_c
const/4 v0, 0x0
goto :goto_b
.end method
2.Open PackageManagerService.smali
2.1 Search
.line 7660
and-int/lit8 v1, p0, 0x10
if-eqz v1, :cond_6
.line 7666
:cond_5
:goto_5
return v0
.line 7663
:cond_6
and-int/lit8 v1, p0, 0x8
Replace with
.line 7660
and-int/lit8 v1, p0, 0x10
if-eqz v1, :cond_7
.line 7666
:cond_5
:goto_5
const/4 v0, 0x0
return v0
.line 7663
:cond_7
and-int/lit8 v1, p0, 0x8
------------- Recompile services.jar ----------