[Android] Factorize loops

Geoffrey Métais git at videolan.org
Fri Nov 6 17:31:45 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Nov  6 17:31:07 2015 +0100| [868df51a77ec711b693810fad3600f9488bbec2d] | committer: Geoffrey Métais

Factorize loops

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=868df51a77ec711b693810fad3600f9488bbec2d
---

 vlc-android/build.gradle |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/vlc-android/build.gradle b/vlc-android/build.gradle
index ef74851..7cc3aee 100644
--- a/vlc-android/build.gradle
+++ b/vlc-android/build.gradle
@@ -154,10 +154,8 @@ android {
                 outputName += variant.productFlavors.get(0).name.toUpperCase() + "-"
             outputName += vlcVersion + "-" + variant.productFlavors.get(1).name + ".apk"
             output.outputFile = new File(output.outputFile.parentFile, outputName);
-        }
 
-        //set intents with correct package name
-        variant.outputs.each { output ->
+            //set intents with correct package name
             output.processManifest.doLast{
                 def manifestOutFile = output.processManifest.manifestOutputFile
                 def newFileContents = manifestOutFile.getText('UTF-8').replace("_PACKAGENAME_", variant.applicationId)



More information about the Android mailing list