diff options
author | Wei Huang <weih@google.com> | 2009-05-22 13:30:03 -0700 |
---|---|---|
committer | Wei Huang <weih@google.com> | 2009-05-22 13:30:03 -0700 |
commit | 58eef7e4cf004857d1accef9b1bf4fed87ecf76b (patch) | |
tree | a125a54f32149947f024cf6798e6bae14c696908 | |
parent | 51ec709aeeba4a3f6ce335786d1b126222c89020 (diff) | |
download | frameworks_base-58eef7e4cf004857d1accef9b1bf4fed87ecf76b.zip frameworks_base-58eef7e4cf004857d1accef9b1bf4fed87ecf76b.tar.gz frameworks_base-58eef7e4cf004857d1accef9b1bf4fed87ecf76b.tar.bz2 |
add Gservices setting for "send message using bareJid timeout".
-rw-r--r-- | core/java/android/provider/Settings.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index abe3274..b2bdc6d 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2609,6 +2609,16 @@ public final class Settings { public static final String GTALK_COMPRESS = "gtalk_compress"; /** + * This is the timeout for which Google Talk will send the message using bareJID. In a + * established chat between two XMPP endpoints, Google Talk uses fullJID in the format + * of user@domain/resource in order to send the message to the specific client. However, + * if Google Talk hasn't received a message from that client after some time, it would + * fall back to use the bareJID, which would broadcast the message to all clients for + * the other user. + */ + public static final String GTALK_USE_BARE_JID_TIMEOUT_MS = "gtalk_use_barejid_timeout_ms"; + + /** * Enable use of ssl session caching. * 'db' - save each session in a (per process) database * 'file' - save each session in a (per process) file |