修改接收广播动作

This commit is contained in:
2020-12-22 09:45:53 +08:00
parent ebb0140597
commit f430d3abb7

View File

@ -2455,7 +2455,7 @@ public class DjActivity extends TabActivity implements OnInitListener, DecodeInf
public void start() {
mScanManager.startDecode();
IntentFilter filter = new IntentFilter();
filter.addAction(""); //添加action
filter.addAction("android.intent.ACTION_DECODE_DATA"); //添加action
registerReceiver(this, filter);
}