am e9e4fe52
: Merge "Fix logic error"
* commit 'e9e4fe522720d8b501b7c8a4a070d7eba34b6059': Fix logic error
This commit is contained in:
commit
a9c2ff1b23
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue