Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

Locale/Tasker の Secure Settings Plugin

ルート化したAndroid端末のセキュリティ確保のため、Locale/Taskerのプラグインを使って自動的にADBを無効にする仕組みを入れています。

最初に記事を書いた時にはAndroid Market – 今の Google Playには無くてサイトで配布されていたのですが、今は正式にリリースされ、さらにUIもICS風に改良されています。

設定項目も多岐にわたっており、Keyguard を無効にしたり、端末をロックしたり、パスワードを無効化したり、いろいろできます。ロックパターンを無効化にすることもできます。

普段、ロックパターンを有効にしていて、音楽再生中に一曲飛ばしたいなんていうときにロックパターンを外すのはとても面倒ですが、Locale でSecure Settings Plugin を使って、音楽再生中にはロックパターンを無効にするようにもしてみました。

設定方法ですが、Localeで音楽再生中という状態を新規に作成します。音楽再生中の条件としては Bluetooth Pluginを使って何らかのデバイスがBluetoothで接続されているとき、という設定をしました。



Locale がこの条件であると判断した時に、Secure Settings を起動し、Keyguard をDisableにします。こうすると、画面OFFの時に電源ボタンやホームボタンを押すと直接ホームアプリ画面に入れるようになります。

もちろん、当初の目的だった ADB機能の自動無効化もできております。

PAGE TOP