Compare commits

...

2 Commits

Author SHA1 Message Date
01da581f75 add readme with initial setup notes 2025-05-12 14:19:40 -04:00
4a499abfbd add better icon for notification 2025-05-12 14:19:37 -04:00
3 changed files with 12 additions and 1 deletions

6
README.md Normal file
View File

@ -0,0 +1,6 @@
# AutoBrightnessDelay
Add a 500ms delay after screen turning on before Auto/Adaptive Brightness is
enabled.
### Notes
You will need to manually grant "Notifications" permission and also the
permission to "Modify system settings".

View File

@ -57,7 +57,7 @@ class AutoBrightnessDelayService : Service() {
NOTIFICATION_ID,
NotificationCompat.Builder(this, CHANNEL_ID)
.setContentTitle("AutoBrightnessDelay running")
.setSmallIcon(android.R.drawable.ic_menu_view)
.setSmallIcon(R.drawable.brightness_auto)
.setOngoing(true)
.build(),
)

View File

@ -0,0 +1,5 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
<path android:fillColor="@android:color/white" android:pathData="M10.85,12.65h2.3L12,9l-1.15,3.65zM20,8.69V4h-4.69L12,0.69 8.69,4H4v4.69L0.69,12 4,15.31V20h4.69L12,23.31 15.31,20H20v-4.69L23.31,12 20,8.69zM14.3,16l-0.7,-2h-3.2l-0.7,2H7.8L11,7h2l3.2,9h-1.9z"/>
</vector>