GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — del su2 · ptr-ptr/linuxKernelRoot@d5e1f8d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • PermissionManager/app/src/main
    • java/com/linux/permissionmanager
      • MainActivity.java
    • res/layout
      • activity_main.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎PermissionManager/app/src/main/java/com/linux/permissionmanager/MainActivity.java‎

Copy file name to clipboardExpand all lines: PermissionManager/app/src/main/java/com/linux/permissionmanager/MainActivity.java
+2-26Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ public void onClick(View v) {
192192
}
193193
});
194194

195-
Button su_env_inject_btn1 = findViewById(R.id.su_env_inject_btn1);
196-
su_env_inject_btn1.setOnClickListener(new View.OnClickListener() {
195+
Button su_env_inject_btn = findViewById(R.id.su_env_inject_btn);
196+
su_env_inject_btn.setOnClickListener(new View.OnClickListener() {
197197
@Override
198198
public void onClick(View v) {
199199
if (!guideOpenUsbDebugSwitch()) {
@@ -216,30 +216,6 @@ public void onClick(View v) {
216216

217217
}
218218
});
219-
Button su_env_inject_btn2 = findViewById(R.id.su_env_inject_btn2);
220-
su_env_inject_btn2.setOnClickListener(new View.OnClickListener() {
221-
@Override
222-
public void onClick(View v) {
223-
if (!guideOpenUsbDebugSwitch()) {
224-
return;
225-
}
226-
//1.获取su工具文件路径
227-
String suToolsFilePath = WirteSuToolsFilePath("su", MainActivity.this);
228-
showConsoleMsg(suToolsFilePath);
229-
230-
//2.安装su工具
231-
String suFolderHeadFlag = "su_ver2";
232-
String insRet = installSuTools(rootKey, suBasePath, suToolsFilePath,suFolderHeadFlag);
233-
showConsoleMsg(insRet);
234-
if(insRet.indexOf("installSuTools done.") == -1) {
235-
return;
236-
}
237-
238-
//3.选择APP进程
239-
showSelectAppWindow(suFolderHeadFlag);
240-
241-
}
242-
});
243219

244220
Button clean_su_btn = findViewById(R.id.clean_su_btn);
245221
clean_su_btn.setOnClickListener(new View.OnClickListener() {
Collapse file

‎PermissionManager/app/src/main/res/layout/activity_main.xml‎

Copy file name to clipboardExpand all lines: PermissionManager/app/src/main/res/layout/activity_main.xml
+2-10Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,18 +110,10 @@
110110

111111
<Button
112112
android:layout_marginTop="5dp"
113-
android:id="@+id/su_env_inject_btn1"
113+
android:id="@+id/su_env_inject_btn"
114114
android:layout_width="wrap_content"
115115
android:layout_height="wrap_content"
116-
android:text="8.授权ROOT到其他APP-[1]"
117-
/>
118-
119-
<Button
120-
android:layout_marginTop="5dp"
121-
android:id="@+id/su_env_inject_btn2"
122-
android:layout_width="wrap_content"
123-
android:layout_height="wrap_content"
124-
android:text="8.授权ROOT到其他APP-[2]"
116+
android:text="8.授权ROOT到其他APP"
125117
/>
126118

127119
<Button

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.