Merge "Fix logic error"

main
Kurt Partridge 2013-04-17 18:57:18 +00:00 committed by Android (Google) Code Review
commit e9e4fe5227
1 changed files with 1 additions and 1 deletions

View File

@ -1107,7 +1107,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
packageInfo = mLatinIME.getPackageManager().getPackageInfo(mLatinIME.getPackageName(), packageInfo = mLatinIME.getPackageManager().getPackageInfo(mLatinIME.getPackageName(),
0); 0);
final String versionName = packageInfo.versionName; final String versionName = packageInfo.versionName;
return !(developerBuildRegex.matcher(versionName).find()); return developerBuildRegex.matcher(versionName).find();
} catch (final NameNotFoundException e) { } catch (final NameNotFoundException e) {
Log.e(TAG, "Could not determine package name", e); Log.e(TAG, "Could not determine package name", e);
return false; return false;