Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

TextSecure keeps launching its unlock activity, interrupting other applications

Open darrikmazey opened this issue 12 years ago • 12 comments

I posted this to the whispersystems mailing list, and was directed here.

TextSecure keeps arbitrarily (not related to receiving any sms) launching it's unlock activity. This will completely interrupt a running application. Also, sometimes when I unlock my phone, the TextSecure unlock activity is showing, despite not having been active when I locked it.

I captured a debug log immediately after this happened.

http://hastebin.com/qetemaveyi

Of note: I am running TextSecure 2.0.7 on Android 4.4.2 on a Samsung Galaxy Note3 on TMobile.

Hope this helps. If there is anything I can do to help debug this issue further, please feel free to contact me.

Cheers, Darrik

darrikmazey avatar Apr 13 '14 13:04 darrikmazey

A friend of mine has the exact same problem. He has an HTC one s with an 4.2 baked bean ROM. I'll ask with which TS releases he experienced the problem.

generalmanager avatar Apr 13 '14 13:04 generalmanager

@mcginty It looks like the problem is that when users have a passphrase timeout enabled, the prompt activity pops into view even when TextSecure isn't the default app. I suspect your recent RoutingActivity changes are to blame. I've also gotten reports of users getting the passphrase prompt activity when launching via the launcher icon when their passphrase is cached.

moxie0 avatar Apr 13 '14 15:04 moxie0

@moxie0 My friend doesn't have the passphrase timeout activated, but I do have it activated and haven't experienced either randomly opening unlock windows or unlock windows while the passphrase was still cached. I'd have to ask him, if TS is his default app, but for me it is.

generalmanager avatar Apr 13 '14 15:04 generalmanager

I can reproduce the bug using a timeout, so at minimum that's a new regression. I suspect @mcginty will need to undo the recent routing activity changes.

moxie0 avatar Apr 13 '14 15:04 moxie0

Trying to make this happen on my device, failing so far. Unfortunately that hastebin is already gone (ugh, I think we just need to run our own instance), can you try reposting it if you have time? In the mean time i'll keep trying.

mcginty avatar Apr 14 '14 01:04 mcginty

I will repost a debug log first thing in the morning.

darrikmazey avatar Apr 14 '14 02:04 darrikmazey

@mcginty There wasn't really anything in the log (for me) other than the indication that a passphrase timeout was enabled.

moxie0 avatar Apr 14 '14 16:04 moxie0

I have the exact same issue, and so does my wife. She has the Nexus 5, and I have the S4. It happens sporadically, and will even cause other apps to do the same thing (specifically, the USAA banking app). If I can provide any information, let me know.

icyfyer avatar Aug 21 '14 21:08 icyfyer

Closing until we can get a debug log submitted

mcginty avatar Oct 28 '14 01:10 mcginty

This is still happening. See #2239

gabrielbauman avatar Feb 11 '15 23:02 gabrielbauman

Just happened again: https://gist.github.com/anonymous/0cff7221933d2134fc17 (debug log submitted, please reopen)

gabrielbauman avatar Feb 13 '15 21:02 gabrielbauman

https://gist.github.com/anonymous/b5f68da0eff07af6261e

gabrielbauman avatar Feb 14 '15 09:02 gabrielbauman