3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

StrictModeをadb shellからoffにする

Posted at

Android4.0(3.xから?)のエミュレータ等でStrictMode機能をONにしていなくてもStrictMode機能が
ONの状態となり、UIスレッド上でDBにアクセスした場合など画面全体に赤枠が点滅表示され、ユーザ
にパフォーマンスの低下が通知されます。

DevToolsアプリからでも機能をOFFにすることもできますが、システムプロパティを設定することでも可能です。

qiita.rb
adb shell setprop persist.sys.strictmode.visual 0

ブログ:http://yuki312.blogspot.jp/2012/01/strictmode.html

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?