OSDN Git Service

Fix FCs happening when users press back while the binary updater is running
authorAdam Shanks <chainsdd@gmail.com>
Mon, 10 Oct 2011 08:30:38 +0000 (09:30 +0100)
committerAdam Shanks <chainsdd@gmail.com>
Mon, 10 Oct 2011 08:30:38 +0000 (09:30 +0100)
commitd1912bc7e5e3bb66f8b65e4602b0c44730b81942
tree48769867c4c407fa4fd2c85c01e803eab893dc5a
parent0b086698d6aff85f141634e4ca761772bffcbddb
Fix FCs happening when users press back while the binary updater is running

There are two different kinds of canceling happening here, if back is
pressed while a file is being downloaded, the updater stops
immediately. If the user presses back once the updater reaches the
"critical phase", when the filesystem operations are actually
happening, the updater will finish if possible, just behind the scenes.
src/com/noshufou/android/su/UpdaterFragment.java