Skip resetting the shouldNotFreeze flag while re-evaluating oom adj

Otherwise this flag could be reset to false unexpectedly if there's
a cycle between the processes.

Also pass the shouldNotFreeze flag down the bindings.

BYPASS_INCLUSIVE_LANGUAGE_REASON=Legacy API

Bug: 192317641
Test: atest FrameworksServicesTests:ActivityManagerTest
Change-Id: I775c3d5de0676cb106c54c098d3e06d6571da514
5 files changed