History log of /frameworks/base/core/java/android/widget/RemoteViews.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2d5dbba923b464e2a194f344e74d05d6ff724c35 09-Jun-2016 Adrian Roos <roosa@google.com> Make RemoteView margins density-change safe

Bug: 28935363
Change-Id: I279da8da84f794c512a66cb46c76ae9e746a6387
/frameworks/base/core/java/android/widget/RemoteViews.java
c3b752e712f5ce6a3ddaad5c585345dce7ababe5 21-Apr-2016 Selim Cinek <cinek@google.com> Changed the name of chronometer countdown

Change-Id: Ie0339205b26f2dff40e0c19760750a0ce6aaf7da
Fixes: 28295825
/frameworks/base/core/java/android/widget/RemoteViews.java
c1a80b08f08cfb038625cec537390705d16db3f5 05-Apr-2016 Adrian Roos <roosa@google.com> Notification MessagingStyle: Add handset views

Bug: 27250207
Change-Id: I499cf2beaeeb34f0f189815fc0911f3b8954bd50
/frameworks/base/core/java/android/widget/RemoteViews.java
e6e108e0eb5d552e3b35bf1803838f7a00730abd 28-Mar-2016 Jorim Jaggi <jjaggi@google.com> Launch everything from the shade in full-screen stack

Bug: 27864383
Change-Id: I2925661f1c325f4385876188a5866ab6b57a8f19
/frameworks/base/core/java/android/widget/RemoteViews.java
7da889d81d2ff4c1704dc0a64389947fb30de5d8 17-Mar-2016 Adrian Roos <roosa@google.com> Don't copy Bitmaps when cloning RemoteViews

Bug: 27385859
Fixes: 27385859

Change-Id: I9f0768b20e6e71d5366eb21df76c984bfe6989b1
/frameworks/base/core/java/android/widget/RemoteViews.java
a94742c7f9b6287c97a5cd47cf6542ce25e86513 26-Feb-2016 Selim Cinek <cinek@google.com> Merge "Added convenience methods to use chronometer countdown methods" into nyc-dev
81c23aac788209e002a79b6886445f7d3f406cb4 26-Feb-2016 Selim Cinek <cinek@google.com> Added convenience methods to use chronometer countdown methods

Bug: 27343480
Change-Id: Iea4d0259ba8c3ab91fec5ee04ea4b39e5dd988bf
/frameworks/base/core/java/android/widget/RemoteViews.java
b880d167a6ba6ce90c0c52c44bc775627150cdb8 24-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Fixing the parent check loop to allow RemoteViewsFrameLayout

Bug: 27328093
Change-Id: I0f6ae8e95f952d40589eafb912ba188d15d7624c
/frameworks/base/core/java/android/widget/RemoteViews.java
5dd685f24cc68f6c1dc21450f8996694d11a1657 24-Feb-2016 Adrian Roos <roosa@google.com> Fix broken remote inputs

Bug: 22452379
Change-Id: Ibcf0cf23e9f163b37270d42629de01083e12643c
/frameworks/base/core/java/android/widget/RemoteViews.java
9b123cf9bb50f98064ee0a8eed38601ca7c03564 04-Feb-2016 Adrian Roos <roosa@google.com> Make actions extend over the whole action rail

Bug: 26767249
Change-Id: I3c67f1de40b218aa21f0a1f68bda1032c0804a14
/frameworks/base/core/java/android/widget/RemoteViews.java
dd292f4fab52f99d0b15fcf961864cd8186d662c 02-Dec-2015 Sunny Goyal <sunnygoyal@google.com> Added support for async inflation of RemoteViews

When enabled, the View inflation as well as some of the drawable
loading is done on the background thread.
It also assumes that all the views support inflation on the
background thread, which is true for the default views
supported by the platform

For ViewGroup opetations, it maintains a virtual view tree which
is used for findViewById. The final operations are applied on
the UI thread in the end.

Change-Id: Ib3ce55182ec04a344f2b2513981ee03afc8fa2e8
/frameworks/base/core/java/android/widget/RemoteViews.java
a89ef23e8c3cf6f84141a5964b05e8961c4cce31 01-Dec-2015 Selim Cinek <cinek@google.com> Fixed a bug where the margins where not updated correctly

When updating a notification, the end margin was not
correctly updating, leading to overlapping text with
the image.

Change-Id: Ica3d21ff0268105d0a8a73527b8dad0225e12d5a
/frameworks/base/core/java/android/widget/RemoteViews.java
65b2e7c6cbcd41985ab007eec3a21aad75dfc983 26-Oct-2015 Selim Cinek <cinek@google.com> Update the notification templates

Most of the notification templates have been updated.
Some cases like media notifications don't yet work well
but will be fixed in a later CL.

Bug: 25376106
Change-Id: I26c366e58ebba3852cea20de6fca311bd302bb24
/frameworks/base/core/java/android/widget/RemoteViews.java
fe84e1f436ad14b1f24cdb9b8bf56a9919f25c93 05-Nov-2015 Adrian Roos <roosa@google.com> Visuals for Inline Reply

Change-Id: I374a7ec82795f95fe2f3ce8c9e6b02c1479433af
/frameworks/base/core/java/android/widget/RemoteViews.java
1ed322b123b5aa8cd02c036e5e3393b6a79f559f 17-Sep-2015 Gus Prevas <kprevas@google.com> Adds an option to override RemoteViews transition.

This change adds a configuration option,
"config_overrideRemoteViewsActivityTransition", which is false by
default and true on watches. If it's true, when a RemoteViews
is clicked, it will use a new attribute on the active window animation
style, "activityOpenRemoteViewsEnterAnimation", to determine
the entry transition to use, instead of the current hard-coded
default.

Bug: 23534750
Change-Id: I91e92804a663ab71a3e46c3430fa579b87cc7931
/frameworks/base/core/java/android/widget/RemoteViews.java
706274f7ff9e1e7eb01f93ae80f7189de7fe6694 31-Jul-2015 Dan Sandler <dsandler@android.com> Make the RemoteViews context safe for Icons.

Icon needs the RemoteViews' internal context to reflect not
just the Resources of the originating application, but its
package name as well.

Bug: 22840771
Bug: 22852700
Change-Id: I1164cd38d99283982b00daadcf927c7cf63539b3
/frameworks/base/core/java/android/widget/RemoteViews.java
912282e7319370cb74727895a49c0598fb0a7b02 29-Jul-2015 Dan Sandler <dsandler@android.com> Fully support Icons in Notification actions.

RemoteViews now allows Icons as TextView compound
drawables in RemoteViews, but not yet as public API.

Bug: 22600607
Change-Id: I986a0ce3bede09746f0b121884184679f39a79f5
/frameworks/base/core/java/android/widget/RemoteViews.java
03a7c4c6d4f30416b3fa6e9018f098c0fa41bbd5 02-Jun-2015 Jorim Jaggi <jjaggi@google.com> Fix shared drawable state

Not calling mutate here had a side-effect making the icon in the
status bar untintable in SysUI.

Bug: 21566007
Change-Id: Ifb78c81ba7f04d496f14031ef635a6e964e6280e
/frameworks/base/core/java/android/widget/RemoteViews.java
a22a380fbbe224783d8b82440ca8692b0ff5b0a2 13-May-2015 Dan Sandler <dsandler@android.com> Add Icon support to ImageView.

ImageView.setImageIcon() is remotable, so you can also call
RemoteViews.setImageViewIcon().

Bug: 18568715
Change-Id: I456cfa65102e1983d3392d822584d154a6cd761a
/frameworks/base/core/java/android/widget/RemoteViews.java
80756e38882720860db52f1fcc21fa1505a02abf 02-Mar-2015 Tor Norbye <tnorbye@google.com> Annotate ARGB integer parameters with @ColorInt

Change-Id: I307f72a382272cf18ddb6b07d9fcb81228568d9a
/frameworks/base/core/java/android/widget/RemoteViews.java
6c70290ff0b20329c8f173d5c3423eb83ddc46f1 10-Oct-2014 Svetoslav <svetoslavganov@google.com> Adding APIs to enable apps to influence accessibility traversal.

Accessibility focus is a token that can be put on any view and is
entirely controlled by accessibility services which decide whether
to put accessibility focus on a given view and what the traversal
strategy is.

Currently accessibility service use the view tree structure for
traversal which does not always reflect the logical order and the
user experience is sub-optimal. In such cases apps should be able
to influence how they are traversed for accessibility.

This change adds the notion of an accessibilty traversal order.
If a view has next in the traversal, an accessibility service has
to traverse the content of this view before traversing the content
next one.

This change will enable accessibility service to move away from
using the view tree and use spatial location of the content while
app developers can also influence the treversal order.

bug:17319923

Change-Id: Ib67ae4577f30b2c96575c71538dc1afdea08bfd3
/frameworks/base/core/java/android/widget/RemoteViews.java
ef72a198afc4ded0b75534a97142fae2e91b46f5 26-Aug-2014 Jorim Jaggi <jjaggi@google.com> Apply color to progress bar for notifications

Bug: 17128179
Change-Id: Ia642ff2a352bbabf2d1e468367d45dc188ee0e73
/frameworks/base/core/java/android/widget/RemoteViews.java
b62424432555d8069f24c2a3550c97a06e5b02f6 19-Sep-2014 Svetoslav <svetoslavganov@google.com> Keep existing API behavior that regressed.

If RemoteViews get a null package in the constructor we are
using the context in which they are applied to obtain resources
during inflation. In such a case if we call the getPackage()
method we were getting null, i.e. the package passed in the
contructor, but now we are returning the package if the app
that created the remote views.

bug:17513823
Change-Id: I0c4a8953c8320469a9160dbaae46ce31465b313b
/frameworks/base/core/java/android/widget/RemoteViews.java
773200640ba6561432e57b86a94bd3836494e4cf 27-Aug-2014 Kenny Guy <kennyguy@google.com> Fix RemoteViews to inflate views for current user.

Fix RemoteViews so that it loads resources from
user that created the RemoteViews but inflates
for the user applying the RemoteViews.
Fix Notification to rebuild RemoteViews with
same ApplicationInfo as original app.

Bug: 17302505
Change-Id: I39f21eef83d63e9e494ea35818e1eb969edd38d7
/frameworks/base/core/java/android/widget/RemoteViews.java
692356b7c392130b7f38f46a60570617c978ba75 04-Sep-2014 Kenny Guy <kennyguy@google.com> Revert "Ensure all RemoteViews use myUserId rather than context."

This reverts commit 5287e37687f117ac0b690100ad90842eff58d15a.
Reverting because only worked if settings cache had been populated
already.

Bug: 17302505
Change-Id: I4360606e9d9c6409951f0a02bd0b78c55085e0c6
/frameworks/base/core/java/android/widget/RemoteViews.java
879ebec4e2a12a802339549cb4fefa32b5368379 02-Sep-2014 Kenny Guy <kennyguy@google.com> Ensure all RemoteViews use myUserId rather than context.

Remote views may be inflated in another user so
explicitly use processes user id rather than the
user id of the context.

Bug: 17302505
Change-Id: I985c91745f03dd7e6b2ab6357600077664d8e6be
/frameworks/base/core/java/android/widget/RemoteViews.java
17ee3ec0b85f1ca29920bc3bf26e613b82a0ecf8 29-Aug-2014 Jorim Jaggi <jjaggi@google.com> Media notification updates

- Make text white.
- Adjust padding & metrics to redlines.
- Use different narrow layout when 3 or less notifications with big
picture.
- Update action ripples.
- Fix progress bar size & fix color for indeterminate progress bar.
- Apply default background in SystemUI when no color is set, so we
don't end up with white text on white background.

Bug: 15437369
Bug: 16625746
Bug: 15147533
Change-Id: Ie8bd5ad0bbca972685adb50034fff88ea97456bd
/frameworks/base/core/java/android/widget/RemoteViews.java
14494a8760052aad760fb0f4124b6fe76ec313f6 18-Aug-2014 Svetoslav <svetoslavganov@google.com> Fix a crash in RemoteViews.

We are now using the application info of the target app
of the remote views to create a deicated context for
loading resources. The code that is looking up the app
info was using the appilcation context of the current
app which may be null. Now we are using the base context
which is never null.

bug:17005860

Change-Id: Ibcf8b6f81fe24d23a82327870741146c8864ce8f
/frameworks/base/core/java/android/widget/RemoteViews.java
0da85b6c9073956b620c6a88b44027e9ee80066c 06-Aug-2014 Svet Ganov <svetoslavganov@google.com> Fix regression in remote views.

Now remote views contain the application info for the app on whose
behalf they should show content. The application info contains the
user id and the package name which makes it unique in the multi
user environment. If the app which creates the remote views does
not have the same package as the one passed in the contructor of
the remote views, we lookup the app info for the target package.
There is a special hidden overload that allows creating a remote
views instance that represents an app in given package and user
(requires interact across users) permission. The latter is used
by SystemUi when creating remote views for apps that posted a
notification.

bug:16838651

Change-Id: I2daa974629f89a2446848e59300d994dadcf4439
/frameworks/base/core/java/android/widget/RemoteViews.java
976e8bd2017d0263216c62111454438cc0f130e3 17-Jul-2014 Svetoslav <svetoslavganov@google.com> Allow adding widgets from user profiles.

The goal of this change is to enable support for appwidget from
user profiles to the user main profile. A user profile is a user
which is associated as a child of the main user profile. For example,
a user may have a personal (parent) and corporate (child) profile.
The device policy should be able to control whether adding a widget
from a child profile and given packages is allowed. This change
assumes that all packages from managed profiles are white listed.
Another change will add the device policy changes.

Change-Id: I267260b55d74c48b112a29979a9f59eef7a8194e
/frameworks/base/core/java/android/widget/RemoteViews.java
4600f9b60753adab4e65258a05744a46938fce86 22-Jul-2014 Christoph Studer <chstuder@google.com> Strip RemoteViews from Notifications, re-create them in SysUI

Bug: 16329721
Change-Id: Ic0bea763ffaec4c5644ca78705007211ac6b4b88
/frameworks/base/core/java/android/widget/RemoteViews.java
65dfc83cef6dd936deef428f1d318d10ff1d7af5 19-Jun-2014 Jeff Sharkey <jsharkey@android.com> am b9a45aae: am 447b68e7: am b5e05cff: Merge "Fixing parcel leaks to avoid virtual memory leak"

* commit 'b9a45aae8d07e7a92806b53cbc36f5488e3bac2d':
Fixing parcel leaks to avoid virtual memory leak
db1a9a3862e62ea088ced2ae04a78e515089ba7e 19-Jun-2014 Maunik Shah <mshah@codeaurora.org> Fixing parcel leaks to avoid virtual memory leak

Client has to call recycle() on parcel object after its usage
otherwise native layer of binder won't clear the resources of
parcel which were allocated for IPC

Change-Id: Ib31ddcc92aa4ebd80bb66729922b9133692e9c9e
/frameworks/base/core/java/android/widget/RemoteViews.java
5c2d84675b239bc04ae98c75526e5b81897ee183 21-Mar-2014 Jorim Jaggi <jjaggi@google.com> Move legacy notification processing to Notification.Builder

Bug: 13485610
Change-Id: I5466d3dbc328c77876dc701c17e7a5a06777dbbe
/frameworks/base/core/java/android/widget/RemoteViews.java
9870e5ca006ff7408d82de3d7cc66e6a17823346 23-Jul-2013 Romain Guy <romainguy@google.com> Fix crash in app widgets
Bug #9983130

Change-Id: Ie2319c9e8f6e7591c03061224021973b94ae07cb
/frameworks/base/core/java/android/widget/RemoteViews.java
484f4d62829f8630e653e4349cf67bc4e9706774 23-Jul-2013 Romain Guy <romainguy@google.com> Use the parameter type as part of the methods cache key

Change-Id: Ie204d16b62028fc1eb35cc7cb3244654e1360a37
/frameworks/base/core/java/android/widget/RemoteViews.java
e4d4e20e8f84d53b4b7198300baaf3e21ff9be58 22-Jul-2013 Romain Guy <romainguy@google.com> Cache reflection lookups

This change also cleanups the code a little bit. Caching lookups
not only speed things up but it also avoids unnecessary allocations.

Change-Id: Ie3d1ae106d32b3b5f2c5d33b6318ed93cd9e27f9
/frameworks/base/core/java/android/widget/RemoteViews.java
33f3aab220e083a4af975786e941cf42d380871f 17-Apr-2013 Adam Cohen <adamcohen@google.com> DO NOT MERGE Stripping some new widget API that is yet unused

Change-Id: I7a7156f30aa9105461908f66426950d13eb01408
/frameworks/base/core/java/android/widget/RemoteViews.java
a14acd20b8d563319ea1a5974dca0e9a29f0aaef 03-Apr-2013 Jeff Sharkey <jsharkey@android.com> Warn when exposing file:// Uris beyond a process.

Check for file:// Uris inside Intents, ClipData, Notifications and
RemoteViews when StrictMode option is enabled.

Also introduces Intent.prepareToLeaveProcess() to uniformly handle
Intents about to leave an app process.

Bug: 8529070
Change-Id: I8efb43877cbc5f21eb029fc6492b3ee1415059ef
/frameworks/base/core/java/android/widget/RemoteViews.java
b00d9f0e07993d47d49cfa2cf8d7026b8c5b0f2e 10-Jan-2013 Adam Cohen <adamcohen@google.com> Updating new widget api to account for view type count

Change-Id: Iab3a905aaec0b42ef31cd23e0711f6f7bf299486
/frameworks/base/core/java/android/widget/RemoteViews.java
3b4ca103f8cdc6b959f3b2ac68f6cb27002e7b77 14-Dec-2012 Adam Cohen <adamcohen@google.com> Fix docs build issue

Change-Id: I901e5b80609bf5ae85b167ec01b7507714423e5c
/frameworks/base/core/java/android/widget/RemoteViews.java
50f3d1bae884eb9545d3db24362271c20f0d8d64 12-Dec-2012 Adam Cohen <adamcohen@google.com> Adding simple ArrayList API for collection widgets

Change-Id: I4d6c909d1d2c0bdd1ddc8329445cea0e78a5ce7c
/frameworks/base/core/java/android/widget/RemoteViews.java
85a08f1bf2bf3a3120abf03fa4d3fad99d6876f9 06-Nov-2012 Adam Cohen <adamcohen@google.com> Attempted fix for issue 7469415

Change-Id: Ica81bf4197dc2c4fadd8fa07cb9c895b55b5702b
/frameworks/base/core/java/android/widget/RemoteViews.java
580ee8b0c6e1aea1e2e1d60499b603b9168b44f0 27-Sep-2012 Adam Cohen <adamcohen@google.com> Merge "Fixing AppWidgetService / AppWidgetHost to work in system process" into jb-mr1-dev
3ff2d867d46067132890a5a6ad68be8a4314d7f6 26-Sep-2012 Adam Cohen <adamcohen@google.com> Fixing AppWidgetService / AppWidgetHost to work in system process

-> Fixes issue 7208464
-> Fixed issue with partial update as well, should address
issue 7214731

Change-Id: Ib8d9d5bee68b4fa7d6b4fbbc2f6609c287689958
/frameworks/base/core/java/android/widget/RemoteViews.java
a6a4cbc18f7e5a3831d787d3f398e02c5eae6512 27-Sep-2012 Adam Cohen <adamcohen@google.com> Fixing Keyguard widget click handling (issue 7179972)

Change-Id: I2b268d08f5aff403a04db53c357fa45a6cb8d490
/frameworks/base/core/java/android/widget/RemoteViews.java
65c4a2b26cd8776b0927e9b0e07ecf53bd31b627 26-Sep-2012 Jeff Sharkey <jsharkey@android.com> Multi-user ringtone playback.

Change RingtonePlayer to open content:// Uris based on requesting
UserHandle. Grant SystemUI visibility to all emulated storage so
it can play ringtones for apps without READ_EXTERNAL_STORAGE.

Resolve canonical file:// Uris before passing out of source app,
replacing any /emulated_legacy/-style paths with user-specific
variant so they can be opened by SystemUI. Calling for RemoteViews,
Ringtones, and Notifications.

Bug: 7202982
Change-Id: Ibf0eca8df80c1486711144a7b648f464aadfe099
/frameworks/base/core/java/android/widget/RemoteViews.java
11820f7386ce86fd89e9e6b49d9231dce6e1ed07 23-Sep-2012 Jeff Sharkey <jsharkey@android.com> Merge "Allow acquiring ContentProviders across users." into jb-mr1-dev
6d51571835737c7502a2e111ee9dc2527ebad984 21-Sep-2012 Jeff Sharkey <jsharkey@android.com> Allow acquiring ContentProviders across users.

Otherwise services like SystemUI will always open content://-style
Uris as USER_OWNER. Surfaces through createPackageContextAsUser()
which points all ContentResolver operations towards a given user.

Start using in RemoteViews, so that Notifications correctly resolve
image Uris to the sending user. Also add user support for "content"
shell tool.

Bug: 7202982
Change-Id: I8cb7fb8a812e825bb0b5833799dba87055ff8699
/frameworks/base/core/java/android/widget/RemoteViews.java
bd1e0076c66084da702a789db90e77c6ca645fe2 22-Sep-2012 Adam Cohen <adamcohen@google.com> Changing public method to @hide, doesn't have to be public

Change-Id: I4c87b154fd99376a0337f9fc65024e13ddb74da5
/frameworks/base/core/java/android/widget/RemoteViews.java
fbe44b7d5e2d9d06a238a54f8ed460fb8bc49585 20-Sep-2012 Adam Cohen <adamcohen@google.com> Fixing partiallyUpdateAppWidget to cache the new changes

-> This is a good change to the widget framework that I've wanted to
make for a while, but issue 7174198 triggered the immediate need.

Change-Id: I3f267e0e67f2d9f28920bb53973af365a3c9e0ba
/frameworks/base/core/java/android/widget/RemoteViews.java
33aef98fd28dcac0a2ad37e7329afd3e666f5e0a 13-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Allowing association between a view and its label for accessibility.

1. For accessibility purposes it is important to be able to associate
a view with content with a view that labels it. For example, if
an accessibility service knows that a TextView is associated with
an EditText, it can provide much richer feedback.

This change adds APIs for setting a view to be the label for another
one and setting the label for a view, i.e. the reverse association.

bug:5016937

Change-Id: I7b837265c5ed9302e3ce352396dc6e88413038b5
/frameworks/base/core/java/android/widget/RemoteViews.java
e667a7add46a6389c64f2105bd33943cfe6a3fa4 10-Aug-2012 Jim Miller <jaggies@google.com> Update AppWidgetHost with better support for OnClickHandlers

This updates AppWidgetHost and AppWidgetHostView to do a better
job at refreshing widgets and their host views. It now allows
an OnClickHandler to be specified when creating the AppWidgetHost
which allows it to correctly update AppWidgetHostViews when needed.

Change-Id: I710c1d00a8d145bf3a9fd5f5691885bec9d1c7e4
/frameworks/base/core/java/android/widget/RemoteViews.java
acc3da02e84aa541c829ec0650a7dcace16e5df0 29-Jun-2012 Dianne Hackborn <hackbod@google.com> am 4be93bbe: am 074b54fb: Merge "Maybe fix issue #6756472: Share button is not defocusing the shade" into jb-dev

* commit '4be93bbe911c1a4471f81f0e261e9b13d9212c36':
Maybe fix issue #6756472: Share button is not defocusing the shade
a19402165000e9513f3097e10df2b7ebc8dbe1d4 29-Jun-2012 Dianne Hackborn <hackbod@google.com> Maybe fix issue #6756472: Share button is not defocusing the shade

I got this reproduce a few times, then wasn't able to. I made this
change and then couldn't reproduce it. Maybe it fixed it.

The change here is to explicitly pass in the handler class to
apply() and reapply(), instead of relying it being set as a member of
the RemoteViews class. This is much cleaner and more explicitly about
setting that for the click callbacks.

Bug: 6756472
Change-Id: I8d029c3836501df3206c433838124b4be3890a8b
/frameworks/base/core/java/android/widget/RemoteViews.java
e6c2d62efb65fa7b4681d29ad0710df56bf9002b 26-Jun-2012 Dianne Hackborn <hackbod@google.com> am 9906e784: am 17990395: Merge "Fix issue #6717667: expanded notification actions don\'t work on the lock screen" into jb-dev

* commit '9906e784faca2cc8388a04fdc544722ea93d51be':
Fix issue #6717667: expanded notification actions don't work on the lock screen
1927ae8a56a010919a7535231fa0f7db70f7e152 23-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6717667: expanded notification actions don't work on the lock screen

FLAG_ACTIVITY_CLOSE_SYSTEM_DIALOGS was a mistake.

Instead, and the infrastructure for the status bar to take care
of closing and hiding things itself when you press these buttons,
just like it does for the main Intent of the notification.

Bug: 6717667
Change-Id: I1b22186e0cedc05f46a1a3ec78053a72afaf61b1
/frameworks/base/core/java/android/widget/RemoteViews.java
60abfa5c3aae69c48ab38d11bdcb0f6452deadc0 22-Jun-2012 Daniel Sandler <dsandler@android.com> am 63d842cc: am d5353b47: Fix docs

* commit '63d842cc4da3c2eb998aaf9adacbf20e833dff02':
Fix docs
bae2fe870af85ced407525735b2849ea0b2a1673 21-Jun-2012 Chris Wren <cwren@android.com> resolved conflicts for merge of 0a43f67e to master

Change-Id: I072b756bc501c7669593eff012b120905a2fd962
d5353b475001f19e3cbc9c1a4165c9e6038a812f 21-Jun-2012 Daniel Sandler <dsandler@android.com> Fix docs

Change-Id: Ic5ff9aa07e65166a4ecaeecc5fb5e0091275bdcc
/frameworks/base/core/java/android/widget/RemoteViews.java
064f9907c98283e76ed03fa65484fc6face22f92 21-Jun-2012 Daniel Sandler <dsandler@android.com> Unhide new methods on RemoteViews and Notification.

Change-Id: I0cbc270d9d7e9e728482c3b10650a32589636c9d
/frameworks/base/core/java/android/widget/RemoteViews.java
20e14948f2f1f2d5f490104f43411732e0e7cb91 06-Jun-2012 Dianne Hackborn <hackbod@google.com> am 82811d45: am 533fce25: Merge "Docs (mostly): enumerate JELLY_BEAN target SDK changes." into jb-dev

* commit '82811d45ed21ccdff77d11495fa2045c7942bd6d':
Docs (mostly): enumerate JELLY_BEAN target SDK changes.
636fd528f7ad51f565a390226d9f469f8c675ccf 06-Jun-2012 Dianne Hackborn <hackbod@google.com> Docs (mostly): enumerate JELLY_BEAN target SDK changes.

Okay this isn't entirely docs. I have un-hidden the new permission
for binding to accessibility services; we were going to go out with
it hidden since it didn't go into factory ROM, but now that we are
doing other things we might as well expose it.

Also changed a log from E to W, since it is not an error.

Change-Id: I9226c95e3b63e12218fe41dc3f4290d9824a9e5c
/frameworks/base/core/java/android/widget/RemoteViews.java
28e2064ffce14f3c682952203a502cf731da467a 21-May-2012 Daniel Sandler <dsandler@android.com> am 7a999b82: am 2926948d: Merge "Add RemoteViews.setViewPadding()." into jb-dev

* commit '7a999b820456e49a8c3d76a31d9a23edee746e56':
Add RemoteViews.setViewPadding().
eb818188aadfe3d0208d96837618deaa68ea6973 21-May-2012 Daniel Sandler <dsandler@android.com> am 97ccf4a8: am 90497c18: Merge "Remotable view method for TextView.setTextSize(int, float)." into jb-dev

* commit '97ccf4a8528ff101bc1aed5dbe9798e2fbefa7cd':
Remotable view method for TextView.setTextSize(int, float).
99d1f74864c3449585690f85a5fe6fb36ef796d5 21-May-2012 Daniel Sandler <dsandler@android.com> Add RemoteViews.setViewPadding().

Bug: 6519374
Change-Id: I29ad738d741153a9d9e74c9e2ac110a8b97f046b
/frameworks/base/core/java/android/widget/RemoteViews.java
7264f71399018e2dd79d974ee5162cf652ac786f 21-May-2012 Daniel Sandler <dsandler@android.com> Remotable view method for TextView.setTextSize(int, float).

The only remotable method on TextView is setTextSize(float)
which assumes "sp" dimensions, making it tricky to get exact
text sizes.

Bug: 6519374
Change-Id: I961bbdd607ca6786c0630ff1ce19186f54f6f31f
/frameworks/base/core/java/android/widget/RemoteViews.java
693cf16f857a1ff8d13cc61de2ffd7c86098f929 18-May-2012 Adam Cohen <adamcohen@google.com> am 6340b3f0: am e0bb6fe3: Merge "Cap widget bitmap usage by screen size (issue 6464700)" into jb-dev

* commit '6340b3f028edec783ac51970421f7816195408fd':
Cap widget bitmap usage by screen size (issue 6464700)
311c79c3e93589c6fc720fe6c58ed522af591376 10-May-2012 Adam Cohen <adamcohen@google.com> Cap widget bitmap usage by screen size (issue 6464700)

Change-Id: I04e16223861a88d40ad757afa086a0f92e84493b
/frameworks/base/core/java/android/widget/RemoteViews.java
66388dcb09018933ccd1d38eae563f0890ba4f06 04-May-2012 Fabrice Di Meglio <fdimeglio@google.com> Hide RTL related APIs - DO NOT MERGE

- fix bug #6441155 API review: @hide RTL layout APIs

Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
/frameworks/base/core/java/android/widget/RemoteViews.java
ffc46a5c7c60c911fdaab48681c323c89b570dac 01-May-2012 Adam Cohen <adamcohen@google.com> Preventing onClickPendingIntents from being set on collection widget items (issue 5961701)

Change-Id: If60f98c5e1be66ca840cbd4953841ef2c57a012b
/frameworks/base/core/java/android/widget/RemoteViews.java
c431c156bbb5c59f921c031e56744e5d6f12a77a 27-Apr-2012 Adam Cohen <adamcohen@google.com> Fix NPE in RemoteViews (issue 6408103)

Change-Id: I3e7ff2941b721c2c0c5c4e7d598df794b105c391
/frameworks/base/core/java/android/widget/RemoteViews.java
5d20064651b9947a4573c9a0eefec90f66eb1b59 24-Apr-2012 Adam Cohen <adamcohen@google.com> Enabling RemoteViews to have a landscape and portrait layout

-> Implmented BitmapCache to ensure no bitmap data is duplicated
within a RemoteViews hierarchy.

Change-Id: I68f0f5e2882ee2a2a9a110c1642b93c4c7518743
/frameworks/base/core/java/android/widget/RemoteViews.java
dc6f79bf4374f2fcea2b9d4d0aa7f2e39cc42456 18-Apr-2012 Winson Chung <winsonc@google.com> Updating activity/task transition animations.

Change-Id: I0d4295d269222310a5a6594fb379b9592dd9ced0
/frameworks/base/core/java/android/widget/RemoteViews.java
820ba323f9919d33aac5e999bd8daa7842d3969c 23-Mar-2012 Daniel Sandler <dsandler@android.com> Add remotable methods for TextView's compound drawables.

Change-Id: I67445e5b1d4a571020dfcd551ab00bd83a8eb536
/frameworks/base/core/java/android/widget/RemoteViews.java
b8b36b8b78e408f8b95cbf1ec7bfd87f30e8da7b 05-Mar-2012 Scott Main <smain@google.com> am dc022a6f: am 08e91352: am 93dc642e: docs: fix misc bugs from external tracker

* commit 'dc022a6f9aa30d9282c4f82c1cc4d1c8bde7e808':
docs: fix misc bugs from external tracker
93dc642eaf48e3db58c4929df26283fbc5fd663f 24-Feb-2012 Scott Main <smain@google.com> docs: fix misc bugs from external tracker

Change-Id: I2be617be23d0ac50baabac561d510633fa9f162a
/frameworks/base/core/java/android/widget/RemoteViews.java
c6151f2369d92e7725d30d13c62b64cff49285a6 03-Feb-2012 Adam Cohen <adamcohen@google.com> Handle null PendingIntents, Bitmaps, Uris and Intents in RemoteViews (issue 5223291)

Change-Id: If8895b774dee6ba4138751a0c2f68c70402b3fa5
/frameworks/base/core/java/android/widget/RemoteViews.java
e261e283eaedd38235fc93b2a5c35758c613b10c 19-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Add content description setter to RemoteViews

bug:5480389

Change-Id: I66616f379a244ba7f3552d766f3aaa77f207550a
/frameworks/base/core/java/android/widget/RemoteViews.java
037300bba5c87c9a9efe1f693b48f6ff1ffd7479 30-Mar-2011 Winson Chung <winsonc@google.com> Deprecating old RemoteViews API which takes appWidgetId when setting the RemoteViewsAdapter intent.

Change-Id: I72edaa839ae0633a1a24d8f69f5f8c664832ed30
/frameworks/base/core/java/android/widget/RemoteViews.java
0b96a57c851af2f66e3bc738035478efb3c1957e 11-Feb-2011 Adam Cohen <adamcohen@google.com> Making AdapaterViewAnimator setDisplayedChild remotable

Change-Id: Idee91f457e1d4316feb077aaa949baa54eca6ab1
/frameworks/base/core/java/android/widget/RemoteViews.java
0fd9be211881d3942e44962c6dff364719443c3b 19-Jan-2011 Winson Chung <winsonc@google.com> Removing deprecated widget api method.

Change-Id: I0610dcb5cf1001b2b7e86d78a88addf174cedd77
/frameworks/base/core/java/android/widget/RemoteViews.java
81f39eb6e76d0be1dd341af835e8002a0f80524e 12-Jan-2011 Winson Chung <winsonc@google.com> Refactoring app widgets to address security/performance issues.

- Moving the service binding to AppWidgetService to prevent arbitrary apps from binding to widget services
- Requiring RemoteViewsServices to require android.permission.BIND_REMOTEVIEWS permission

Change-Id: Id135bafba998299eb278067712b8a5d8487cfd04
/frameworks/base/core/java/android/widget/RemoteViews.java
f01345e19d6ab39c368d030a7741a06d25b4d2cc 18-Jan-2011 Joe Onorato <joeo@google.com> Don't crash with non-standard bitmap types.

Bug: 3299780
Change-Id: I435c3bedda22395db1b65dc9ff488bfea9069deb
/frameworks/base/core/java/android/widget/RemoteViews.java
a32edd4b4c894f4fb3d9fd7e9d5b80321df79e20 26-Oct-2010 Adam Cohen <adamcohen@google.com> Adding click feedback to widget collections

Change-Id: I97fceb6c68ca6eb1b703eafacf201e1aed7c38e7
/frameworks/base/core/java/android/widget/RemoteViews.java
ae615981315d9318edb1d8bf2a0f607f90cc77ac 01-Nov-2010 Winson Chung <winsonc@google.com> Adding more exception handling to RemoteViews calls to startIntentSender

Change-Id: I03d7b48813aaf7f94785389c2838d68b0ba913d3
/frameworks/base/core/java/android/widget/RemoteViews.java
2b69ce469d544f4b2cb6423feaf4da8df7cf7a64 31-Oct-2010 Joe Onorato <joeo@google.com> Allow RemoteViews to silently fail when a view can't be found.

Generally, I'm not a huge fan of allowing bugs like this, but this
will allow people to write apps with better compatibility across
configurations. They can just add a bunch of actions, and have
only some of them apply based on which views are in the layout
resource.

Bug: 3107945
Change-Id: Iecb118ce5f56421ac53a7b95ea470de9f726ee82
/frameworks/base/core/java/android/widget/RemoteViews.java
3ec9a45c36d3ca5ffbc6e85bbeb497b065e14155 24-Sep-2010 Winson Chung <winsonc@google.com> Re-architecting RemoteViewsAdapter internals due to new constraints.

- Respecting the AdapterView/Adapter contract using FrameLayout notification to update individual items
- Initial changes to allow for keeping (currently bitmap only) memory in check when loading numerous RemoteViews
- Fixing issue with leaking activities due to extra service connection references
- Fixing issue with multiple RemoteViewsAdapters being set on the same AdapterView
- Fixing small issue with StackView sometimes requesting indices out of bounds
- Removing background loading, reverting to previous message-queuing method (seems to be performant now)

Change-Id: I42313767aa791dfe35c247c97ae5d64389e6bb4c
/frameworks/base/core/java/android/widget/RemoteViews.java
35ae9ca5bf4b99bc341afe43d501a2d166f5df43 21-Sep-2010 Adam Cohen <adamcohen@google.com> Modifying PendingIntent APIs for collection widgets

Change-Id: Ib8e3b46542389afe93e74358a9138b1935634e90
/frameworks/base/core/java/android/widget/RemoteViews.java
ca6fd847945464c2ddddcd165021082c048f05fb 04-Sep-2010 Adam Cohen <adamcohen@google.com> Modifying API for setting on-click intents for items
in widget collections.

Change-Id: I0ad1f1241b7a40f0790ecd9fd3228f204d2c8499
/frameworks/base/core/java/android/widget/RemoteViews.java
1480fddea874a42adb43b4bcdac6704e4c3e110b 26-Aug-2010 Adam Cohen <adamcohen@google.com> -> Added the ability to specify an AdapterView's empty view
through RemoteViews. An empty view is the view that appears
in lieu of the collection when the collection is empty.
-> Made StackViews start at their last item

Change-Id: Ica44e5e8f8f2a2e5589a6c74414ec4d08303887f
/frameworks/base/core/java/android/widget/RemoteViews.java
2dd2197805edb4d9547b143deef2226413218f4c 16-Aug-2010 Adam Cohen <adamcohen@google.com> -> Enabled partial updates to app widgets through AppWidgetManager.
Partial updates are not cached by the AppWidgetService.
-> Added the ability to insert commands with no parameters into
RemoteViews objects.
-> Added showNext() and showPrevious() methods to RemoteViews.
-> Made showNext() / showPrevious() of AdapterViewFlipper remotable.

Change-Id: Ic5491bb374424a54728c4ca92b94b1f00dfb87ff
/frameworks/base/core/java/android/widget/RemoteViews.java
95362595ed4a42aec87b4d166092b30c8139d220 20-Jul-2010 Winson Chung <winsonc@google.com> Fixing build breakage due to misnamed javadoc variable.

Change-Id: I883a53107d2c0fcd4544c85811aeaad3fc4f13c2
/frameworks/base/core/java/android/widget/RemoteViews.java
499cb9f516062b654952d282f211bee44c31a3c2 16-Jul-2010 Winson Chung <winsonc@google.com> Initial changes to allow collections in widgets.

Change-Id: I3cfa899bae88cd252912cecebc12e93c27a3b7c9
/frameworks/base/core/java/android/widget/RemoteViews.java
e6ac8b9aade9443ab8456c8f7a47cdfba3b70266 17-Jun-2010 Gilles Debunne <debunne@google.com> Removed API changes from CL 54712.

onLoadClass(Class ) was replaced by onLoadClass(Class<?> ) in CL 54712.
This changes the API and may introduce errors in users' implementations.

Change reverted.

Change-Id: Ie578a444168423959b44857f22e13f004e108965
/frameworks/base/core/java/android/widget/RemoteViews.java
3030193dc179b3010f2dd3bffe9c1dec54da38fc 17-Jun-2010 Gilles Debunne <debunne@google.com> Removed warnings in LayoutInflater.

These changes are similar to those of CL 49296. They do not include the
generic fixes done on GenericInflater.java, which had issues and broke the build.

Added a asSubClass method in LayoutInflater which will (correctly) throw a
ClassCastException when the inflated class is not a View subclass.

Performance testing on these changes showed a 10% performance improvement,
which is still to be explained.

Change-Id: Id4d3b45f0945baccdbbda15fcce095e855b23c9a
/frameworks/base/core/java/android/widget/RemoteViews.java
18e69dfc7235f8a4bfe257f9d1c43539049a22ce 18-May-2010 Joe Onorato <joeo@android.com> Checkpoint. Data structures for Notifications in place.

Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
/frameworks/base/core/java/android/widget/RemoteViews.java
d755b06805dd3ed4dc6c08ff1750e28543901854 06-Jan-2010 Bjorn Bringert <bringert@android.com> Add RemoteViews.setBundle() method.

This is needed for setting the app search data for an upcoming search
source selection widget which is @RemoteView.

Change-Id: I2d04ff68d0ad7f12e88ed25ded75e174a8403bcc
/frameworks/base/core/java/android/widget/RemoteViews.java
a503f6f7cf09c64bde708e3bcfb7103378ddfcff 09-Dec-2009 Jeff Sharkey <jsharkey@android.com> Adjust for compatibility mode before setSourceBounds().

When invoked from an anyDensity="false" or pre-Donut app,
View.getLocationOnScreen() returns values in compatibility
mode. This change fixes QuickContact and RemoteViews to
always adjust based on CompatibilityInfo.applicationScale.

Also deprecates an extra previously being used to pass
Rect for QuickContact windows.

Fixes http://b/2306495
/frameworks/base/core/java/android/widget/RemoteViews.java
7597065d6b0877ffc460b443fdb1595965ccd7b2 03-Dec-2009 Joe Onorato <joeo@android.com> Make RemoteViews also set the sourceBounds in the PendingIntent.
/frameworks/base/core/java/android/widget/RemoteViews.java
1162fd77a8ff8467c96204c00bcaf941aef6aa85 05-Nov-2009 Jeff Sharkey <jsharkey@android.com> Let RemoteViews nest children, allow ViewFlipper.

This change allows applications to nest children RemoteViews
inside an existing set of RemoteViews. These nested views
are inflated and treated as addView() calls.

This change also allows ViewFlipper through RemoteViews, and
adds logic surpress flipping when the parent window is
detached or behind the lockscreen. Also fixes ViewAnimator
to observe the measureAllChildren flag when set.

Fixes http://b/2239905
/frameworks/base/core/java/android/widget/RemoteViews.java
995d8561a6f6dee9f7b032bb2c3d78d885ba1e56 29-Sep-2009 Romain Guy <romainguy@android.com> Do not crash appwdiget host when a pending intent send fails.

Change-Id: Id29ec50dcb4d51589b9732ace6d505fcea9cc787
/frameworks/base/core/java/android/widget/RemoteViews.java
fa82f22f1d8c4c828bdf9b670006be4f4fec772e 18-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2093608: Calendar widget takes a few seconds to launch

Avert your eyes!

The key change here is that RemoteViews can now call a Context API to
start its pending intent, which inside of the activity manager we can
use to determine to cancel the timeout delay for external entities
to disrupt the home screen.

Change-Id: If097cf7478cbed7a3c04a304050bd7fd5703d197
/frameworks/base/core/java/android/widget/RemoteViews.java
870e09fcd2dfdc12ac318962efd28b0420c562bb 07-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1963229. Introduces Context#isRestricted().

A restricted Context is a special type of Context that prevents specific features
from being used. For instance, android:onClick, used by View, can be dangerous when
used from within apps widgets. By using a restricted Context to inflate apps widgets,
widgets providers are prevented from using android:onClick.
/frameworks/base/core/java/android/widget/RemoteViews.java
a54755962ca7725d1e2b6cacbbaece6f1cbf5af4 02-Jul-2009 Romain Guy <romainguy@android.com> Cleanup a bunch of warnings in app widgets code.
/frameworks/base/core/java/android/widget/RemoteViews.java
592d0650d5bfc673082c4e58ac8ba2dc3103c842 25-Mar-2009 Joe Onorato <> Automated import from //branches/donutburger/...@142301,142301
/frameworks/base/core/java/android/widget/RemoteViews.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/RemoteViews.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/RemoteViews.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/widget/RemoteViews.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/frameworks/base/core/java/android/widget/RemoteViews.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/widget/RemoteViews.java
f1e484acb594a726fb57ad0ae4cfe902c7f35858 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
/frameworks/base/core/java/android/widget/RemoteViews.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/widget/RemoteViews.java