fix typo
This commit is contained in:
parent
41ebcc5050
commit
500075454a
|
@ -24,7 +24,7 @@ import com.google.zxing.integration.android.IntentResult;
|
||||||
import org.json.JSONException;
|
import org.json.JSONException;
|
||||||
import org.json.JSONObject;
|
import org.json.JSONObject;
|
||||||
import org.torproject.android.R;
|
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.AddCookieDialog;
|
||||||
import org.torproject.android.ui.hiddenservices.dialogs.CookieActionsDialog;
|
import org.torproject.android.ui.hiddenservices.dialogs.CookieActionsDialog;
|
||||||
import org.torproject.android.ui.hiddenservices.dialogs.SelectCookieBackupDialog;
|
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;
|
public final int WRITE_EXTERNAL_STORAGE_FROM_COOKIE_ACTIONBAR = 3;
|
||||||
|
|
||||||
private ContentResolver mResolver;
|
private ContentResolver mResolver;
|
||||||
private ClienCookiesAdapter mAdapter;
|
private ClientCookiesAdapter mAdapter;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
@ -57,7 +57,7 @@ public class ClientCookiesActivity extends AppCompatActivity {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
mAdapter = new ClienCookiesAdapter(
|
mAdapter = new ClientCookiesAdapter(
|
||||||
this,
|
this,
|
||||||
mResolver.query(CookieContentProvider.CONTENT_URI, CookieContentProvider.PROJECTION, null, null, null)
|
mResolver.query(CookieContentProvider.CONTENT_URI, CookieContentProvider.PROJECTION, null, null, null)
|
||||||
, 0);
|
, 0);
|
||||||
|
|
|
@ -16,10 +16,10 @@ import android.widget.Toast;
|
||||||
import org.torproject.android.R;
|
import org.torproject.android.R;
|
||||||
import org.torproject.android.ui.hiddenservices.providers.CookieContentProvider;
|
import org.torproject.android.ui.hiddenservices.providers.CookieContentProvider;
|
||||||
|
|
||||||
public class ClienCookiesAdapter extends CursorAdapter {
|
public class ClientCookiesAdapter extends CursorAdapter {
|
||||||
private LayoutInflater cursorInflater;
|
private LayoutInflater cursorInflater;
|
||||||
|
|
||||||
public ClienCookiesAdapter(Context context, Cursor c, int flags) {
|
public ClientCookiesAdapter(Context context, Cursor c, int flags) {
|
||||||
super(context, c, flags);
|
super(context, c, flags);
|
||||||
|
|
||||||
cursorInflater = (LayoutInflater) context.getSystemService(
|
cursorInflater = (LayoutInflater) context.getSystemService(
|
Loading…
Reference in New Issue