diff options
author | Aurimas Liutikas <aurimas@google.com> | 2018-02-20 10:13:07 -0800 |
---|---|---|
committer | Aurimas Liutikas <aurimas@google.com> | 2018-03-06 14:08:42 -0800 |
commit | b31c3281d870e9abb673db239234d580dcc4feff (patch) | |
tree | b4875bec1de8c7e90bd946314885e23bfde6d0fe /documentfile | |
parent | ed58eb082a79282dc348d980d5acec195fc6b631 (diff) | |
download | support-b31c3281d870e9abb673db239234d580dcc4feff.tar.gz |
Refactor support library.
Test: None
Change-Id: I11a047324832801555673dac45ec1d6590a6338b
Diffstat (limited to 'documentfile')
-rw-r--r-- | documentfile/build.gradle | 4 | ||||
-rw-r--r-- | documentfile/src/main/AndroidManifest.xml | 2 | ||||
-rw-r--r-- | documentfile/src/main/java/androidx/documentfile/provider/DocumentFile.java (renamed from documentfile/src/main/java/android/support/v4/provider/DocumentFile.java) | 4 | ||||
-rw-r--r-- | documentfile/src/main/java/androidx/documentfile/provider/DocumentsContractApi19.java (renamed from documentfile/src/main/java/android/support/v4/provider/DocumentsContractApi19.java) | 6 | ||||
-rw-r--r-- | documentfile/src/main/java/androidx/documentfile/provider/RawDocumentFile.java (renamed from documentfile/src/main/java/android/support/v4/provider/RawDocumentFile.java) | 4 | ||||
-rw-r--r-- | documentfile/src/main/java/androidx/documentfile/provider/SingleDocumentFile.java (renamed from documentfile/src/main/java/android/support/v4/provider/SingleDocumentFile.java) | 6 | ||||
-rw-r--r-- | documentfile/src/main/java/androidx/documentfile/provider/TreeDocumentFile.java (renamed from documentfile/src/main/java/android/support/v4/provider/TreeDocumentFile.java) | 6 |
7 files changed, 16 insertions, 16 deletions
diff --git a/documentfile/build.gradle b/documentfile/build.gradle index 460332f6f59..81cabad4b85 100644 --- a/documentfile/build.gradle +++ b/documentfile/build.gradle @@ -6,14 +6,14 @@ plugins { } dependencies { - api(project(":support-annotations")) + api(project(":annotation")) } supportLibrary { name = "Android Support Library Document File" publish = true mavenVersion = LibraryVersions.SUPPORT_LIBRARY - mavenGroup = LibraryGroups.SUPPORT + mavenGroup = LibraryGroups.DOCUMENTFILE inceptionYear = "2018" description = "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later." } diff --git a/documentfile/src/main/AndroidManifest.xml b/documentfile/src/main/AndroidManifest.xml index 7602dd7c378..b59d290f2db 100644 --- a/documentfile/src/main/AndroidManifest.xml +++ b/documentfile/src/main/AndroidManifest.xml @@ -13,4 +13,4 @@ See the License for the specific language governing permissions and limitations under the License. --> -<manifest package="android.support.documentfile"/> +<manifest package="androidx.documentfile"/> diff --git a/documentfile/src/main/java/android/support/v4/provider/DocumentFile.java b/documentfile/src/main/java/androidx/documentfile/provider/DocumentFile.java index 7e08d575388..f32b67a42e9 100644 --- a/documentfile/src/main/java/android/support/v4/provider/DocumentFile.java +++ b/documentfile/src/main/java/androidx/documentfile/provider/DocumentFile.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014 The Android Open Source Project + * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package android.support.v4.provider; +package androidx.documentfile.provider; import android.content.ContentResolver; import android.content.Context; diff --git a/documentfile/src/main/java/android/support/v4/provider/DocumentsContractApi19.java b/documentfile/src/main/java/androidx/documentfile/provider/DocumentsContractApi19.java index b920dc7c795..5ecf51ddaf7 100644 --- a/documentfile/src/main/java/android/support/v4/provider/DocumentsContractApi19.java +++ b/documentfile/src/main/java/androidx/documentfile/provider/DocumentsContractApi19.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014 The Android Open Source Project + * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package android.support.v4.provider; +package androidx.documentfile.provider; import android.content.ContentResolver; import android.content.Context; @@ -23,7 +23,7 @@ import android.content.pm.PackageManager; import android.database.Cursor; import android.net.Uri; import android.provider.DocumentsContract; -import android.support.annotation.RequiresApi; +import androidx.annotation.RequiresApi; import android.text.TextUtils; import android.util.Log; diff --git a/documentfile/src/main/java/android/support/v4/provider/RawDocumentFile.java b/documentfile/src/main/java/androidx/documentfile/provider/RawDocumentFile.java index f6ca91254b4..722c7ae348e 100644 --- a/documentfile/src/main/java/android/support/v4/provider/RawDocumentFile.java +++ b/documentfile/src/main/java/androidx/documentfile/provider/RawDocumentFile.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014 The Android Open Source Project + * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package android.support.v4.provider; +package androidx.documentfile.provider; import android.net.Uri; import android.util.Log; diff --git a/documentfile/src/main/java/android/support/v4/provider/SingleDocumentFile.java b/documentfile/src/main/java/androidx/documentfile/provider/SingleDocumentFile.java index 509e11debd2..bdcfe3906ba 100644 --- a/documentfile/src/main/java/android/support/v4/provider/SingleDocumentFile.java +++ b/documentfile/src/main/java/androidx/documentfile/provider/SingleDocumentFile.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014 The Android Open Source Project + * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,12 +14,12 @@ * limitations under the License. */ -package android.support.v4.provider; +package androidx.documentfile.provider; import android.content.Context; import android.net.Uri; import android.provider.DocumentsContract; -import android.support.annotation.RequiresApi; +import androidx.annotation.RequiresApi; @RequiresApi(19) class SingleDocumentFile extends DocumentFile { diff --git a/documentfile/src/main/java/android/support/v4/provider/TreeDocumentFile.java b/documentfile/src/main/java/androidx/documentfile/provider/TreeDocumentFile.java index 7a0c8d336fa..acf9d66096e 100644 --- a/documentfile/src/main/java/android/support/v4/provider/TreeDocumentFile.java +++ b/documentfile/src/main/java/androidx/documentfile/provider/TreeDocumentFile.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014 The Android Open Source Project + * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,14 +14,14 @@ * limitations under the License. */ -package android.support.v4.provider; +package androidx.documentfile.provider; import android.content.ContentResolver; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.provider.DocumentsContract; -import android.support.annotation.RequiresApi; +import androidx.annotation.RequiresApi; import android.util.Log; import java.util.ArrayList; |