@Override public void goBackToParentActivity(Class<? extends Activity> parentActivity, Entry... entries) { Entry[] newEntries = new Entry[entries.length + 2]; System.arraycopy(entries, 0, newEntries, 0, entries.length); newEntries[entries.length] = new Entry(TYPE_EXTRA, getViewTheme()); newEntries[entries.length + 1] = new Entry("caregiver", mCaregiverId); super.goBackToParentActivity(parentActivity, newEntries); }
@Override protected void openChildActivity(Class<? extends Activity> activity, Entry... entries) { Entry[] newEntries = new Entry[entries.length + 2]; System.arraycopy(entries, 0, newEntries, 0, entries.length); newEntries[entries.length] = new Entry(TYPE_EXTRA, getViewTheme()); newEntries[entries.length + 1] = new Entry("caregiver", mCaregiverId); super.openChildActivity(activity, newEntries); }