Interpret UIApplicationState correctly for TabUsageRecorder
UIApplicationState was incorrectly casted into a bool making UIApplicationStateActive (which has a numerical value of 0) to be incorrectly interpreted as "not active". Fixing bug w/o unit test for now. Test will be updated in a follow up CL. Bug: 781361 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ia7fd52a5809873777c01981079cde9c3fe5e8008 Reviewed-on: https://chromium-review.googlesource.com/802464Reviewed-by:Gregory Chatzinoff <gchatz@chromium.org> Commit-Queue: Peter Lee <pkl@chromium.org> Cr-Commit-Position: refs/heads/master@{#520797}
Showing
Please register or sign in to comment