Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.net.Uri;

public class Main {
    /**
     * @param uri The Uri to check.
     * @return Whether the Uri authority is GoogleDriveLegacyStorageProvider.
     */
    private static boolean isGoogleDriveLegacyStorageDocument(Uri uri) {
        return "com.google.android.apps.docs.storage.legacy".equals(uri.getAuthority());
    }
}