Android 6.0.1 release 31
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlcNPn4ACgkQ6K0/gZqxDnhP+wCfZ1sVTNdhdm356jUYVfBhqFbg
2M8An03lDvzPzRgxzk8kJhOwrvb6eqIe
=NBC1
-----END PGP SIGNATURE-----
Re-derive permissions after package changes.

When packages change, existing package-specific directories may have
gained/lost a UID mapping, so we need to update the permissions for
any in-memory nodes.

This allows an app to deliver data for another package before that
package is installed, which is the typical pattern of how OBB files
are delivered.

Also fix bug by re-deriving permissions when files are moved.

Bug: 25399427
Change-Id: I06f38a24ad7dee5f5099ba81429aef03208e5683
(cherry picked from commit f7aad11c1cc133e352333f83e3abbf323cd41ead)
(cherry picked from commit a44febd19b4efd17fe31d75c964ec47f85832a2a)
1 file changed