更新时间:2023-10-26 13:23:58
使用意图
wihtout有分量,像下面
Use Intent
wihtout having component, like below
PendingIntent contentIntent = PendingIntent.getActivity(
getApplicationContext(),
0,
new Intent(), // add this
PendingIntent.FLAG_UPDATE_CURRENT);
这是提供了一种方法,其中使用中不能打开活动
。
This is provide a way where use can't open an Activity
.