linked-ids: small compatibility changes
This commit is contained in:
@@ -70,7 +70,8 @@ public abstract class LinkedTokenResource extends LinkedResource {
|
||||
|
||||
protected static LinkedTokenResource fromUri (URI uri) {
|
||||
|
||||
if (!"openpgpid+token".equals(uri.getScheme())) {
|
||||
if (!"openpgpid+token".equals(uri.getScheme())
|
||||
&& !"openpgpid+cookie".equals(uri.getScheme())) {
|
||||
Log.e(Constants.TAG, "unknown uri scheme in (suspected) linked id packet");
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -457,7 +457,7 @@ public class LinkedIdViewFragment extends CryptoOperationFragment implements
|
||||
@Override
|
||||
protected LinkedVerifyResult doInBackground(Void... params) {
|
||||
long timer = System.currentTimeMillis();
|
||||
LinkedVerifyResult result = mLinkedResource.verify(mFingerprint);
|
||||
LinkedVerifyResult result = mLinkedResource.verify(getActivity(), mFingerprint);
|
||||
|
||||
// ux flow: this operation should take at last a second
|
||||
timer = System.currentTimeMillis() -timer;
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
android:paddingRight="8dp"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user