Skip to content

LiNEA v2.6.1 — Dual-SIM Identification & Telephony Resolution

Choose a tag to compare

@MdSagorMunshi MdSagorMunshi released this 19 Oct 10:18
· 24 commits to master since this release

🚀 LiNEA v2.6.1 — Release Notes

Overview

LiNEA v2.6.1 delivers critical correctness fixes for Dual-SIM Identification & Telephony Resolution, implementing a deterministic 5-tier resolution chain across Android's Telecom framework, eradicating phantom SIM 2 fallbacks, enforcing single-SIM UI cleanliness, and ensuring seamless call log synchronization.


Key Fixes & Optimizations in v2.6.1

📶 Dual-SIM Identification & Telephony Resolution Chain

  • Deterministic SIM Slot Resolution: Implemented a robust 5-tier resolution chain in SimAccountResolver mapping Call / CallLog → PhoneAccountHandle → SubscriptionInfo → physical/logical 0-based SIM slot index (0 for SIM 1, 1 for SIM 2) → display label. Replaced fragile default-SIM assumptions, arbitrary ID sorting, and last-dialed guesswork with verified subscription mappings.
  • Elimination of Speculative Fallbacks & Phantom SIM 2: Completely eradicated speculative callCapablePhoneAccounts fallback loops that erroneously synthesized phantom "SIM 2" indicators on single-SIM devices and emulators. Active multi-SIM detection is now strictly bound to hardware-verified SubscriptionManager.activeSubscriptionInfoList.
  • Clean Single-SIM Interface Degradation: Enforced a zero-clutter rule for single-SIM devices across the entire UI. SIM selector pills, badges, and labels are fully hidden across the dialpad, recent calls history, call detail sheets, incoming call overlay, active call screen, and missed call notifications when only one SIM is present.
  • Persistent In-Call SIM Indicators: Added spring-animated glassmorphic SIM indicator pills ("SIM 1" / "SIM 2") under caller identity during incoming calls, outgoing dialing, and connected calls. The indicator cleanly persists across in-call state changes including Hold, Mute, Speakerphone, and Bluetooth routing without shifting action controls.
  • System Call Log & Historical Record Attribution: Enhanced CallLogRepository to query system PHONE_ACCOUNT_ID and PHONE_ACCOUNT_COMPONENT_NAME. Integrated multi-tier fallback parsing to resolve historical calls and OEM-specific call log account handles (matching ICCID substrings and numeric subscription IDs).
  • Dynamic Subscription & Hot-Swap Monitoring: Integrated SubscriptionManager.OnSubscriptionsChangedListener and ACTION_SIM_STATE_CHANGED broadcast receivers to instantly update multi-SIM state, active slots, and UI visibility when physical SIMs or eSIM profiles are added, removed, or toggled at runtime.
  • Missed Call Notification Attribution: Formatted missed call notifications with " • SIM X" attribution badges exclusively on dual-SIM devices, preventing notification clutter on single-SIM setups.
  • Unit Test Coverage: Added comprehensive test suite in SimAccountResolverTest verifying slot index resolution, single-SIM hiding, dual-SIM attribution, eSIM + physical SIM setups, call log ICCID/subId parsing, emergency calls, and hot swaps.

Release Metadata

  • versionCode: 11
  • versionName: 2.6.1
  • Min SDK: Android 11 (API 30)
  • Target SDK: Android 17 (API 37)

Assets

Asset Name SHA-256 Digest Size
LiNEA-v2.6.1-release.apk 0872a677e831eab4ec7003bd60abd024d0fb823322de45b802228081690c79e3 30.11 MiB