title: Force locale for Android flavor with resConfig
body: <p>I am trying to use the resConfig and resConfigs from the Android Build system.</p>
  
  <ul>
  <li>Android Studio version 1.2.2 </li>
  <li>Gradle build version 1.2.3</li>
  <li>OSX 10.10.3</li>
  </ul>
  
  <p>I was having problem with these 2 options with my project so I started a new blank project with android studio. I attached my build.gradle where I only added resConfigs "en", "fr" under </p>
  
  <pre><code>android { 
     defaultConfig {
          ...
          resConfigs "en", "fr" 
          ...
     }
  }
  </code></pre>
  
  <p>And defined 2 basic flavors</p>
  
  <pre><code>productFlavors {
          fr {
              resConfig "fr"
          }
  
          en {
              resConfig "en"
          }
  }
  </code></pre>
  
  <p>I then created a 2 strings.xml files and translated the hello_world default label</p>
  
  <blockquote>
    <p>/src/main/res/values/strings.xml (default) <br/>
    /src/main/res/values-en/strings.xml <br/>
    /src/main/res/values-fr/strings.xml <br/></p>
  </blockquote>
  
  <p>With this, I would expect to see only 3 values folders in MyApplication/app/builds/intermediates/res/en/debug since I defined in the resConfigs to only use "en" and "fr" and filter anything else</p>
  
  <blockquote>
    <p>/values/ <br/>
    /values-en/ <br/>
    /values-fr/</p>
  </blockquote>
  
  <p>Although, all languages values folder are still in there so the resConfigs is not filtering anything apparently.</p>
  
  <p>I would also expect to see the label hello_world from values-en when running enDebug flavor variant since I specified that the flavor en would use resConfig "en" although when I run the test app I see the label from /values-fr/strings.xml instead of /values-en/strings.xml since the language on the tablet is configured as French Canada</p>
  
  <p>Am I misunderstanding the purpose behind resConfig? If so, how am I supposed to force a flavor to only run in only language and not be dependant on the OS locale setting? This solution must be compatible with flavorDimensions too since I use them in the real app I'm trying to configure.</p>
  
  <p><strong>NOTE</strong>: I also filed a bug since I think there really is a problem with this resConfig behavior <a href="https://code.google.com/p/android/issues/detail?id=180694">https://code.google.com/p/android/issues/detail?id=180694</a></p>
  
  <p>Thanks</p>