RealService
This commit is contained in:
parent
775a655692
commit
effa89e030
@ -338,13 +338,7 @@ feff0041c9c0c5b4bc18005a
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
||||||
try {
|
|
||||||
if (sPort != null) {
|
|
||||||
sPort.write("abc".getBytes(), 3000);
|
|
||||||
}
|
|
||||||
} catch (Exception e) {
|
|
||||||
e.toString();
|
|
||||||
}
|
|
||||||
|
|
||||||
Bundle bundle = intent.getExtras();
|
Bundle bundle = intent.getExtras();
|
||||||
if (bundle != null) {
|
if (bundle != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user