GSYApplication.java 639 字节
Newer Older
S
shuyu 已提交
1 2 3 4
package com.example.gsyvideoplayer;

import android.app.Application;

S
readme  
shuyu 已提交
5 6
import com.shuyu.gsyvideoplayer.utils.CommonType;

S
1.3.3  
shuyu 已提交
7
//import com.squareup.leakcanary.LeakCanary;
S
shuyu 已提交
8 9 10 11 12 13 14 15 16 17

/**
 * Created by shuyu on 2016/11/11.
 */

public class GSYApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
S
1.3.3  
shuyu 已提交
18 19 20 21 22 23
        //if (LeakCanary.isInAnalyzerProcess(this)) {
            // This process is dedicated to LeakCanary for heap analysis.
            // You should not init your app in this process.
            //return;
        //}
        //LeakCanary.install(this);
S
readme  
shuyu 已提交
24
        //CommonType.enableMediaCodec();
S
shuyu 已提交
25 26
    }
}