everdefiant / posit-mobile

Automatically exported from code.google.com/p/posit-mobile
GNU Lesser General Public License v2.1
0 stars 0 forks source link

PositX account disappears after phone restart #360

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Restart the phone
2.
3.

What is the expected output? What do you see instead?

PositX account should appear along with other accounts
under Settings > Account& Sync, but it does not.  

This issues only occurs on some phones, which suggests
that it has something to do with the settings on those 
phones.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ram8...@gmail.com on 24 May 2012 at 11:04

GoogleCodeExporter commented 9 years ago
In investigating this issue I noticed the following in the shutdown log:

05-24 06:29:44.654: D/AccountManagerService(103): deleting account 
ram@gmail.com because type org.hfoss.posit.account no longer has a registered 
authenticator

When I googled this issue I found:   
https://groups.google.com/forum/#!msg/android-developers/RqO6NGdgYPY/3K8GDsbNOyo
J

which says:

Because when the SD card is unmounted the apps on it disappear, so things that 
have state associated with those apps will clean it up.  This is why the 
documentation says you should not allow these kinds of apps to be placed on the 
SD card.

So, I guess POSITx is being installed onto Sd card by default on my phone. I 
don't see why that is because the documentation here seems to suggest that 
unless you specify otherwise, the app will be installed internally:

http://android-developers.blogspot.com/2010/07/apps-on-sd-card-details.html

In any case, I'm setting the Manifest so that POSITs is loaded "internalOnly" 
to avoid this issue.

Original comment by ram8...@gmail.com on 24 May 2012 at 11:06