Android N will bring a cleaner codebase for the mediaserver library (preventing future attacks) as well as sandboxing for various media components to limit an attacker's capabilities.
Android N Media Stack Sandboxing Could Protect Against Future 'Stagefright' Vulnerabilities : Read more
Android N Media Stack Sandboxing Could Protect Against Future 'Stagefright' Vulnerabilities : Read more