Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions AlwaysAllowMultiInstanceSplit/Readme.md

This file was deleted.

18 changes: 0 additions & 18 deletions AlwaysAllowMultiInstanceSplit/build.gradle.kts

This file was deleted.

24 changes: 0 additions & 24 deletions AlwaysAllowMultiInstanceSplit/src/main/AndroidManifest.xml

This file was deleted.

1 change: 0 additions & 1 deletion AlwaysAllowMultiInstanceSplit/src/main/assets/xposed_init

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public class CodecStore {
private final SharedPreferences sharedPreferences;
private final List<OnCodecPreferenceChangedListenerMeta> receivers = new LinkedList<>();

@SuppressLint("WorldReadableFiles")
CodecStore(Context context) {
this.sharedPreferences = context.getSharedPreferences(PREFERENCES, MODE_WORLD_READABLE);
}
Expand Down
5 changes: 0 additions & 5 deletions KeepSplitScreenRatio/Readme.md

This file was deleted.

13 changes: 0 additions & 13 deletions KeepSplitScreenRatio/build.gradle.kts

This file was deleted.

24 changes: 0 additions & 24 deletions KeepSplitScreenRatio/src/main/AndroidManifest.xml

This file was deleted.

1 change: 0 additions & 1 deletion KeepSplitScreenRatio/src/main/assets/xposed_init

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions KeepSplitScreenRatio/src/main/res/values/arrays.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class SettingsActivity : FragmentActivity() {
}

class SettingsFragment : PreferenceFragmentCompat() {
@SuppressLint("WorldReadableFiles")
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
preferenceManager.sharedPreferencesName = SHARED_PREFERENCES_NAME
preferenceManager.sharedPreferencesMode = MODE_WORLD_READABLE
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ A collection of small Xposed Modules.
| Module | Author | Description | Releases |
|-|-|-|-|
| [AlwaysAllowChargingFeedback](AlwaysAllowChargingFeedback) | [@binarynoise](https://github.com/binarynoise) | Always allow charging feedback, even in DnD mode | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=AlwaysAllowChargingFeedback) |
| [AlwaysAllowMultiInstanceSplit](AlwaysAllowMultiInstanceSplit) | [@binarynoise](https://github.com/binarynoise) & [@programminghoch10](https://github.com/programminghoch10) | Allow all apps to be launched twice in a split screen | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=AlwaysAllowMultiInstanceSplit) |
| [AnimationScaleMod](AnimationScaleMod) | [@programminghoch10](https://github.com/programminghoch10) | Add more animation scale multipliers | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=AnimationScaleMod) |
| [AntiBrightnessChange](AntiBrightnessChange) | [@programminghoch10](https://github.com/programminghoch10) | Prevent apps from changing display brightness | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=AntiBrightnessChange) [IzzyOnDroid](https://apt.izzysoft.de/fdroid/index/apk/com.programminghoch10.AntiBrightnessChange) |
| [AutomaticAdvancedSettingsExpander](AutomaticAdvancedSettingsExpander) | [@binarynoise](https://github.com/binarynoise) | Automatically expands the advanced settings in the Settings app | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=AutomaticAdvancedSettingsExpander) [IzzyOnDroid](https://apt.izzysoft.de/fdroid/index/apk/de.binarynoise.AutomaticAdvancedSettingsExpander) |
Expand All @@ -22,6 +21,7 @@ A collection of small Xposed Modules.
| [PersistentForegroundServiceNotifications](PersistentForegroundServiceNotifications) | [@binarynoise](https://github.com/binarynoise) | Make notifications of foreground services persistent again | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=persistentForegroundServiceNotifications) |
| [ResetAllNotificationChannels](ResetAllNotificationChannels) | [@binarynoise](https://github.com/binarynoise) | Reset all Notification Channels: vibrations, ringtones, importance etc. | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=resetAllNotificationChannels) [IzzyOnDroid](https://apt.izzysoft.de/fdroid/index/apk/de.binarynoise.resetAllNotificationChannels) |
| [RotationControl](RotationControl) | [@programminghoch10](https://github.com/programminghoch10) | Force rotation for selected packages | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=RotationControl) [IzzyOnDroid](https://apt.izzysoft.de/fdroid/index/apk/com.programminghoch10.RotationControl) |
| [SplitScreenMods](SplitScreenMods) | [@binarynoise](https://github.com/binarynoise) & [@programminghoch10](https://github.com/programminghoch10) | A collection of various SplitScreen modifications. | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=SplitScreenMods) |
| [UpsideWifi](UpsideWifi) | [@programminghoch10](https://github.com/programminghoch10) | Turn the WiFi icon upside down | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=UpsideWifi) |
| [VolumeStepsIncrease](VolumeStepsIncrease) | [@programminghoch10](https://github.com/programminghoch10) | Increase the amount of volume steps | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=VolumeStepsIncrease) |
<!--@formatter:on-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class SettingsActivity : FragmentActivity() {
class SettingsFragment : PreferenceFragmentCompat() {
val radioPreferences: MutableList<RadioPreference> = mutableListOf()

@SuppressLint("WorldReadableFiles")
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
preferenceManager.sharedPreferencesName = SHARED_PREFERENCES_NAME
preferenceManager.sharedPreferencesMode = MODE_WORLD_READABLE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ protected void onCreate(Bundle savedInstanceState) {
}

public static class SettingsFragment extends PreferenceFragmentCompat {
@SuppressLint("WorldReadableFiles")
@Override
public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
PreferenceManager preferenceManager = getPreferenceManager();
Expand Down
46 changes: 46 additions & 0 deletions SplitScreenMods/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# SplitScreenMods

A collection of various SplitScreen modifications.

## AlwaysAllowMultiInstanceSplit

Allow all apps to be launched twice side-by-side in a split screen.

Undefined behaviour ahead!

![1-screenshot.png](../metadata/com.programminghoch10.SplitScreenMods/en-US/images/phoneScreenshots/1-screenshot.png)

## KeepSplitScreenRatio

Keep the split screen ratio, when switching one of the split apps.

Only usable on Android 14 and later,
since previous versions did not force a split resize in this situation.

## KeepSwapRatio

Keep the split ratio while swapping sides.

## DisableSwapAnimation

Disable the swapping animation.

## SnapMode

Change the snap mode used by the system:

* `16:9` snapping useful for playing videos in split screen
* `FIXED` snapping allows for custom ratios and [additional snap targets](#additionalsnaptargets)
* `1:1` only allows the middle 50:50 split

## FreeSnap

Allow any split ratio instead of snapping to predefined ratios.

## AdditionalSnapTargets

Add additional snapping targets to snap to.

## RemoveMinimalTaskSize

Remove the minimal task size limit to allow split screen with unreasonably small apps.
21 changes: 21 additions & 0 deletions SplitScreenMods/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
plugins {
alias(libs.plugins.buildlogic.android.application)
alias(libs.plugins.buildlogic.kotlin.android)
}

android {
namespace = "com.programminghoch10.SplitScreenMods"

defaultConfig {
minSdk = 33
targetSdk = 36
buildConfigField("String", "SHARED_PREFERENCES_NAME", "\"splitscreen\"")
}
}

dependencies {
implementation(libs.androidx.fragment.ktx)
implementation(libs.androidx.preference.ktx)
implementation(project(":logger"))
compileOnly(libs.androidx.performance.unsafe)
}
37 changes: 37 additions & 0 deletions SplitScreenMods/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android">

<application android:label="@string/app_name">
<activity
android:name=".SettingsActivity"
android:excludeFromRecents="true"
android:exported="true"
android:label="@string/title_activity_settings"
android:theme="@style/AppTheme"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="de.robv.android.xposed.category.MODULE_SETTINGS" />
</intent-filter>
</activity>

<meta-data
android:name="xposedmodule"
android:value="true"
/>
<meta-data
android:name="xposeddescription"
android:value="@string/description"
/>
<meta-data
android:name="xposedminversion"
android:value="93"
/>
<meta-data
android:name="xposedscope"
android:resource="@array/scope"
/>
</application>

</manifest>
10 changes: 10 additions & 0 deletions SplitScreenMods/src/main/assets/xposed_init
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
com.programminghoch10.SplitScreenMods.AdditionalSnapTargetsHook
com.programminghoch10.SplitScreenMods.AlwaysAllowMultiInstanceSplitHook
com.programminghoch10.SplitScreenMods.CalculateRatiosHook
com.programminghoch10.SplitScreenMods.CustomFixedRatioHook
com.programminghoch10.SplitScreenMods.DisableSwapAnimationHook
com.programminghoch10.SplitScreenMods.FreeSnapHook
com.programminghoch10.SplitScreenMods.KeepSplitScreenRatioHook
com.programminghoch10.SplitScreenMods.KeepSwapRatioHook
com.programminghoch10.SplitScreenMods.RemoveMinimalTaskSizeHook
com.programminghoch10.SplitScreenMods.SnapModeHook
Loading