Reputation: 4115
I have registered a broadcast receiver for my application. Now i want to restrict that receiver to my application only. What i need to do for that.
Upvotes: 0
Views: 152
Reputation: 67286
You can unregister
your BroadCastReciever
when your Home Activity is destroyed.
Upvotes: 1
Reputation: 6728
Can you try using : android:exported="false"
for your broadcast receiver in the manifest file
Upvotes: 1