DeepLinkActivity.java
1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.bitstrips.imoji.ui.activities;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import com.bitstrips.imoji.InjectorApplication;
import com.bitstrips.imoji.monouser.oauth2.OAuth2Manager;
import com.bitstrips.imoji.ui.BitmojiBaseActivity;
import com.bitstrips.imoji.ui.LoginActivity;
import javax.inject.Inject;
public class DeepLinkActivity
extends BitmojiBaseActivity
{
@Inject
OAuth2Manager n;
protected void onCreate(Bundle paramBundle)
{
super.onCreate(paramBundle);
((InjectorApplication)getApplicationContext()).inject(this);
try
{
paramBundle = getIntent();
Object localObject = paramBundle.getData();
if ((localObject != null) && ("bitmoji-sdk".equals(((Uri)localObject).getScheme())) && ("login".equals(((Uri)localObject).getHost())))
{
this.n.startOAuthGrant(this);
finish();
return;
}
localObject = new Intent(paramBundle.getAction(), (Uri)localObject, this, LoginActivity.class);
if (paramBundle.getExtras() != null) {
((Intent)localObject).putExtras(paramBundle.getExtras());
}
((Intent)localObject).addFlags(335544320);
startActivity((Intent)localObject);
finish();
return;
}
catch (RuntimeException paramBundle)
{
finish();
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/ui/activities/DeepLinkActivity.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/