Correct Error reported to logcat when Plugin fails to load

Test: N/A
Bug: 260864389
Change-Id: I723afce7e1afaf9219cfc75e46e4e37d5d95f784
This commit is contained in:
Hawkwood Glazier
2022-12-12 23:45:10 +00:00
parent a5ad61f2bf
commit ea38a49f47

View File

@@ -362,8 +362,7 @@ public class PluginActionManager<T extends Plugin> {
nb.addAction(new Action.Builder(null, "Disable plugin", pi).build());
mNotificationManager.notify(SystemMessage.NOTE_PLUGIN, nb.build());
// TODO: Warn user.
Log.w(TAG, "Plugin has invalid interface version " + e.getActualVersion()
+ ", expected " + e.getExpectedVersion());
Log.w(TAG, "Error loading plugin; " + e.getMessage());
}
/**