Skip to content

Commit 780ca0d

Browse files
committed
set minSDK to all app modes, including watch faces
1 parent 7ded233 commit 780ca0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/processing/mode/android/Manifest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ private void writeBlankManifest(final File file) {
171171
writer.println(" android:versionName=\"1.0\">" + newLine);
172172

173173
// Publishing-specific features
174+
// for now including this... we're wiring to a particular SDK version anyway...
175+
writer.println(" <uses-sdk android:minSdkVersion=\"" + AndroidBuild.sdkVersion + "\" />" + newLine);
174176
if (AndroidBuild.publishOption == AndroidBuild.FRAGMENT) {
175-
// for now including this... we're wiring to a particular SDK version anyway...
176-
writer.println(" <uses-sdk android:minSdkVersion=\"" + AndroidBuild.sdkVersion + "\" />" + newLine);
177-
} else if (AndroidBuild.publishOption == AndroidBuild.WALLPAPER) {
178-
writer.println(" <uses-sdk android:minSdkVersion=\"" + AndroidBuild.sdkVersion + "\" />" + newLine);
177+
// nothing special for fragments
178+
} else if (AndroidBuild.publishOption == AndroidBuild.WALLPAPER) {
179179
writer.println(" <uses-feature android:name=\"android.software.live_wallpaper\" />" + newLine);
180180
} else if (AndroidBuild.publishOption == AndroidBuild.WATCHFACE) {
181181
writer.println(" <uses-feature android:name=\"android.hardware.type.watch\" />" + newLine);

0 commit comments

Comments
 (0)