Merge "Skip reading config file that does not exist" into tm-qpr-dev am: a2c6c3ac38
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21752161 Change-Id: I6a0b2931364504d4f24b5882f9705a0257eb0ec1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -216,6 +216,10 @@ class LetterboxConfigurationPersister {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void readCurrentConfiguration() {
|
private void readCurrentConfiguration() {
|
||||||
|
if (!mConfigurationFile.exists()) {
|
||||||
|
useDefaultValue();
|
||||||
|
return;
|
||||||
|
}
|
||||||
FileInputStream fis = null;
|
FileInputStream fis = null;
|
||||||
try {
|
try {
|
||||||
fis = mConfigurationFile.openRead();
|
fis = mConfigurationFile.openRead();
|
||||||
|
|||||||
Reference in New Issue
Block a user