Hello, I've try this version but it crashes.
I can open it, login fine.
Then when app is started, if I open parameters menu, or comments or add new device the "Mi Fit" app stopped.
If I install version 3.4.0.1-5176 it work fine...
I've try to clear Mi-Fit app cache, dissociate MIBand then uninstall Mi-Fit, but nothing works, it still crashes.
The logcat trace is:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.xiaomi.hm.health, PID: 18496
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xiaomi.hm.health/com.xiaomi.hm.health.ui.SettingActivity}: java.lang.SecurityException: No permission to prevent power key: Neither user 10326 nor current process has android.permission.PREVENT_POWER_KEY.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2212)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2271)
at android.app.ActivityThread.access$800(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.SecurityException: No permission to prevent power key: Neither user 10326 nor current process has android.permission.PREVENT_POWER_KEY.
at android.app.ContextImpl.enforce(ContextImpl.java:1749)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1778)
at android.content.ContextWrapper.enforceCallingOrSelfPermission(ContextWrapper.java:572)
at android.view.Window.setFlags(Window.java:749)
at android.view.Window.addFlags(Window.java:709)
at com.xiaomi.hm.health.baseui.b.b.c(SystemBarTintManager.java:440)
at com.xiaomi.hm.health.baseui.b.b.a(SystemBarTintManager.java:363)
at com.xiaomi.hm.health.baseui.title.BaseTitleActivity.a(BaseTitleActivity.java:187)
at com.xiaomi.hm.health.baseui.title.BaseTitleActivity.a(BaseTitleActivity.java:178)
at com.xiaomi.hm.health.ui.SettingActivity.onCreate(SettingActivity.java:89)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2271)
at android.app.ActivityThread.access$800(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at dalvik.system.NativeStart.main(Native Method)
If someone could help me...