73944: Set target SDK for template instantiation

Change-Id: Idac334eac148c4a0bc33996ba839a7b12db6b4a5
Merge "73944: Set target SDK for template instantiation" into idea133
Show licenses dialog: Include NOTICE file from android plugin

Change-Id: Iba8ddf45f5cfa4873be28cfa3f4871502ef462f0
Merge "Show licenses dialog: Include NOTICE file from android plugin" into idea133
Remove Uncaught Runtime Exception

There was an exception being thrown alongside actionable error messaging
shown to the user. This change removes the exception.

Fixes b/16543709

Change-Id: I8a1a52751366933c8f2a1a6045f35382df6da089
Merge "Remove Uncaught Runtime Exception" into idea133
Bug 73758: Better log when unable to load the icon

Current implementation internally returns null which causes some
intimidating exceptions. This implementation will log failure reason
(most likely a missing file) and will avoid any exceptions.

Change-Id: Ic8ea5f1f0ff2a35799564de4f6a462f1021785e0
Merge "Bug 73758: Better log when unable to load the icon" into idea133
Moved code that waits for IDE to start up to IdeTestApplication#getInstance()

Also fixed a bug where IdeTestApplication#ourInstance was never set.

Change-Id: I46fffb66b36c25a93c6efcfb7c2d289d3f95ea5e
Merge "Moved code that waits for IDE to start up to IdeTestApplication#getInstance()" into idea133
Use the recommended Gradle plugin version, not the latest version

Change-Id: I31c83dc951b69c46c8952bab9e9ce09b6973caa1
Merge "Use the recommended Gradle plugin version, not the latest version" into idea133
navigator: Show instrumentation test sources

Android instrumentation test sources are provided as part of
an extra source set. This CL incorporates those source sets when
computing the list of files to the Android Navigator view.

Currently, the test sources are actually merged along with
the regular sources. In a future CL, we can investigate making
this an option (possibly pulling out the tests and all source types
to be a separate node).

Fixes https://code.google.com/p/android/issues/detail?id=74063

Change-Id: I93c7ef15af98e05c96bd15a6ed85f47bf843bc2b
navigator: Add jniLibs as an additional source type.

jniLibs was already part of the SourceProvider interface, but not
IdeaSourceProvider.

Fixes https://code.google.com/p/android/issues/detail?id=74068

Change-Id: Ic39b093ef98df25598f49f915bc314ea5281666a
Merge changes Ic39b093e,I93c7ef15 into idea133

* changes:
  navigator: Add jniLibs as an additional source type.
  navigator: Show instrumentation test sources
Updates module creation to check for new APIs

This change updates the module creation paths to update their target/build
API levels if a new platform with a higher API level has been installed
during the wizard.

Change-Id: I28c8c931ffdc7b938ca780e649094f975d893542
Show licence agreement if missing SDK in new project wizard.

Bug: http://b.android.com/73242

Change-Id: I6f055f12878f7914a1e89987b8e08c78e5e13c20
Merge "Show licence agreement if missing SDK in new project wizard." into idea133
device panel and process chooser: Show user id if applicable

On a multi user device, append the user id to the process name
so as to allow distinguishing between the same packages running
on different accounts.

Fix for b/16701966

Change-Id: I247d7fa50845feda88a3040537e13ab167750b5e
Merge "device panel and process chooser: Show user id if applicable" into idea133