summaryrefslogtreecommitdiffstats
path: root/NOTICE
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2012-10-23 14:27:49 -0700
committerCraig Mautner <cmautner@google.com>2012-10-23 15:34:29 -0700
commit6018aeec27914f138f36b00d8f00136a87562fd3 (patch)
tree0c8b276da84779587815f20d5ccd2b6a5c78c27e /NOTICE
parent04c8d402fa824c548dc5de82c56e63eb5df02371 (diff)
downloadframeworks_base-6018aeec27914f138f36b00d8f00136a87562fd3.zip
frameworks_base-6018aeec27914f138f36b00d8f00136a87562fd3.tar.gz
frameworks_base-6018aeec27914f138f36b00d8f00136a87562fd3.tar.bz2
Add throwing InvalidDisplayException from addView.
Throw an InvalidDisplayException to addView if the display being added to has been removed. Handle this exception in Dialog.show() by removing the view after it has been added and rethrow the exception from there. Add javadoc to ViewManager.addView and Presentation.show explaining the new exception and how best to handle it. Bug: 7368565 partially fixed. It remains for the Videos app to handle Presentation.show throwing the InvalidDisplayException. Change-Id: Ib4303c9b3f7bf7a0cfa95d19bd60a0c128658c48
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions