mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-11 21:37:47 +01:00
forgot to re-merge in ConfigFlag fix, as seen here: http://developer.android.com/guide/topics/resources/providing-resources.html -tvdpi is now used instead of the -television para.
This commit is contained in:
parent
de52fcba8c
commit
6eb419af7d
@ -196,9 +196,6 @@ public class ResConfigFlags {
|
||||
case UI_MODE_TYPE_DESK:
|
||||
ret.append("-desk");
|
||||
break;
|
||||
case UI_MODE_TYPE_TELEVISION:
|
||||
ret.append("-television");
|
||||
break;
|
||||
}
|
||||
switch (uiMode & MASK_UI_MODE_NIGHT) {
|
||||
case UI_MODE_NIGHT_YES:
|
||||
@ -220,6 +217,9 @@ public class ResConfigFlags {
|
||||
case DENSITY_HIGH:
|
||||
ret.append("-hdpi");
|
||||
break;
|
||||
case DENSITY_TV:
|
||||
ret.append("-tvdpi");
|
||||
break;
|
||||
case DENSITY_XHIGH:
|
||||
ret.append("-xhdpi");
|
||||
break;
|
||||
@ -365,6 +365,7 @@ public class ResConfigFlags {
|
||||
public final static short DENSITY_DEFAULT = 0;
|
||||
public final static short DENSITY_LOW = 120;
|
||||
public final static short DENSITY_MEDIUM = 160;
|
||||
public final static short DENSITY_TV = 213;
|
||||
public final static short DENSITY_HIGH = 240;
|
||||
public final static short DENSITY_XHIGH = 320;
|
||||
public final static short DENSITY_NONE = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user