frameworks/policies/base
修訂 | 150b526f807eb522446d7f7d77be662812f448ed (tree) |
---|---|
時間 | 2010-12-20 16:37:38 |
作者 | Yi Sun <beyounn@gmai...> |
Commiter | Chih-Wei Huang |
move the power off and reboot the upper positions
@@ -193,11 +193,7 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac | ||
193 | 193 | }; |
194 | 194 | |
195 | 195 | mItems = Lists.newArrayList( |
196 | - // silent mode | |
197 | - mSilentModeToggle, | |
198 | - // next: airplane mode | |
199 | - mAirplaneModeOn, | |
200 | - // last: power off | |
196 | + // power off | |
201 | 197 | new SinglePressAction( |
202 | 198 | com.android.internal.R.drawable.ic_lock_power_off, |
203 | 199 | R.string.global_action_power_off) { |
@@ -233,7 +229,11 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac | ||
233 | 229 | public boolean showBeforeProvisioning() { |
234 | 230 | return true; |
235 | 231 | } |
236 | - } | |
232 | + }, | |
233 | + // silent mode | |
234 | + mSilentModeToggle, | |
235 | + // next: airplane mode | |
236 | + mAirplaneModeOn | |
237 | 237 | ); |
238 | 238 | |
239 | 239 | mAdapter = new MyAdapter(); |