Advertisement
riskey95

TestModul

Jul 27th, 2014
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.64 KB | None | 0 0
  1. package com.riskey.testmodul;
  2.  
  3. import de.robv.android.xposed.IXposedHookInitPackageResources;
  4. import de.robv.android.xposed.XposedBridge;
  5. import de.robv.android.xposed.callbacks.XC_InitPackageResources.InitPackageResourcesParam;
  6.  
  7. public class Main implements IXposedHookInitPackageResources  {
  8.  
  9.     @Override
  10.     public void handleInitPackageResources(InitPackageResourcesParam resparam)
  11.             throws Throwable {
  12.         if (resparam.packageName.equals("com.android.systemui")) {
  13.             XposedBridge.log("we are!");
  14.             resparam.res.setReplacement(
  15.                     "com.android.systemui", "bool", "config_systemui_feature_floating_launcher", true);
  16.         }
  17.        
  18.     }  
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement