mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 18:45:58 +01:00
code style cleanup
This commit is contained in:
parent
b6751f893c
commit
4a3e24666e
@ -74,13 +74,11 @@ public class Res9patchStreamDecoder implements ResStreamDecoder {
|
||||
drawVLine(im2, 0, yDivs[i] + 1, yDivs[i + 1]);
|
||||
}
|
||||
|
||||
// Some images additionally use Optical Bounds
|
||||
// https://developer.android.com/about/versions/android-4.3.html#OpticalBounds
|
||||
try {
|
||||
OpticalInset oi = getOpticalInset(data);
|
||||
|
||||
//As far as I know, only the length of the red lines are interesting
|
||||
//not their positions
|
||||
//So set them up in the corners
|
||||
//TODO: Check we haven't already filled it with NP_COLOR?
|
||||
for (int i = 0; i < oi.layoutBoundsLeft; i++) {
|
||||
int x = 1 + i;
|
||||
im2.setRGB(x, h + 1, OI_COLOR);
|
||||
|
Loading…
Reference in New Issue
Block a user