@@ -393,10 +393,10 @@ public void startIntentSender(IntentSender intent, Intent fillInIntent, int flag
393
393
public void sendBroadcast (Intent intent ) {
394
394
LogUtil .d (intent );
395
395
Intent realIntent = intent ;
396
- if (PluginDispatcher .hackClassLoadForReceiverIfNeeded (intent )) {
396
+ if (PluginFragmentHelper .hackClassLoadForReceiverIfNeeded (intent )) {
397
397
realIntent = new Intent ();
398
398
realIntent .setClass (PluginLoader .getApplicatoin (), PluginStubReceiver .class );
399
- realIntent .putExtra (PluginDispatcher .RECEIVER_ID_IN_PLUGIN , intent );
399
+ realIntent .putExtra (PluginFragmentHelper .RECEIVER_ID_IN_PLUGIN , intent );
400
400
}
401
401
mBase .sendBroadcast (realIntent );
402
402
}
@@ -522,7 +522,7 @@ public void unregisterReceiver(BroadcastReceiver receiver) {
522
522
@ Override
523
523
public ComponentName startService (Intent service ) {
524
524
LogUtil .d (service );
525
- if (PluginDispatcher .hackClassLoadForServiceIfNeeded (service )) {
525
+ if (PluginFragmentHelper .hackClassLoadForServiceIfNeeded (service )) {
526
526
service .setClass (this , PluginStubService .class );
527
527
}
528
528
return mBase .startService (service );
@@ -531,7 +531,7 @@ public ComponentName startService(Intent service) {
531
531
@ Override
532
532
public boolean stopService (Intent name ) {
533
533
LogUtil .d (name );
534
- if (PluginDispatcher .hackClassLoadForServiceIfNeeded (name )) {
534
+ if (PluginFragmentHelper .hackClassLoadForServiceIfNeeded (name )) {
535
535
name .setClass (this , PluginStubService .class );
536
536
}
537
537
return mBase .stopService (name );
@@ -540,7 +540,7 @@ public boolean stopService(Intent name) {
540
540
@ TargetApi (Build .VERSION_CODES .JELLY_BEAN_MR1 )
541
541
public ComponentName startServiceAsUser (Intent service , UserHandle user ) {
542
542
LogUtil .d (service );
543
- if (PluginDispatcher .hackClassLoadForServiceIfNeeded (service )) {
543
+ if (PluginFragmentHelper .hackClassLoadForServiceIfNeeded (service )) {
544
544
service .setClass (this , PluginStubService .class );
545
545
}
546
546
return (ComponentName ) RefInvoker .invokeMethod (mBase , Context .class .getName (), "startServiceAsUser" ,
@@ -550,7 +550,7 @@ public ComponentName startServiceAsUser(Intent service, UserHandle user) {
550
550
@ TargetApi (Build .VERSION_CODES .JELLY_BEAN_MR1 )
551
551
public boolean stopServiceAsUser (Intent name , UserHandle user ) {
552
552
LogUtil .d (name );
553
- if (PluginDispatcher .hackClassLoadForServiceIfNeeded (name )) {
553
+ if (PluginFragmentHelper .hackClassLoadForServiceIfNeeded (name )) {
554
554
name .setClass (this , PluginStubService .class );
555
555
}
556
556
return (Boolean ) RefInvoker .invokeMethod (mBase , Context .class .getName (), "stopServiceAsUser" , new Class [] {
0 commit comments