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

Skip to content
Commit c68948bc authored by Erica Chang's avatar Erica Chang Committed by Gerrit Code Review
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
parent baa3812e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment