[tor-commits] [orbot/master] support SDK 16, add custom theme, make Orbot singleTop activity

n8fr8 at torproject.org n8fr8 at torproject.org
Sat Nov 29 05:54:57 UTC 2014


commit 917cfa19329961486a77123c921a0232942b3d7d
Author: Nathan Freitas <nathan at freitas.net>
Date:   Sat Nov 29 00:44:52 2014 -0500

    support SDK 16, add custom theme, make Orbot singleTop activity
---
 AndroidManifest.xml |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 223475f..35da63c 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -6,7 +6,7 @@
         android:installLocation="auto"      
       >
  	    
-    <uses-sdk android:minSdkVersion="9" android:maxSdkVersion="20" android:targetSdkVersion="19"/>
+    <uses-sdk android:minSdkVersion="16" android:maxSdkVersion="21" android:targetSdkVersion="19"/>
  <permission android:name="org.torproject.android.MANAGE_TOR" android:label="@string/permission_manage_tor_label" android:description="@string/permission_manage_tor_description" android:protectionLevel="signature"></permission>
     
  <uses-permission android:name="android.permission.INTERNET" />
@@ -19,18 +19,18 @@
      android:label="@string/app_name" 
      android:description="@string/app_description"
      android:configChanges="locale|orientation|screenSize"
-      android:theme="@style/Theme.AppCompat" 
+      android:theme="@style/CustomActionBarTheme" 
       android:allowBackup="false"
       android:allowClearUserData="true"
       android:persistent="true"
       android:stopWithTask="false"
-      
+      android:largeHeap="false"
      >
       
         <activity android:name=".Orbot" 
             android:configChanges="orientation|screenSize"
-            android:launchMode="singleTop" 
             android:excludeFromRecents="true"
+            android:launchMode="singleTop"
             >
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />





More information about the tor-commits mailing list