diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-10-12 18:18:36 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-10-12 18:18:36 +0200 |
commit | 94f514f95875ec84f83cacc8229a78c2ae9b222d (patch) | |
tree | dfca84264b4b39fc956262c65a4a417eb2f16cfb /app/src | |
parent | 658559699f5cd482bb19ade298db43a65d750664 (diff) | |
download | AntennaPod-94f514f95875ec84f83cacc8229a78c2ae9b222d.zip |
Fixed manifests
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/androidTest/assets/testfile.mp3 | bin | 0 -> 20606 bytes | |||
-rw-r--r-- | app/src/main/AndroidManifest.xml | 53 | ||||
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/PodcastApp.java | 9 |
3 files changed, 15 insertions, 47 deletions
diff --git a/app/src/androidTest/assets/testfile.mp3 b/app/src/androidTest/assets/testfile.mp3 Binary files differnew file mode 100644 index 000000000..f15faadf3 --- /dev/null +++ b/app/src/androidTest/assets/testfile.mp3 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3410d9d53..7de13e7c1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,17 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="de.danoeh.antennapod" - android:versionCode="40" - android:versionName="0.9.9.3"> + package="de.danoeh.antennapod" + android:versionCode="40" + android:versionName="0.9.9.3"> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.WAKE_LOCK"/> - - <uses-sdk - android:minSdkVersion="10" - android:targetSdkVersion="19"/> - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <supports-screens @@ -74,20 +69,6 @@ android:name=".activity.DownloadAuthenticationActivity" android:launchMode="singleInstance"/> - <service - android:name=".core.service.download.DownloadService" - android:enabled="true"/> - <service - android:name=".core.service.playback.PlaybackService" - android:enabled="true" - android:exported="true"> - </service> - - <service - android:name=".core.service.GpodnetSyncService" - android:enabled="true"> - </service> - <activity android:name=".activity.PreferenceActivity" android:configChanges="keyboardHidden|orientation" @@ -97,17 +78,6 @@ android:value="de.danoeh.antennapod.activity.MainActivity"/> </activity> - <receiver - android:name=".core.receiver.MediaButtonReceiver" - android:exported="true"> - <intent-filter> - <action android:name="android.intent.action.MEDIA_BUTTON"/> - </intent-filter> - <intent-filter> - <action android:name="de.danoeh.antennapod.NOTIFY_BUTTON_RECEIVER"/> - </intent-filter> - </receiver> - <activity android:name=".activity.FeedInfoActivity"> </activity> @@ -133,11 +103,6 @@ <action android:name="de.danoeh.antennapod.STOP_WIDGET_UPDATE"/> </intent-filter> </receiver> - <receiver android:name=".core.receiver.FeedUpdateReceiver"> - <intent-filter> - <action android:name="de.danoeh.antennapod.feedupdatereceiver.refreshFeeds"/> - </intent-filter> - </receiver> <activity android:name=".activity.StorageErrorActivity"> </activity> @@ -323,13 +288,12 @@ android:value="de.danoeh.antennapod.activity.PreferenceActivity"/> </activity> - - <receiver android:name=".core.receiver.ConnectivityActionReceiver"> + <receiver android:name=".receiver.SPAReceiver"> <intent-filter> - <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/> + <action android:name="de.danoeh.antennapdsp.intent.SP_APPS_QUERY_FEEDS_RESPONSE"/> </intent-filter> </receiver> - <receiver android:name=".core.receiver.AlarmUpdateReceiver"> + <receiver android:name="de.danoeh.antennapod.core.receiver.AlarmUpdateReceiver"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED"/> </intent-filter> @@ -341,11 +305,6 @@ android:scheme="package"/> </intent-filter> </receiver> - <receiver android:name=".receiver.SPAReceiver"> - <intent-filter> - <action android:name="de.danoeh.antennapdsp.intent.SP_APPS_QUERY_FEEDS_RESPONSE"/> - </intent-filter> - </receiver> </application> </manifest> diff --git a/app/src/main/java/de/danoeh/antennapod/PodcastApp.java b/app/src/main/java/de/danoeh/antennapod/PodcastApp.java index 12213d6f9..87474dbdd 100644 --- a/app/src/main/java/de/danoeh/antennapod/PodcastApp.java +++ b/app/src/main/java/de/danoeh/antennapod/PodcastApp.java @@ -11,6 +11,15 @@ import de.danoeh.antennapod.spa.SPAUtil; /** Main application class. */ public class PodcastApp extends Application { + // make sure that ClientConfigurator executes its static code + static { + try { + Class.forName("de.danoeh.antennapod.config.ClientConfigurator"); + } catch (Exception e) { + throw new RuntimeException("ClientConfigurator not found"); + } + } + private static final String TAG = "PodcastApp"; private static float LOGICAL_DENSITY; |