Selaa lähdekoodia

Added AndroidManifest with api level 18 for UI Automator tests

jabarros 8 vuotta sitten
vanhempi
commit
c0c2133222
1 muutettua tiedostoa jossa 28 lisäystä ja 3 poistoa
  1. 28 3
      androidTest/AndroidManifest.xml

+ 28 - 3
androidTest/AndroidManifest.xml

@@ -1,7 +1,32 @@
 <?xml version="1.0" encoding="utf-8"?>
-<manifest
-    xmlns:tools="http://schemas.android.com/tools"
-    package="com.owncloud.android">
+<!--
+  ownCloud Android client application
+
+  Copyright (C) 2012-2016 ownCloud Inc.
+
+  This program is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 2,
+  as published by the Free Software Foundation.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+  GNU General Public License for more details.
 
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+
+<!--
+    UI Automator requires Android 4.3 (API level 18) or higher.
+
+    So this AndroidManifest will be merged with the normal one
+    (not requiring to change the minSdk) and used for UI Automator tests, and does not affect
+    the normal release/debug builds.
+-->
+
+<manifest
+    package="${applicationId}.test"
+    xmlns:tools="http://schemas.android.com/tools">
     <uses-sdk tools:overrideLibrary="android.support.test.uiautomator.v18"/>
 </manifest>