Skip to content

Commit

Permalink
Update to Android Studio 1.3 and Gradle Wrapper 2.4 + small optimizat…
Browse files Browse the repository at this point in the history
…ion to backlog loading / rendering
  • Loading branch information
c99koder committed Jun 28, 2015
1 parent ce7d3bf commit 11361af
Show file tree
Hide file tree
Showing 15 changed files with 153 additions and 119 deletions.
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
6 changes: 4 additions & 2 deletions irccloud-android.iml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<option name="SOURCE_GEN_TASK_NAME" value="generateDebugSources" />
<afterSyncTasks>
<task>generateDebugSources</task>
</afterSyncTasks>
<option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/res" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="false">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/androidTest/debugTest" />
<exclude-output />
Expand Down
10 changes: 0 additions & 10 deletions src/com/irccloud/android/IRCCloudApplicationBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ public class IRCCloudApplicationBase extends Application {
private static final int RINGTONE_VERSION = 1;

private NetworkConnection conn = null;
private ServersDataSource s = null;
private BuffersDataSource b = null;
private ChannelsDataSource c = null;
private UsersDataSource u = null;
private EventsDataSource e = null;

@Override
public void onCreate() {
Expand All @@ -65,11 +60,6 @@ public void onCreate() {

//Allocate all the shared objects at launch
conn = NetworkConnection.getInstance();
s = ServersDataSource.getInstance();
b = BuffersDataSource.getInstance();
c = ChannelsDataSource.getInstance();
u = UsersDataSource.getInstance();
e = EventsDataSource.getInstance();
ColorFormatter.init();

if (prefs.contains("notify")) {
Expand Down
Loading

0 comments on commit 11361af

Please sign in to comment.