Loading src/com/android/settings/SettingsPreferenceFragment.java +10 −8 Original line number Diff line number Diff line Loading @@ -792,6 +792,7 @@ public abstract class SettingsPreferenceFragment extends InstrumentedFragment super.onBindViewHolder(holder, position); if (position == mHighlightPosition) { View v = holder.itemView; v.post(() -> { if (v.getBackground() != null) { final int centerX = v.getWidth() / 2; final int centerY = v.getHeight() / 2; Loading @@ -800,6 +801,7 @@ public abstract class SettingsPreferenceFragment extends InstrumentedFragment v.setPressed(true); v.setPressed(false); mHighlightPosition = -1; }); } } } Loading Loading
src/com/android/settings/SettingsPreferenceFragment.java +10 −8 Original line number Diff line number Diff line Loading @@ -792,6 +792,7 @@ public abstract class SettingsPreferenceFragment extends InstrumentedFragment super.onBindViewHolder(holder, position); if (position == mHighlightPosition) { View v = holder.itemView; v.post(() -> { if (v.getBackground() != null) { final int centerX = v.getWidth() / 2; final int centerY = v.getHeight() / 2; Loading @@ -800,6 +801,7 @@ public abstract class SettingsPreferenceFragment extends InstrumentedFragment v.setPressed(true); v.setPressed(false); mHighlightPosition = -1; }); } } } Loading