最近我在应用商店上传了我的安卓apk文件,但被告知下一次上传到Google Play商店将会被拒绝,并需要检查和解决。下面是该消息的截图:
他们还提到了软件包名称。下面是代码:
@Override
public void onDestroy() {
cleanup();
super.onDestroy();
Intent intent = new Intent("com.test.dummyapp");
sendBroadcast(intent);
}
请帮我解决这个问题。
以下是触发组件的代码:
IntentFilter restartFilter = new IntentFilter("com.test.dummyapp");
registerReceiver(restartBroadcastReciver, restartFilter);
private BroadcastReceiver restartBroadcastReciver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
doBindService();
}
};