Merge "Deprecate ACQUIRE_CAUSES_WAKEUP flag." into tm-dev