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
Signed-off-by: Roman Kiryanov <rkir@google.com>
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h
index df9006e..5e2af7b 100644
--- a/services/surfaceflinger/SurfaceFlinger.h
+++ b/services/surfaceflinger/SurfaceFlinger.h
@@ -1285,8 +1285,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;