Merge AOSP android-9.0.0_r3
Fix conflicts and make it build in 5.1, 6.0, 7.1, 8.1, and 9.0 Change-Id: Ida0a64c29ff27d339b7f42a18d820930964ac6e4
This commit is contained in:
+5
-4
@@ -82,10 +82,11 @@ GUICheckbox::GUICheckbox(xml_node<>* node)
|
||||
DataManager::SetValue(mVarName, attr->value());
|
||||
}
|
||||
|
||||
mCheckW = mChecked->GetWidth();
|
||||
mCheckH = mChecked->GetHeight();
|
||||
if (mCheckW == 0)
|
||||
{
|
||||
mCheckW = mCheckH = 0;
|
||||
if (mChecked && mChecked->GetResource()) {
|
||||
mCheckW = mChecked->GetWidth();
|
||||
mCheckH = mChecked->GetHeight();
|
||||
} else if (mUnchecked && mUnchecked->GetResource()) {
|
||||
mCheckW = mUnchecked->GetWidth();
|
||||
mCheckH = mUnchecked->GetHeight();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user