summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorGuliz Tuncay <gulizseray@google.com>2017-08-17 15:25:38 -0700
committerGuliz Tuncay <gulizseray@google.com>2017-08-25 23:35:54 +0000
commit83a7330bbe8ee1e8fcaa88ba2fb5e4cb3154c790 (patch)
tree1b2c24c8f1ee5ed2a6eb7b2488f43a6f8303f0d5 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentb3ce96ea9498994e5edfaecc71a8fa19d9369c5e (diff)
Update Settings properly when no Spell Checker is available.
Currently, Settings is not being updated properly when the current spell checker service is removed or disabled and there is no other spell checker service available. The correct behavior is that Secure.Settings should be updated with empty string to indicate there is no selected spell checker service. Fixes: 64812014 Test: Manually as follows: 0. Make sure AOSP keyboard is installed. 1. adb shell settings put --user 0 secure selected_spell_checker com.android.inputmethod.latin/.spellcheck.AndroidSpellCheckerService 2. tapas SampleSpellCheckerService 3. make -j 4. adb install --user 0 -r out/target/product/generic/system/app/SampleSpellCheckerService/SampleSpellCheckerService.apk 5. adb shell pm disable com.android.inputmethod.latin 6. adb shell settings get --user 0 secure selected_spell_checker -> com.example.android.samplespellcheckerservice/.SampleSpellCheckerService 7. adb uninstall com.example.android.samplespellcheckerservice 8. adb shell settings get --user 0 secure selected_spell_checker -> empty 9. adb root 10. adb shell settings get --user 0 secure selected_spell_checker -> empty 11. adb shell pm enable com.android.inputmethod.latin 12. adb shell settings get --user 0 secure selected_spell_checker Change-Id: I30902a3d94f2ddef33f4a8067799e98322ae3a03
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions