[Android] minSDK is now 8, aka Android 2.2

Jean-Baptiste Kempf jb at videolan.org
Mon Nov 9 09:42:27 CET 2015


Well, technically, it still works, but percent library is minSdk 8, and
the READ_PHONE_STATE permission is too dangerous.

In theory, and according to the documentation, we don't need this
permission; in practice, we do need it.

However, we won't drop the 1.6.6.1 apk anyway, so people can get access
to it :)

Best,

On 08 Nov, Edward Wang wrote :
> A sad day... although it was a rather remarkable feat indeed that we
> managed to support 2.1 for all these 5 years.
> 
> On Sun, Nov 8, 2015 at 4:31 PM, Jean-Baptiste Kempf <git at videolan.org> wrote:
> > vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Nov  9 01:28:55 2015 +0100| [345a96f64ac323d02c5fc158348c5b9f5dff421a] | committer: Jean-Baptiste Kempf
> >
> > minSDK is now 8, aka Android 2.2
> >
> > This is mostly because of the AudioManager changes, but also the fact
> > that 2.1 is quite old and rare.
> > The Play Store is also only 2.2+ since a long time.
> >
> > However, developers, please try to keep your work compatible with Android-7
> > as much as possible. We don't know what the future will be.
> >
> >> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=345a96f64ac323d02c5fc158348c5b9f5dff421a
> > ---
> >
> >  vlc-android/AndroidManifest.xml |    5 ++---
> >  1 file changed, 2 insertions(+), 3 deletions(-)
> >
> > diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
> > index 0d45a30..5ca30ff 100644
> > --- a/vlc-android/AndroidManifest.xml
> > +++ b/vlc-android/AndroidManifest.xml
> > @@ -25,9 +25,8 @@
> >      -->
> >
> >      <uses-sdk
> > -        android:minSdkVersion="7"
> > -        android:targetSdkVersion="22"
> > -        tools:overrideLibrary="android.support.percent"/>
> > +        android:minSdkVersion="8"
> > +        android:targetSdkVersion="22" />
> >
> >      <!-- FIXME Because manifest merger will add it otherwise... -->
> >      <uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
> >
> > _______________________________________________
> > Android mailing list
> > Android at videolan.org
> > https://mailman.videolan.org/listinfo/android
> _______________________________________________
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the Android mailing list