Skip to content

Commit

Permalink
fix opening app the from recents
Browse files Browse the repository at this point in the history
When someone leaved the app using the back button and then tries to open the app from recents, Android shows a Toast saying "Could not start the Plaid". This is caused by the acitivity-alias and fixed by exporting the targetActivity.
https://code.google.com/p/android/issues/detail?id=82185
  • Loading branch information
gabrielittner committed Nov 2, 2015
1 parent be5bb13 commit 08d0a6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
<activity
android:name=".ui.HomeActivity"
android:label="@string/app_name"
android:theme="@style/Plaid.Home" />
android:theme="@style/Plaid.Home"
android:exported="true" />

<!-- use an alias in case we want to change the launch activity later without breaking
homescreen shortcuts. Note must be defined after the targetActivity -->
Expand Down

0 comments on commit 08d0a6f

Please sign in to comment.