public static Bundle getResultsFromIntent(Intent intent) {
        if (Build.VERSION.SDK_INT >= 20) {
            return android.app.RemoteInput.getResultsFromIntent(intent);
        } else if (Build.VERSION.SDK_INT >= 16) {
            Intent clipDataIntent = getClipDataIntentFromIntent(intent);
            if (clipDataIntent == null) {
                return null;
            }
            return clipDataIntent.getExtras().getParcelable(RemoteInput.EXTRA_RESULTS_DATA);
        } else {
            Log.w(TAG, "RemoteInput is only supported from API Level 16");
            return null;
        }
    }
Get the remote input text results bundle from an intent. The returned Bundle will
contain a key/value for every result key populated by remote input collector.
Use the {@link Bundle#getCharSequence(String)} method to retrieve a value. For data results
use {@link #getDataResultsFromIntent}.

@param intent The intent object that fired in response to an action or content intent
              which also had one or more remote input requested.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/compat/RemoteInput.java