OSDN Git Service

BackgroundDexOptService: Check for low storage conditions.
authorNarayan Kamath <narayan@google.com>
Tue, 16 Aug 2016 17:25:08 +0000 (18:25 +0100)
committerNarayan Kamath <narayan@google.com>
Wed, 17 Aug 2016 10:10:12 +0000 (11:10 +0100)
commit8735f07a698218d311826a140d08d611d3c23db1
treebf2318122be87eb592a1058be610946d06b32b19
parent60ab8d072af5947d8ebaaa8c8d0f2ad6b82bd34c
BackgroundDexOptService: Check for low storage conditions.

Abort the service (without an early reschedule) if we find that we're
running low on space. The low space check is performed (explicitly)
after every dexopt.

bug: 30865506
Change-Id: I8d31af8fe035701177f8b9a1eabb0b51f42027fe
services/core/java/com/android/server/pm/BackgroundDexOptService.java