Merge "DO NOT MERGE Mask case of base or tree permission being null am: cb8a640cef am: 28fc6a28aa  -s ours am: 4f9d4bfb3e" into oc-dev-plus-aosp