Opened 6 years ago

Last modified 12 days ago

#4385 needs_review defect

Wizard comes up when you try to exit orbot

Reported by: gsathya Owned by: n8fr8
Priority: Medium Milestone:
Component: Applications/Orbot Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The wizard doesn't kill itself due to android's weird handling of activities, so we manually have to kill it once the user clicks on "Options -> Exit".

Child Tickets

Change History (2)

comment:1 Changed 6 years ago by gsathya

Status: newneeds_review

Orbot.java's doExit() returns a RESULT_CLOSE_ALL to the wizard activities. The onActivityResult() is over rided in the wizard activities to kill all the activities if the result is RESULT_CLOSE_ALL

Fix - https://gitweb.torproject.org/user/gsathya/orbot.git/commitdiff/4574c95b555e56aa5b60a11ca5937d66d42baf18

The above commit fixes this bug, but it doesn't call the finish() in doExit()[in Orbot.java] for some reason. So, the user has to click on "Options -> Exit" twice to actually kill the app. I'm not really sure why that's happening.

comment:2 Changed 12 days ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

Note: See TracTickets for help on using tickets.