OSDN Git Service

Fix dupicate preference in personal dict
authorTarandeep Singh <tarandeep@google.com>
Tue, 26 Mar 2019 18:26:58 +0000 (11:26 -0700)
committerTarandeep Singh <tarandeep@google.com>
Tue, 26 Mar 2019 18:45:40 +0000 (11:45 -0700)
commit69eb99109242ced6a1231b1ec9e5d6fc975f8489
tree156f19a1920dd359c9e573a0b8b59112af306c1c
parented8b0aebea96ff411aeddda3e9ad5f397145d82b
Fix dupicate preference in personal dict

Duplicate preference is added on the
UserDictionaryListPreferenceController. With this change, we check
before adding.

Fix: 129079798
Test: Manually using steps mentioned in bug
Change-Id: If73880f3be460f377b8985a44fc9f9fbe6370c06
src/com/android/settings/inputmethod/UserDictionaryListPreferenceController.java