]> gitweb.stoutner.com Git - PrivacyCell.git/blobdiff - app/src/main/AndroidManifest.xml
Add an option to use a bottom app bar. https://redmine.stoutner.com/issues/749
[PrivacyCell.git] / app / src / main / AndroidManifest.xml
index d63e1a4dc349168af2df13ce9a4fc7d433dad542..a510530d9d551cd8b545baa2ec77d5a1ea9274ec 100644 (file)
@@ -16,9 +16,9 @@
   GNU General Public License for more details.
 
   You should have received a copy of the GNU General Public License
-  along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
+  along with Privacy Cell.  If not, see <http://www.gnu.org/licenses/>. -->
 
-<!-- Install location `auto` allows users to move Privacy Browser to an SD card if desired. -->
+<!-- Install location `auto` allows users to move Privacy Cell to an SD card if desired. -->
 <manifest
     xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.stoutner.privacycell"
@@ -30,7 +30,7 @@
     <!-- Support Chromebooks that don't have a touch screen. -->
     <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
 
-    <!-- App data is automatically backed up to Google cloud servers unless `android:allowBackup="false"` and `android:fullBackupContent="false"` is set. TODO round icon and theme name. -->
+    <!-- App data is automatically backed up to Google cloud servers unless `android:allowBackup="false"` and `android:fullBackupContent="false"` is set. -->
     <application
         android:label="@string/privacy_cell"
         android:icon="@mipmap/privacy_cell"
         android:supportsRtl="true"
         android:theme="@style/Theme.PrivacyCell" >
 
-        <!-- The label uses the short name so that it isn't truncated under the icon in the launcher on most phones.
-            The theme has to be defined here or an ugly title bar is displayed when the app launches.  TODO.
+        <!-- PrivacyCellActivity.  The label uses the short name so that it isn't truncated under the icon in the launcher on most phones.
             `android:launchMode="singleTask"` makes the app launch in a new task instead of inside the task of the program that sends it an intent.
             It also makes it reuse an existing Privacy Cell activity if available instead of launching a new one. -->
         <activity
-            android:name=".activities.PrivacyCell"
+            android:name=".activities.PrivacyCellActivity"
             android:label="@string/cell"
             android:launchMode="singleTask"
             android:screenOrientation="fullUser"
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
+
+        <!-- Settings Activity.  The `parentActivityName` is used when restarting Privacy Cell.-->
+        <activity
+            android:name=".activities.SettingsActivity"
+            android:label="@string/settings"
+            android:screenOrientation="fullUser"
+            android:parentActivityName=".activities.PrivacyCellActivity" />
     </application>
 </manifest>
\ No newline at end of file