[GUIDE] How to port SONY Small Apps to Any Device Cm Based Roms
SONY SMALL APPS FOR CM BASED ROM
goto res/values/strings.xml and add these lines a the end
<string name="permlab_externalTaskSwitcher">Start as an external task switcher</string>
<string name="permdesc_externalTaskSwitcher">Allows the application to be an external task switcher replacing the native task switcher</string>
<string name="permlab_smallapp">Small application overlay</string>
<string name="permdesc_smallapp">Allows running movable small applications on top of other applications.</string>
and open com\android\internal\policy\impl\PhoneWindowManager.smal
and add the red marked lines
.field static final RECENT_APPS_BEHAVIOR_DISMISS_AND_SWITCH:I = 0x3
.field static final RECENT_APPS_BEHAVIOR_EXIT_TOUCH_MODE_AND_SHOW:I = 0x1
.field static final RECENT_APPS_BEHAVIOR_SHOW_OR_DISMISS:I = 0x0
.field static final SHOW_PROCESSES_ON_ALT_MENU:Z = false
.field static final SHOW_STARTING_ANIMATIONS:Z = true ----------------------add this line if u dont have
.field static final SMALLAPP_LAYER:I = 0x3
.field public static final SYSTEM_DIALOG_REASON_ASSIST:Ljava/lang/String; = "assist"
.field public static final SYSTEM_DIALOG_REASON_GLOBAL_ACTIONS:Ljava/lang/String; = "globalactions"
.field public static final SYSTEM_DIALOG_REASON_HOME_KEY:Ljava/lang/String; = "homekey"
.field public static final SYSTEM_DIALOG_REASON_KEY:Ljava/lang/String; = "reason"
.field public static final SYSTEM_DIALOG_REASON_RECENT_APPS:Ljava/lang/String; = "recentapps"
The screenshots are from galaxy SL running cm10 xperia themed rom...
Sent from my SK17i using XDA Premium HD app
So wait, it can run on Galaxy SL? Gonna try it on another based CM10. BTW, do you own a Galaxy SL?
Press Thanks If I help you
My Device(s): Samsung Galaxy Tab 2 (P-3100) running CM 10.2
Former Devices: iPod 4G (Give it to my bro), Samsung Galaxy SL (GT-i9003) (Retired)
Next Device (Probably): (Phone) Google Nexus 5 (Black 32 GB)/Oppo N1, (Laptop) Lenovo Y410p
The kernel is arguably the most important part of any ROM. A well written kernel … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?