FPII-2384 : Information disclosure vulnerability in AOSP Mail CVE-2016-3918 A-30745403

After an application is granted the com.android.email.permission.READ_ATTACHMENT permission,
it could gain access to any file the email app can access. This occurs because the ID is allowed
to be an arbitrary String path instead of being limited to a long type.
The fix is designed to set ID and account ID as long, and parsed as long values.

Change-Id: I50b70baea821246f64c72ba47536d74485974a8a
1 file changed