From 716d8bd8497e6dc893a8b47431b4fb1cccad82e6 Mon Sep 17 00:00:00 2001
From: Tri Vo <trong@google.com>
Date: Thu, 4 Oct 2018 17:40:51 -0700
Subject: [PATCH] Remove ro.com.google.clientidbase from exported prop list.

This property is GMS-specific. It should be set from either /system or /product.
After this change ro.com.google.clientidbase will have default_prop type and
will only be settable from an .rc file.

This property now must be set from system or product images. In case of a
system-only OTA, the old vendor.img might attempt set this property. This will
trigger a denial which is innocuous since the new system.img will correctly set
the property.

Bug: 117348096
Test: walleye can still set ro.com.google.clientidbase
Change-Id: Id0873baecacb4168415b1598c35af1ecbb411e17
---
 public/property_contexts | 1 -
 1 file changed, 1 deletion(-)

diff --git a/public/property_contexts b/public/property_contexts
index d6a33df97..ee2803bbe 100644
--- a/public/property_contexts
+++ b/public/property_contexts
@@ -97,7 +97,6 @@ ro.bt.bdaddr_path u:object_r:exported_bluetooth_prop:s0 exact string
 ro.camera.notify_nfc u:object_r:exported3_default_prop:s0 exact int
 ro.com.android.dataroaming u:object_r:exported3_default_prop:s0 exact bool
 ro.com.android.prov_mobiledata u:object_r:exported3_default_prop:s0 exact bool
-ro.com.google.clientidbase u:object_r:exported3_default_prop:s0 exact string
 ro.config.alarm_alert u:object_r:exported2_config_prop:s0 exact string
 ro.config.media_vol_steps u:object_r:exported2_config_prop:s0 exact int
 ro.config.notification_sound u:object_r:exported2_config_prop:s0 exact string
-- 
GitLab