@Nullable
    public static Intent registerReceiver(@NonNull Context context,
                                          @Nullable BroadcastReceiver receiver,
                                          @NonNull IntentFilter filter,
                                          @RegisterReceiverFlags int flags) {
        return registerReceiver(context, receiver, filter, null, null, flags);
    }
This class should not be instantiated, but the constructor must be
visible for the class to be extended (ex. in ActivityCompat).
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/compat/ContextCompat.java