user3547028
user3547028

Reputation: 179

Setting permission Android Receiver permission

I have a broadcast receiver in code which is a receiver for configuration changes

ACTION_CONFIGURATION_CHANGED

IntentFilter iff = new IntentFilter();
iff.addAction(Intent.ACTION_CONFIGURATION_CHANGED);
registerReceiver(my class, iff);

Do I need to set permissions for Android based ones like these? Is it a security threat at all? If I do need to, how do I set it? Thanks.

Upvotes: 0

Views: 667

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006614

Do I need to set permissions for Android based ones like these?

Not that one.

Is it a security threat at all?

Configuration changes, such as rotating the screen, are not usually considered to be a security threat.

Upvotes: 1

Related Questions