File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed
src/com/android/systemui/statusbar/halo Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 170170 <string name =" halo_tutorial1" >This is HALO</string >
171171 <string name =" halo_tutorial2" >Move me: double tap & drag</string >
172172 <string name =" halo_tutorial3" >Browse tasks: Horizontal drag</string >
173+ <string name =" halo_tutorial4" >Halo disables HeadsUp automatically</string >
174+ <string name =" halo_tutorial5" >Disable Halo by dragging to red circle</string >
175+ <string name =" halo_tutorial6" >Disable if you want to install any apk</string >
173176
174177</resources >
Original file line number Diff line number Diff line change @@ -398,10 +398,25 @@ public void run() {
398398 .getString (R .string .halo_tutorial3 ), 0 , 3000 );
399399 mHandler .postDelayed (new Runnable () {
400400 public void run () {
401- mState = STATE_IDLE ;
402- mEffect .nap (0 );
403- mEffect .setHaloOverlay
404- (HaloProperties .Overlay .NONE , 0f );
401+ mEffect .ticker (mContext .getResources ()
402+ .getString (R .string .halo_tutorial4 ), 0 , 3000 );
403+ mHandler .postDelayed (new Runnable () {
404+ public void run () {
405+ mEffect .ticker (mContext .getResources ()
406+ .getString (R .string .halo_tutorial5 ), 0 , 3000 );
407+ mHandler .postDelayed (new Runnable () {
408+ public void run () {
409+ mEffect .ticker (mContext .getResources ()
410+ .getString (R .string .halo_tutorial6 ), 0 , 3000 );
411+ mHandler .postDelayed (new Runnable () {
412+ public void run () {
413+ mState = STATE_IDLE ;
414+ mEffect .nap (0 );
415+ mEffect .setHaloOverlay
416+ (HaloProperties .Overlay .NONE , 0f );
417+ }}, 6000 );
418+ }}, 6000 );
419+ }}, 6000 );
405420 }}, 6000 );
406421 }}, 6000 );
407422 }}, 6000 );
You can’t perform that action at this time.
0 commit comments