diff --git a/packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactory.java b/packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactory.java index bb7906e7c3ae4..714d267bb07de 100644 --- a/packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactory.java +++ b/packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactory.java @@ -23,6 +23,7 @@ import android.content.BroadcastReceiver; import android.content.ContentProvider; import android.content.Context; import android.content.Intent; +import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; @@ -94,7 +95,7 @@ public class SystemUIAppComponentFactory extends AppComponentFactory { } catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException e) { - // no-op + Log.w(TAG, "No injector for class: " + contentProvider.getClass(), e); } } ); diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardSliceProvider.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardSliceProvider.java index 37bcb163d6f33..bd3b899adee7a 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardSliceProvider.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardSliceProvider.java @@ -329,7 +329,7 @@ public class KeyguardSliceProvider extends SliceProvider implements Method injectMethod = rootComponent.getClass() .getMethod("inject", getClass()); injectMethod.invoke(rootComponent, this); - Log.w("TAG", "mMediaManager is now: " + mMediaManager); + Log.w(TAG, "mMediaManager is now: " + mMediaManager); } catch (NoSuchMethodException ex) { Log.e(TAG, "Failed to find inject method for KeyguardSliceProvider", ex); } catch (IllegalAccessException | InvocationTargetException ex) {