diff options
author | 2011-12-15 10:11:00 -0800 | |
---|---|---|
committer | 2011-12-15 10:11:00 -0800 | |
commit | c71aa81fbdf20a511e278958a3876bfc0d555660 (patch) | |
tree | 54f3aacb81bc3a1293f7b34420e7645322e86d4a /java/src/com/android/inputmethod/latin/Utils.java | |
parent | 3923736dc18e264767eb1e6de04af4398406545b (diff) | |
parent | eee2a066d8bcde65a128abb0d0618a280e623688 (diff) | |
download | latinime-c71aa81fbdf20a511e278958a3876bfc0d555660.tar.gz latinime-c71aa81fbdf20a511e278958a3876bfc0d555660.tar.xz latinime-c71aa81fbdf20a511e278958a3876bfc0d555660.zip |
am eee2a066: Merge "Change visibility to avoid synthetic accessor method"
* commit 'eee2a066d8bcde65a128abb0d0618a280e623688':
Change visibility to avoid synthetic accessor method
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Utils.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Utils.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/Utils.java b/java/src/com/android/inputmethod/latin/Utils.java index 64f4d058b..72b0e13a4 100644 --- a/java/src/com/android/inputmethod/latin/Utils.java +++ b/java/src/com/android/inputmethod/latin/Utils.java @@ -543,13 +543,13 @@ public class Utils { final String currentDateTimeString = new SimpleDateFormat("yyyyMMdd-HHmmssZ").format(date); if (mFile == null) { - Log.w(TAG, "No internal log file found."); + Log.w(USABILITY_TAG, "No internal log file found."); return; } if (mIms.checkCallingOrSelfPermission( android.Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) { - Log.w(TAG, "Doesn't have the permission WRITE_EXTERNAL_STORAGE"); + Log.w(USABILITY_TAG, "Doesn't have the permission WRITE_EXTERNAL_STORAGE"); return; } mWriter.flush(); @@ -563,20 +563,20 @@ public class Utils { src.close(); dest.close(); } catch (FileNotFoundException e1) { - Log.w(TAG, e1); + Log.w(USABILITY_TAG, e1); return; } catch (IOException e2) { - Log.w(TAG, e2); + Log.w(USABILITY_TAG, e2); return; } if (destFile == null || !destFile.exists()) { - Log.w(TAG, "Dest file doesn't exist."); + Log.w(USABILITY_TAG, "Dest file doesn't exist."); return; } final Intent intent = new Intent(Intent.ACTION_SEND); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); if (LatinImeLogger.sDBG) { - Log.d(TAG, "Destination file URI is " + destFile.toURI()); + Log.d(USABILITY_TAG, "Destination file URI is " + destFile.toURI()); } intent.setType("text/plain"); intent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://" + destPath)); |