diff options
| author | 2021-04-02 14:48:26 +0800 | |
|---|---|---|
| committer | 2021-04-08 09:55:15 +0000 | |
| commit | 836f76bc3a6c28af1c1c2a04f6d9fca6aea2d70e (patch) | |
| tree | e7e099f4037139d0e23c58488f508e93fe6efa17 /tools/warn/java_warn_patterns.py | |
| parent | d58ae982cf87f8a9db0fae74ebeabe423a12582a (diff) | |
Unify the style of _MakeRamdisk for ramdisk format
RamdiskFormat class is introduced by commit : f3f842b676a2ffec7382153b4f874432795d4381
But it seems _MakeRamdisk() related codes are also needed, then
both of the code style are same.
This patch takes below 2 changes:
1) adds new commom function _GetRamdiskFormat()
2) unfiy the code logic of _MakeRamdisk() and its related code logic.
Change-Id: Ibd4932a6050fbac15fcd741c70dd7854c12e887d
Signed-off-by: jiajia tang <tangjiajia@xiaomi.com>
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions