OSDN Git Service

Fix limit data usage dialog body not being translated.
authorDoris Ling <dling@google.com>
Thu, 19 Apr 2018 23:35:28 +0000 (16:35 -0700)
committerDoris Ling <dling@google.com>
Thu, 19 Apr 2018 23:35:28 +0000 (16:35 -0700)
commit689bb2c27c641541c49e77359b13851c3b3d1e05
tree39e6ec35f9200eb9ac1f3b04447a6b3575d9b64a
parentdbe38b09cf1dc8d0f9d06de7c0d42b130351ea38
Fix limit data usage dialog body not being translated.

- need to pass the resource id instead of the text when building the
dialog in order for it to react to language change.
- also remove the unnecessary set/get the body message in the dialog
creation since the msg id can be used directly.

Change-Id: I399dcda54961fac457fc5f0fad9082f2c1e1a2b2
Fixes: 77897157
Test: run i18nscreenshots
src/com/android/settings/datausage/BillingCycleSettings.java