Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a9bf2b65 authored by Erica Chang's avatar Erica Chang
Browse files

Contacts : handle InCall plugin refresh on configuration change

InCallMethod text provided by InCall plugin (nudges, name etc) was not
updated on a locale change. This patch addresses the issue by
-tracking current locale in SharedPreferences
-if the onResume lifecycle comes directly from a configuration change,
check if the current locale is different than the saved locale in
SharedPreferences. If the locale changed, refreshing all CallMethodInfo
(instead of only dynamic items)
-Android system global locale update has significant delays, so
Application.onConfigurationChanged is not used, instead, the locale check
 is placed in onResume of affected Activities (PeopleActivity &
QuickContactActivity)

CD-640

Change-Id: I669a36e6a6739e56215af065c1d1b26909aac450
(cherry picked from commit c68948bc)
parent a26e9b83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment