[android-developers] Re: REGRESSION - trap in android 1.6 SDK inflating DialogPreference from XML

2009-09-28 Thread Lee
Ok thanks that's great information I'll look into it. Lee On Sep 29, 10:38 am, Romain Guy wrote: > DialogPreference is an abstract class and cannot be instantiated. > There was a bug in the VM in 1.5 that would allow abstract classes to > be instantiated through reflection. Sorry it broke your

[android-developers] Re: REGRESSION - trap in android 1.6 SDK inflating DialogPreference from XML

2009-09-28 Thread Romain Guy
DialogPreference is an abstract class and cannot be instantiated. There was a bug in the VM in 1.5 that would allow abstract classes to be instantiated through reflection. Sorry it broke your app but the 1.6 behavior is the correct one. Having an instance of an abstract class is very wrong and cou