Make sure shouldNotFreeze state change correctly triggers updates.

The shouldNotFreeze state is propagated across bindings, so anything
that can grant a process the shouldNotFreeze state should not be skipped
by ServiceBindingOomAdjPolicy.

Flag: com.android.server.am.unfreeze_bind_policy_fix
Fixes: 375691778
Test: atest ServiceBindingOomAdjPolicyTest
Change-Id: I3eec63893ca0cc14ade1b46fecabbadf45eb2cd7
4 files changed