Skip to content

Commit fb80306

Browse files
committed
refactor: move desktop source and AIDL to WheelPlay namespace
1 parent 4f0765a commit fb80306

30 files changed

Lines changed: 41 additions & 39 deletions

common/src/main/aidl/com/shilapi/xcertplay/projection/desktop/DesktopHandshakeResult.aidl renamed to common/src/main/aidl/moe/feng/wheelplay/projection/desktop/DesktopHandshakeResult.aidl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package com.shilapi.xcertplay.projection.desktop;
2-
import com.shilapi.xcertplay.projection.desktop.DesktopStatus;
3-
import com.shilapi.xcertplay.projection.desktop.DesktopServiceInfo;
1+
package moe.feng.wheelplay.projection.desktop;
2+
import moe.feng.wheelplay.projection.desktop.DesktopStatus;
3+
import moe.feng.wheelplay.projection.desktop.DesktopServiceInfo;
44

55
@JavaDerive(equals=true, toString=true)
66
parcelable DesktopHandshakeResult {

common/src/main/aidl/com/shilapi/xcertplay/projection/desktop/DesktopServiceInfo.aidl renamed to common/src/main/aidl/moe/feng/wheelplay/projection/desktop/DesktopServiceInfo.aidl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.shilapi.xcertplay.projection.desktop;
1+
package moe.feng.wheelplay.projection.desktop;
22
/** Accepted protocol operations and request limits, not a device compatibility guarantee. */
33
@JavaDerive(equals=true, toString=true)
44
parcelable DesktopServiceInfo {

common/src/main/aidl/com/shilapi/xcertplay/projection/desktop/DesktopStartResult.aidl renamed to common/src/main/aidl/moe/feng/wheelplay/projection/desktop/DesktopStartResult.aidl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
package com.shilapi.xcertplay.projection.desktop;
2-
import com.shilapi.xcertplay.projection.desktop.DesktopStatus;
1+
package moe.feng.wheelplay.projection.desktop;
2+
import moe.feng.wheelplay.projection.desktop.DesktopStatus;
33

44
@JavaDerive(equals=true, toString=true)
55
parcelable DesktopStartResult {

common/src/main/aidl/com/shilapi/xcertplay/projection/desktop/DesktopStatus.aidl renamed to common/src/main/aidl/moe/feng/wheelplay/projection/desktop/DesktopStatus.aidl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
package com.shilapi.xcertplay.projection.desktop;
1+
package moe.feng.wheelplay.projection.desktop;
22
// Custom Parcelable: fields and wire format are implemented in the matching Kotlin class.
33
parcelable DesktopStatus;

common/src/main/aidl/com/shilapi/xcertplay/projection/desktop/DesktopTouchFrame.aidl renamed to common/src/main/aidl/moe/feng/wheelplay/projection/desktop/DesktopTouchFrame.aidl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
package com.shilapi.xcertplay.projection.desktop;
1+
package moe.feng.wheelplay.projection.desktop;
22
// Custom Parcelable: fields and wire format are implemented in the matching Kotlin class.
33
parcelable DesktopTouchFrame;

common/src/main/aidl/com/shilapi/xcertplay/projection/desktop/IDesktopService.aidl renamed to common/src/main/aidl/moe/feng/wheelplay/projection/desktop/IDesktopService.aidl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package com.shilapi.xcertplay.projection.desktop;
1+
package moe.feng.wheelplay.projection.desktop;
22
import android.view.Surface;
33
import android.os.IBinder;
4-
import com.shilapi.xcertplay.projection.desktop.DesktopHandshakeResult;
5-
import com.shilapi.xcertplay.projection.desktop.DesktopStartResult;
6-
import com.shilapi.xcertplay.projection.desktop.DesktopStatus;
7-
import com.shilapi.xcertplay.projection.desktop.DesktopTouchFrame;
4+
import moe.feng.wheelplay.projection.desktop.DesktopHandshakeResult;
5+
import moe.feng.wheelplay.projection.desktop.DesktopStartResult;
6+
import moe.feng.wheelplay.projection.desktop.DesktopStatus;
7+
import moe.feng.wheelplay.projection.desktop.DesktopTouchFrame;
88

99
/** Version 5. One handshake and one immutable display per helper; session calls require the host UID.
1010
* Control results carry DesktopStatus: zero for success, stable DesktopErrorCode plus diagnostics on failure.

‎common/src/main/java/com/shilapi/xcertplay/DiPlayActivity.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import com.shilapi.xcertplay.projection.ProjectionSession
1111
import moe.feng.wheelplay.plugin.ProjectionPlugin
1212
import com.shilapi.xcertplay.projection.registerProjectionSources
1313
import com.shilapi.xcertplay.projection.androidauto.LocalAndroidAuto
14-
import com.shilapi.xcertplay.projection.desktop.*
14+
import moe.feng.wheelplay.projection.desktop.*
1515
import androidx.core.view.isVisible
1616
import com.shilapi.xcertplay.projection.SourceAvailability
1717
import rikka.shizuku.Shizuku

‎common/src/main/java/com/shilapi/xcertplay/projection/ProjectionSessions.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ internal val projectionSessions = ProjectionRuntime()
1212
})
1313
}
1414
projectionSessions.register(IccoaSource(app))
15-
projectionSessions.register(com.shilapi.xcertplay.projection.desktop.AndroidDesktopSource(app))
15+
projectionSessions.register(moe.feng.wheelplay.projection.desktop.AndroidDesktopSource(app))
1616
projectionSessions.register(com.shilapi.xcertplay.projection.vnc.VncSource(app) { width, height ->
1717
BrowserProjectionVideo(app, width, height, VideoIngressKind.FRAMEBUFFER)
1818
})

common/src/main/java/com/shilapi/xcertplay/projection/desktop/AndroidDesktopSource.kt renamed to common/src/main/java/moe/feng/wheelplay/projection/desktop/AndroidDesktopSource.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.shilapi.xcertplay.projection.desktop
1+
package moe.feng.wheelplay.projection.desktop
22

33
import android.content.ComponentName
44
import android.content.Context

common/src/main/java/com/shilapi/xcertplay/projection/desktop/DesktopApps.kt renamed to common/src/main/java/moe/feng/wheelplay/projection/desktop/DesktopApps.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.shilapi.xcertplay.projection.desktop
1+
package moe.feng.wheelplay.projection.desktop
22

33
import android.content.ComponentName
44
import android.content.pm.ActivityInfo

0 commit comments

Comments
 (0)