在android中Service里面PendingIntent的数据传输需要更新。
具体用法是
PendingIntent pendingIntent = PendingIntent.getActivity(getBaseContext(), UUID.randomUUID().hashCode(), intent, PendingIntent.FLAG_UPDATE_CURRENT);
其中PendingIntent.FLAG_UPDATE_CURRENT就是用来更新数据的。
这是Service的机制所致?或许如此,android系统才需要恢复出厂值?那就不得而知了,仍需要从底层代码进行研究。