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

Commit a6ae7e79 authored by Aman Gupta's avatar Aman Gupta
Browse files

Replacing the null check with TextUtils isEmpty function check. This

will also take care of empty string.

Test: done locally.
Bug: 218603161
Change-Id: I858f25e05a07d3671859c13845fdf911989860b0
parent 06617db0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1873,7 +1873,7 @@ public class EuiccController extends IEuiccController.Stub {
                if (portInfo.isActive()) {
                    // A port is available if it has no profiles enabled on it or calling app has
                    // Carrier privilege over the profile installed on the selected port.
                    if (portInfo.getIccId() == null) {
                    if (TextUtils.isEmpty(portInfo.getIccId())) {
                        return true;
                    }
                    UiccPort uiccPort =