linked: disable DNS resource (for now)

This commit is contained in:
Vincent Breitmoser
2015-08-31 13:40:22 +02:00
parent bff302f808
commit ee81018163
3 changed files with 9 additions and 5 deletions

View File

@@ -117,10 +117,10 @@ public abstract class LinkedTokenResource extends LinkedResource {
if (res != null) {
return res;
}
res = DnsResource.create(flags, params, subUri);
if (res != null) {
return res;
}
// res = DnsResource.create(flags, params, subUri);
// if (res != null) {
// return res;
// }
res = TwitterResource.create(flags, params, subUri);
if (res != null) {
return res;

View File

@@ -56,6 +56,7 @@ public class LinkedIdSelectFragment extends Fragment {
}
});
/*
view.findViewById(R.id.linked_create_dns_button)
.setOnClickListener(new View.OnClickListener() {
@Override
@@ -66,6 +67,7 @@ public class LinkedIdSelectFragment extends Fragment {
mLinkedIdWizard.loadFragment(null, frag, LinkedIdWizard.FRAG_ACTION_TO_RIGHT);
}
});
*/
view.findViewById(R.id.linked_create_twitter_button)
.setOnClickListener(new View.OnClickListener() {

View File

@@ -72,6 +72,7 @@
</LinearLayout>
<!--
<View
android:layout_width="match_parent"
android:layout_height="1dip"
@@ -86,7 +87,7 @@
android:background="?android:selectableItemBackground"
android:orientation="horizontal">
<!-- separate ImageView required for recoloring -->
<!- separate ImageView required for recoloring ->
<ImageView
android:layout_width="60dip"
android:layout_height="60dip"
@@ -106,6 +107,7 @@
android:gravity="center_vertical" />
</LinearLayout>
-->
<View
android:layout_width="match_parent"