mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-11 15:09:24 +01:00
[skip] code style updates
This commit is contained in:
parent
5dfa79934c
commit
c91ef3822e
@ -1,4 +1,4 @@
|
||||
package brut.androlib; /**
|
||||
/**
|
||||
* Copyright 2014 Ryszard Wiśniewski <brut.alll@gmail.com>
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -13,6 +13,7 @@ package brut.androlib; /**
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package brut.androlib;
|
||||
|
||||
public class ApkOptions {
|
||||
public boolean forceBuildAll = false;
|
||||
|
@ -45,15 +45,12 @@ public class ResReferenceValue extends ResIntValue {
|
||||
}
|
||||
|
||||
ResResSpec spec = getReferent();
|
||||
boolean newId = spec.hasDefaultResource()
|
||||
&& spec.getDefaultResource().getValue() instanceof ResIdValue;
|
||||
boolean newId = spec.hasDefaultResource() && spec.getDefaultResource().getValue() instanceof ResIdValue;
|
||||
|
||||
// generate the beginning to fix @android
|
||||
String mStart = (mTheme ? '?' : '@') + (newId ? "+" : "");
|
||||
|
||||
return mStart
|
||||
+ spec.getFullName(mPackage, mTheme
|
||||
&& spec.getType().getName().equals("attr"));
|
||||
return mStart + spec.getFullName(mPackage, mTheme && spec.getType().getName().equals("attr"));
|
||||
}
|
||||
|
||||
public ResResSpec getReferent() throws AndrolibException {
|
||||
|
Loading…
Reference in New Issue
Block a user