add "sdk_gphone64_arm64" to isEmulator detection (#639)

This commit is contained in:
Huston Hedinger 2023-05-31 00:43:54 +03:00 committed by GitHub
parent 271124dc9c
commit 80153f7543
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,5 +20,5 @@ object BuildUtils : Logging {
}
/// Are we running on the emulator?
val isEmulator get() = Build.MODEL == "Android SDK built for x86" || Build.MODEL == "sdk_gphone_x86" || Build.MODEL == "Android SDK built for x86_64"
val isEmulator get() = Build.MODEL == "Android SDK built for x86" || Build.MODEL == "sdk_gphone_x86" || Build.MODEL == "sdk_gphone64_arm64" || Build.MODEL == "Android SDK built for x86_64"
}