Code example for Surface

Methods: destroy

0
        return flag;
    } 
 
    public void kill() { 
        if(mSurface != null) {
            mSurface.destroy();
            mSurface = null;
        } 
        if(mCustomBlackFrame != null) {
            mCustomBlackFrame.kill();
            mCustomBlackFrame = null;
        } 
        if(mExitingBlackFrame != null) {
            mExitingBlackFrame.kill();
            mExitingBlackFrame = null;
        } 
        if(mEnteringBlackFrame != null) {
            mEnteringBlackFrame.kill();
            mEnteringBlackFrame = null;
        } 
Contextual code suggestions in your IDE  Get Codota for Java