From dae931902a0edcb50f7576b50f65f3d4cf697072 Mon Sep 17 00:00:00 2001 From: "gune.kim" Date: Sun, 12 Jun 2011 22:12:57 +0900 Subject: [PATCH] Modify: event injector enable --- .../linuxplatform/injector/view/InjectorView.class | Bin 10014 -> 9686 bytes .../linuxplatform/injector/view/InjectorView.java | 15 +-- .../location/core/injector/LocationInjector.class | Bin 5238 -> 4799 bytes .../location/core/injector/LocationInjector.java | 15 +-- .../accelerometer/page/Accelerometer$10.class | Bin 1085 -> 1085 bytes .../accelerometer/page/Accelerometer$11.class | Bin 1275 -> 1275 bytes .../accelerometer/page/Accelerometer$12.class | Bin 1271 -> 1271 bytes .../accelerometer/page/Accelerometer$13.class | Bin 1257 -> 1257 bytes .../accelerometer/page/Accelerometer$14.class | Bin 1515 -> 1515 bytes .../accelerometer/page/Accelerometer$15.class | Bin 1517 -> 1517 bytes .../accelerometer/page/Accelerometer$16.class | Bin 1519 -> 1519 bytes .../accelerometer/page/Accelerometer$17.class | Bin 1517 -> 1517 bytes .../accelerometer/page/Accelerometer$18.class | Bin 1641 -> 1641 bytes .../accelerometer/page/Accelerometer$19.class | Bin 1765 -> 1765 bytes .../accelerometer/page/Accelerometer$20.class | Bin 1644 -> 1644 bytes .../accelerometer/page/Accelerometer$21.class | Bin 972 -> 972 bytes .../accelerometer/page/Accelerometer$22.class | Bin 978 -> 978 bytes .../accelerometer/page/Accelerometer$23.class | Bin 975 -> 975 bytes .../accelerometer/page/Accelerometer$4$1.class | Bin 3179 -> 3179 bytes .../accelerometer/page/Accelerometer$4.class | Bin 1555 -> 1675 bytes .../accelerometer/page/Accelerometer$5.class | Bin 1483 -> 1483 bytes .../accelerometer/page/Accelerometer$6.class | Bin 1083 -> 1083 bytes .../accelerometer/page/Accelerometer$7.class | Bin 1480 -> 1480 bytes .../accelerometer/page/Accelerometer$8.class | Bin 1083 -> 1083 bytes .../accelerometer/page/Accelerometer$9.class | Bin 1477 -> 1477 bytes .../accelerometer/page/Accelerometer$Mode.class | Bin 1430 -> 1430 bytes .../sensor/accelerometer/page/Accelerometer.class | Bin 12205 -> 12206 bytes .../sensor/accelerometer/page/MobilePanel.class | Bin 13208 -> 12850 bytes .../sensor/accelerometer/page/Accelerometer.java | 101 ++------------------- .../sensor/accelerometer/page/MobilePanel.java | 15 +-- .../sensor/light/page/LightPage.class | Bin 5247 -> 5116 bytes .../linuxplatform/sensor/light/page/LightPage.java | 21 ++--- .../sensor/proximity/page/ProximityPage.class | Bin 4451 -> 4320 bytes .../sensor/proximity/page/ProximityPage.java | 21 ++--- 34 files changed, 28 insertions(+), 160 deletions(-) diff --git a/com.samsung.linuxplatform.injector/bin/com/samsung/linuxplatform/injector/view/InjectorView.class b/com.samsung.linuxplatform.injector/bin/com/samsung/linuxplatform/injector/view/InjectorView.class index 5f3ed346c4429c20ba5c39ce84c087721d64e877..cfc45dc9d4b57e0147e4fb2ecd4b64a593aee563 100644 GIT binary patch delta 321 zcmYk0OD_Xq6o%jTYjs?v4Xx^E#K_PgW7A5SV9SmWYTSBpX@@3u{U27}%EprQq%y(6 z53sTG7yJPm8*z$=Z*iWSH|KlKx!!nPOFn--J^@%@+kny~!`1fqNVxiu)&AIfV$bA0 z5A$Qyl3Q*aVpd$e9~EKG zn&CaGR~Ymnp4`IlB0Pi=$554;MqKty!k{f02WigyJ1Fyeke10fR4O*y&n8>?#Vy)_ RWQu1z|F$R=gz~ul!!O}CGRyz~ delta 516 zcmZusO)q0n7=EAI(W`Z92zpB<6s=Z8in#H$nhXo^70NI}J9FJ0ZK*pmb@>Apw&bjA z%x`E+8kvPy`vLxfou$M^y#0t+Se$d-_xX6==iJR*Ec$Mr|6dc)2o68CcoFX5QZ;lY=zX=g+lR5x=ZY)4M{AKl+He8;97)5kq2{8aG+GGJqS1Fn z8Zxv5(s+2yHk8kXpoKvDj)!AIePVx`#R z+sza~r!B7iRg#jF;*Mb~(<$@73KGl(8B?$-tx(TIN5!F)-Bed|0BiXAs#~wDEO75) z&8OHuS{o=~Ltck^eVyb%kQ&iV9SF&XkkPwE5uQ~Jxl!K8Z{P~a609p^&&eAr!Iq!H sdc2=B#Ha;>q$B<&L!g#HvhxEeEv}||{Kg-75+3pt7*lWnN8W_}FL7>Z6951J diff --git a/com.samsung.linuxplatform.injector/src/com/samsung/linuxplatform/injector/view/InjectorView.java b/com.samsung.linuxplatform.injector/src/com/samsung/linuxplatform/injector/view/InjectorView.java index 0def124..7d26911 100644 --- a/com.samsung.linuxplatform.injector/src/com/samsung/linuxplatform/injector/view/InjectorView.java +++ b/com.samsung.linuxplatform.injector/src/com/samsung/linuxplatform/injector/view/InjectorView.java @@ -265,18 +265,6 @@ public class InjectorView extends ViewPart implements job.schedule(); } } - - @Override - public void StatusChanged(int Event) { -// if( DeviceManager.getSelectedDevice().getMachineType() == IMachine.VIRTUAL_DEVICE){ -// if (Event == IDeviceListener.RUNNING) { -// connect(); -// } -// else if( Event == IDeviceListener.NOT_RUNNING){ -// disconnect(); -// } -// } - } public ArrayList getCategoryList() { return this.categoryList; @@ -294,7 +282,8 @@ public class InjectorView extends ViewPart implements @Override public void ConnectionChanged() { - if (DeviceChecker.hasActiveVirtualDevice( DeviceManager.getSelectedDevice().getMachineId() )) { +// if (DeviceChecker.hasActiveVirtualDevice( DeviceManager.getSelectedDevice().getMachineId() )) { + if (DeviceChecker.hasActiveVirtualDevice( null )) { connect(); } else { diff --git a/com.samsung.linuxplatform.location.core/bin/com/samsung/linuxplatform/location/core/injector/LocationInjector.class b/com.samsung.linuxplatform.location.core/bin/com/samsung/linuxplatform/location/core/injector/LocationInjector.class index 529642d006399d4d5c39882276613354d5eb69b5..f3965c42ed04f537d6a00b6d206eacf50953b7d3 100644 GIT binary patch delta 198 zcmXAhxeftQ6o&shCT?SHV0g%O(L$jYeWGH5hC*ciYQ{#+H^WJ!$WjKS%dop6apz1 delta 572 zcmZvYOHUI~6vuzJ6b5exgP<)D7p;k*$ihT1QCS&u!Gcvy<4z~jn|4B5OgnAj%J1N; z+yE=zuZq?RQWQlaiTVxv7%q)xIuIivH#v`c&-p*@=BeM=p`AZ#UEnNVEn>kBYpQkO zp-vCwe8+FpXG>1CXbOsWc5X7SdBQV`r;6#|rka?#Vw#?7=AEijG&P&&yign|8b4>s z#`R4hdRJV`P6jtrCR1_Tl2{qJkG zWZZ?&*JoxF$&ypQ?D}5QLYk1TtP_(1nGTQJyc~IR zpRw`y3i@=Lw-2z#`&Y1}e%F$rK8{K}&Va-XS?@9|3R9x!1Y4xp=9s)BBS6V1=>(c} z?h4(4)Nx{|L8&Y632lc8u1i*u$9f7jI()dd$G(qvMAqROHam>+UEqKA2<>QpmvEP6 Mv`=ogWj@B2zgc98r2qf` diff --git a/com.samsung.linuxplatform.location.core/src/com/samsung/linuxplatform/location/core/injector/LocationInjector.java b/com.samsung.linuxplatform.location.core/src/com/samsung/linuxplatform/location/core/injector/LocationInjector.java index 64eef43..e6fcec2 100644 --- a/com.samsung.linuxplatform.location.core/src/com/samsung/linuxplatform/location/core/injector/LocationInjector.java +++ b/com.samsung.linuxplatform.location.core/src/com/samsung/linuxplatform/location/core/injector/LocationInjector.java @@ -184,21 +184,8 @@ public class LocationInjector implements IDeviceListener { } @Override - public void StatusChanged(int Event) { - // TODO Auto-generated method stub - if( DeviceManager.getSelectedDevice().getMachineType() == IMachine.VIRTUAL_DEVICE){ - if (Event == IDeviceListener.RUNNING) { - connect(); - } - else if( Event == IDeviceListener.NOT_RUNNING){ - disconnect(); - } - } - } - - @Override public void ConnectionChanged() { - if (DeviceChecker.hasActiveVirtualDevice( DeviceManager.getSelectedDevice().getMachineId() )) { + if (DeviceChecker.hasActiveVirtualDevice( null )) { connect(); } else { diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$10.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$10.class index 540c1c04f54905e7a4f31f1b356162cdf2682a6d..7bdbdd5c2b163ba242706ae31b4c8e65197261e6 100644 GIT binary patch delta 23 fcmdnXv6o}R7G}m*leaQEv%X>AW_UaKFS7#xaLEZL delta 23 fcmdnXv6o}R7G}l=leaQEvp!I?f diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$11.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$11.class index 282d7de7a25fbcba3180db2a700cf28bbf0bac76..5de8933d600765a3d89f4e1280b391c0dd14dd22 100644 GIT binary patch delta 29 kcmey(`I~b?JPQ*e^W;R904_#W1`$R!21!Qt$-7w`0CIT-NB{r; delta 29 lcmey(`I~b?JPQ-U&&i1_0bC5f8AKTVFi0}|oxGdH0RW$H3LF3c diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$12.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$12.class index 5f94ca5d6ee497151d59b33d8f6aedb0a040c76b..57ecf16d572b959be1941862dbbbb2630f6594c5 100644 GIT binary patch delta 27 icmey)`JHn^3=1RIv%s JIC&y#8~~EU4F~`L delta 53 zcmV-50LuUG3-1fCl>`BTla>TH0f&>%1f?C501^R|03-pG05<`a073zm08Igy09gT< L0Am4~laU2p(;N@b diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$17.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$17.class index ad80776e41251ddc62b31aaf2c2abe2367b92b75..f3c9bce4df1047f903a478f4a0db0fbab298d65a 100644 GIT binary patch delta 53 zcmaFM{g!*fR2IhI$`Btla>TH0il!61fw0T01^SN03rde05t)y06+n;080U~09OIC L0AT^NlaB>n=`0Yy diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$18.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$18.class index bf2082f623b75be30140b569e462fb14bf3324e0..5e8d90ba5dc987b2daf6c909c236ed73fd0a37f8 100644 GIT binary patch delta 39 ucmaFK^O9#nHY;Pv5Emp9$Om delta 39 vcmaFK^O9#nHY?+?$vLd;qNfRX9ahH1$#+@%BwHE88QU2o7&{o089N!w8M_$V8M_($7<(tTuq6TjHKh!7 delta 43 zcmV+`0M!5G4do56+yw#ClidZ58P@<80oec;0oni~0owpK0o(vb0o?#j0pF8^24QCT B4+Q`K diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$20.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$20.class index c9bf26c2d8475f1229438f5113c7bccf9310865a..77cf008c1a26e9424c19499a06b08a980dd14e26 100644 GIT binary patch delta 39 vcmaFE^M+?b9xG%2|)K5UGa8AKVcOrFDR1^{bW2iO1r delta 25 gcmcb_eu;g92Qw3s;$$yoA2udc22m!p$#a;^09O_T(EtDd diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$23.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$23.class index 7306d65640ae1b33eb218b10776ae279a5ca093c..5010775262e9842a9afcd9c8b71317412439b3a1 100644 GIT binary patch delta 25 hcmX@lex7}UD>D=0%gOG{K5UF{8AKW1O`geY1^{hl2p0eV delta 25 gcmX@lex7}UD>D<5^<;NuA2ud?22m!5$upVF09hjj5C8xG diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$4$1.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$4$1.class index 75fa44f96a71013b980080d91cbd8c6957752de6..c2fdcd287cea3048a58680dcf60fd7d662944a11 100644 GIT binary patch delta 84 zcmaDY@mgZTO-{zP&9^vbGCFoLa4~c-@GCNW%Rn9QihFpbfOVFqI&!_3KBxVHlUEJql; diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$4.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$4.class index 797ebf548abf634a8be3da656b5b3770ccc2c30c..cf192a406ab88ca5d6954144c2232352a416ec6f 100644 GIT binary patch delta 354 zcmXv|yG{a85Iy(q!tz)QqERsl0?K230gCU}YG*>DCO*1_5G9bsxLOc3SlM7>Zlxb! zYiJZPv9z%83;Y)2C~=B2XU?3=8KKrau8;558-O&{8!kVO_=?tU<)oA=nE9ivGt(@Z zhYV6Yao|E90xE(S5+RSWH1AUS>hC_xV;X{fz6ASEtyy#kz)}{f6Ha8LMP@UjZyzCt=)bA DAecSe delta 243 zcmXAiNlpS`5QV>gup12~&=6gTVuK7SG_5$r4IvsAvSP(u2wn4>J4)a2F;f(FMSO?h?|cfzU6-9QTd$6Uy-zc*J>+n5X=@mT#jD0J4*d1wa;z45R=6 diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$6.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$6.class index b05ed2a786c29fb3393c93c1171f45aab2597c7a..c7e840ae65b4316e2de21d08f12649e0006a79e8 100644 GIT binary patch delta 23 fcmdnZv72MVCT7NclQ%OvvmRjJW;i(cH?so(YcU9! delta 23 fcmdnZv72MVCT7MhlQ%Ovvu0LB1T0LTDa0Lhbx1wbFc4K@G( diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$8.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$8.class index 3d616cdeb4a2ed2f6f25355b281d95dbc527bb2b..ebaf11f2076caaf60e3b282fbef7b73d20a995e8 100644 GIT binary patch delta 23 fcmdnZv72MVCT7N~lQ%OvvtDQ5X1Fo=H?so(ZOjPX delta 23 fcmdnZv72MVCT7OdlQ%Ovvz}$(W;i$bH?so(Y^n&r diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$9.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$9.class index 82f9441feb3f3f1654dd79af8da6e94bbfabe20a..4b753cf5444cc275dfb1f98c4cdc47ec5c3eeec7 100644 GIT binary patch delta 39 xcmV+?0NDS<3&jht+ynvNlidW972^OE0OSBC0ObHN0OkNz0OtT(0O*s21wbu_4haAN delta 39 xcmV+?0NDS<3&jht+ynvDlidW971;n40NMa20NVgD0Nemp0Nnsv0N#^@1wbgx4Z{Ec diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$Mode.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer$Mode.class index d7be57c876a3f09536cd240f09a72f23a2f96cbd..98b4551e8a39427787235a73ac179b17e6af249f 100644 GIT binary patch delta 23 fcmbQnJ&k+A8WvVD26ZOU$s1Wr7)2*PW7z-zO;rZF delta 23 fcmbQnJ&k+A8Wz?J26d+N$s1Wr7}F;|W7z-zS3?J} diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/Accelerometer.class index 9e1e05c6597922cdd5b32c104bbd7c227d16096a..77cc0d2fda38400d86aab1ed4e2438485a0a8908 100644 GIT binary patch delta 687 zcmXBST}YE*6bJDC|Ey)skKD9rbG9Zqrp`raWnKh@c;l5tM38t<(5hKh(oKYQ(M^R> zZ`cQc)@uRwZ`mfSm{6 z;X(L#2$ee4YBpjg4`UCHAiyRx^C-^p7%uQQuCW=NJfow(sH4Am*?ZdB4l_HD&RekZ zwiXK+m%KIXGRD1)?z_4d)?T_{V=o-+K|cH7VpK1@j}3fi1WId-NU=vaV8n}qg^Z~f zR57GtM8&X*XDUWjJXi7RpSV||B5u4cQISxQRPj#52NmyCd{i;1;Y>bn%4-Hjo$BrTyL{mAJsp8-feS8kJECC$WGZBK z#Z%(yLyObuq&Xd}^x-0lahaA z9L94_Ai^2EkokBii||geF)StcBx^7t<@hXB_#&I}O?KeBG+|WsVN4EST#jQxS~1xy z*D)oX_#p$BmPhz0uL$|bD4Ap_mH;^Me`@5TKu=crz&Q9pB*`0EH3{7Elr}EFEUb`D z#_Qc|Y?L-8&<+!hN&_8w7lm_D%Z0FO4`In?qNX{>d@BwnX*9E#{dDTb7@fbD$(rWs z)TfxDDOQ?{U`7thjYvk&wH_8$AekHBWhItrXJy=tY92y>=h4X9p%%A?EAJqNU9hto zZuY>Z)h%ToO4*MZ4xpBIv6J_(mth>{eH`NhwD6&>Ac7lwuQh))=s9Q|g^6Q`I*NndX(qVqXCVv|NoFYgSlXen~La`XTynf?mrdz~nyv}S)lLVN= z0gEK6aH>dBk*p$Bg-eC!p9p2C@ESu|DsolismNDRsG>kck%|%(%T=sWan`2$o+oRO zBJ1?Yk94Up;(cM8RI02-u53b{)SyVV7$d$x>o(Y>7R6GB5(((mwi}V`FzZ8Savb~v DpeCEE diff --git a/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/MobilePanel.class b/com.samsung.linuxplatform.sensor.accelerometer/bin/com/samsung/linuxplatform/sensor/accelerometer/page/MobilePanel.class index ef9566d5fcf96d42beb8fcb5bcbfa10d5d11431c..f6b192510f20b9c3412327e28c47649945daec04 100644 GIT binary patch delta 290 zcmbP{z9~iE)W2Q(7#J9gnEcrpm>3!CCpU7KOcvnf-ss;WDl6!mpO=@KT#}ie=bVw4 zm!6u!#bnE5&(37W$Y3%tSADXb7#ojsMrv|)Y7q~U1C!%qe{oXLQiy>C$gE>vXRc@9V{T#)Vs2qH1&Z@PwVE-S zGcYjv0!3IDnE03lIGEfR1)vtFLM>p`+Ro$-GLi{sd~372{R!S2AgDMny-|=vE}cf<&6x@C&Sw zh)76mEc_-BXF83ASln~Zx!>b_xev)3!}t09@&*81v?Bu{4BDq9A=_78c0YGj6Df~d zx^;XM-PKJ)BoRFAv5pmlqOq(nEriPGfoY0_l{zpB6fX_Yh)lx>pX|HQm$= zkx?j0qbxCm6&L#~63J1KO(g_EZ+pi~F5TRc))TuaQv}?1&7JzZG)|K;O(2AsH2p70 zp%_geC~RJk#W-y>`|jykJ+RO5192;pG7Ywyp;?)<--H#?9L?K7HC(o+P$Qgq0cpuT zRI72-K3BVO>+w}xmeBv`uh(i%C;|wl{9$1}#0T%4218tn83O479Y}RS?8Y9Rm`453 zz&O$XoE0qAoSCt@XBvE>v1gjT1#jmQE!=_3SKM)y^3GM@;r0@gPU#B#(lyjdx%?W% tHE`FU#sUwJU-FgEvi%;cXeJnyYi;d6BzKnGsuq&7L{7}5|9139tjMW z=Dc%--OtBdS$ocIF(APDf}JimP(xieb&RxBUB;HWgxxtZ0vf2gV51tLa1;*2&`3`H z38M+k$UQVXQ8WgJaIQWtSH1CivyLfX2DOgGVhQHV$oe++J9{&AIG?gC}( z5L~u$2d;2!PAR_X8{GbGYN7WDlqgYa^SCo#lsel39?cKMXTB*_!riR-s#G^oZ3@Ydk)Iw&}qD8Bq zo%Fzh9`=5}pV0Fkv@fb}be7HKp6_+;`ObVd{d&uff7Uht1o0uj!VuEuY@tl}vn*(f zXo@y6+}@|CaUNqR4yU-PF;uhFFx!Y=lR9Oqhu z_YHO3;pgw)h6NqM*_Y#NTxC}hmf;n_aHBWaR@u|yn{C`W$*_(oYF5#2hv-`9vP?d46PC~j zNWw#CFAPzKda8(q4eBvEoA44E5(i#zRMIqx;!y|0GUatL7|s=}Andx!$CV1xv*2+TK)@RP)nJu~VcVpoV4@M4CA&=i!BoT1rZ}j5^d)VmKfq{gwP6sS66S7aVRvjy&P) z91_Weixk^`m;s^zGmtP#{CNbh_>UX>R delta 461 zcmZusyGjE=6g{&WvpQK}H4@+GDu~)73Kk-%R8TNg8XJ)%84^Lah^vi71hLaX2HzUr z?`MpPSXfxv+Y5exf1ut?EFHM#+%xygnVApsv&ne-etrSai3be|Ls(iRHS){XoQ=Ge z1WKch- z4J#NWWLSks=td0ZHBj}0wMS&0aIg;E{)p2PXhi33vI;l393H}88aig-#~dm#pT9<@ z2nzVSW`TMS6u)W|;}TbL$?(gtQLkR(MvfRA>MgRg7izd8pMo6jiOZ=QAa+-@K)+x8 BW^w=k diff --git a/com.samsung.linuxplatform.sensor.proximity/src/com/samsung/linuxplatform/sensor/proximity/page/ProximityPage.java b/com.samsung.linuxplatform.sensor.proximity/src/com/samsung/linuxplatform/sensor/proximity/page/ProximityPage.java index 4f5227f..ef68f02 100644 --- a/com.samsung.linuxplatform.sensor.proximity/src/com/samsung/linuxplatform/sensor/proximity/page/ProximityPage.java +++ b/com.samsung.linuxplatform.sensor.proximity/src/com/samsung/linuxplatform/sensor/proximity/page/ProximityPage.java @@ -109,22 +109,17 @@ public class ProximityPage extends AbstractInjectorPage implements IDeviceListen timer.stop(); } } - - @Override - public void StatusChanged(int Event) { -// if( DeviceManager.getSelectedDevice().getMachineType() == IMachine.VIRTUAL_DEVICE){ -// if (Event == IDeviceListener.RUNNING) { -// connect(); -// } -// else if( Event == IDeviceListener.NOT_RUNNING){ -// disconnect(); -// } -// } - } + + @Override + protected void finalize() throws Throwable { + DeviceLauncherManager.removeDeviceListener(this); +// TargetConnectionControl.removeTargetConnectionListener(this); + super.finalize(); + } @Override public void ConnectionChanged() { - if (DeviceChecker.hasActiveVirtualDevice( DeviceManager.getSelectedDevice().getMachineId() )) { + if (DeviceChecker.hasActiveVirtualDevice( null )) { connect(); } else { -- 2.7.4