@LevelUpApi(contract=INTERNAL) @ThreadSafe public final class BundleScrubber extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
scrub(Bundle bundle)
Scrubs Bundles for private serializable subclasses in the extras.
|
static boolean |
scrub(Intent intent)
Scrubs Intents for private serializable subclasses in the Intent extras.
|
public static boolean scrub(Intent intent)
intent
- Intent
to scrub. This parameter may be mutated if scrubbing is
necessary.public static boolean scrub(Bundle bundle)
bundle
- Bundle
to scrub. This parameter may be mutated if scrubbing is
necessary.