diff options
author | Mattias Petersson <mattias.petersson@sonyericsson.com> | 2011-05-31 16:14:59 +0200 |
---|---|---|
committer | Johan Redestig <johan.redestig@sonymobile.com> | 2012-06-11 10:18:09 +0200 |
commit | 8b4b63403a06e07dfc595aca45c778023bfec79b (patch) | |
tree | 47ce2cd24878bf7898741089a6967d3ce86b08fe /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0748a5698776d1a9693a5449ffc983af26cc533b (diff) |
Avoid memory leak in the Shutdown confirmation dialog.
How to reproduce:
1) Lock the screen.
2) Open the Phone options menu by long pressing the power
button.
3) Tap "Power off" to display the confirmation dialog.
4) Repeat step 2 and 3 a few times (without closing the
confirmation dialog.
Each time the confirmation dialog is displayed, a new
instance is created. A stack of confirmation dialogs are
created on the screen.
This is fixed by making sure the previous dialog is
dismissed before launching a new dialog.
Change-Id: I6b6c61ccc56364b66eed3528019f761e75bbe268
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions