OSDN Git Service

Fix RootsCache invalidation bugs.
authorJeff Sharkey <jsharkey@android.com>
Wed, 30 Mar 2016 23:14:23 +0000 (17:14 -0600)
committerJeff Sharkey <jsharkey@android.com>
Wed, 30 Mar 2016 23:14:25 +0000 (17:14 -0600)
commit7732e1e544e89d4a79368c0025901da62f7226a5
tree50bf3767950bbdff60e6cfc05c30dad9f4fcd999
parent297017d1548530a0444637b02e01371ba3acf7b6
Fix RootsCache invalidation bugs.

When RootsCache is still running and it detects a provider/package
change, it needs to force reload roots.  Also fix cache invalidation
bug in ContentService to allow for Uri prefix matches.

Mark internal storage broadcasts with flag to bypass new background
checks.

Bug: 27759529
Change-Id: I9d9c6fe15d8640ff56ae7214afb3bac673682c28
core/java/android/util/Pair.java
packages/DocumentsUI/src/com/android/documentsui/RootsCache.java
services/core/java/com/android/server/MountService.java
services/core/java/com/android/server/content/ContentService.java