FHellmann / Uniatron

This project is part of the course Mobile Application Development at the University of Augsburg
https://play.google.com/store/apps/details?id=com.edu.uni.augsburg.uniatron
Apache License 2.0
0 stars 3 forks source link

App updates from PlayStore trigger BlacklistAddNotification #45

Closed leonpoint closed 6 years ago

leonpoint commented 6 years ago

Describe the bug

  1. When updating any app from the PlayStore, the notification "Click here to add to the blacklist" appears.
  2. This also happens with all silent automatic updates (e.g. of the PlayStore app). Thus, the notification appears multiple times per week.

Is Nr. 1 intended? Nr. 2 is fixed when Nr.1 is resolved.

FHellmann commented 6 years ago

I've already seen this behavior. This is the result of the PACKAGE_UPDATE event. The broadcast receiver should be unsubscribed on this event. This should lead to the wished behavior.

leonpoint commented 6 years ago

fixed in https://github.com/FHellmann/Uniatron/commit/a621a00950be153a9a1b746bf263c835e675711d will be merged with #31