arn-c0de/Geograbber

🐛 Issue: Crash when activating external .db if confirmed too quickly

开放

#24 创建于 2025年11月3日

 (0 条评论) (0 个反应) (0 位负责人)Java (3 个派生)auto 404
area: databasebughelp wantedjavamediumneeds reviewperformance

仓库指标

星标
 (30 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

When importing an external .db file and clicking “Yes, Activate” immediately in the Set External Database as Active window, the app throws an error and the import crashes.

Reproduction

  1. Open Import External Database.
  2. Select a .db file.
  3. As soon as the Set External Database as Active dialog appears, click “Yes, Activate” quickly, before the Android biometric key prompts appear.
  4. Crash occurs.

Cause (suspected)

Activation is triggered before biometric key initialization finishes.

Proposed Fix

Add short delay or await biometric key readiness before allowing activation.

贡献者指南