com.tencent.mm.bz.a.n(SourceFile:316)
public
final EmojiInfo mo46299n(EmojiInfo emojiInfo) {
boolean z;
AppMethodBeat.m3378i(62615);
if
(((C2666h) C2700g.aaW().aaw()).abR()) {
EmojiInfo n = ((C33772d) C2700g.m5024ae(C33772d.class)).getEmojiMgr().mo46299n(emojiInfo);//这一句调用了上面的方法mo46299n
AppMethodBeat.m3379o(62615);
return n;
}
Bundle bundle = new Bundle(EmojiInfo.class.getClassLoader());
bundle.putParcelable(
"emoji"
, emojiInfo);
Bundle
call
= C8960ah.getContext().getContentResolver().
call
(Uri.
parse
(
"content://com.tencent.mm.storage.provider.emotion/"
),
"getRandomEmoji"
, null, bundle);
if
(
call
== null) {
C8953ab.m13552e(
"MicroMsg.EmotionStorageResolver"
,
"[getRandomEmoji] bunndle is null! "
);
AppMethodBeat.m3379o(62615);
return null;
}
call
.setClassLoader(EmojiInfo.class.getClassLoader());
if
(
call
.containsKey(
"data"
)) {
EmojiInfo emojiInfo2 = (EmojiInfo)
call
.getParcelable(
"data"
);
AppMethodBeat.m3379o(62615);
return emojiInfo2;
}
String
str
=
"MicroMsg.EmotionStorageResolver"
;
String str2 =
"[getRandomEmoji] bundle is null?"
;
Object[] objArr = new Object[1];
if
(
call
== null) {
z = true;
}
else
{
z = false;
}
objArr[0] = Boolean.valueOf(z);
C8953ab.m13553e(
str
, str2, objArr);
AppMethodBeat.m3379o(62615);
return null;
}