Commit b0a46c1
committed
extract-utils: Apply relative path for apps with deep folder structures
While most apps follow the standard structure of <partition>/app/<app_name>/<app_name>.apk
or <partition>/priv-app/<app_name>/<app_name>.apk, some apps require deeper directory
structures, such as Android Platform Services which belongs in
product/priv-app/GmsCore/m/independent/AndroidPlatformServices.apk.
Without this change, such apps would be incorrectly copied to
product/priv-app/AndroidPlatformServices/AndroidPlatformServices.apk, losing their
proper directory structure.
Bash implementation: AOSPA/android_tools_extract-utils@d6a5704
Change-Id: Ia44df744841b2a83f9c02733cb0bb7d0898a5b94
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>1 parent 2093aa1 commit b0a46c1
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
172 | 175 | | |
173 | 176 | | |
174 | | - | |
175 | | - | |
| 177 | + | |
| 178 | + | |
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
| |||
0 commit comments