Android-x86
Fork
捐款

  • R/O
  • HTTP
  • SSH
  • HTTPS

frameworks-policies-base: 提交

frameworks/policies/base


Commit MetaInfo

修訂150b526f807eb522446d7f7d77be662812f448ed (tree)
時間2010-12-20 16:37:38
作者Yi Sun <beyounn@gmai...>
CommiterChih-Wei Huang

Log Message

move the power off and reboot the upper positions

Change Summary

差異

--- a/phone/com/android/internal/policy/impl/GlobalActions.java
+++ b/phone/com/android/internal/policy/impl/GlobalActions.java
@@ -193,11 +193,7 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac
193193 };
194194
195195 mItems = Lists.newArrayList(
196- // silent mode
197- mSilentModeToggle,
198- // next: airplane mode
199- mAirplaneModeOn,
200- // last: power off
196+ // power off
201197 new SinglePressAction(
202198 com.android.internal.R.drawable.ic_lock_power_off,
203199 R.string.global_action_power_off) {
@@ -233,7 +229,11 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac
233229 public boolean showBeforeProvisioning() {
234230 return true;
235231 }
236- }
232+ },
233+ // silent mode
234+ mSilentModeToggle,
235+ // next: airplane mode
236+ mAirplaneModeOn
237237 );
238238
239239 mAdapter = new MyAdapter();
Show on old repository browser