OSDN Git Service

Block "SMS Default Dialog" on non-phone devices
authorDavid Braun <dabraun@google.com>
Mon, 7 Oct 2013 16:35:52 +0000 (09:35 -0700)
committerDavid Braun <dabraun@google.com>
Mon, 7 Oct 2013 16:35:52 +0000 (09:35 -0700)
commit1c17255d5edadaf1790af365d2ed5f962a7bcc65
tree96294b34ee1f95b82a86a2922c0ff6081e087203
parent8aecb7cea083366fc85d8088d7e5e18e775fee80
Block "SMS Default Dialog" on non-phone devices

This change also handles the case where getDefaultSmsApplication returns
null more elegantly, though this is only really possible on a device that
is a tablet (blocked earlier in the method) or a phone device that had no
SMS apps at boot (when we force the setting of an SMS app.)

Bug: 11072894 People app should not launch into default SMS app on tablets
Change-Id: I1e253873e053c21bc1652bd03d7b486aaf9be5e1
res/values/strings.xml
src/com/android/settings/SmsDefaultDialog.java