hidl: livedisplay: Restore default display mode in DisplayModes constructor

Change-Id: I5a6303f7f67a8b6d35663d2d86346d585f367cd3
tirimbino
LuK1337 6 years ago committed by Jan Altensen
parent f419e0c1e9
commit e8fffdb5a9
  1. 2
      lineagehw/hidl/livedisplay/DisplayModes.cpp

@ -56,6 +56,8 @@ DisplayModes::DisplayModes() : mDefaultModeId(0) {
break;
}
}
setDisplayMode(mDefaultModeId, false);
}
bool DisplayModes::isSupported() {

Loading…
Cancel
Save