mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 20:06:29 +01:00
Who?
This commit is contained in:
@@ -218,7 +218,11 @@ public class FragmentBase extends Fragment {
|
||||
}
|
||||
|
||||
public String getRequestKey() {
|
||||
return getClass().getName() + ":result";
|
||||
String we = toString();
|
||||
int pa = we.indexOf('(');
|
||||
int sp = we.indexOf(' ', pa);
|
||||
String who = we.substring(pa + 1, sp);
|
||||
return getClass().getName() + ":result:" + who;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -44,7 +44,11 @@ public class FragmentDialogBase extends DialogFragment {
|
||||
private int targetRequestCode;
|
||||
|
||||
public String getRequestKey() {
|
||||
return getClass().getName() + ":result";
|
||||
String we = toString();
|
||||
int pa = we.indexOf('(');
|
||||
int sp = we.indexOf(' ', pa);
|
||||
String who = we.substring(pa + 1, sp);
|
||||
return getClass().getName() + ":result:" + who;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user