Hi
@Erel ,sorry to post it here, but I feel it's strictly related to your post #5.
Instructions for my lib AppUpdating (used to update current apk to a newer one) invite the programmer to add the following to his/her Manifest file:
AddReceiverText(eu.dgconsulting.appupdating.newinst2,
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<data android:scheme="package" />
</intent-filter>)
It works ok, but as a side effect each time any app is updated on the device we can read about it in the logs (so this should mean that my code is awaken then put again to sleep).
Would the simple substitution of "android.intent.action.PACKAGE_REPLACED" with "action android:name="android.intent.action.MY_PACKAGE_REPLACED" limit the calls to my code to times where the specific app using it is to be updated?
BTW, reading
this seems the change to become a need from Oreo on.