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
Loading
Please register or sign in to comment