Fix logic error

Change-Id: Ia36660c66504ba2fbb7f125704926a08726df87a
main
Kurt Partridge 2013-04-14 12:25:45 -07:00
parent 3970352ea9
commit cd39368c21
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(),
0);
final String versionName = packageInfo.versionName;
return !(developerBuildRegex.matcher(versionName).find());
return developerBuildRegex.matcher(versionName).find();
} catch (final NameNotFoundException e) {
Log.e(TAG, "Could not determine package name", e);
return false;