ownCloud Android client application
Copyright (C) 2012 Bartek Przybylski
-- Copyright (C) 2012-2014 ownCloud Inc.
++ Copyright (C) 2012-2015 ownCloud Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
android:name=".ui.activity.Preferences"
android:theme="@style/Theme.ownCloud" >
</activity>
-
-
<activity
android:name=".ui.preview.PreviewImageActivity"
/>
}
/**
+ * Service clean up
+ */
+ @Override
+ public void onDestroy() {
+ Log_OC.v(TAG, "Destroying service" );
+ mBinder = null;
+ mServiceHandler = null;
+ mServiceLooper.quit();
+ mServiceLooper = null;
+ mNotificationManager = null;
+ super.onDestroy();
+ }
+
+
+ /**
* Entry point to add one or several files to the queue of uploads.
- *
+ *
* New uploads are added calling to startService(), resulting in a call to
* this method. This ensures the service will keep on working although the
* caller activity goes away.