예제 #1
0
  private static List<NativeAppInfo> buildFacebookAppList() {
    List<NativeAppInfo> list = new ArrayList<NativeAppInfo>();

    // Katana needs to be the first thing in the list since it will get selected as the default
    // FACEBOOK_APP_INFO
    list.add(FACEBOOK_APP_INFO);
    list.add(new WakizashiAppInfo());

    return list;
  }
예제 #2
0
 public static boolean isVersionCompatibleWithBucketedIntent(int version) {
   return KNOWN_PROTOCOL_VERSIONS.contains(version) && version >= PROTOCOL_VERSION_20140701;
 }