Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Commit

Permalink
Generate new sources for 27.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
passsy committed Oct 27, 2017
1 parent 7817371 commit 4cd12d0
Show file tree
Hide file tree
Showing 10 changed files with 437 additions and 5,777 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6602,6 +6602,28 @@ public void call(final Integer requestedOrientation) {
superCall.call(requestedOrientation);
}

public void setShowWhenLocked(final boolean showWhenLocked) {
if (mPlugins.isEmpty()) {
getOriginal().super_setShowWhenLocked(showWhenLocked);
return;
}

final ListIterator<ActivityPlugin> iterator = mPlugins.listIterator(mPlugins.size());

final CallVoid1<Boolean> superCall = new CallVoid1<Boolean>("setShowWhenLocked(Boolean)") {

@Override
public void call(final Boolean showWhenLocked) {
if (iterator.hasPrevious()) {
iterator.previous().setShowWhenLocked(this, showWhenLocked);
} else {
getOriginal().super_setShowWhenLocked(showWhenLocked);
}
}
};
superCall.call(showWhenLocked);
}

public void setSupportActionBar(@Nullable final Toolbar toolbar) {
if (mPlugins.isEmpty()) {
getOriginal().super_setSupportActionBar(toolbar);
Expand Down Expand Up @@ -6829,6 +6851,28 @@ public void call(final Integer textColor) {
superCall.call(textColor);
}

public void setTurnScreenOn(final boolean turnScreenOn) {
if (mPlugins.isEmpty()) {
getOriginal().super_setTurnScreenOn(turnScreenOn);
return;
}

final ListIterator<ActivityPlugin> iterator = mPlugins.listIterator(mPlugins.size());

final CallVoid1<Boolean> superCall = new CallVoid1<Boolean>("setTurnScreenOn(Boolean)") {

@Override
public void call(final Boolean turnScreenOn) {
if (iterator.hasPrevious()) {
iterator.previous().setTurnScreenOn(this, turnScreenOn);
} else {
getOriginal().super_setTurnScreenOn(turnScreenOn);
}
}
};
superCall.call(turnScreenOn);
}

public void setVisible(final boolean visible) {
if (mPlugins.isEmpty()) {
getOriginal().super_setVisible(visible);
Expand Down
Loading

0 comments on commit 4cd12d0

Please sign in to comment.