METHOD_0 ( ) { com . IDENT_0 . api . IDENT_1 IDENT_2 = new com . IDENT_0 . api . METHOD_1 ( context ) ; android . location . IDENT_3 IDENT_4 = IDENT_2 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { if ( ! ( METHOD_3 ( ) ) ) { return null ; } android . location . IDENT_5 IDENT_6 = ( ( android . location . IDENT_5 ) ( context . METHOD_4 ( Context . IDENT_7 ) ) ) ; if ( IDENT_6 == null ) { return null ; } java . util . List < java . lang . String > IDENT_8 = null ; try { IDENT_8 = IDENT_6 . METHOD_5 ( true ) ; } catch ( java . lang . IDENT_9 e ) { com . IDENT_0 . api . IDENT_10 . METHOD_6 ( ) . METHOD_7 ( STRING_0 , e ) ; } if ( IDENT_8 == null ) { return null ; } java . util . List < android . location . IDENT_3 > IDENT_11 = new java . util . ArrayList < android . location . IDENT_3 > ( ) ; for ( java . lang . String provider : IDENT_8 ) { android . location . IDENT_3 location = null ; try { location = IDENT_6 . METHOD_8 ( provider ) ; } catch ( java . lang . IllegalArgumentException e ) { com . IDENT_0 . api . IDENT_10 . METHOD_6 ( ) . METHOD_7 ( STRING_0 , e ) ; } catch ( java . lang . IDENT_9 e ) { com . IDENT_0 . api . IDENT_10 . METHOD_6 ( ) . METHOD_7 ( STRING_0 , e ) ; } if ( location != null ) { IDENT_11 . add ( location ) ; } } long IDENT_12 = - 1 ; android . location . IDENT_3 IDENT_13 = null ; for ( android . location . IDENT_3 location : IDENT_11 ) { if ( ( location . getTime ( ) ) > IDENT_12 ) { IDENT_12 = location . getTime ( ) ; IDENT_13 = location ; } } return IDENT_13 ; }
org . junit . Assert . assertNull ( IDENT_4 )