commit | d329e7ebc96cf8aa18bdd543c09dd1b091d1d259 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri Oct 06 13:05:32 2017 -0700 |
committer | Nick Kralevich <nnk@google.com> | Sat Oct 07 15:01:24 2017 +0000 |
tree | 83a6d87239769bd888a95bd03ea28eb3a64390de | |
parent | 73b11f8799eb7de93e55b11b3cdcea9bb456c399 [diff] |
mediaextractor: ensure no direct open()s Mediaextractor should only be operating on data passed directly to it. It shouldn't be attempting to open /data files on it's own. Add a neverallow statement (compile time assertion + CTS test) to ensure this is the case. Bug: 67454004 Test: policy compiles. No runtime impact. Change-Id: Ie94d4cb9aece7e72fbd13321f339dcf9d44d5d77