Snap for 7160059 from 83cb6ed2e4e860b20ae2d993b58df8b9f4ab1e82 to sc-release

Change-Id: I12f2f43bbcd40daa0af1d516084fb59481c20d88
diff --git a/Android.bp b/Android.bp
index 0b0d4e6..03ab82b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,7 @@
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
 android_app {
     name: "Gallery2",
 
diff --git a/gallerycommon/Android.bp b/gallerycommon/Android.bp
index 9ce3e9f..8d12f88 100644
--- a/gallerycommon/Android.bp
+++ b/gallerycommon/Android.bp
@@ -12,6 +12,10 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
 java_library {
     name: "com.android.gallery3d.common2",
     srcs: ["src/**/*.java"],
diff --git a/jni/Android.bp b/jni/Android.bp
index b066192..2fba236 100644
--- a/jni/Android.bp
+++ b/jni/Android.bp
@@ -1,3 +1,7 @@
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
 cc_defaults {
     name: "gallery2_jni_defaults",
     product_specific: true,
diff --git a/jni_jpegstream/Android.bp b/jni_jpegstream/Android.bp
index 780037a..4a3766b 100644
--- a/jni_jpegstream/Android.bp
+++ b/jni_jpegstream/Android.bp
@@ -1,4 +1,8 @@
 // Jpeg Streaming native
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
 cc_library_shared {
     name: "libjni_jpegstream",
     product_specific: true,