parent
a11b20467a
commit
9659330c1e
|
@ -37,6 +37,7 @@ import android.preference.PreferenceScreen;
|
|||
import android.support.annotation.NonNull;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
|
@ -203,7 +204,10 @@ public class KeyboardShortcutsFragment extends BasePreferenceFragment {
|
|||
return true;
|
||||
}
|
||||
final KeyboardShortcutSpec spec = KeyboardShortcutsHandler.getKeyboardShortcutSpec(mContextTag, keyCode, event);
|
||||
if (spec == null || !spec.isValid()) return false;
|
||||
if (spec == null || !spec.isValid()) {
|
||||
Log.d(LOGTAG, String.format("Invalid key %s", spec));
|
||||
return false;
|
||||
}
|
||||
mKeySpec = spec;
|
||||
mKeysLabel.setText(spec.toKeyString());
|
||||
final String oldAction = mKeyboardShortcutHandler.findAction(spec);
|
||||
|
|
|
@ -411,7 +411,7 @@ public class AccountsDashboardFragment extends BaseSupportListFragment implement
|
|||
}
|
||||
|
||||
public long[] getActivatedAccountIds() {
|
||||
if (mAccountOptionsAdapter == null) {
|
||||
if (mAccountActionProvider == null) {
|
||||
return Utils.getActivatedAccountIds(getActivity());
|
||||
}
|
||||
return mAccountActionProvider.getActivatedAccountIds();
|
||||
|
|
|
@ -91,6 +91,7 @@ import org.mariotaku.twidere.model.ParcelableLocation;
|
|||
import org.mariotaku.twidere.model.ParcelableMedia;
|
||||
import org.mariotaku.twidere.model.ParcelableStatus;
|
||||
import org.mariotaku.twidere.model.SingleResponse;
|
||||
import org.mariotaku.twidere.text.method.StatusContentMovementMethod;
|
||||
import org.mariotaku.twidere.util.AsyncTaskUtils;
|
||||
import org.mariotaku.twidere.util.AsyncTwitterWrapper;
|
||||
import org.mariotaku.twidere.util.ClipboardUtils;
|
||||
|
@ -787,6 +788,9 @@ public class StatusFragment extends BaseSupportFragment implements LoaderCallbac
|
|||
|
||||
quoteTextView.setTextIsSelectable(true);
|
||||
textView.setTextIsSelectable(true);
|
||||
|
||||
quoteTextView.setMovementMethod(StatusContentMovementMethod.getInstance());
|
||||
textView.setMovementMethod(StatusContentMovementMethod.getInstance());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue