This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.NullPointerException | |
at com.android.internal.policy.impl.PhoneWindow.onKeyUpPanel(PhoneWindow.java:892) | |
at com.android.internal.policy.impl.PhoneWindow.onKeyUp(PhoneWindow.java:1580) | |
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1960) | |
at android.view.ViewRootImpl.deliverKeyEventPostIme(ViewRootImpl.java:3370) | |
at android.view.ViewRootImpl.handleFinishedEvent(ViewRootImpl.java:3343) | |
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2503) | |
at android.os.Handler.dispatchMessage(Handler.java:99) | |
at android.os.Looper.loop(Looper.java:137) | |
at android.app.ActivityThread.main(ActivityThread.java:4573) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// enable proguard on all version of the android gradle plugin | |
release { | |
if (!properties.findAll{it.key == 'runProguard'}.isEmpty()) { | |
runProguard true | |
} else if (!properties.findAll{it.key == 'minifyEnabled'}.isEmpty()) { | |
minifyEnabled true | |
} | |
} | |
// detect proguard in a variant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.NullPointerException | |
at com.qihoo.sandbox.monitor.SystemMonitor$SendBroadcastThread.SendRegisterBroadcast(SystemMonitor.java:40) | |
at com.qihoo.sandbox.monitor.SystemMonitor$SendBroadcastThread.run(SystemMonitor.java:77) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# try to avoid this issue on Samsung 4.2.2 https://code.google.com/p/android/issues/detail?id=78377 | |
-keep class !android.support.v7.internal.view.menu.MenuBuilder | |
-keep class !android.support.v7.internal.view.menu.SubMenuBuilder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.levelup.touiteur; | |
import android.graphics.Typeface; | |
import android.util.SparseArray; | |
import android.widget.TextView; | |
import com.levelup.touiteur.log.TouiteurLog; | |
public class FontManager { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Non-floating windows on high end devices must put up decor beneath the system bars and | |
// therefore must know about visibility changes of those. | |
if (!mIsFloating && ActivityManager.isHighEndGfx()) { | |
if (!targetPreL && a.getBoolean( | |
R.styleable.Window_windowDrawsSystemBarBackgrounds, | |
false)) { | |
setFlags(FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS, | |
FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS & ~getForcedWindowFlags()); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.IllegalArgumentException: Optimized data directory /data/data/com.levelup.touiteur/cache is not owned by the current user. Shared storage cannot protect your application from code injection attacks. | |
at dalvik.system.DexFile.(DexFile.java:102) | |
at dalvik.system.DexFile.loadDex(DexFile.java:151) | |
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:266) | |
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230) | |
at dalvik.system.DexPathList.(DexPathList.java:112) | |
at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:48) | |
at dalvik.system.DexClassLoader.(DexClassLoader.java:57) | |
at vi.a(SourceFile:91) | |
at vk.a(SourceFile:68) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
def artifactAndroidSwitch = 'org.jraf:android-switch-backport:1.3.+' | |
def useLocalAndroidSwitch = false | |
def localAndroidSwitch = ':android-Switch' | |
allprojects { | |
rootProject.allprojects.project.each { | |
if (it.path == localAndroidSwitch) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// version 1 | |
include ':dependencies:Android-FileLogger:library' | |
// version 2 | |
include 'FileLogger' | |
project(':FileLogger').projectDir = new File('dependencies/Android-FileLogger/library') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Returns the hostname if known, or the result of {@code InetAddress.getHostAddress}. | |
* Unlike {@link #getHostName}, this method will never cause a DNS lookup. | |
* @since 1.7 | |
* @hide 1.7 - remember to add a link in the getHostName documentation! | |
*/ | |
public final String getHostString() { | |
return (hostname != null) ? hostname : addr.getHostAddress(); | |
} |