Methods Summary |
---|
void | dispatchActivityResult(java.lang.String who, int requestCode, int resultCode, android.content.Intent data)
if (who != null) {
Activity act = mLocalActivityManager.getActivity(who);
/*
if (Config.LOGV) Log.v(
TAG, "Dispatching result: who=" + who + ", reqCode=" + requestCode
+ ", resCode=" + resultCode + ", data=" + data
+ ", rec=" + rec);
*/
if (act != null) {
act.onActivityResult(requestCode, resultCode, data);
return;
}
}
super.dispatchActivityResult(who, requestCode, resultCode, data);
|
public Activity | getCurrentActivity()
return mLocalActivityManager.getCurrentActivity();
|
public final LocalActivityManager | getLocalActivityManager()
return mLocalActivityManager;
|
protected void | onCreate(android.os.Bundle savedInstanceState)
super.onCreate(savedInstanceState);
Bundle states = savedInstanceState != null
? (Bundle) savedInstanceState.getBundle(STATES_KEY) : null;
mLocalActivityManager.dispatchCreate(states);
|
protected void | onDestroy()
super.onDestroy();
mLocalActivityManager.dispatchDestroy(isFinishing());
|
protected void | onPause()
super.onPause();
mLocalActivityManager.dispatchPause(isFinishing());
|
protected void | onResume()
super.onResume();
mLocalActivityManager.dispatchResume();
|
public java.util.HashMap | onRetainNonConfigurationChildInstances()Returns a HashMap mapping from child activity ids to the return values
from calls to their onRetainNonConfigurationInstance methods.
{@hide}
return mLocalActivityManager.dispatchRetainNonConfigurationInstance();
|
protected void | onSaveInstanceState(android.os.Bundle outState)
super.onSaveInstanceState(outState);
Bundle state = mLocalActivityManager.saveInstanceState();
if (state != null) {
outState.putBundle(STATES_KEY, state);
}
|
protected void | onStop()
super.onStop();
mLocalActivityManager.dispatchStop();
|