From: Bartek Przybylski Date: Mon, 30 Apr 2012 17:39:01 +0000 (+0200) Subject: removing contacts from main app X-Git-Tag: oc-android-1.4.3~435 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/63c213cbea5177061793fd19ad6143384982b335?ds=inline;hp=-c removing contacts from main app --- 63c213cbea5177061793fd19ad6143384982b335 diff --git a/AndroidManifest.xml b/AndroidManifest.xml index d709d1e2..60e9a7c0 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,7 +1,8 @@ - + android:versionName="1.0" > @@ -30,6 +31,11 @@ android:name=".ui.activity.FileDisplayActivity" android:label="@string/app_name" android:theme="@style/Theme.ownCloud" > + + + + + @@ -53,8 +59,9 @@ - + @@ -81,21 +88,6 @@ android:name="android.content.SyncAdapter" android:resource="@xml/syncadapter_files" /> - - - - - - - - - - + - - + + - - - - - - - - - - - - + + - + + - + + + + diff --git a/src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java b/src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java index 5ae763cc..a5437773 100644 --- a/src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java +++ b/src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java @@ -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(); } diff --git a/src/eu/alefzero/webdav/WebdavEntry.java b/src/eu/alefzero/webdav/WebdavEntry.java index 2c7f378b..c2e9712f 100644 --- a/src/eu/alefzero/webdav/WebdavEntry.java +++ b/src/eu/alefzero/webdav/WebdavEntry.java @@ -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 . + * + */ package eu.alefzero.webdav; import java.util.Date;