Skip to content

Commit

Permalink
Allow to re-open Snap from recent menu
Browse files Browse the repository at this point in the history
An <activity> with an <activity-alias> doesn't automatically set
"exported" to "true" if only <activity-alias> has intent filters.
As consequence, it's impossible to re-start <activity> from the
recent applications menu. Explicitly set exported to true to fix this.

Change-Id: Id9612d704e71b5fa8093462e893a964753d67d50
  • Loading branch information
Gabriele M authored and codeworkx committed Feb 26, 2017
1 parent 0467f54 commit 32d2eda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AndroidManifest.xml
Expand Up @@ -46,6 +46,7 @@
android:name="com.android.camera.CameraActivity"
android:clearTaskOnLaunch="true"
android:configChanges="orientation|screenSize|keyboardHidden"
android:exported="true"
android:label="@string/app_name"
android:launchMode="singleTask"
android:screenOrientation="portrait"
Expand Down

0 comments on commit 32d2eda

Please sign in to comment.