AOSP Compatibility

Signed-off-by: Alvin Francis <nivlafx@gmail.com>