Skip to content

How to fix handy mode(one-handed mode)?  #159

Open
@BrainKub

Description

@BrainKub

I added to build.prop the string " ro.miui.his_hand_made_sf=1", then did everything specified in this commit nitesh-prasad/patchrom_tomato_volte@21601f8 and now when I activate the one-handed mode, the touch screen is shifted to the side but the display remains in the initial position
One-handed mode activate log:

07-13 20:11:11.142  1447  1447 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:773 com.android.server.HandyMode.changeMode:373 com.android.server.HandyMode$8.onClick:273 com.miui.internal.app.AlertControllerImpl$a.handleMessage:178 android.os.Handler.dispatchMessage:102 
07-13 20:11:11.146  1447  2079 D MALI    : _egl_make_current:857: [MALI] make current with display 0x1, context 0x40000002, state 0x9e45acc0
07-13 20:11:11.146  1447  2079 D MALI    : _egl_make_current:872: [MALI] Map __dpy 0x1 to dpy 0xafc43ef0
07-13 20:11:11.146  1447  2079 D MALI    : _egl_make_current:906: [MALI] Map __ctx 0x40000002 to ctx 0xa04ec2d0
07-13 20:11:11.147 23228 23275 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1295 android.content.ContextWrapper.bindService:610 com.xiaomi.mistatistic.sdk.controller.LocalEventRecorder.a:90 com.xiaomi.mistatistic.sdk.controller.LocalEventRecorder.b:70 com.xiaomi.mistatistic.sdk.controller.LocalEventRecorder.a:25 
07-13 20:11:11.147  1447  1613 I BroadcastQueue: Delay finish: com.android.systemui/.HandyModeReceiver
07-13 20:11:11.155  3657  8463 D PushService: 2018-07-13 20:11:11,154 - [DEBUG::PushService] - com.miui.stepsprovideris system app. StatService
07-13 20:11:11.155  1447  2079 D MALI    : shim_eglDestroyContext:522: [MALI] eglDestroyContext with display 0x1, context 0x40000002
07-13 20:11:11.155  1447  2079 D MALI    : _egl_make_current:857: [MALI] make current with display 0x1, context 0x0, state 0x9e45acc0
07-13 20:11:11.155  1447  2079 D MALI    : _egl_make_current:861: [MALI] make draw buffer NULL
07-13 20:11:11.155  1447  2079 D MALI    : _egl_make_current:866: [MALI] make read buffer NULL
07-13 20:11:11.155  1447  2079 D MALI    : _egl_make_current:872: [MALI] Map __dpy 0x1 to dpy 0xafc43ef0
07-13 20:11:11.155  1447  2079 D MALI    : _egl_make_current:906: [MALI] Map __ctx 0x0 to ctx 0x0
07-13 20:11:11.155  1447  2079 D MALI    : _egl_make_current:857: [MALI] make current with display 0x1, context 0x0, state 0x9e45acc0
07-13 20:11:11.155  1447  2079 D MALI    : _egl_make_current:861: [MALI] make draw buffer NULL
07-13 20:11:11.155  1447  2079 D MALI    : _egl_make_current:866: [MALI] make read buffer NULL
07-13 20:11:11.155  1447  2079 D MALI    : _egl_make_current:872: [MALI] Map __dpy 0x1 to dpy 0xafc43ef0
07-13 20:11:11.156  1447  2079 D MALI    : _egl_make_current:906: [MALI] Map __ctx 0x0 to ctx 0x0
07-13 20:11:11.160  1447  1612 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@9d60b04 attribute=null, token = android.os.BinderProxy@bd61a5a
07-13 20:11:11.268 24846 25108 D SoLoader: About to merge: compactdisk-current-jni / libcoldstart.so
07-13 20:11:11.299 23228 23369 D MALI    : _egl_make_current:857: [MALI] make current with display 0x1, context 0x40000001, state 0xab7584d0
07-13 20:11:11.299 23228 23369 D MALI    : _egl_make_current:872: [MALI] Map __dpy 0x1 to dpy 0xafc43ef0
07-13 20:11:11.299 23228 23369 D MALI    : _egl_make_current:906: [MALI] Map __ctx 0x40000001 to ctx 0xab6cf560

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions