/*******************************************************************************
 * Copyright (c) Incoming Pty. Ltd. 2015
 ******************************************************************************/
package com.incoming.example.incomingpvntemplate;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;

import com.incoming.pvnsdk.PushVideo;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

public class PVNTemplateActivity extends Activity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_pvntemplate);

    Set<String> filterKeys = new HashSet<>(Arrays.asList("AWS", "ApacheSpark", "GoogleVideos", "Stanford", "JavaScript"));
    PushVideo.configureAudienceSegmentationKeys(filterKeys);

  }

  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.pvntemplate, menu);
    return true;
  }

}

@@ -333,121 +333,8 @@
 u;%0A%0A
-import com.incoming.pvnsdk.PushVideo;%0A%0Aimport java.util.Arrays;%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0A%0A
 publ
@@ -544,194 +544,8 @@
 e);%0A
-%0A    Set%3CString%3E filterKeys = new HashSet%3C%3E(Arrays.asList(%22AWS%22, %22ApacheSpark%22, %22GoogleVideos%22, %22Stanford%22, %22JavaScript%22));%0A    PushVideo.configureAudienceSegmentationKeys(filterKeys);%0A%0A
   %7D%0A

Remove setting of content targeting keys in launcher activity because the application class is used