trabajando en #949

parent 7fd4ccf4
...@@ -76,7 +76,7 @@ public class NetServiceTablet implements NetService.iNetServiceDevice { ...@@ -76,7 +76,7 @@ public class NetServiceTablet implements NetService.iNetServiceDevice {
Context context=activity.getBaseContext(); Context context=activity.getBaseContext();
Class serialClass; Class serialClass;
try { try {
serialClass=Class.forName(PCBcontext.getContext().getString(R.string.SerialClass)); serialClass=Class.forName(context.getString(R.string.SerialClass));
} catch (ClassNotFoundException e) { } catch (ClassNotFoundException e) {
Log.e(LOG_TAG,"S:"+PCBcontext.getContext().getString(R.string.SerialClass)); Log.e(LOG_TAG,"S:"+PCBcontext.getContext().getString(R.string.SerialClass));
serialClass=SerialActivity.class; serialClass=SerialActivity.class;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment