Commit 2be0cef4 authored by topjohnwu's avatar topjohnwu

Add proper intent filters to stub

parent 294db93f
...@@ -9,7 +9,7 @@ import static android.os.Build.VERSION.SDK_INT; ...@@ -9,7 +9,7 @@ import static android.os.Build.VERSION.SDK_INT;
public class DynAPK { public class DynAPK {
private static final int STUB_VERSION = 1; private static final int STUB_VERSION = 2;
// Indices of the object array // Indices of the object array
private static final int STUB_VERSION_ENTRY = 0; private static final int STUB_VERSION_ENTRY = 0;
......
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
android:name="a.w" android:name="a.w"
android:directBootAware="true"> android:directBootAware="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.REBOOT" />
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.LOCALE_CHANGED" /> <action android:name="android.intent.action.LOCALE_CHANGED" />
</intent-filter> </intent-filter>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment