So really all we have to do is rebuild our android OS with that flag set to
false and we're good to go? ;)

On Wed, Jan 16, 2013 at 4:56 AM, Tobias Lindberg <
tobias.e.lindb...@gmail.com> wrote:

> True, will do.
>
>
> 2013/1/16 Raghav Sood <raghavs...@gmail.com>
>
>> @Tobias Now that you've found the problem, it'd be nice if you could
>> close your question on StackOveflow as well. I posted the answer for now,
>> but it would probably be best if you posted it from your own account and
>> accepted it.
>>
>> Raghav Sood
>> http://www.appaholics.in/ - Founder
>> http://www.apress.com/9781430239451 - Author
>> +91 81 303 77248
>>
>>
>> On Wed, Jan 16, 2013 at 6:11 PM, Tobias Lindberg <
>> tobias.e.lindb...@gmail.com> wrote:
>>
>>> That is really strange, if the user should have the option of disabling
>>> it should not be bulked with push notifications.
>>>
>>>
>>> 2013/1/16 Kostya Vasilyev <kmans...@gmail.com>
>>>
>>>> Heh. Looks like it *is* intentional.
>>>>
>>>>
>>>> https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java
>>>>
>>>> Lines 693-707:
>>>>
>>>>         final boolean isSystemToast = ("android".equals(pkg));
>>>>
>>>>         if (ENABLE_BLOCKED_TOASTS && !isSystemToast &&
>>>> !areNotificationsEnabledForPackageInt(pkg)) {
>>>>             Slog.e(TAG, "Suppressing toast from package " + pkg + " by
>>>> user request.");
>>>>             return;
>>>>         }
>>>>
>>>> Line 114:
>>>>
>>>>     private static final boolean ENABLE_BLOCKED_TOASTS = true;
>>>>
>>>> Commit diff:
>>>>
>>>>
>>>> https://android.googlesource.com/platform/frameworks/base/+/0da673f02e542c644c300568807c80e196296860%5E
>>>> !
>>>>
>>>> -- K
>>>>
>>>> 2013/1/16 Tobias Lindberg <tobias.e.lindb...@gmail.com>:
>>>> > Definetly a bug, no one would be stupid enough to do that on purpose.
>>>> Or at
>>>> > least I hope so.
>>>> >
>>>> >
>>>> > 2013/1/15 Kevin Duffey <andjar...@gmail.com>
>>>> >>
>>>> >> Indeed that is important.. why would a toast notification be blocked
>>>> by
>>>> >> that setting? Obviously a bug.. I can't imagine they meant to do
>>>> that.
>>>> >>
>>>> >>
>>>> >> On Tue, Jan 15, 2013 at 2:09 PM, Mark Murphy <
>>>> mmur...@commonsware.com>
>>>> >> wrote:
>>>> >>>
>>>> >>> Wow. That's an important find. Thanks for pointing this out!
>>>> >>>
>>>> >>> On Tue, Jan 15, 2013 at 4:31 PM, Harri Smått <har...@gmail.com>
>>>> wrote:
>>>> >>> > Hi,
>>>> >>> >
>>>> >>> > There's a bug filed on Android bug database;
>>>> >>> >
>>>> >>> > http://code.google.com/p/android/issues/detail?id=35013
>>>> >>> >
>>>> >>> > In other words, if you disable application notifications, Toasts
>>>> also
>>>> >>> > are disabled for that particular application. Could this be the
>>>> reason for
>>>> >>> > behaviour Tobias is facing?
>>>> >>> >
>>>> >>> > --
>>>> >>> > H
>>>> >>> >
>>>> >>> > On Jan 15, 2013, at 11:18 PM, bob <b...@coolfone.comze.com> wrote:
>>>> >>> >
>>>> >>> >> I have also tried this with the Galaxy S3 and 4.1.1, and the
>>>> Toast
>>>> >>> >> shows fine.
>>>> >>> >>
>>>> >>> >
>>>> >>> > --
>>>> >>> > You received this message because you are subscribed to the Google
>>>> >>> > Groups "Android Developers" group.
>>>> >>> > To post to this group, send email to
>>>> >>> > android-developers@googlegroups.com
>>>> >>> > To unsubscribe from this group, send email to
>>>> >>> > android-developers+unsubscr...@googlegroups.com
>>>> >>> > For more options, visit this group at
>>>> >>> > http://groups.google.com/group/android-developers?hl=en
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> --
>>>> >>> Mark Murphy (a Commons Guy)
>>>> >>> http://commonsware.com | http://github.com/commonsguy
>>>> >>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>>> >>>
>>>> >>> _The Busy Coder's Guide to Android Development_ Version 4.5
>>>> Available!
>>>> >>>
>>>> >>> --
>>>> >>> You received this message because you are subscribed to the Google
>>>> >>> Groups "Android Developers" group.
>>>> >>> To post to this group, send email to
>>>> android-developers@googlegroups.com
>>>> >>> To unsubscribe from this group, send email to
>>>> >>> android-developers+unsubscr...@googlegroups.com
>>>> >>> For more options, visit this group at
>>>> >>> http://groups.google.com/group/android-developers?hl=en
>>>> >>
>>>> >>
>>>> >> --
>>>> >> You received this message because you are subscribed to the Google
>>>> >> Groups "Android Developers" group.
>>>> >> To post to this group, send email to
>>>> android-developers@googlegroups.com
>>>> >> To unsubscribe from this group, send email to
>>>> >> android-developers+unsubscr...@googlegroups.com
>>>> >> For more options, visit this group at
>>>> >> http://groups.google.com/group/android-developers?hl=en
>>>> >
>>>> >
>>>> > --
>>>> > You received this message because you are subscribed to the Google
>>>> > Groups "Android Developers" group.
>>>> > To post to this group, send email to
>>>> android-developers@googlegroups.com
>>>> > To unsubscribe from this group, send email to
>>>> > android-developers+unsubscr...@googlegroups.com
>>>> > For more options, visit this group at
>>>> > http://groups.google.com/group/android-developers?hl=en
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Android Developers" group.
>>>> To post to this group, send email to
>>>> android-developers@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> android-developers+unsubscr...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Reply via email to