[AAPM} Catch exceptions thrown by AdvancedProtectionHooks.

This is to prevent a single hook from crashing the entire service.

Bug: 352420507  
Change-Id: I591688c6bb22f6a738b5219830037ab8bf941266
Test: AdvancedProtectionManagerTest
Flag: android.security.aapm_api
1 file changed