Merge "Pass the package name from the intent to the picker fragment" into main
This commit is contained in:
@@ -54,7 +54,12 @@ public class CredentialsPickerActivity extends SettingsActivity {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
injectFragmentIntoIntent(this, getIntent());
|
final String packageName = getCallingPackage();
|
||||||
|
final Intent intent = getIntent();
|
||||||
|
|
||||||
|
intent.putExtra(DefaultCombinedPicker.EXTRA_PACKAGE_NAME, packageName);
|
||||||
|
injectFragmentIntoIntent(this, intent);
|
||||||
|
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user