Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
briar
briar
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 693
    • Issues 693
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 16
    • Merge Requests 16
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • briar
  • briarbriar
  • Issues
  • #1357

Closed
Open
Opened Aug 01, 2018 by akwizgran@akwizgranOwner

PanicResponder doesn't return when deleting app data

When responding to a panic button intent we call PanicResponder.deleteAllAppData() before signing out. It looks like this method may cause the process to exit, as the log message that should be logged immediately after it returns ("Signing out...") doesn't show up in the log.

When I tried refactoring this call into AccountManager#deleteAccount(), which is called before creating a new account to ensure no remnants of an old account are left behind, it caused the app to exit instead of showing SetupActivity.

We should consider extracting the useful parts of this method into AndroidAccountManager#deleteAccount() instead of calling it.

Test device: Moto G 4G (Android 5.1).

Edited Nov 15, 2018 by akwizgran
Assignee
Assign to
Android 1.1
Milestone
Android 1.1
Assign milestone
Time tracking
None
Due date
None
Reference: briar/briar#1357