[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] add dummy activity



commit 68c123749e382721b664199692d23ba8c5a5baf2
Author: Nathan Freitas <nathan@xxxxxxxxxxx>
Date:   Sat Nov 29 00:45:29 2014 -0500

    add dummy activity
---
 AndroidManifest.KITKAT_AND_LOWER.xml |   24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/AndroidManifest.KITKAT_AND_LOWER.xml b/AndroidManifest.KITKAT_AND_LOWER.xml
index 072729b..d5152de 100644
--- a/AndroidManifest.KITKAT_AND_LOWER.xml
+++ b/AndroidManifest.KITKAT_AND_LOWER.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android";
       package="org.torproject.android" 
-      android:versionName="14.1.3-noPIE" 
-      android:versionCode="130"
+      android:versionName="14.1.3-PIE" 
+      android:versionCode="131"
         android:installLocation="auto"      
       >
  	    
@@ -24,10 +24,13 @@
       android:allowClearUserData="true"
       android:persistent="true"
       android:stopWithTask="false"
+      android:largeHeap="true"
      >
       
-        <activity android:name=".Orbot" android:configChanges="orientation|screenSize"
+        <activity android:name=".Orbot" 
+            android:configChanges="orientation|screenSize"
             android:launchMode="singleTop" 
+            android:excludeFromRecents="true"
             >
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
@@ -73,7 +76,20 @@
         <!-- 
         <activity android:name=".OrbotDiagnosticsActivity" android:label="OrbotDiag"/>
          -->
-      	
+      	<activity
+			android:name=".service.DummyActivity"
+			android:theme="@android:style/Theme.NoDisplay"
+			android:enabled="true"
+			android:allowTaskReparenting="true"
+			android:noHistory="true"
+			android:excludeFromRecents="true"
+			android:alwaysRetainTaskState="false"
+			android:stateNotNeeded="true"
+			android:clearTaskOnLaunch="true"
+			android:finishOnTaskLaunch="true"
+			/> 
+			      	
+			      	
       	<activity android:name=".wizard.LotsaText" android:exported="false"/>
       	<activity android:name=".wizard.Permissions" android:exported="false"/>
       	<activity android:name=".wizard.TipsAndTricks" android:exported="false"/>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits