OSDN Git Service

Fix bug preventing users from clicking settings suggestions twice
authorMatthew Fritze <mfritze@google.com>
Tue, 4 Oct 2016 20:39:27 +0000 (13:39 -0700)
committerMatthew Fritze <mfritze@google.com>
Tue, 4 Oct 2016 20:39:27 +0000 (13:39 -0700)
commitf265dbc44768b10e7fa45a104801e9222ae8c089
tree26da3954bb9f06276aa1f0284a684d5545672dd9
parent9c54a67d66c549275600f18716ab2320e0fb7b69
Fix bug preventing users from clicking settings suggestions twice

In an attempt to fix a monkey test crash which would open a
suggestion, click back and tap the same one again. The change
unfortunately prevented this for all users, but was not caught
because of a debug flag set on my device. A unit test will be added
to master to catch such cases, as tracked by this bug:
b/31937112

Change-Id: Ib1cff07e54903df687454bdbf2ed1416485ab34f
Fixes: 31926102
Test: Manual
src/com/android/settings/SettingsActivity.java