Skip to content

Commit 4830e1f

Browse files
committed
chore: update comment
1 parent 4d02537 commit 4830e1f

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

app/src/main/kotlin/li/songe/gkd/shizuku/AppOpsService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class SafeAppOpsService(
1818
SafeAppOpsService(IAppOpsService.Stub.asInterface(it))
1919
}
2020

21-
// https://diff.songe.li/?ref=AppOpsManager.OP_CREATE_ACCESSIBILITY_OVERLAY
21+
// https://diff.songe.li/i/AppOpsManager.OP_CREATE_ACCESSIBILITY_OVERLAY
2222
private val a11yOverlayOk by lazy {
2323
AndroidTarget.UPSIDE_DOWN_CAKE && try {
2424
AppOpsManager::class.java.getField("OP_CREATE_ACCESSIBILITY_OVERLAY")

app/src/main/kotlin/li/songe/gkd/shizuku/ProxyUiAutomationConnection.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import li.songe.gkd.util.AndroidTarget
1717
import rikka.shizuku.Shizuku
1818

1919

20-
// https://diff.songe.li/?ref=UiAutomationConnection
20+
// https://diff.songe.li/i/UiAutomationConnection
2121
class ProxyUiAutomationConnection : IUiAutomationConnection.Stub() {
2222
companion object {
2323
private const val INITIAL_FROZEN_ROTATION_UNSPECIFIED = -1
@@ -79,7 +79,7 @@ class ProxyUiAutomationConnection : IUiAutomationConnection.Stub() {
7979
}
8080
}
8181

82-
// https://diff.songe.li/?ref=UiAutomationConnection.takeScreenshot
82+
// https://diff.songe.li/i/UiAutomationConnection.takeScreenshot
8383
override fun takeScreenshot(width: Int, height: Int): Bitmap? {
8484
synchronized(mLock) {
8585
throwIfCalledByNotTrustedUidLocked()

hidden_api/src/main/java/android/app/AppOpsManagerHidden.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class AppOpsManagerHidden {
2424
@RequiresApi(Build.VERSION_CODES.Q)
2525
public static String OPSTR_ACCESS_ACCESSIBILITY;
2626

27-
// https://diff.songe.li/?ref=AppOpsManager.OP_CREATE_ACCESSIBILITY_OVERLAY
27+
// https://diff.songe.li/i/AppOpsManager.OP_CREATE_ACCESSIBILITY_OVERLAY
2828
@RequiresApi(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
2929
public static int OP_CREATE_ACCESSIBILITY_OVERLAY;
3030

hidden_api/src/main/java/android/app/ITaskStackListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static ITaskStackListener asInterface(IBinder obj) {
1616
// 应用->桌面不会回调,分屏下切换窗口不会回调,但从最近任务界面移除窗口会回调
1717
void onTaskStackChanged();
1818

19-
// https://diff.songe.li/?ref=ITaskStackListener.onTaskMovedToFront
19+
// https://diff.songe.li/i/ITaskStackListener.onTaskMovedToFront
2020
// android8 - android9
2121
void onTaskMovedToFront(int taskId);
2222

hidden_api/src/main/java/android/app/IUiAutomationConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static IUiAutomationConnection asInterface(IBinder obj) {
2727

2828
void shutdown();
2929

30-
// https://diff.songe.li/?ref=IUiAutomationConnection.takeScreenshot
30+
// https://diff.songe.li/i/IUiAutomationConnection.takeScreenshot
3131
@DeprecatedSinceApi(api = Build.VERSION_CODES.P)
3232
Bitmap takeScreenshot(int width, int height);
3333

hidden_api/src/main/java/android/view/IWindowManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ public static IWindowManager asInterface(IBinder obj) {
2323

2424
int getDefaultDisplayRotation();
2525

26-
// https://diff.songe.li/?ref=IWindowManager.freezeRotation
26+
// https://diff.songe.li/i/IWindowManager.freezeRotation
2727
@DeprecatedSinceApi(api = Build.VERSION_CODES.VANILLA_ICE_CREAM)
2828
void freezeRotation(int rotation);
2929

3030
@RequiresApi(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
3131
void freezeRotation(int rotation, String caller);
3232

33-
// https://diff.songe.li/?ref=IWindowManager.thawRotation
33+
// https://diff.songe.li/i/IWindowManager.thawRotation
3434
@DeprecatedSinceApi(api = Build.VERSION_CODES.VANILLA_ICE_CREAM)
3535
void thawRotation();
3636

3737
@RequiresApi(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
3838
void thawRotation(String caller);
3939

40-
// https://diff.songe.li/?ref=IWindowManager.captureDisplay
40+
// https://diff.songe.li/i/IWindowManager.captureDisplay
4141
@RequiresApi(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
4242
void captureDisplay(int displayId, ScreenCapture.CaptureArgs captureArgs, ScreenCapture.ScreenCaptureListener listener);
4343

0 commit comments

Comments
 (0)