This commit is contained in:
M66B
2021-12-26 20:39:58 +01:00
parent a6a2c07d6f
commit 332e0d7c9b
3 changed files with 24 additions and 10 deletions

View File

@@ -44,11 +44,7 @@ public class FragmentDialogBase extends DialogFragment {
private int targetRequestCode;
public String getRequestKey() {
String we = toString();
int pa = we.indexOf('(');
int sp = we.indexOf(' ', pa);
String who = we.substring(pa + 1, sp);
return getClass().getName() + ":result:" + who;
return Helper.getRequestKey(this);
}
@Override