Support: miui v8.2+. On miui older than v8.2 and non-miui roms, future.getResult() will throw XMAuthericationException System account/Mi account has to be logged in, otherwise future.getResult() will throw XMAuthericationException XiaomiOAuthFuture<XiaomiOAuthResults>future=newXiaomiOAuthorize()...