Snap for 8570526 from 3437e591c14ff7eba8f114e8af5e7c4446f7ac58 to mainline-media-swcodec-release
Change-Id: Id4797f3e1ad20832cf602b4c9d0f68d4afdc18d4
diff --git a/Android.bp b/Android.bp
index b0b543a..105d1ae 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,7 @@
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
android_app {
name: "Protips",
// Only compile source java files in this apk.
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 145aee1..f8a512a 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,23 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.protips"
- android:versionCode="1"
- android:versionName="1.0">
- <uses-sdk android:minSdkVersion="3" />
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.protips"
+ android:versionCode="1"
+ android:versionName="1.0">
+
+ <uses-sdk android:minSdkVersion="3"/>
<application android:label="@string/widget_name"
- android:icon="@drawable/icon">
- <receiver android:name=".ProtipWidget" android:label="@string/widget_name">
+ android:icon="@drawable/icon">
+ <receiver android:name=".ProtipWidget"
+ android:label="@string/widget_name"
+ android:exported="true">
<intent-filter>
- <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
- <action android:name="com.android.protips.NEXT_TIP" />
- <action android:name="com.android.protips.HEE_HEE" />
+ <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
+ <action android:name="com.android.protips.NEXT_TIP"/>
+ <action android:name="com.android.protips.HEE_HEE"/>
</intent-filter>
<intent-filter>
- <action android:name="android.provider.Telephony.SECRET_CODE" />
- <data android:scheme="android_secret_code" android:host="8477" />
+ <action android:name="android.provider.Telephony.SECRET_CODE"/>
+ <data android:scheme="android_secret_code"
+ android:host="8477"/>
</intent-filter>
- <meta-data android:name="android.appwidget.provider" android:resource="@xml/widget_build" />
+ <meta-data android:name="android.appwidget.provider"
+ android:resource="@xml/widget_build"/>
</receiver>
</application>
</manifest>