Skip to content

Commit

Permalink
Fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengees committed Aug 8, 2017
1 parent d28af1b commit 1f6fea8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
key: jars-{{ checksum "build.gradle" }}-{{ checksum "easy-header-footer-adapter/build.gradle" }}-{{ checksum "sample/build.gradle" }}
- run:
name: Run Build
command: ./gradlew build -PdisablePreDex --console=plain
Expand All @@ -26,4 +26,4 @@ jobs:
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
key: jars-{{ checksum "build.gradle" }}-{{ checksum "easy-header-footer-adapter/build.gradle" }}-{{ checksum "sample/build.gradle" }}
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);

outState.putInt(LAYOUT_MANAGER_TYPE_STATE, layoutManagerType);
outState.putBoolean(HEADER_STATE, headerFooterAdapter.hasHeader());
outState.putBoolean(FOOTER_STATE, headerFooterAdapter.hasFooter());
outState.putBoolean(HEADER_STATE, headerFooterAdapter.getHeader() != null);
outState.putBoolean(FOOTER_STATE, headerFooterAdapter.getFooter() != null);
adapter.saveInstanceState(outState);
}

Expand Down

0 comments on commit 1f6fea8

Please sign in to comment.