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

Commit 457bfa11 authored by Shuo Qian's avatar Shuo Qian Committed by Gerrit Code Review
Browse files

Merge "Use Math.floor to convert RSSNR from ten db to DB"

parents d159c1ea 1963708d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -600,7 +600,7 @@ public final class CellSignalStrengthLte extends CellSignalStrength implements P

    /** @hide */
    public static int convertRssnrUnitFromTenDbToDB(int rssnr) {
        return rssnr / 10;
        return (int) Math.floor((float) rssnr / 10);
    }

    /** @hide */