Make "Unmap Super Devices" option available to A-only devices
Change-Id: Ib3aed724b2e98f66387bdca240b0b4f719054594 (cherry picked from commit 2136fc5b91963fc21e782614ce6cfd55ca065eb9)
This commit is contained in:
5
data.cpp
5
data.cpp
@@ -818,11 +818,10 @@ void DataManager::SetDefaultValues()
|
||||
mData.SetValue("tw_sleep", "5");
|
||||
mData.SetValue("tw_enable_fastboot", "0");
|
||||
|
||||
|
||||
if (android::base::GetBoolProperty("ro.virtual_ab.enabled", false))
|
||||
mConst.SetValue("tw_virtual_ab.enabled", "1");
|
||||
mConst.SetValue(TW_VIRTUAL_AB_ENABLED, "1");
|
||||
else
|
||||
mConst.SetValue("tw_virtual_ab.enabled", "0");
|
||||
mConst.SetValue(TW_VIRTUAL_AB_ENABLED, "0");
|
||||
// Brightness handling
|
||||
string findbright;
|
||||
#ifdef TW_BRIGHTNESS_PATH
|
||||
|
||||
Reference in New Issue
Block a user