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

Commit 6fa3660a authored by Stephen Bird's avatar Stephen Bird
Browse files

Profile Spinner: Bring back applications interface

This change should have been part of aadc070a
This code block was incompletely cherry-picked into this branch.

Fixes BYOD Managed Provisioning test

Change-Id: I5130f400ee413743861823c1b36437566ac550a9
Ticket: QRDL-1037
parent a65f0ada
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -976,6 +976,14 @@ public class ManageApplications extends Fragment implements
        mContentContainer = container;
        mRootView = rootView;

        mPinnedHeader = (ViewGroup) mRootView.findViewById(R.id.pinned_header);
        if (mProfileSpinnerAdapter != null) {
            mSpinner = (Spinner) inflater.inflate(R.layout.spinner_view, null);
            mSpinner.setAdapter(mProfileSpinnerAdapter);
            mSpinner.setOnItemSelectedListener(this);
            mPinnedHeader.addView(mSpinner);
            mPinnedHeader.setVisibility(View.VISIBLE);
        }
        mSearchView = (LinearLayout) rootView.findViewById(R.id.search);
        mTextView = (EditText) rootView.findViewById(R.id.search_prefix);
        mSearchTitle = (TextView) rootView.findViewById(R.id.search_title);