Commit ab8b78af authored by Mattia Ducci's avatar Mattia Ducci

minor fixes

parent f412b4ed
......@@ -77,7 +77,7 @@ public class MainActivity extends AppCompatActivity {
else
eventType=enteredExitedScreenTrackSwitch.getTextOff().toString();
instance.trackScreen(MainActivity.this,eventType,true);
instance.trackScreen(eventType,true);
}
public void onBtnUserPrefChanges(View view){
......
......@@ -112,11 +112,11 @@ public class Icarus {
//---------------------- LOG SCREEN TRACKING ------------------------------
public void trackScreen(Context c,String screenEventType,boolean debug){
public void trackScreen(String screenEventType,boolean debug){
Log.d(curContext.getString(R.string.icarus_class),"log screen track");
String screenName=c.getClass().getSimpleName();
String screenName=curContext.getClass().getSimpleName();
if(screenEventType.equalsIgnoreCase(ScreenTrackResource.EVENT_ENTERED) || screenEventType.equalsIgnoreCase(ScreenTrackResource.EVENT_EXITED) ){
......
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 to comment