support SDK 16, add custom theme, make Orbot singleTop activity

This commit is contained in:
Nathan Freitas 2014-11-29 00:44:52 -05:00
parent 32119c428c
commit 917cfa1932
1 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
android:installLocation="auto" 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> <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" /> <uses-permission android:name="android.permission.INTERNET" />
@ -19,18 +19,18 @@
android:label="@string/app_name" android:label="@string/app_name"
android:description="@string/app_description" android:description="@string/app_description"
android:configChanges="locale|orientation|screenSize" android:configChanges="locale|orientation|screenSize"
android:theme="@style/Theme.AppCompat" android:theme="@style/CustomActionBarTheme"
android:allowBackup="false" android:allowBackup="false"
android:allowClearUserData="true" android:allowClearUserData="true"
android:persistent="true" android:persistent="true"
android:stopWithTask="false" android:stopWithTask="false"
android:largeHeap="false"
> >
<activity android:name=".Orbot" <activity android:name=".Orbot"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:launchMode="singleTop"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:launchMode="singleTop"
> >
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />