Fixed depreciated called for device api level
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -179,7 +179,7 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic
|
|||||||
* The following is for api 11 and up
|
* The following is for api 11 and up
|
||||||
* else use compat methods
|
* else use compat methods
|
||||||
*/
|
*/
|
||||||
if(Integer.valueOf(android.os.Build.VERSION.SDK) > 11){
|
if(Integer.valueOf(android.os.Build.VERSION.SDK_INT) > 11){
|
||||||
ActionBar actionBar = getActionBar();
|
ActionBar actionBar = getActionBar();
|
||||||
actionBar.setDisplayHomeAsUpEnabled(true);
|
actionBar.setDisplayHomeAsUpEnabled(true);
|
||||||
initPickers();
|
initPickers();
|
||||||
|
|||||||
Reference in New Issue
Block a user