Skip to content

Commit

Permalink
modify build.gradle.
Browse files Browse the repository at this point in the history
  • Loading branch information
PureAway committed Mar 23, 2018
1 parent c9fc80d commit b3db4c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ apply plugin: 'com.android.application'
apply plugin: 'com.google.protobuf'

android {
compileSdkVersion 26
buildToolsVersion '26.0.0'
compileSdkVersion 25
buildToolsVersion '25.0.2'

defaultConfig {
minSdkVersion 21
targetSdkVersion 26
targetSdkVersion 25
versionCode 1
versionName "1.0"

Expand Down Expand Up @@ -59,15 +59,15 @@ repositories {
}

dependencies {
compile 'com.android.support:support-v4:26.0.0-alpha1'
compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
compile 'com.android.support:palette-v7:26.0.0-alpha1'
compile 'com.android.support:support-v4:25.2.0'
compile 'com.android.support:recyclerview-v7:25.2.0'
compile 'com.android.support:palette-v7:25.2.0'
compile 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-2'

testCompile 'junit:junit:4.12'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
androidTestCompile 'com.android.support:support-annotations:26.0.0-alpha1'
androidTestCompile 'com.android.support:support-annotations:25.2.0'
}

protobuf {
Expand Down
2 changes: 1 addition & 1 deletion src/com/android/launcher3/Hotseat.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ int getCellYFromOrder(int rank) {
protected void onFinishInflate() {
super.onFinishInflate();
DeviceProfile grid = mLauncher.getDeviceProfile();
mContent = findViewById(R.id.layout);
mContent = (CellLayout) findViewById(R.id.layout);
//modify
// if (grid.isLandscape && !grid.isLargeTablet) {
// mContent.setGridSize(1, (int) grid.inv.numHotseatIcons);
Expand Down

0 comments on commit b3db4c7

Please sign in to comment.