code: public static boolean registerFlymePush(Context context, String flymeId, String flymeKey, String profile) {
      if (null == context) {
        printErrorLog("register error, context is null!");
        return false;
      }
      boolean result = false;
      if (!com.meizu.cloud.pushsdk.util.MzSystemUtils.isBrandMeizu(context)) {
        printErrorLog("register error, is not flyme phone!");
      } else {
        if (!checkFlymeManifest(context)) {
          printErrorLog("register error, mainifest is incomplete!");
        } else {
          flymeDeviceProfile = profile;
          com.meizu.cloud.pushsdk.PushManager.register(context, flymeId, flymeKey);
          result = true;
          LOGGER.d("start register flyme push");
        }
      }
      return result;
    }
docs: 注册魅族推送
  @param context
  @param flymeId
  @param flymeKey
  @param profile 魅族推送配置