DodgeWooW @ 12.09.2014, 10:25
On both necessary
INSTRUCTIONS for activating the wake-up function on the volume and camera buttons 4+
Then he poked
since 4.3 is moved here
android.policy \ smali \ com \ android \ internal \ policy \ impl \
PhoneWindowManager.smali .method private isWakeKeyWhenScreenOff (I) Z at the end of the method of transfer of keys codes
all listed in the key listnot wake screen enough to remove the codes right buttons
: sswitch_data_0
.sparse-switch
0x18 ->: Sswitch_0 - Volume up
0x19 ->: Sswitch_0 - Volume down
0x1b ->: Sswitch_1 - Camera
0x4f ->: Sswitch_1 - the rest can be seen in his frameset in a attrs.xml
0x55 ->: sswitch_1
0x56 ->: sswitch_1
0x57 ->: sswitch_1
0x58 ->: sswitch_1
0x59 ->: sswitch_1
0x5a ->: sswitch_1
0x5b ->: sswitch_1
0x7e ->: sswitch_1
0x7f ->: sswitch_1
0x82 ->: sswitch_1
0xa4 ->: sswitch_0
.end sparse-switch
Posted on 12/09/2014, 10:37: DodgeWooW @ 12.09.2014, 10:25
And what do you say about the fixation memory substitution, what's the difference?
I am familiar only with the first method, a frame about at all the first time I hear that really works?
Added in Post has been editedvadim-shavkunov - 13.08.15, 14:52Reason for editing: Added to header