Make MonitoredActivity abstract

This commit is contained in:
Jamie McDonald 2014-03-18 10:20:35 +01:00
parent 735f855290
commit ef9eab9bc7
3 changed files with 5 additions and 4 deletions

View File

@ -17,7 +17,7 @@ before_install:
# For a full list, run `android list sdk -a --extended`
# Note that sysimg-19 downloads only ARM, because only the first license query is accepted.
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
- echo yes | android update sdk --all --filter build-tools-19.0.0 --no-ui --force > /dev/null
- echo yes | android update sdk --all --filter build-tools-19.0.3 --no-ui --force > /dev/null
- echo yes | android update sdk --filter android-19 --no-ui --force > /dev/null
- echo yes | android update sdk --filter sysimg-19 --no-ui --force > /dev/null
- echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
@ -27,7 +27,8 @@ before_install:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
install: true
install:
- ./gradlew :lib:build
before_script:
- adb wait-for-device

View File

@ -9,7 +9,7 @@ buildscript {
allprojects {
group = 'com.soundcloud.android'
version = '0.9.5'
version = '0.9.6'
repositories {
mavenCentral()

View File

@ -24,7 +24,7 @@ import java.util.ArrayList;
/*
* Modified from original in AOSP.
*/
public class MonitoredActivity extends Activity {
public abstract class MonitoredActivity extends Activity {
private final ArrayList<LifeCycleListener> mListeners =
new ArrayList<LifeCycleListener>();