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

Skip to content
Commit 5782d5c0 authored by Roman Birg's avatar Roman Birg
Browse files

dBm signal text CDMA fix



* refactored calculations, instead of having another phone listener in the
  cmsignaltext class, it now broadcasts an intent with the dbm value
  using the same calculations as the Settings > About screen.

* moved calculations in updateSignalStrenght() to the top so if there's no
  sim card it will still show a proper dbm (otherwise it will show 0).
  Do we want to show the dBm AND a "no signal" bars icon in this case?

  patch 2: using intents to pass dbm value now
  patch 3: remove extra white space
  patch 4: using the same dbm calculations as Settings > About screen

Change-Id: Ief6d767f8255b7a3c6857f5581eb77e950e71598
Signed-off-by: default avatarRoman Birg <romanbirg@gmail.com>
parent 1cd811fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment