Loading services/surfaceflinger/DisplayDevice.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -265,7 +265,8 @@ void DisplayDevice::dump(std::string& result) const { StringAppendF(&result, "+ %s\n", getDebugName().c_str()); StringAppendF(&result, " powerMode=%s (%d)\n", to_string(mPowerMode).c_str(), static_cast<int32_t>(mPowerMode)); StringAppendF(&result, " activeMode=%s\n", to_string(*getActiveMode()).c_str()); StringAppendF(&result, " activeMode=%s\n", mSupportedModes.size() ? to_string(*getActiveMode()).c_str() : "none"); result.append(" supportedModes=\n"); Loading Loading
services/surfaceflinger/DisplayDevice.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -265,7 +265,8 @@ void DisplayDevice::dump(std::string& result) const { StringAppendF(&result, "+ %s\n", getDebugName().c_str()); StringAppendF(&result, " powerMode=%s (%d)\n", to_string(mPowerMode).c_str(), static_cast<int32_t>(mPowerMode)); StringAppendF(&result, " activeMode=%s\n", to_string(*getActiveMode()).c_str()); StringAppendF(&result, " activeMode=%s\n", mSupportedModes.size() ? to_string(*getActiveMode()).c_str() : "none"); result.append(" supportedModes=\n"); Loading