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

Commit 93ecd182 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Remove redundant null check.

mDefaultSimCallManagerRequests was null-checked twice due to an old
merge conflict.  Removing the redundant null check.

Test: Compile.
Test: Run unit tests.
Fixes: 227203109
Change-Id: I43f9e55789ba5bf607e77cf38574075df326d6cb
parent 89d5abbb
Loading
Loading
Loading
Loading
+11 −13
Original line number Diff line number Diff line
@@ -71,7 +71,6 @@ public class TelecomLoaderService extends SystemService {
                synchronized (mLock) {
                    final LegacyPermissionManagerInternal permissionManager =
                            LocalServices.getService(LegacyPermissionManagerInternal.class);
                    if (mDefaultSimCallManagerRequests != null) {
                    if (mDefaultSimCallManagerRequests != null) {
                        TelecomManager telecomManager =
                                (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
@@ -90,7 +89,6 @@ public class TelecomLoaderService extends SystemService {
                        }
                    }
                }
                }
            } catch (RemoteException e) {
                Slog.w(TAG, "Failed linking to death.");
            }