am 5440a405: Prevent NPE
* commit '5440a405325c118ecab7ab4f124955ab3c92c245': Prevent NPE
This commit is contained in:
commit
fafda74387
|
@ -129,7 +129,7 @@ public abstract class EmailContent {
|
|||
public static Uri ACCOUNT_CHECK_URI;
|
||||
public static String PROVIDER_PERMISSION;
|
||||
|
||||
public static void init(Context context) {
|
||||
public static synchronized void init(Context context) {
|
||||
if (AUTHORITY == null) {
|
||||
PACKAGE_NAME = context.getPackageName();
|
||||
EMAIL_PACKAGE_NAME = PACKAGE_NAME;
|
||||
|
|
Loading…
Reference in New Issue