am 524e2f9c: am 721a1fcd: am a512415e: am db221acc: Merge "Reduce log spam for the ease of debugging Bug 22857361." into mnc-dev
* commit '524e2f9c763adac6a6e02ccf85f77bc4b7a4fbca': Reduce log spam for the ease of debugging Bug 22857361.
This commit is contained in:
@@ -3555,7 +3555,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
? new File(Environment.getDataDirectory(), SYSTEM_PATH)
|
||||
: Environment.getUserSystemDirectory(userId);
|
||||
final File inputMethodDir = new File(systemDir, INPUT_METHOD_PATH);
|
||||
if (!inputMethodDir.mkdirs()) {
|
||||
if (!inputMethodDir.exists() && !inputMethodDir.mkdirs()) {
|
||||
Slog.w(TAG, "Couldn't create dir.: " + inputMethodDir.getAbsolutePath());
|
||||
}
|
||||
final File subtypeFile = new File(inputMethodDir, ADDITIONAL_SUBTYPES_FILE_NAME);
|
||||
|
||||
Reference in New Issue
Block a user