This commit is contained in:
arrase 2016-12-08 15:45:16 +01:00
parent 41ebcc5050
commit 500075454a
2 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ import com.google.zxing.integration.android.IntentResult;
import org.json.JSONException;
import org.json.JSONObject;
import org.torproject.android.R;
import org.torproject.android.ui.hiddenservices.adapters.ClienCookiesAdapter;
import org.torproject.android.ui.hiddenservices.adapters.ClientCookiesAdapter;
import org.torproject.android.ui.hiddenservices.dialogs.AddCookieDialog;
import org.torproject.android.ui.hiddenservices.dialogs.CookieActionsDialog;
import org.torproject.android.ui.hiddenservices.dialogs.SelectCookieBackupDialog;
@ -35,7 +35,7 @@ public class ClientCookiesActivity extends AppCompatActivity {
public final int WRITE_EXTERNAL_STORAGE_FROM_COOKIE_ACTIONBAR = 3;
private ContentResolver mResolver;
private ClienCookiesAdapter mAdapter;
private ClientCookiesAdapter mAdapter;
@Override
protected void onCreate(Bundle savedInstanceState) {
@ -57,7 +57,7 @@ public class ClientCookiesActivity extends AppCompatActivity {
}
});
mAdapter = new ClienCookiesAdapter(
mAdapter = new ClientCookiesAdapter(
this,
mResolver.query(CookieContentProvider.CONTENT_URI, CookieContentProvider.PROJECTION, null, null, null)
, 0);

View File

@ -16,10 +16,10 @@ import android.widget.Toast;
import org.torproject.android.R;
import org.torproject.android.ui.hiddenservices.providers.CookieContentProvider;
public class ClienCookiesAdapter extends CursorAdapter {
public class ClientCookiesAdapter extends CursorAdapter {
private LayoutInflater cursorInflater;
public ClienCookiesAdapter(Context context, Cursor c, int flags) {
public ClientCookiesAdapter(Context context, Cursor c, int flags) {
super(context, c, flags);
cursorInflater = (LayoutInflater) context.getSystemService(