This fixes a bug where string expression was being evaluated
and then compared to null. The result is a constant expression
which always passes, resulting in inadvertently accessing the
null variable.
Fixes bug
28237450
Change-Id: I755b4466fd1985bd7f8984c17e06839ac4a30642
removeClient(client);
}
if (DEBUG) Slog.v(TAG, "handleError(client="
- + client != null ? client.getOwnerString() : "null" + ", error = " + error + ")");
+ + (client != null ? client.getOwnerString() : "null") + ", error = " + error + ")");
// This is the magic code that starts the next client when the old client finishes.
if (error == FingerprintManager.FINGERPRINT_ERROR_CANCELED) {
mHandler.removeCallbacks(mResetClientState);