diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2012-11-12 11:04:56 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-11-20 04:14:39 -0800 |
commit | 228323e759445398e2d723de9365da71099ec58b (patch) | |
tree | 0b7026a5657d48279420d5ba8d031bb62c9c8ae6 /services/java/com/android/server/NetworkTimeUpdateService.java | |
parent | 8f3957cb91a9e1465fa11aaf4d4286d4c5a59ba7 (diff) |
Make getLanguage return client-set language
Previously, getLanguage returned language set on the TTS service side.
In most cases client wants to receive value that was set on the Client side
(value that was set by last call to the setLanguage). That's true, for
example, for android settings app.
This is not an issue if there's only one client, or when all clients use the same
language. In that cases, service and client languages are in sync.
But if there are multiple clients using different languages, getLanguage might
return values that were not set by the client - and that's not what most of clients expect
to happen.
Change-Id: I5fd8313725e677c20fb2a84a087fc7555897bd30
Diffstat (limited to 'services/java/com/android/server/NetworkTimeUpdateService.java')
0 files changed, 0 insertions, 0 deletions