Local Repo webserver turns itself off if it was automatically started
authorHans-Christoph Steiner <hans@eds.org>
Thu, 8 May 2014 03:51:53 +0000 (23:51 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 8 May 2014 04:58:42 +0000 (00:58 -0400)
commit107eab5eaccc3e01d208581856cfe42d6d526121
treefdfd2b77075d9136a9433de62e4688bc6833aa3f
parent16399b760be576b5b73049b04bfcf9567d1c091e
Local Repo webserver turns itself off if it was automatically started

When you visit LocalRepoActivity, the swapping webserver is automatically
turned on, since it is required for any swapping to happen.  When it was
automatically turned on, it will automatically turn itself off after 15
minutes to make sure that it doesn't stay running forever.  If the user
manually turns it off, that cancels the automatic stop.
src/org/fdroid/fdroid/localrepo/LocalRepoService.java
src/org/fdroid/fdroid/views/LocalRepoActivity.java