Skip to content

Commit

Permalink
to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Maucourt committed Sep 18, 2020
1 parent a27295e commit b9b16ef
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "net.sylvek.itracing2"
minSdkVersion 18
targetSdkVersion 29
versionCode 75
versionName "2.5.0"
versionCode 76
versionName "2.5.1"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<application
android:allowBackup="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public IBinder onBind(Intent intent) {

@Override
public int onStartCommand(Intent intent, int flags, int startId) {
this.setForegroundEnabled(Preferences.isForegroundEnabled(this));
this.setForegroundEnabled(/*Preferences.isForegroundEnabled(this)*/ false);
this.connect();

if (intent.getData() != null) {
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/xml/global_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
android:key="action_foreground"
android:title="@string/action_foreground"
android:summary="@string/action_foreground_summary"
android:defaultValue="true"/>
android:enabled="false"
android:defaultValue="false"/>
<EditTextPreference
android:title="@string/double_button_delay"
android:summary="@string/double_button_delay_summary"
Expand Down

0 comments on commit b9b16ef

Please sign in to comment.