remove code for default.prop
default.prop files are gone. Remove the code in post_process_prop.py that handles the file. Bug: 1313599 Test: m Change-Id: I3b4ff4adac57a406b70300d34ece7028cb52eb2d
This commit is contained in:
parent
f2b944ccea
commit
58dd353a07
1 changed files with 0 additions and 17 deletions
|
@ -27,17 +27,6 @@ PROP_VALUE_MAX = 91
|
|||
# Put the modifications that you need to make into the /system/build.prop into this
|
||||
# function. The prop object has get(name) and put(name,value) methods.
|
||||
def mangle_build_prop(prop):
|
||||
pass
|
||||
|
||||
# Put the modifications that you need to make into /vendor/default.prop and
|
||||
# /odm/default.prop into this function. The prop object has get(name) and
|
||||
# put(name,value) methods.
|
||||
def mangle_default_prop_override(prop):
|
||||
pass
|
||||
|
||||
# Put the modifications that you need to make into the /system/etc/prop.default into this
|
||||
# function. The prop object has get(name) and put(name,value) methods.
|
||||
def mangle_default_prop(prop):
|
||||
# If ro.debuggable is 1, then enable adb on USB by default
|
||||
# (this is for userdebug builds)
|
||||
if prop.get("ro.debuggable") == "1":
|
||||
|
@ -119,12 +108,6 @@ def main(argv):
|
|||
|
||||
if filename.endswith("/build.prop"):
|
||||
mangle_build_prop(properties)
|
||||
elif (filename.endswith("/vendor/default.prop") or
|
||||
filename.endswith("/odm/default.prop")):
|
||||
mangle_default_prop_override(properties)
|
||||
elif (filename.endswith("/default.prop") or # legacy
|
||||
filename.endswith("/prop.default")):
|
||||
mangle_default_prop(properties)
|
||||
else:
|
||||
sys.stderr.write("bad command line: " + str(argv) + "\n")
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in a new issue