[guardian-dev] Orbot v14.1.4: The Battle for the Background!

Michael Rogers michael at briarproject.org
Mon Dec 1 05:48:42 EST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Sorry if I'm misunderstanding the issue, but hasn't it always been
possible for a service (even a foreground service) to be killed by the
system without any methods being called?

https://developer.android.com/guide/components/processes-and-threads.html#Lifecycle

Cheers,
Michael

On 01/12/14 08:14, Hans-Christoph Steiner wrote:
> 
> Is there any documentation about onDestroy() no longer being
> called?  That would be a pretty big change.  Maybe something in
> TorService is crashing? Then onDestroy() wouldn't be called.
> 
> .hc
> 
> Nathan of Guardian:
>> I think we've finally gotten all the background service longevity
>> sorted out, especially on Lollipop where it seemed to be much
>> more brutal, in outright killing of the TorService instant, even
>> without calling onDestroy(). Anyhow, now startForeground() is
>> doing what it should be, we aren't binding any more (Just use
>> broadcasts and startService() calls), and Orbot doesn't show up
>> in recent apps anymore, so no more swiping away....
>> 
>> 
>> /** 14.1.4 / 29-Nov-2014 /
>> b7fcbdc4e85071191cc95c3824e7b5a90d36d1e8 **/
>> 
>> * Stop background service being killed 1e0f640 adding
>> dummyactivity to stop task/broadcast from killing foreground
>> service ec9204a clean-up of code to make service more long-lived
>> and stable da4866c update polipo to latest head
>> 
>> * Activity and theme updates 917cfa1 support SDK 16, add custom
>> theme, make Orbot singleTop activity 91f4fa0 cleanup landscape
>> layout ad7d92f clean-up / remove un-used code d5823e3 updates to
>> layout to make it cleaner 2d6c26a show exit node info in log
>> 
>> APK Lollipop: 
>> https://guardianproject.info/releases/Orbot-v14.1.4-LollipopPIE.apk
>>
>> 
(.asc)
>> APK <= KitKat: 
>> https://guardianproject.info/releases/Orbot-v14.1.4-UpToKitKat-nonPIE.apk
>>
>> 
(.asc)
>> 
>> Souirce: 
>> https://gitweb.torproject.org/orbot.git/commit/b34d971193d843f1258904cba55779a58c819d0f
>>
>>
>>
>> 
_______________________________________________
>> Guardian-dev mailing list
>> 
>> Post: Guardian-dev at lists.mayfirst.org List info:
>> https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>> 
>> To Unsubscribe Send email to:
>> Guardian-dev-unsubscribe at lists.mayfirst.org Or visit:
>> https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info
>>
>>
>> 
You are subscribed as: hans at guardianproject.info
>> 
> 
> 
> 
> _______________________________________________ Guardian-dev
> mailing list
> 
> Post: Guardian-dev at lists.mayfirst.org List info:
> https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> 
> To Unsubscribe Send email to:
> Guardian-dev-unsubscribe at lists.mayfirst.org Or visit:
> https://lists.mayfirst.org/mailman/options/guardian-dev/michael%40briarproject.org
>
>  You are subscribed as: michael at briarproject.org
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJUfEeJAAoJEBEET9GfxSfMyFQH/A7UBdpxq78r1yyiaRWa0gJt
++vcD36f/p3LQTysJRkAWEHaWzkre5BjnuiOM1q0QgxJRmJJK5L2wCIcJIVbTd+d
UCW7H6QB9QlXTYdK3MFMkYYfukWMCGwcPH28Het8nACwiv7PP9t4Ol2Fbxui7Eyo
kUcFKuEpA4bc3W52DX/FcINmJw3eF/thzg7zzuDgOq9DIRnjWIDuJRnFAlWOnQcO
NXOfhqokgnDBJjq91a0LnXiK8JUr7hFjd+5ov6Iyca9BpeY/mIvAQnPJ5/grgY1P
X+aeszQafffjQjgR1Iky9aGbV3KPne1zyQAkv464628yGEddOyPxmHol4bN2DqM=
=JgZt
-----END PGP SIGNATURE-----


More information about the Guardian-dev mailing list