去除Android打开软件出现的红边框

/**********************************************************************
 *                去除Android打开软件出现的红边框
 * 说明:
 *     有时候Android打开软件的经常出现红色的边框,闪一下然后有正常了。
 *
 *                                    2016-4-11 深圳 南山平山村 曾剑锋
 *********************************************************************/

一、参考文档:
    1. How to Fix the Red Frame/Border Around the Screen of Android Devices
        http://www.droidviews.com/how-to-fix-the-red-frameborder-around-the-screen-of-android-devices/
    2. Disable the red border in android ICS? [closed]
        http://stackoverflow.com/questions/13453131/disable-the-red-border-in-android-ics
    3. 谁知道怎么去掉ANDROID 4.0的红色边框
        http://bbs.csdn.net/topics/380209487

二、通过Settings修改:
    1. Open Settings> Developer Options and scroll down a little.
    2. Here you would find the Strict Mode option.
    3. Just uncheck/unmark it.
    4. And, then reboot your device.

三、通过build.prop修改:
    persist.sys.strictmode.visual=0
    persist.sys.strictmode.disable=1
原文地址:https://www.cnblogs.com/zengjfgit/p/5377744.html