Hello xda'ers,
I post this thread to help people who want MultiWindow mode in their I9100...
How to:
1. Decompile SecSettings.apk and go to smali/com/android/settings/DisplaySettings.smali
FIND:
And just delete these lines
- Recompile SecSettings.apk
2. Decompile android.policy.jar and go to smali/com/android/internal/policy/impl/PhoneWindowManager.smali
FIND:
And just delete these lines
2.1 add folder "multiwindow"(Download the attached file: multiwindow.rar) to android.policy/smali/com/android/internal/policy/impl/
- Recompile android.policy.jar
3. Decompile service.jar and go to smali/com/android/server/am/
- Copy files from the attached file: services.jar
and put them in a folder with the replacement smali/com/android/server/am/
- Recompile service.jar
With the editing is complete
- It remains only to add the files responsible for working MW(MultiWindow)
All additional files are in the attached file: additional_files.rar
it's all :)
Sorry for my bad English
I post this thread to help people who want MultiWindow mode in their I9100...
How to:
1. Decompile SecSettings.apk and go to smali/com/android/settings/DisplaySettings.smali
FIND:
Code:
invoke-virtual {p0}, Lcom/android/settings/DisplaySettings;->getPreferenceScreen()Landroid/preference/PreferenceScreen;
move-result-object v12
iget-object v13, p0, Lcom/android/settings/DisplaySettings;->mMultiWindowPref:Landroid/preference/CheckBoxPreference;
invoke-virtual {v12, v13}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
- Recompile SecSettings.apk
2. Decompile android.policy.jar and go to smali/com/android/internal/policy/impl/PhoneWindowManager.smali
FIND:
Code:
iget-boolean v8, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->WACOM_POLICY_FOLLOW_APPLICATION_ROTATION:Z
if-nez v8, :cond_1
2.1 add folder "multiwindow"(Download the attached file: multiwindow.rar) to android.policy/smali/com/android/internal/policy/impl/
- Recompile android.policy.jar
3. Decompile service.jar and go to smali/com/android/server/am/
- Copy files from the attached file: services.jar
and put them in a folder with the replacement smali/com/android/server/am/
- Recompile service.jar
With the editing is complete
- It remains only to add the files responsible for working MW(MultiWindow)
All additional files are in the attached file: additional_files.rar
it's all :)
Sorry for my bad English