summaryrefslogtreecommitdiff
authorXiaoliang Wang <xiaoliang.wang@amlogic.com>2015-11-23 07:10:01 (GMT)
committer Xiaoliang Wang <xiaoliang.wang@amlogic.com>2015-11-23 07:10:01 (GMT)
commita61f2368d55a6a78461741e5fb87c9053c447509 (patch)
tree146f8d35bb06bf85b84028565c5049a1f25d3c7b
parent0b5a387a4ee6adcf25ca283f30053cb45065bf65 (diff)
downloadOTAUpgrade2-a61f2368d55a6a78461741e5fb87c9053c447509.zip
OTAUpgrade2-a61f2368d55a6a78461741e5fb87c9053c447509.tar.gz
OTAUpgrade2-a61f2368d55a6a78461741e5fb87c9053c447509.tar.bz2
PD #115618: add intent to start from settings
Change-Id: Iac6104d43eda7c4a5ce1280c01ad1c7539d682d7
Diffstat
-rw-r--r--[-rwxr-xr-x]AndroidManifest.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ac439c4..11be865 100755..100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -33,6 +33,9 @@
android:label="@string/app_name"
android:launchMode="singleTask"
android:screenOrientation="landscape" >
+ <intent-filter>
+ <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
+ </intent-filter>
</activity>
<activity
android:name="com.droidlogic.otaupgrade.FileSelector"
@@ -44,6 +47,7 @@
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="com.android.otaupdate.aml.backup" />
<action android:name="com.android.otaupdate.aml.restore" />
+ <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
</intent-filter>
</receiver>
@@ -66,6 +70,10 @@
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
+ <intent-filter>
+ <action android:name="android.settings.SYSTEM_UPDATE_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
</activity>
<service android:name="com.droidlogic.otaupgrade.UpdateService" >