Code example for TextureView

0
    } 
     
    public static boolean isAdvancedUiSupported(Context context)
    { 
        boolean flag = true;
        if(android.os.Build.VERSION.SDK_INT < 14 || !Property.ENABLE_ADVANCED_HANGOUTS.getBoolean() || (new TextureView(context)).getLayerType() != 2) 
        	return false;  
        else { 
        	 boolean flag1;
             if(Build.MANUFACTURER.equals("samsung") && !Build.BRAND.equals("google") && android.os.Build.VERSION.SDK_INT <= 15)
                 flag1 = flag;
             else 
                 flag1 = false;
             if(flag1) {
            	 return false; 
             } 
             return true; 
        } 
    } 
     
    public static boolean isHangoutCreationSupported(Context context, EsAccount esaccount)