The method used by the stock lock screen and while in a call is
signatureOrSystem only:

    <!-- Allows an application to open, close, or disable the status
bar
         and its icons. -->
    <permission android:name="android.permission.STATUS_BAR"
        android:label="@string/permlab_statusBar"
        android:description="@string/permdesc_statusBar"
        android:protectionLevel="signatureOrSystem" />

-Kevin


On Mar 3, 6:18 pm, lbendlin <[email protected]> wrote:
> The stock phone app does not lock on my N1. If an app would lock the
> status bar without my permission I would uninstall that app at once.
>
> Have you considered making your app fullscreen?
>
> On Mar 3, 5:40 am, Marcin Orlowski <[email protected]> wrote:
>
>
>
>
>
>
>
> > On 3 March 2011 11:27, Tom <[email protected]> wrote:
>
> > > I know there is a way to expand/collapse and hide status bar.
> > > But is it possible to lock it?
>
> > Phone app locks, so definitely there is, but doubt it's public
> > --
> > Regards,
> > Marcin

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to