OSDN Git Service

Make sure pending cookie persistence canceled
authorSvetoslav Ganov <svetoslavganov@google.com>
Wed, 5 Apr 2017 01:12:27 +0000 (18:12 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Thu, 6 Apr 2017 17:28:23 +0000 (17:28 +0000)
commit8aa379e0eb2aa87129e8d95751eb5cdd5a435d38
treeb0c2638886abd9c2ebed6188267a0c90ad851373
parent0b47e289c86a271d1cddd8267178f788bfb2ef06
Make sure pending cookie persistence canceled

When a full app is uninstalled we delete its instant app
cookie but were not canceling a pending write which ended
up having the written cookie file after the app is uninstalled.

Test: InstantCookieHostTest#testCookieResetOnNonInstantReinstall

bug:36455310

Change-Id: Iec6d1f95f8ff731885241913808daf12ce3a5587
services/core/java/com/android/server/pm/InstantAppRegistry.java