国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 手機教程 > 正文

三星Galaxy S4完美多窗口修改方法

2024-06-12 10:41:47
字體:
來源:轉載
供稿:網友

   【準備事項】

  1. 準備好工具apktool,確定你對apktool的反編譯和重新編譯有所了解,而且知道怎么使用。

  2. 準備好文本編輯器notepad++ 。

  3. 準備好工具backsmali 。

  【詳細修改步驟】

  1、修改Flashbarservice.apk

  用apktool反編譯system/app目錄中的flashbarservice.apk

  進入flashbarservicesmalicomsecandroidappFlashBar Service

  用文件編輯器notepad++打開FlashBarInfo.smali文件

  搜索方法 .method public generateFlashBarList()V

  然后按照下面的說明來修改,左側有-號的是你要刪除的內容,有+號的是你要增加的內容

  iget-object v10, v6, Landroid/content/pm/ResolveInfo;->filter:Landroid/content/IntentFilter;

  - const-string v11, "android.intent.category.MULTIWINDOW_LAUNCHER"

  + const-string v11, "android.intent.category.LAUNCHER"

  invoke-virtual {v10, v11}, Landroid/content/IntentFilter;->hasCategory(Ljava/lang/String;)Z

  iget-object v10, v6, Landroid/content/pm/ResolveInfo;->filter:Landroid/content/IntentFilter;

  - const-string v11, "com.sec.android.intent.category.MULTIWINDOW_LAUNCHER"

  + const-string v11, "com.sec.android.intent.category.LAUNCHER"

  invoke-virtual {v10, v11}, Landroid/content/IntentFilter;->hasCategory(Ljava/lang/String;)Z

  :try_end_0

  iget-object v8, v7, Landroid/content/pm/ResolveInfo;->filter:Landroid/content/IntentFilter;

  - const-string v9, "android.intent.category.MULTIWINDOW_LAUNCHER"

  + const-string v9, "android.intent.category.LAUNCHER"

  invoke-virtual {v8, v9}, Landroid/content/IntentFilter;->hasCategory(Ljava/lang/String;)Z

  iget-object v8, v7, Landroid/content/pm/ResolveInfo;->filter:Landroid/content/IntentFilter;

  - const-string v9, "com.sec.android.intent.category.MULTIWINDOW_LAUNCHER"

  + const-string v9, "com.sec.android.intent.category.LAUNCHER"

  invoke-virtual {v8, v9}, Landroid/content/IntentFilter;->hasCategory(Ljava/lang/String;)Z

  :try_end_0

  修改完成后,保存文件,然后重新編譯回去,替換原文件,這一部分的修改就完成了。

  2、修改services.jar

  反編譯system/framework目錄中的services.jar文件

  進入services.jar.outsmalicomandroidserveram目錄

  使用文本編輯器notepad++打開MultiWindowManagerService.smali文件

  搜索方法 .method public isSupportApp(Ljava/lang/StringZ

  然后按照下面的說明來修改,左側有-號的是你要刪除的內容,有+號的是你要增加的內容

  .PRologue

  .line 567

  + const/4 v0, 0x1

  +

  + goto :goto_0

  +

  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

  修改完成后,保存文件,然后重新編譯回去,替換原文件,這樣就修改完了。


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表

圖片精選

主站蜘蛛池模板: 吉木萨尔县| 女性| 中阳县| 集安市| 郴州市| 延庆县| 中牟县| 黄冈市| 射洪县| 福贡县| 茶陵县| 敖汉旗| 襄汾县| 宜阳县| 海口市| 天等县| 开封县| 金寨县| 辽宁省| 静海县| 安西县| 云南省| 利川市| 宁津县| 平泉县| 卢龙县| 龙岩市| 黄大仙区| 南宁市| 平定县| 双辽市| 淄博市| 景宁| 河津市| 甘孜| 江孜县| 临朐县| 德钦县| 山阳县| 德格县| 昔阳县|