display alive2.5

by 超天女超女神

Version 4 (December 7, 2021)

Download (120 downloads)

For Full Android Watch Users.

This flow do below:

1. If display on, then clilk corner automatically for stop 2seconds wakeup of default stock launcher.
2. After 6 seconds, lock device.
3. At the same time, interact very slow swipe, for check the users touch. If user touch the screen, then stop the waiting 6 seconds.

4. If you use Google Assistant, stop the waiting.
5. If watchdroid make notification, this flow don't work.

BR




Full Android Smart Watchにて強引にディスプレイ点灯時間を調整する。


前提

Android10搭載、Full Android Smart Watch向け。Kospet Prime2とRogbid Brave Proで動作確認。

Automateが使えること。

腕を上げて画面点灯(screen on rising)がオンであること。

スクリーンロックは使用していないこと。ロック画面では非root端末はAutomateの操作を受け付けません。

ホームアプリはデフォルトのwiiteを想定。Universal Launcherの場合、デフォルトのscreen on risingをオフにして、Universal Launcherのscreen on risingを使用することでちゃんと点灯時間を設定出来ます。

 

動作

画面が点灯すると、画面の端っこにタッチ入力する。2秒で画面が今回オフになるのを防ぐため。

6秒後に画面ロック(=Display off )する。

同時に非常にゆっくりとスワイプが入力される。

ユーザーが画面タッチなどをすると、それにより、ゆっくりなスワイプ操作が中断される。これを検出して、動作中止する(設定のディスプレイ消灯時間は有効)。