diff --git a/app/src/amazon/AndroidManifest.xml b/app/src/amazon/AndroidManifest.xml
index 23461fe090..abda0941e0 100644
--- a/app/src/amazon/AndroidManifest.xml
+++ b/app/src/amazon/AndroidManifest.xml
@@ -229,7 +229,12 @@
android:launchMode="singleTask"
android:parentActivityName=".ActivityMain"
android:resizeableActivity="true"
- android:taskAffinity="${applicationId}.SETUP" />
+ android:taskAffinity="${applicationId}.SETUP">
+
+
+
+
+
+ android:taskAffinity="${applicationId}.SETUP">
+
+
+
+
+
+ android:taskAffinity="${applicationId}.SETUP">
+
+
+
+
+
+ android:taskAffinity="${applicationId}.SETUP">
+
+
+
+
+
+ android:taskAffinity="${applicationId}.SETUP">
+
+
+
+
+
= 0)
- pager.setCurrentItem(index);
- getActivity().getIntent().removeExtra("tab");
+ Intent intent = getActivity().getIntent();
+ if (intent != null) {
+ String tab;
+
+ Set categories = intent.getCategories();
+ if (categories != null && categories.contains(Notification.INTENT_CATEGORY_NOTIFICATION_PREFERENCES))
+ tab = "notifications";
+ else
+ tab = getActivity().getIntent().getStringExtra("tab");
+ if (!TextUtils.isEmpty(tab)) {
+ int index = TAB_LABELS.indexOf(tab);
+ if (index >= 0)
+ pager.setCurrentItem(index);
+ getActivity().getIntent().removeExtra("tab");
+ }
}
}
diff --git a/app/src/play/AndroidManifest.xml b/app/src/play/AndroidManifest.xml
index 1aa01d42c8..3a72880f4f 100644
--- a/app/src/play/AndroidManifest.xml
+++ b/app/src/play/AndroidManifest.xml
@@ -229,7 +229,12 @@
android:launchMode="singleTask"
android:parentActivityName=".ActivityMain"
android:resizeableActivity="true"
- android:taskAffinity="${applicationId}.SETUP" />
+ android:taskAffinity="${applicationId}.SETUP">
+
+
+
+
+