code: public static String getBaseActivityPackageName(Context context) {
  		ComponentName activity = getBaseActivity(context);
  		if (activity == null) {
  			return null;
  		}
  		return activity.getPackageName();
  	}
docs: Returns Package name of base activity.<p>
  Requires GET_TASK permission
  @param context Context to get base activity information
  @return String containing base package name