Skip to content

Commit

Permalink
SecondScreen 2.9.1 (release 2)
Browse files Browse the repository at this point in the history
* Reset the saved external display id after a reboot
  • Loading branch information
farmerbb committed Nov 1, 2019
1 parent b29d03b commit b5e4748
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ android {
//noinspection OldTargetApi
targetSdkVersion 27

versionCode 182
versionCode 183
versionName "2.9.1"

resConfigs "en", "es", "fr", "sk", "nl", "it"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public void onReceive(Context context, Intent intent) {
U.startService(context, serviceIntent);
}

if(prefCurrent.getInt("external_display_id", -1) > 1)
prefCurrent.edit().putInt("external_display_id", 1).apply();

if(!prefCurrent.getBoolean("not_active", true)) {
if(prefMain.getBoolean("safe_mode", false)
&& !"activity-manager".equals(prefCurrent.getString("ui_refresh", "do-nothing"))
Expand Down

0 comments on commit b5e4748

Please sign in to comment.