diff options
author | Yohei Yukawa <yukawa@google.com> | 2018-12-19 14:12:42 -0800 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2018-12-19 14:12:42 -0800 |
commit | b1a3fdb99f5c577227fe80298f01bfbeb01322ad (patch) | |
tree | 71d60f7c4d34c4e09ade0be974acc1efe50f7441 /rs/java/android/renderscript/ProgramStore.java | |
parent | 2fe2dbca530fba05e4b10ee5f088ffbdd9f4bdd2 (diff) |
Create /data/system/inputmethod/ directory lazily
With this CL, the directory /data/system/inputmethod/ is also created
only when necessary. Also the /data/system/inputmethod/ will be
deleted automatically when it is empty.
There should be no developer-facing behavior change.
Bug: 121223050
Test: Manually verified as follows
1. Build and flash aosp_taimen-userdebug into taimen
2. Wait until the device fully boots up
3. adb reboot # to avoid Bug 121259290
4. adb root
5. adb shell cat /data/system/inputmethod/subtypes.xml
-> make sure the content looks as follows:
<subtypes>
<imi id="com.android.inputmethod.latin/.LatinIME">
<subtype ....>
<subtype ....>
</imi/>
</subtypes>
6. Open AOSP Keyboard settings
7. Go to "Appearance & Layouts" -> "Custom input styles"
8. Remove all layouts
9. adb shell cat /data/system/inputmethod/subtypes.xml
-> make sure the file no longer exists
10. adb shell ls /data/system/inputmethod
-> make sure the directory no longer exists
11. Open AOSP Keyboard settings
12. Go to "Appearance & Layouts" -> "Custom input styles"
13. Add English (US) - Dvorak
14. adb shell ls /data/system/inputmethod
-> make sure the directory exists and only the system user can
access it
Change-Id: I2307b5e4edf7b90d2fc03138f233d6051f80cf90
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions