|
|
@@ -328,7 +328,6 @@ public class ServiceMain extends Service {
|
|
|
|
|
|
IntentFilter filter = new IntentFilter();
|
|
|
filter.addAction(define.NOTIFY_ACNAME);
|
|
|
- filter.addAction(define.NOTIFY_CALLAPP_TOP);
|
|
|
registerReceiver(mNotifyBR, filter);
|
|
|
deviceInitChecker = new DeviceInitChecker();
|
|
|
}
|
|
|
@@ -345,17 +344,10 @@ public class ServiceMain extends Service {
|
|
|
public void onReceive(Context context, Intent intent) {
|
|
|
Log.i(TAG, "[onBrReceive] Intent : " + intent);
|
|
|
|
|
|
- if(intent.getAction().equals(define.NOTIFY_ACNAME))
|
|
|
- {
|
|
|
+ if (intent.getAction().equals(define.NOTIFY_ACNAME)) {
|
|
|
int kind = intent.getIntExtra("KIND", 0);
|
|
|
Log.i(TAG, "Receive Notify BR "+ define.NOTIFY_ACNAME + " : " + kind);
|
|
|
}
|
|
|
- else if(intent.getAction().equals(define.NOTIFY_CALLAPP_TOP))
|
|
|
- {
|
|
|
- int nCallStatus = intent.getIntExtra("CALLSATUS", 0);
|
|
|
- Log.i(TAG, "[KSJ] nCallStatus : " + nCallStatus);
|
|
|
- homeAutomation_Driver.setCallStaus(nCallStatus);
|
|
|
- }
|
|
|
|
|
|
}
|
|
|
};
|