use of android.media.browse.MediaBrowser in project platform_frameworks_base by android.
the class BrowserListFragment method onActivityCreated.
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
Log.d(TAG, "onActivityCreated -- " + hashCode());
mAdapter = new Adapter();
setListAdapter(mAdapter);
// Get our arguments
final Bundle args = getArguments();
mComponent = args.getParcelable(ARG_COMPONENT);
mNodeId = args.getString(ARG_ID);
// A hint about who we are, so the service can customize the results if it wants to.
final Bundle rootHints = new Bundle();
rootHints.putBoolean(HINT_DISPLAY, true);
mBrowser = new MediaBrowser(getActivity(), mComponent, mConnectionCallbacks, rootHints);
}
use of android.media.browse.MediaBrowser in project android_frameworks_base by crdroidandroid.
the class BrowserListFragment method onActivityCreated.
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
Log.d(TAG, "onActivityCreated -- " + hashCode());
mAdapter = new Adapter();
setListAdapter(mAdapter);
// Get our arguments
final Bundle args = getArguments();
mComponent = args.getParcelable(ARG_COMPONENT);
mNodeId = args.getString(ARG_ID);
// A hint about who we are, so the service can customize the results if it wants to.
final Bundle rootHints = new Bundle();
rootHints.putBoolean(HINT_DISPLAY, true);
mBrowser = new MediaBrowser(getActivity(), mComponent, mConnectionCallbacks, rootHints);
}
use of android.media.browse.MediaBrowser in project android_frameworks_base by DirtyUnicorns.
the class BrowserListFragment method onActivityCreated.
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
Log.d(TAG, "onActivityCreated -- " + hashCode());
mAdapter = new Adapter();
setListAdapter(mAdapter);
// Get our arguments
final Bundle args = getArguments();
mComponent = args.getParcelable(ARG_COMPONENT);
mNodeId = args.getString(ARG_ID);
// A hint about who we are, so the service can customize the results if it wants to.
final Bundle rootHints = new Bundle();
rootHints.putBoolean(HINT_DISPLAY, true);
mBrowser = new MediaBrowser(getActivity(), mComponent, mConnectionCallbacks, rootHints);
}
use of android.media.browse.MediaBrowser in project android_frameworks_base by ResurrectionRemix.
the class BrowserListFragment method onActivityCreated.
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
Log.d(TAG, "onActivityCreated -- " + hashCode());
mAdapter = new Adapter();
setListAdapter(mAdapter);
// Get our arguments
final Bundle args = getArguments();
mComponent = args.getParcelable(ARG_COMPONENT);
mNodeId = args.getString(ARG_ID);
// A hint about who we are, so the service can customize the results if it wants to.
final Bundle rootHints = new Bundle();
rootHints.putBoolean(HINT_DISPLAY, true);
mBrowser = new MediaBrowser(getActivity(), mComponent, mConnectionCallbacks, rootHints);
}
Aggregations