Search in sources :

Example 6 with ActivityThread

use of android.app.ActivityThread in project android_frameworks_base by crdroidandroid.

the class SystemServer method createSystemContext.

private void createSystemContext() {
    ActivityThread activityThread = ActivityThread.systemMain();
    mSystemContext = activityThread.getSystemContext();
    mSystemContext.setTheme(DEFAULT_SYSTEM_THEME);
}
Also used : ActivityThread(android.app.ActivityThread)

Aggregations

ActivityThread (android.app.ActivityThread)6 Context (android.content.Context)2 Resources (android.content.res.Resources)1 XmlResourceParser (android.content.res.XmlResourceParser)1 IntentFirewall (com.android.server.firewall.IntentFirewall)1 IOException (java.io.IOException)1 XmlPullParserException (org.xmlpull.v1.XmlPullParserException)1