@Override public void switchLayer(Player player, MediaData data) { Layer layer = null; if (data != null) { layer = mLayers.get(data.mediaType); if (mCurrentPlayer == player && mCurrentLayer == layer) { MtkLog.i(TAG, "<switchLayer> same layer and player, return"); return; } } unbind(); if (player == null || data == null) { MtkLog.i(TAG, "<switchLayer> null player or data, return"); return; } if (layer != null) { bind(player, layer, data); } }
public LivePhotoMember(Context context, GLIdleExecuter exe) { super(context, exe); MtkLog.i(TAG, "<LivePhotoMember> new LivePhotoMember"); }