[2016.10.19 追記しました] 前回の続きです。 Quick Settings にTileを表示するところまで実装したので、次はそのTileをタップした時に何か便利な挙動をするのを目指してみます。 具体的には下記の二つどちらかできたら便利だなぁと思って調べてみました。 どちらもできませんでした:;(∩´﹏`∩);: [↑できる方法があったので追記してます] USB debuggingのON/OFF 「Activityを保持しない」の設定のON/OFF それではそれぞれなぜダメだったのか、調べた結果を書き残します。 USB debuggingのON/OFF まず、開発者オプションの画面のコードを追っていきます。 それぞれの項目のlabelのstring resourceとかから適当にOpen Grokを検索すると、 DevelopmentSettings.java にたどり着きます。