diff options
| author | “Ankita <ankitavyas@google.com> | 2021-10-02 14:12:09 +0000 |
|---|---|---|
| committer | “Ankita <ankitavyas@google.com> | 2021-10-21 09:14:24 +0000 |
| commit | 687adfd8fbaaabd352e7b7c6c7c1fa1d89285ed6 (patch) | |
| tree | 6991aca53dbabda58345ccd774837f437210856a /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 655e90e09ebd70e7a2dd7f725df53a2658adde16 (diff) | |
Send broadcasts on app-locale change.
Send below broadcasts:
1) explicit intent ACTION_LOCALE_CHANGED to app whose locale changed
2) explicit intent ACTION_APPPLICATION_LOCALE_CHANGED to installer of app
3) implicit ACTION_APPPLICATION_LOCALE_CHANGED to receivers with READ_APP_SPECIFIC_LOCALES permission
Bug: 202275007
Test: Manual; install app via adb, set the installer, grant permission
to some system app(eg. Settings). See that broadcast is received by all three receivers on app locale change.
Change-Id: Ifef25aaf3c1fde0fdf0befc4eb67cfd07186e46c
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
