using HuaweiHms; namespace HuaweiHmsDemo{ public class LocationCommon{ public const string ACTION_PROCESS_LOCATION = "com.huawei.hms.location.ACTION_PROCESS_LOCATION"; public static PendingIntent mPendingIntent = null; private static void setPermission(string[] s,int arg){ Context ctx = new Context(); int PMPG = AndroidUtil.GetPMPermissionGranted(); bool needSet = false; for(int i=0;i