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
|
||||
// storage is not currently mounted this will fail.
|
||||
File file = new File(getExternalFilesDir(null), "DemoFile.jpg");
|
||||
if (file != null) {
|
||||
file.delete();
|
||||
}
|
||||
file.delete();
|
||||
}
|
||||
|
||||
boolean hasExternalStoragePrivateFile() {
|
||||
// Get path for the file on external storage. If external
|
||||
// storage is not currently mounted this will fail.
|
||||
File file = new File(getExternalFilesDir(null), "DemoFile.jpg");
|
||||
if (file != null) {
|
||||
return file.exists();
|
||||
}
|
||||
return false;
|
||||
return file.exists();
|
||||
}
|
||||
// END_INCLUDE(private_file)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ Pkg.Desc=Android SDK Platform ${PLATFORM_VERSION}
|
||||
Pkg.UserSrc=false
|
||||
Platform.Version=${PLATFORM_VERSION}
|
||||
Platform.CodeName=
|
||||
Pkg.Revision=2
|
||||
Pkg.Revision=3
|
||||
AndroidVersion.ApiLevel=${PLATFORM_SDK_VERSION}
|
||||
AndroidVersion.CodeName=${PLATFORM_VERSION_CODENAME}
|
||||
Layoutlib.Api=15
|
||||
|
||||
Reference in New Issue
Block a user