馬上加入Android 台灣中文網,立即免費下載應用遊戲。
您需要 登錄 才可以下載或查看,沒有帳號?註冊
x
本帖最後由 gfs43308 於 2017-4-12 12:59 編輯
求助幫忙反編譯(去除省電通知)
反編譯完上傳給我好嗎謝謝
-------------------------------------------
sense7 去除省電通知下拉提示和去除狀態欄省電圖標顯示教學:
1.附件:
com.HTC.htcpowermanager(1).apk
2.反編譯htcpowermanager.apk
3.打開反編譯後的文件夾定位到smailcomhtchtcpowermanagerpowersaver
4.搜索PowerSaverNotificationService.smali
5.打開文本搜索器,搜索(這段詞條):
.method private isShowPowerSaverUi()Z
.registers 5
const/4 v0, 0x1
iget-object v1, p0, Lcom/htc/htcpowermanager/powersaver/PowerSaverNotificationService;->mResolver android/content/ContentResolver;
const-string v2, "hide_ui_user_powersaver"
const/4 v3, -0x1
invoke-static {v1, v2, v3}, Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
move-result v1
if-ne v1, v0, :cond_d
const/4 v0, 0x0
6.刪除
const/4 v0, 0x1
iget-object v1, p0, Lcom/htc/htcpowermanager/powersaver/PowerSaverNotificationService;->mResolver android/content/ContentResolver;
const-string v2, "hide_ui_user_powersaver"
const/4 v3, -0x1
invoke-static {v1, v2, v3}, Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
move-result v1
if-ne v1, v0, :cond_d
7.回編譯APK,替換回去。
|
|