You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Change Log
2
2
3
+
## Version 1.1.4 *(2025-10-27)*
4
+
5
+
***Build & toolchain** – Migrated the entire project to Gradle Kotlin DSL with a shared `libs.versions.toml`, upgraded the wrapper/AGP stack (Gradle 8.13, AGP 8.13.0).
6
+
***Android platform updates** – Raised `minSdk` to 26 / `targetSdk` to 36, migrated dependencies to AndroidX, and cleaned up manifest/service initialization (DebugOverlay now installs only in the app’s main process and drops stale permission checks).
7
+
***CPU/FPS modules** – Fixed CPU usage/frequency collectors to operate correctly on API 26+ and tidied related overlays/resources.
Due to the extensibility of this library, no-op version unfortunately has more than a few methods.
45
-
If you want to eliminate such method count in your release build, consider having separate `Application` class only for your debug build which uses this library and just specify `debugCompile 'com.ms-square:debugoverlay:1.1.3'` in the dependencies section of build.gradle.
44
+
If you want to eliminate such method count in your release build, consider having separate `Application` class only for your debug build which uses this library and just specify `debugImplementation 'com.ms-square:debugoverlay:1.1.4'` in the dependencies section of build.gradle.
46
45
47
46
Usage
48
47
------
@@ -61,7 +60,7 @@ public class ExampleApplication extends Application {
61
60
}
62
61
}
63
62
```
64
-
It will show a debug overlay on system layer with the follwing three default modules just like the gif animation image displayed on this README.
63
+
It will show a debug overlay on system layer with the following three default modules just like the gif animation image displayed on this README.
65
64
66
65
-[CpuUsageModule](#cpuusagemodule) - will not be shown on Android O and above
67
66
-[MemInfoModule](#meminfomodule)
@@ -107,7 +106,7 @@ new DebugOverlay.Builder(this)
107
106
>Alpha value used for text on the overlay. Default is `1f`(fully opaque).
108
107
109
108
* allowSystemLayer - [boolean]
110
-
>If true, it adds the overlay window on Android's system window layer; in Android 7.1.1 and after, it will ask you for the overlay permission by taking you to the Android's settings screen when you first set up. If set to false, it will automatically add the overlay on each application window. In most cases, you want to set this to `true`.
109
+
>If true, it adds the overlay window on Android's system window layerand it will ask you for the overlay permission by taking you to the Android's settings screen when you first set up. If set to false, it will automatically add the overlay on each application window. In most cases, you want to set this to `true`.
111
110
Default is `true`.
112
111
113
112
* notification - [boolean, string(optional)]
@@ -124,9 +123,7 @@ Provided Modules
124
123
#### CpuUsageModule
125
124
126
125
`default`
127
-
> Collects total and app cpu usage % by reading `/proc/stat` and `/proc/[myPid]/stat` respectively.
128
-
129
-
Note: CpuUsageModule will be no-op on Android O and above. Please see this [issue](https://github.com/Manabu-GT/DebugOverlay-Android/issues/11) for why.
126
+
> Collects app-total and app-relative CPU usage percentages based on the configured interval (default 1000 ms) by reading `/proc/self/stat`.
130
127
131
128
#### MemInfoModule
132
129
@@ -149,8 +146,6 @@ If low memory situation is detected by reading [lowMemory](https://developer.and
149
146
`optional`
150
147
> Collects each cpu core's current and max frequency by reading `/sys/devices/system/cpu/cpu[num]/cpufreq/scaling_cur_freq` and `/sys/devices/system/cpu/cpu[num]/cpufreq/cpuinfo_max_freq` respectively.
151
148
152
-
Note: CpuFreqModule will be no-op on Android O and above. Please see this [issue](https://github.com/Manabu-GT/DebugOverlay-Android/issues/11) for why.
153
-
154
149
Extension Modules (available separately)
155
150
------
156
151
#### TimberModule
@@ -295,7 +290,7 @@ Thanks for reading!
295
290
License
296
291
----------
297
292
298
-
Copyright 2017 Manabu Shimobe
293
+
Copyright 2017–2025 Manabu-GT
299
294
300
295
Licensed under the Apache License, Version 2.0 (the "License");
301
296
you may not use this file except in compliance with the License.
@@ -309,11 +304,11 @@ License
309
304
See the License for the specific language governing permissions and
0 commit comments