Obsolete
Status Update
Comments
vi...@google.com <vi...@google.com> #2
I see same issue and have been debugging it.
NOTE: It DOES NOT happen if not using support package, but use android level 14/15 library. I believe Honeycomb works well too.
My current workaround is to provide my own DialogFragment.show() method, like below:
public int show(FragmentTransaction transaction, String tag) {
return show(transaction, tag, false);
}
public int show(FragmentTransaction transaction, String tag, boolean allowStateLoss) {
transaction.add(this, tag);
mRemoved = false;
mBackStackId = allowStateLoss ? transaction.commitAllowingStateLoss() : transaction.commit();
return mBackStackId;
}
NOTE: It DOES NOT happen if not using support package, but use android level 14/15 library. I believe Honeycomb works well too.
My current workaround is to provide my own DialogFragment.show() method, like below:
public int show(FragmentTransaction transaction, String tag) {
return show(transaction, tag, false);
}
public int show(FragmentTransaction transaction, String tag, boolean allowStateLoss) {
transaction.add(this, tag);
mRemoved = false;
mBackStackId = allowStateLoss ? transaction.commitAllowingStateLoss() : transaction.commit();
return mBackStackId;
}
ry...@gmail.com <ry...@gmail.com> #3
[Comment deleted]
ry...@gmail.com <ry...@gmail.com> #4
Comment has been deleted.
ry...@gmail.com <ry...@gmail.com> #5
Comment has been deleted.
ry...@gmail.com <ry...@gmail.com> #7
Comment has been deleted.
ry...@gmail.com <ry...@gmail.com> #8
Adding a "super.onActivityResult(requestCode, resultCode, data)" call at the beginning of the method seems to fix the problem. I'm surprised than almost nobody came up with such a simple solution.
ba...@gmail.com <ba...@gmail.com> #9
Dear alockw...@google.com,
Let's say we have an application where we need to select a picture from gallery, and then when we come back to onActivityResult(), we need to show a DialogFragment asking the user if he really wants to send the file.
How do you propose we can implement this with the current API?
Thank you,
Sabin
Let's say we have an application where we need to select a picture from gallery, and then when we come back to onActivityResult(), we need to show a DialogFragment asking the user if he really wants to send the file.
How do you propose we can implement this with the current API?
Thank you,
Sabin
Description
User experience
What type of Android issue is this?
Display or Rendering
What steps would let us observe this issue?
Install 3rd party launcher
Use gesture to get back to home screen
Swipe up to go home
What did you expect to happen?
System animations working for a return to home or closing up now that the fix is cooked in - it should work without glitches now
What actually happened?
The display flickers
What was the effect of this issue on your device usage, such as lost time or work?
Annoying and irritating
Additional comments
I mean come on ... we waited years for this fix and now it's a mess again! I'm so fed up but iPhone sucks even more.
When
Time and frequency
When did this happen?
Mar 05, 2025 1:23 PM GMT-07:00
How often has this happened?
Every time
Build and device data
caiman-ota-bp1a.250305.020-d387782c
Network operator: D1
SIM operator: klarmobil DE