Remove custom updateState() if it's just setting summary

Change-Id: I6311d67d6ba11961a6814b91dcd8e37a2e17df40
Fixes: 73950519
Test: rerun robotests
This commit is contained in:
Fan Zhang
2018-02-27 17:12:26 -08:00
parent 14fa2df9f4
commit 04f1423bfa
19 changed files with 37 additions and 102 deletions

View File

@@ -51,6 +51,7 @@ public class HeaderPreferenceController extends NotificationPreferenceController
return mAppRow != null;
}
@Override
public void updateState(Preference preference) {
if (mAppRow != null && mFragment != null) {
LayoutPreference pref = (LayoutPreference) preference;