Loading packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactory.java +6 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,12 @@ public class SystemUIAppComponentFactory extends AppComponentFactory { public Activity instantiateActivityCompat(@NonNull ClassLoader cl, @NonNull String className, @Nullable Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException { if (mComponentHelper == null) { // This shouldn't happen, but is seen on occasion. // Bug filed against framework to take a look: http://b/141008541 SystemUIFactory.getInstance().getRootComponent().inject( SystemUIAppComponentFactory.this); } Activity activity = mComponentHelper.resolveActivity(className); if (activity != null) { return activity; Loading Loading
packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactory.java +6 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,12 @@ public class SystemUIAppComponentFactory extends AppComponentFactory { public Activity instantiateActivityCompat(@NonNull ClassLoader cl, @NonNull String className, @Nullable Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException { if (mComponentHelper == null) { // This shouldn't happen, but is seen on occasion. // Bug filed against framework to take a look: http://b/141008541 SystemUIFactory.getInstance().getRootComponent().inject( SystemUIAppComponentFactory.this); } Activity activity = mComponentHelper.resolveActivity(className); if (activity != null) { return activity; Loading