mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
removing contacts from main app
This commit is contained in:
parent
2d8300d834
commit
63c213cbea
3 changed files with 47 additions and 48 deletions
|
@ -1,7 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest package="eu.alefzero.owncloud"
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="eu.alefzero.owncloud"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
||||
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
|
||||
|
@ -30,6 +31,11 @@
|
|||
android:name=".ui.activity.FileDisplayActivity"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/Theme.ownCloud" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name=".Uploader" >
|
||||
<intent-filter>
|
||||
|
@ -53,7 +59,8 @@
|
|||
</data>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name=".ui.activity.Preferences"
|
||||
<activity
|
||||
android:name=".ui.activity.Preferences"
|
||||
android:theme="@style/Theme.ownCloud" >
|
||||
</activity>
|
||||
<activity android:name=".ui.activity.PreferencesNewSessionewSession" >
|
||||
|
@ -81,21 +88,6 @@
|
|||
android:name="android.content.SyncAdapter"
|
||||
android:resource="@xml/syncadapter_files" />
|
||||
</service>
|
||||
<service
|
||||
android:name=".syncadapter.ContactSyncService"
|
||||
android:exported="true"
|
||||
android:process=":contacts" >
|
||||
<intent-filter>
|
||||
<action android:name="android.content.SyncAdapter" />
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="android.content.SyncAdapter"
|
||||
android:resource="@xml/syncadapter_contacts" />
|
||||
<meta-data
|
||||
android:name="android.provider.CONTACTS_STRUCTURE"
|
||||
android:resource="@xml/contacts" />
|
||||
</service>
|
||||
|
||||
<provider
|
||||
android:name=".providers.FileContentProvider"
|
||||
|
@ -114,7 +106,6 @@
|
|||
|
||||
<service android:name=".FileDownloader" >
|
||||
</service>
|
||||
|
||||
<service android:name=".location.LocationUpdateService" >
|
||||
<intent-filter>
|
||||
<action android:name="eu.alefzero.owncloud.location.LocationUpdateService" />
|
||||
|
@ -125,22 +116,14 @@
|
|||
<intent-filter>
|
||||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||
<action android:name="eu.alefzero.owncloud.location.LocationLauncher" />
|
||||
|
||||
<category android:name="android.intent.category.HOME" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<activity android:name=".ui.activity.FileDetailActivity"
|
||||
android:theme="@style/Theme.ownCloud">
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ui.activity.LandingActivity"
|
||||
android:label="@string/app_name"
|
||||
android:name=".ui.activity.FileDetailActivity"
|
||||
android:theme="@style/Theme.ownCloud" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
|
|
|
@ -155,12 +155,11 @@ public class FileDisplayActivity extends SherlockFragmentActivity implements
|
|||
|
||||
@Override
|
||||
public void onBackPressed(){
|
||||
popPath();
|
||||
if(mDirectories.getCount() == 0) {
|
||||
Intent intent = new Intent(this, LandingActivity.class);
|
||||
startActivity(intent);
|
||||
if(mDirectories.getCount() == 1) {
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
popPath();
|
||||
((FileListFragment) getSupportFragmentManager().findFragmentById(R.id.fileList))
|
||||
.onNavigateUp();
|
||||
}
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
/* ownCloud Android client application
|
||||
* Copyright (C) 2012 ownCloud
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
package eu.alefzero.webdav;
|
||||
|
||||
import java.util.Date;
|
||||
|
|
Loading…
Reference in a new issue