Skip to content
Commit 91dedc52 authored by Martyna Mikoda's avatar Martyna Mikoda
Browse files

Use maxBy instead of max for UnusedPeriod enum

Replace max with maxBy in UnusedPeriod enum in UnusedAppsViewModel. It makes the code less error prone in case out of order element is added to the enum.

Bug: http://b/265670665
Change-Id: Ie6eb7a78458767838aea90630d173678995a85e7
Test: Locally on TV with m -j50 GooglePermissionController
Followup: I4165b840ec38b53a6bc5290fa778a0409a5986a3
parent fefe0914
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment