Including references in onResume Lifecycle What's a more concise way to do this? It's way too verbose for my taste.

    @Override
    protected void onResume() {
    super.onResume();
    Thread.currentThread().setPriority(Thread.MAX_PRIORITY - 1);
    TinyDB tinydb = new TinyDB(this);
    Log.v(TAG + "BaseStartup.onResume", "onResume");
    IntentFilter intentFilter = new IntentFilter(); 
    intentFilter.addAction("tv.apps.v4.ve");
    intentFilter.addAction("tv.apps.v4.ev");
    intentFilter.addAction("tv.apps.v4.we");
    intentFilter.addAction("tv.apps.v4.wef");
    intentFilter.addAction("tv.apps.v4.wefew");
    intentFilter.addAction("tv.apps.v4.gwe");
    intentFilter.addAction("tv.apps.v4.ewew");
    intentFilter.addAction("SMS_ewe");
    intentFilter.addAction("INTERNET_BACK_UPweeew");
    intentFilter.addAction("tv.apps.v4.weewwee");
    intentFilter.addAction("tv.apps.weewe");
    intentFilter.addAction("tv.apps.weet");
    intentFilter.addAction("tv.apps.weewewewees");
   // Get source of open for app re-engagement
    mobileAppTracker.setReferralSources(this);
    // MAT will not function unless the measureSession call is included
    mobileAppTracker.measureSession();
    //sceneTransport("resumeSession", "null", "null" );

}
You could use a loop to reduce the duplication:

List&lt;String&gt; extensions = Arrays.asList(
    "ve",
    "ev",
    "we",
    "wef"
    // ...
);
for (String ext : extensions) {
    intentFilter.addAction("tv.apps.v4." + ext);
}


But actually, it would be better to move hardcoded strings outside of java code.
You could create a res/values/arrays.xml file like this:

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;resources&gt;
    &lt;string-array name="actions"&gt;
        &lt;item&gt;tv.apps.v4.ve&lt;/item&gt;
        &lt;item&gt;tv.apps.v4.ev&lt;/item&gt;
        &lt;item&gt;tv.apps.v4.we&lt;/item&gt;
        &lt;!--
        &lt;item&gt;...&lt;/item&gt;
        --&gt;
    &lt;/string-array&gt;
&lt;/resources&gt;


And use it in the code like this:

for (String action : getResources().getStringArray(R.array.actions)) {
    intentFilter.addAction(action);
}




Does this work as intended?


Thread.currentThread().setPriority(Thread.MAX_PRIORITY - 1);



I don't know about this particular usage,
but I do know that low level thread operations are not recommended in Android development in general.

Unless this usage is explicitly mentioned somewhere in the official guides,
I'm not sure if this will work reliably at all.