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

Commit 3182239b authored by Roshan Pius's avatar Roshan Pius
Browse files

Reduce log level for "not visible for calling user" logs.

Bug: 19589413
Change-Id: I2ddaa3fd8211e209d68567fa85f3656d21a08e47
parent 8418e679
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -195,7 +195,7 @@ public class TelecomServiceImpl {
            synchronized (mLock) {
                try {
                    if (!isVisibleToCaller(accountHandle)) {
                        Log.w(this, "%s is not visible for the calling user [gPA]", accountHandle);
                        Log.d(this, "%s is not visible for the calling user [gPA]", accountHandle);
                        return null;
                    }
                    // TODO: Do we really want to return for *any* user?
@@ -260,7 +260,7 @@ public class TelecomServiceImpl {
                try {
                    PhoneAccountHandle accountHandle = mPhoneAccountRegistrar.getSimCallManager();
                    if (!isVisibleToCaller(accountHandle)) {
                        Log.w(this, "%s is not visible for the calling user [gsCM]", accountHandle);
                        Log.d(this, "%s is not visible for the calling user [gsCM]", accountHandle);
                        return null;
                    }
                    return accountHandle;
@@ -382,7 +382,7 @@ public class TelecomServiceImpl {
                }

                if (!isVisibleToCaller(accountHandle)) {
                    Log.w(this, "%s is not visible for the calling user [iVMN]", accountHandle);
                    Log.d(this, "%s is not visible for the calling user [iVMN]", accountHandle);
                    return false;
                }

@@ -410,7 +410,7 @@ public class TelecomServiceImpl {

                try {
                    if (!isVisibleToCaller(accountHandle)) {
                        Log.w(this, "%s is not visible for the calling user [gVMN]", accountHandle);
                        Log.d(this, "%s is not visible for the calling user [gVMN]", accountHandle);
                        return null;
                    }

@@ -438,7 +438,7 @@ public class TelecomServiceImpl {

            synchronized (mLock) {
                if (!isVisibleToCaller(accountHandle)) {
                    Log.w(this, "%s is not visible for the calling user [gL1N]", accountHandle);
                    Log.d(this, "%s is not visible for the calling user [gL1N]", accountHandle);
                    return null;
                }

@@ -655,7 +655,7 @@ public class TelecomServiceImpl {
                enforcePermissionOrPrivilegedDialer(MODIFY_PHONE_STATE, callingPackage);

                if (!isVisibleToCaller(accountHandle)) {
                    Log.w(this, "%s is not visible for the calling user [hMMI]", accountHandle);
                    Log.d(this, "%s is not visible for the calling user [hMMI]", accountHandle);
                    return false;
                }

@@ -684,7 +684,7 @@ public class TelecomServiceImpl {
                enforcePermissionOrPrivilegedDialer(MODIFY_PHONE_STATE, callingPackage);

                if (!isVisibleToCaller(accountHandle)) {
                    Log.w(this, "%s is not visible for the calling user [gA4PA]", accountHandle);
                    Log.d(this, "%s is not visible for the calling user [gA4PA]", accountHandle);
                    return null;
                }