projects
/
platform
/
core
/
uifw
/
isf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfd740b
)
Reduced Remote_client's connection retry num
49/129549/1
author
Wonkeun Oh
<wonkeun.oh@samsung.com>
Wed, 17 May 2017 01:30:15 +0000
(10:30 +0900)
committer
InHong Han
<inhong1.han@samsung.com>
Wed, 17 May 2017 02:02:13 +0000
(11:02 +0900)
The remote_client try to connect to panel for 80 seconds in previous codes.
It might cause the ANR timeout.
We don't need to retry for more than 8 seconds, in total.
Change-Id: Ic0984de9fdeaaf8008c702e1df3dfe55a0303b77
ism/src/isf_remote_client.cpp
patch
|
blob
|
history
diff --git
a/ism/src/isf_remote_client.cpp
b/ism/src/isf_remote_client.cpp
index
11c1d30
..
4712be8
100644
(file)
--- a/
ism/src/isf_remote_client.cpp
+++ b/
ism/src/isf_remote_client.cpp
@@
-182,7
+182,7
@@
public:
if (!check_panel (display))
scim_launch_panel (true, "socket", display, NULL);
#endif
- for (int i = 0; i < 20
0
; ++i) {
+ for (int i = 0; i < 20; ++i) {
if (m_socket_remoteinput2panel.connect (addr)) {
ret = true;
break;