Suporte para VidOn XBMC

Allwinner SDK Configuration - A20 A31 A31s

1. Alterar: Mude o conteúdo vermelho para 'normal'

frameworks/base/core/res/AndroidManifest.xml

 

   

        android:label="@string/permlab_accessSurfaceFlinger"

        android:description="@string/permdesc_accessSurfaceFlinger"

        android:protectionLevel="normal" />


2. Permissão:

ueventd.sun6i.rc

/dev/cedar_dev            0777   media      media

/dev/snd/pcmC0D0c         0777   media      media

/dev/snd/pcmC0D0p         0777   media      media

/dev/sunxi_mem            0777   media      media

/dev/sr0                  0777   system     system

 

3. Alterar

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

 

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

    (Adicionar Codigo Abaixo)

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

    isNeedOpaque = false;

  }else{

    isNeedOpaque = true;

  }