0

Is there a way to set android:excludeFromRecents="true" to all activities in application instead of specifying for each activity?

1 Answers1

0

No. You can not use android:excludeFromRecents="true" in application tag. You have to use this property for each activity seperately. For more go to this link and see different properties only in <activity> tag. https://developer.android.com/guide/topics/manifest/activity-element#exclude

Rishav Singla
  • 485
  • 4
  • 10