Suporte para VidOn XBMC

Amlogic SDK Configuration - S802 S805 S812

1. Permission:

         chmod 666 /dev/amvideo

         chmod 666 /dev/amstream*

         chmod 666 /sys/class/video/axis

         chmod 666 /sys/class/video/screen_mode

         chmod 666 /sys/class/video/disable_video

         chmod 666 /sys/class/tsync/pts_pcrscr

         chmod 666 /sys/class/audiodsp/digital_raw

         chmod 666 /sys/class/ppmgr/ppmgr_3d_mode

         chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

         chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

         chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

         chmod 666 /sys/class/video/blackout_policy

         chmod 666 /dev/snd/controlC0

         chmod 666 /dev/snd/pcmC0D0c

         chmod 666 /dev/snd/pcmC0D0p

         chmod 666 /dev/snd/pcmC0D1c

         chmod 666 /dev/snd/pcmC0D1p

         chmod 666 /dev/snd/timer

         chmod 666 /sys/class/audiodsp/digital_codec

         chmod 666 /sys/devices/platform/spdif-dit.0/spdif_mute

         chmod 666 /sys/class/amhdmitx/amhdmitx0/config

         chmod 666 /sys/class/display/mode

 

2. Change:

   frameworks/base/services/java/com/android/server/wm/WindowStateAnimator.java

 

   boolean isNeedOpaque = attrs.getTitle().toString().contains("xbmc.Main") ? false : true;

    (Add Code Below)

  if(attrs.getTitle().toString().contains("vidonme")){

    isNeedOpaque = false;

  }else{

    isNeedOpaque = true;

  }