@Override
    public void onPostCreate(Bundle savedInstanceState, PersistableBundle persistentState) {
        super.onPostCreate(savedInstanceState, persistentState);
        Log.d(mLogTag, "onPostCreate");
    }
Activity that logs all key lifecycle callbacks to {@link Log}.
Output is also logged to the UI into a {@link LogFragment} through {@link #initializeLogging()}
and {@link #stopLogging()}.
MultiWindowPlayground/Application/src/main/java/com/android/multiwindowplayground/activities/LoggingActivity.java