Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65c4b4cd authored by LuK1337's avatar LuK1337 Committed by Bruno Martins
Browse files

StatusBarMobileView: Properly init MobileGroup visibility

* We need to do it so that MobileGroup view visibility
  is initialized properly, otherwise it gets shown if
  you disable one of SIM cards and restart SystemUI,
  change visibility of any status bar icon, toggle
  airplane mode on and off or simply reboot your
  device (assuming the device is using real QCOM
  qti-telephony-common implementation).
* By the way setVisibility() is smart enough to not
  do any 'hard work' when the flags are unchanged so
  we shouldn't see any perf regressions or anything
  like this.
* Fixes:
  - https://gitlab.com/LineageOS/issues/android/issues/294
  - https://gitlab.com/LineageOS/issues/android/issues/437

Change-Id: I7f620836a53b90426fd75d8c1e8b0f6bad6688dd
parent aa7e3cc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment