Michal Šrůtek
Committed by GitHub

Remove empty primary constructor (#124)

* Remove empty primary constructor

* Update pubspec.yaml

* Update CHANGELOG.md

Co-authored-by: creativecreatorormaybenot <creativecreatorormaybenot@gmail.com>
  1 +## 0.5.3+2
  2 +
  3 +* Removed empty constructor in Android code.
  4 +
1 ## 0.5.3+1 5 ## 0.5.3+1
2 6
3 * Addded mavenCentral to Gradle build. 7 * Addded mavenCentral to Gradle build.
@@ -38,4 +38,4 @@ internal class Wakelock { @@ -38,4 +38,4 @@ internal class Wakelock {
38 } 38 }
39 } 39 }
40 40
41 -class NoActivityException() : Exception("wakelock requires a foreground activity") 41 +class NoActivityException : Exception("wakelock requires a foreground activity")
@@ -2,7 +2,7 @@ name: wakelock @@ -2,7 +2,7 @@ name: wakelock
2 description: >-2 2 description: >-2
3 Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on 3 Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on
4 Android, iOS, macOS, Windows, and web. 4 Android, iOS, macOS, Windows, and web.
5 -version: 0.5.3+1 5 +version: 0.5.3+2
6 homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock 6 homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock
7 7
8 environment: 8 environment: