Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[HELP] I need some help in editing android.policy.jar

$
0
0
Hey everyone!!

I am pretty familiar with smali code and everything. But ive hit a bump and need some smarter people's assistance.

I am trying to edit the android.policy.jar file of my TF300T tablet. What i am trying to accomplish is making the home long press act as the search long press since tablets dont have a search button. And they have a recent apps button so the home long press is pretty much worthless and unused.

Here is the ORIGINAL smali code PhoneWindowManager.smali (ORIGINAL)

I have a feeling, there is something that is keeping the handleLongPressOnHome method from being invoked. However, i cannot find it -.- I could use someone elses eyes to look at it since ive been looking at this same code for the past 3 hours :3


Thanks everyone for your time!


EDIT: I successfully have it executing the search long press function. However, after it executes the search long press function, it ALSO executes a "home" pressed function.

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>