Skip to content

Commit

Permalink
Revert "More awesome actions"
Browse files Browse the repository at this point in the history
This reverts commit fc7c7f6.
  • Loading branch information
iGio90 committed Mar 8, 2013
1 parent fc7c7f6 commit e50a41c
Show file tree
Hide file tree
Showing 6 changed files with 387 additions and 127 deletions.
Expand Up @@ -217,7 +217,7 @@ public void run() {
Log.d(TAG,"LongPress!");
mBar.hideSearchPanel();
maybeSkipKeyguard();
AwesomeAction.launchAction(mContext, longList.get(mTarget));
AwesomeAction.getInstance(mContext).launchAction(longList.get(mTarget));
mSearchPanelLock = true;
}
}
Expand Down Expand Up @@ -253,11 +253,11 @@ public void onGrabbedStateChange(View v, int handle) {
public void onTrigger(View v, final int target) {
mTarget = target;
if (!mLongPress) {
if (AwesomeConstant.ACTION_ASSIST.equals(intentList.get(target))) {
if (AwesomeAction.ACTION_ASSIST.equals(intentList.get(target))) {
startAssistActivity();
} else {
maybeSkipKeyguard();
AwesomeAction.launchAction(mContext, intentList.get(target));
AwesomeAction.getInstance(mContext).launchAction(intentList.get(target));
}
mHandler.removeCallbacks(SetLongPress);
}
Expand Down

0 comments on commit e50a41c

Please sign in to comment.