Remove SIM Tookit from the launcher screen if no main menu is available

SIM Toolkit has a logic to remove itself from the launcher screen once
it becomes unnecessary, but the condition is wrong. It is removed when
all the SIM cards go into ABSENT state in the current implementation,
but it must be executed when the number of active main menu becomes 0.

Bug: 159662728
Test: Manually confirmed all the possible SIM removal scenarios.

Change-Id: I8091bf6ea82df873335cce3477a6c759735ed79b
1 file changed
tree: 991adf9c7ad2526f62cbb6edd98eaa841c85146c
  1. res/
  2. src/
  3. Android.bp
  4. AndroidManifest.xml
  5. CleanSpec.mk
  6. NOTICE
  7. OWNERS