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

Commit 8c5dfdad authored by Chiao Cheng's avatar Chiao Cheng
Browse files

Replace com.android.internal.R references with android.R.

Replaced private references with android.R.id.empty and android.R.id.list.

Change-Id: I9d3f6e9bb633a65bc0d2d038f364fb4432f53e60
parent 49e611be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ public class AccountFilterActivity extends ContactsActivity
        super.onCreate(icicle);
        setContentView(R.layout.contact_list_filter);

        mListView = (ListView) findViewById(com.android.internal.R.id.list);
        mListView = (ListView) findViewById(android.R.id.list);
        mListView.setOnItemClickListener(this);

        ActionBar actionBar = getActionBar();
+1 −1
Original line number Diff line number Diff line
@@ -744,7 +744,7 @@ public abstract class ContactEntryListFragment<T extends ContactEntryListAdapter
                    "'android.R.id.list'");
        }

        View emptyView = mView.findViewById(com.android.internal.R.id.empty);
        View emptyView = mView.findViewById(android.R.id.empty);
        if (emptyView != null) {
            mListView.setEmptyView(emptyView);
            if (emptyView instanceof ContactListEmptyView) {
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ public class CustomContactListFilterActivity extends ContactsActivity
        super.onCreate(icicle);
        setContentView(R.layout.contact_list_filter_custom);

        mList = (ExpandableListView) findViewById(com.android.internal.R.id.list);
        mList = (ExpandableListView) findViewById(android.R.id.list);
        mList.setOnChildClickListener(this);
        mList.setHeaderDividersEnabled(true);
        mPrefs = PreferenceManager.getDefaultSharedPreferences(this);