Merge "Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master" into stage-aosp-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
ae9378c4dc
@@ -339,19 +339,14 @@ public class ExternalStorage extends Activity {
|
|||||||
// Get path for the file on external storage. If external
|
// Get path for the file on external storage. If external
|
||||||
// storage is not currently mounted this will fail.
|
// storage is not currently mounted this will fail.
|
||||||
File file = new File(getExternalFilesDir(null), "DemoFile.jpg");
|
File file = new File(getExternalFilesDir(null), "DemoFile.jpg");
|
||||||
if (file != null) {
|
file.delete();
|
||||||
file.delete();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean hasExternalStoragePrivateFile() {
|
boolean hasExternalStoragePrivateFile() {
|
||||||
// Get path for the file on external storage. If external
|
// Get path for the file on external storage. If external
|
||||||
// storage is not currently mounted this will fail.
|
// storage is not currently mounted this will fail.
|
||||||
File file = new File(getExternalFilesDir(null), "DemoFile.jpg");
|
File file = new File(getExternalFilesDir(null), "DemoFile.jpg");
|
||||||
if (file != null) {
|
return file.exists();
|
||||||
return file.exists();
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
// END_INCLUDE(private_file)
|
// END_INCLUDE(private_file)
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Pkg.Desc=Android SDK Platform ${PLATFORM_VERSION}
|
|||||||
Pkg.UserSrc=false
|
Pkg.UserSrc=false
|
||||||
Platform.Version=${PLATFORM_VERSION}
|
Platform.Version=${PLATFORM_VERSION}
|
||||||
Platform.CodeName=
|
Platform.CodeName=
|
||||||
Pkg.Revision=2
|
Pkg.Revision=3
|
||||||
AndroidVersion.ApiLevel=${PLATFORM_SDK_VERSION}
|
AndroidVersion.ApiLevel=${PLATFORM_SDK_VERSION}
|
||||||
AndroidVersion.CodeName=${PLATFORM_VERSION_CODENAME}
|
AndroidVersion.CodeName=${PLATFORM_VERSION_CODENAME}
|
||||||
Layoutlib.Api=15
|
Layoutlib.Api=15
|
||||||
|
|||||||
Reference in New Issue
Block a user