cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmo...@apache.org
Subject android commit: Fix CB-6048: Set launchMode=singleTop so tapping app icon does not always restart app
Date Tue, 01 Apr 2014 16:11:41 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/master b715d2038 -> 298cd9e06


Fix CB-6048: Set launchMode=singleTop so tapping app icon does not always restart app


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/298cd9e0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/298cd9e0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/298cd9e0

Branch: refs/heads/master
Commit: 298cd9e06529ad795deeaf9d9664a51d3bed65be
Parents: b715d20
Author: Michal Mocny <mmocny@gmail.com>
Authored: Tue Apr 1 11:33:40 2014 -0400
Committer: Michal Mocny <mmocny@gmail.com>
Committed: Tue Apr 1 11:33:40 2014 -0400

----------------------------------------------------------------------
 bin/templates/project/AndroidManifest.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/298cd9e0/bin/templates/project/AndroidManifest.xml
----------------------------------------------------------------------
diff --git a/bin/templates/project/AndroidManifest.xml b/bin/templates/project/AndroidManifest.xml
index 8a57854..b031b60 100644
--- a/bin/templates/project/AndroidManifest.xml
+++ b/bin/templates/project/AndroidManifest.xml
@@ -32,7 +32,7 @@
 
     <application android:icon="@drawable/icon" android:label="@string/app_name"
         android:hardwareAccelerated="true">
-        <activity android:name="__ACTIVITY__" android:label="@string/app_name"
+        <activity android:name="__ACTIVITY__" android:label="@string/app_name" android:launchMode="singleTop"
                 android:theme="@android:style/Theme.Black.NoTitleBar"
                 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale">
             <intent-filter>


Mime
View raw message