aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2013-09-06 11:24:28 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2013-09-06 11:24:28 +0200
commitdc6a709b7a8f3b80039c7de40050b9f2f3f42dd2 (patch)
treee7cf0397d24d51cca4475fe776f613cd35c0f892 /OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api
parentc97c57d34ea1994312ad7e409042ec55cf27c1d2 (diff)
downloadopen-keychain-dc6a709b7a8f3b80039c7de40050b9f2f3f42dd2.tar.gz
open-keychain-dc6a709b7a8f3b80039c7de40050b9f2f3f42dd2.tar.bz2
open-keychain-dc6a709b7a8f3b80039c7de40050b9f2f3f42dd2.zip
Disable parts of the old API
Diffstat (limited to 'OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api')
-rw-r--r--OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/RegisteredAppsListFragment.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/RegisteredAppsListFragment.java b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/RegisteredAppsListFragment.java
index 5ab210d5f..d1e52a2d6 100644
--- a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/RegisteredAppsListFragment.java
+++ b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/RegisteredAppsListFragment.java
@@ -4,8 +4,6 @@ import org.sufficientlysecure.keychain.R;
import org.sufficientlysecure.keychain.provider.KeychainContract;
import org.sufficientlysecure.keychain.provider.KeychainContract.ApiApps;
-import com.actionbarsherlock.app.SherlockListFragment;
-
import android.content.ContentUris;
import android.content.Intent;
import android.database.Cursor;
@@ -17,7 +15,8 @@ import android.support.v4.content.Loader;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
-import android.widget.ListView;
+
+import com.actionbarsherlock.app.SherlockListFragment;
public class RegisteredAppsListFragment extends SherlockListFragment implements
LoaderManager.LoaderCallbacks<Cursor> {
@@ -37,8 +36,7 @@ public class RegisteredAppsListFragment extends SherlockListFragment implements
public void onItemClick(AdapterView<?> adapterView, View view, int position, long id) {
// edit app settings
Intent intent = new Intent(getActivity(), AppSettingsActivity.class);
- intent.setData(ContentUris.withAppendedId(
- KeychainContract.ApiApps.CONTENT_URI, id));
+ intent.setData(ContentUris.withAppendedId(KeychainContract.ApiApps.CONTENT_URI, id));
startActivity(intent);
}
});