Rename from Tak centric to "Lockdown" mode

3 files renamed (via git mv, history preserved):
  - TakLockHandler.kt → LockdownHandler.kt
  - TakPassphraseStore.kt → LockdownPassphraseStore.kt
  - TakUnlockDialog.kt → LockdownUnlockDialog.kt

  16 files updated with consistent renames across the entire codebase. No stray TAK-named symbols remain in any .kt or .aidl source file.

  What stayed the same (wire protocol / firmware-defined):
  - The firmware notification strings: "TAK_LOCKED", "TAK_NEEDS_PROVISION", "TAK_UNLOCKED", "TAK_UNLOCK_FAILED" — still matched as string literals in LockdownHandler.kt
  - Config.DeviceConfig.Role.TAK / TAK_TRACKER proto enum values
  - The SharedPrefs key changed from "tak_passphrase_store" → "lockdown_passphrase_store" (existing stored passphrases won't migrate automatically — users will need to re-enter on first launch of the updated app)
This commit is contained in:
niccellular 2026-03-03 17:17:24 -05:00
parent e7ba8e8497
commit 1ea87dbbad
19 changed files with 135 additions and 135 deletions

View file

@ -190,9 +190,9 @@ interface IMeshService {
*/
void requestRebootOta(in int requestId, in int destNum, in int mode, in byte []hash);
/// Send TAK unlock passphrase to the device
void sendTakUnlock(in String passphrase, in int bootTtl, in int hourTtl);
/// Send lockdown unlock passphrase to the device
void sendLockdownUnlock(in String passphrase, in int bootTtl, in int hourTtl);
/// Lock the device with TAK lock immediately
void sendTakLockNow();
/// Lock the device immediately (lockdown mode)
void sendLockNow();
}