Merge "Use ro.boot.qemu to check if the device is an emulator"
This commit is contained in:
@@ -138,7 +138,7 @@ public class Build {
|
||||
*/
|
||||
@UnsupportedAppUsage
|
||||
@TestApi
|
||||
public static final boolean IS_EMULATOR = getString("ro.kernel.qemu").equals("1");
|
||||
public static final boolean IS_EMULATOR = getString("ro.boot.qemu").equals("1");
|
||||
|
||||
/**
|
||||
* A hardware serial number, if available. Alphanumeric only, case-insensitive.
|
||||
|
||||
Reference in New Issue
Block a user