Do not log an error about ro.sf.lcd_density on emulators
The code already has all support, but still
logs an error.
Bug: 258856313
Test: boot emulator, check logcat
Change-Id: I69630586ca234db21ea1fbe0d70bbe21155f0b4d
Merged-In: I69630586ca234db21ea1fbe0d70bbe21155f0b4d
Signed-off-by: Roman Kiryanov <rkir@google.com>
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h
index 46f0e6b..d91aa11 100644
--- a/services/surfaceflinger/SurfaceFlinger.h
+++ b/services/surfaceflinger/SurfaceFlinger.h
@@ -1374,8 +1374,8 @@
sp<TunnelModeEnabledReporter> mTunnelModeEnabledReporter;
ui::DisplayPrimaries mInternalDisplayPrimaries;
- const float mInternalDisplayDensity;
const float mEmulatedDisplayDensity;
+ const float mInternalDisplayDensity;
// Should only be accessed by the main thread.
sp<os::IInputFlinger> mInputFlinger;