yankovskiy / silentnight Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
App stops when a screen is rotated. Tested on
SilentNight has been moved to F-Droid archive. It should be enough to introduce a small (minor) change and create a tag to move it back to the main repository.
SilentNight v.0.3 as found in F-Droid does not activate the Airplane mode on/off until I unlock the screen manually. As soon as I unlock it, I can see the message about the permissions granted to SilentNight and the Airplane mode state is changed according to the settings.
I am not sure, but maybe, SilentNight cannot wake the phone by itself, and therefore it just waits until the user wakes it?
My system is CyanogenMod 11 (Android 4.4.4)
Start time, End time settings not aligned with the rest of the options on tablet.
In traveling timezone does not auto change
Устройство: Nexus 4 (mako)
Стек:
java.lang.RuntimeException: Unable to create service ru.neverdark.silentnight.DisableSoundService: java.lang.SecurityException: Permission denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2582)
at android.app.ActivityThread.access$1800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.SecurityException: Permission denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS
at android.os.Parcel.readException(Parcel.java:1465)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
at android.content.ContentProviderProxy.call(ContentProviderNative.java:636)
at android.provider.Settings$NameValueCache.putStringForUser(Settings.java:901)
at android.provider.Settings$Global.putStringForUser(Settings.java:6008)
at android.provider.Settings$Global.putString(Settings.java:5998)
at android.provider.Settings$Global.putInt(Settings.java:6086)
at ru.neverdark.silentnight.AirplaneMode.setSettings(AirplaneMode.java:92)
at ru.neverdark.silentnight.AirplaneMode.updateSystemSettings(AirplaneMode.java:59)
at ru.neverdark.silentnight.AirplaneMode.enable(AirplaneMode.java:41)
at ru.neverdark.silentnight.DisableSoundService.enableAirplaneMode(DisableSoundService.java:67)
at ru.neverdark.silentnight.DisableSoundService.onCreate(DisableSoundService.java:44)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2572)
Need implement feature: differents timer for airplan mode and mute sound
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.