diff --git a/tools/post_process_props.py b/tools/post_process_props.py index 9ddd5d7677..31b7a78d58 100755 --- a/tools/post_process_props.py +++ b/tools/post_process_props.py @@ -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)