Skip to content

Commit 91ecc5a

Browse files
committed
Change getSDKInt return type from Int to Long to match generated go
Signed-off-by: Pawloland <59684145+Pawloland@users.noreply.github.com>
1 parent cd3ba18 commit 91ecc5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • android/src/main/java/com/tailscale/ipn

android/src/main/java/com/tailscale/ipn/App.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ class App : UninitializedApp(), libtailscale.AppContext, ViewModelStoreOwner {
300300

301301
override fun getOSVersion(): String = Build.VERSION.RELEASE
302302

303-
override fun getSDKInt(): Int = Build.VERSION.SDK_INT
303+
override fun getSDKInt(): Long = Build.VERSION.SDK_INT.toLong()
304304

305305
override fun isChromeOS(): Boolean {
306306
return packageManager.hasSystemFeature("android.hardware.type.pc")

0 commit comments

Comments
 (0)