diff options
author | Roman Kiryanov <rkir@google.com> | 2021-03-10 16:57:41 -0800 |
---|---|---|
committer | Roman Kiryanov <rkir@google.com> | 2021-03-10 23:41:31 -0800 |
commit | d6a9f425660127bd5a57f1f2e6e4b729dff11b72 (patch) | |
tree | c21c3d51279b13ed0445f13902f07d4d3159bd8e /libs/hwui/Properties.h | |
parent | 2f85c69c74113009ab3bacebb79be2223706b4ea (diff) |
Use `ro.boot.qemu` to check if the device is an emulator
`ro.kernel.qemu` is deprecated.
Bug: 182291166
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Id42d79af90b1fe7e182a96c53c84248e81a7c259
Diffstat (limited to 'libs/hwui/Properties.h')
-rw-r--r-- | libs/hwui/Properties.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h index d3ecb54d94f6..6ea208e933f2 100644 --- a/libs/hwui/Properties.h +++ b/libs/hwui/Properties.h @@ -160,7 +160,7 @@ enum DebugLevel { /** * Property for whether this is running in the emulator. */ -#define PROPERTY_QEMU_KERNEL "ro.kernel.qemu" +#define PROPERTY_IS_EMULATOR "ro.boot.qemu" #define PROPERTY_RENDERAHEAD "debug.hwui.render_ahead" |