forcedotcom/SalesforceMobileSDK-Android — pull request #616 by bhariharan (2014-08-14 23:51:03+00:00)
Title: Disallowing removal of accounts from the Settings app

Removal of accounts from the Settings app is currently kinda broken with multiple accounts, since we don't know which account is being yanked out from under us. Hence, we can't clean up the correct DBs, shared prefs, and switch to another user if necessary. Also, since the app is backgrounded at this point, the flow becomes even more complicated. The simplest solution is to disallow removal of accounts from the Settings app, forcing the user to log out through the app.