Bug 1372486 - Part 4: Create a dummy files for empty resource folders. r?nalexander,maliu,nechen,walkingice
Since Mercurial doesn't support empty folder, a dummy file is added to each res folders.
These files should be removed after we put Photon/Australis specific resources in their own res folders.
MozReview-Commit-ID: FYgaDgMWHBb
--- a/mobile/android/app/lint.xml
+++ b/mobile/android/app/lint.xml
@@ -217,16 +217,18 @@
<issue id="UnlocalizedSms" severity="error" />
<issue id="UnusedNamespace" severity="error" />
<issue id="UnusedQuantity" severity="error" />
<issue id="UnusedResources" severity="error">
<!-- The moz.build based build system leaves a .mkdir.done file lying around in the
preprocessed_resources res/raw folder. Lint reports it as unused. We should get
rid of the file eventually. See bug 1268948. -->
<ignore path="**/raw/.mkdir.done" />
+ <ignore path="src/australis/res/values/skin_strings.xml"/>
+ <ignore path="src/photon/res/values/skin_strings.xml"/>
</issue>
<issue id="Usability" severity="error" />
<issue id="UseCheckPermission" severity="error" />
<issue id="UseCompoundDrawables" severity="error" />
<issue id="UselessLeaf" severity="error" />
<issue id="UsesMinSdkAttributes" severity="error" />
<issue id="UsingHttp" severity="error" />
<issue id="ViewHolder" severity="error" />
new file mode 100644
--- /dev/null
+++ b/mobile/android/app/src/australis/res/values/skin_strings.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<resources>
+ <string name="skin">australis</string>
+</resources>
new file mode 100644
--- /dev/null
+++ b/mobile/android/app/src/photon/res/values/skin_strings.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<resources>
+ <string name="skin">photon</string>
+</resources>