Move dump permission check to the binder

Bug: 145171640
Test: compile & run
Change-Id: I512ecd80417041f288bbbb454d2e8932e8dfd9bc
1 file changed