iusmac / 7sim Goto Github PK
View Code? Open in Web Editor NEWControl SIM cards based on your schedule. Android 10+
License: GNU General Public License v3.0
Control SIM cards based on your schedule. Android 10+
License: GNU General Public License v3.0
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/mnt/storage/projects/7sim/build.gradle' line: 225
* What went wrong:
A problem occurred evaluating root project '7SIM'.
> fromIndex = -1
Bug originates from the gitDescribeTag()
function. We expect output like <TAG>-<N-commits>-<commit-ish>
when using git describe
command, but it outputs just v1.0.0-beta
, so it will be split as ["v1.0.0", "beta"]
. The beta
label breaks everything.
Possible solution would be using --long
so we always get the 3 pieces. Note that, after split('-')
, we'll get 4 pieces due to the beta
label. Thus, need to take the last piece and second to last piece.
Steps to reproduce:
End time
field to be one minute ahead of the current timeThe same can be reproduced for the Start time
field.
Steps to reproduce:
In order to resume the scheduler after the background restriction for the app has been removed, need to manually trigger a telephony event, such as SIM state change (on/off) or eject and re-insert SIM card, or toggle "Use schedule" switch.
This behavior is expected, because re-scheduling of the next iteration should be done right processing weekly repeat schedules. All tasks should be executed in the background that is prohibited.
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.github.iusmac.sevensim, PID: 3782
E AndroidRuntime: java.lang.NoSuchMethodError: No virtual method getHandlerExecutor()Lcom/android/internal/telephony/util/HandlerExecutor; in class Landroid/telephony/SubscriptionManager$OnSubscriptionsChangedListener; or its super classes (declaration of 'android.telephony.SubscriptionManager$OnSubscriptionsChangedListener' appears in /system/framework/framework.jar!classes3.dex)
E AndroidRuntime: at com.github.iusmac.sevensim.telephony.Subscriptions.registerSubscriptionManagerListener(Subscriptions.java:365)
E AndroidRuntime: at com.github.iusmac.sevensim.telephony.Subscriptions.addOnSubscriptionsChangedListener(Subscriptions.java:238)
E AndroidRuntime: at com.github.iusmac.sevensim.ui.sim.SimListActivity.onResume(SimListActivity.java:135)
E AndroidRuntime: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1672)
E AndroidRuntime: at android.app.Activity.performResume(Activity.java:8933)
E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5166)
E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5209)
E AndroidRuntime: at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:57)
E AndroidRuntime: at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:60)
E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:254)
E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:228)
E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:91)
E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2544)
E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:232)
E AndroidRuntime: at android.os.Looper.loop(Looper.java:317)
E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8496)
E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
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.