Go to file
Todd Kennedy c890a4e4a2 Display dialog if unsaved settings would be lost
When navigating away from a preferences screen and unsaved settings would be
lost, display a confirmation dialog. The user can either accept or cancel the
action. If canceling, the user is returned to the settings screen they were
currently on. Otherwise, they are taken to a new fragment (the exact
destination depends upon whether the user navigated "back" or selected another
header)

There is one additional change that needs to be made. In the case of navigating
to another header, we are notified _after_ the new header is selected. In this
scenario, the action is not cancelable and the user will lose any changes. We
must display an appropriate message when this happens. [note: this is the same
behaviour as when the user selects a breadcrumb]

bug 3327737

Change-Id: I4bd3b393a6323f3e63510e3ed08e4e1e745b04c4
2011-01-14 16:09:09 -08:00
assets Remove empty.html, which isn't used any more. 2010-12-22 11:59:31 -08:00
docs auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
images auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
res Update large screen translations. 2011-01-14 11:02:00 -08:00
src Display dialog if unsaved settings would be lost 2011-01-14 16:09:09 -08:00
tests Don't show trashed messages in Starred mailbox 2011-01-13 15:41:22 -08:00
.classpath
.project
Android.mk am b95db75b: am b38a043e: Fix proguard flag file dependency. 2010-09-30 11:28:00 -07:00
AndroidManifest.xml Pixel perfect Email widget 2010-12-20 11:55:01 -08:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:00 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
proguard.flags Implement screen transition animation. 2010-11-23 10:17:54 -08:00
remove-exchange-support.sh Remove exchange readme and update script 2010-02-04 13:09:34 -08:00