Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b2529d1 authored by tmfang's avatar tmfang Committed by Tsung-Mao Fang
Browse files

Clean up LayoutPreference

- There is no any custom preference uses R.id.all_details,
  so clean up some code.

Test: robotest
Bug: 120005054
Change-Id: Ib40483934cd6d6c0bbaa2864d40dbf09483d98aa
parent dbbbd7a8
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -82,10 +82,6 @@ public class LayoutPreference extends Preference {

    private void setView(View view) {
        setLayoutResource(R.layout.layout_preference_frame);
        final ViewGroup allDetails = view.findViewById(R.id.all_details);
        if (allDetails != null) {
            Utils.forceCustomPadding(allDetails, true /* additive padding */);
        }
        mRootView = view;
        setShouldDisableView(false);
    }