• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/appwidget/
History log of /frameworks/base/core/java/android/appwidget/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
af6ef8f6f97e28e6f0bbb6947f70f4366116b09a 23-May-2016 Kenny Guy <kennyguy@google.com> Set accessibility string for suspended widgets.

Update the content description to mention the
widget is suspended.
Mark the remote views as not significant for
accessibility.

Bug: 28909714
Change-Id: I8804d41e520e2b4af7ade0fa8820ee7b2488bde5
ppWidgetHostView.java
682c24e22811d4ee17ae1cd61bf255c3f7e722b7 12-Apr-2016 Trevor Johns <trevorjohns@google.com> Resolve merge conflicts of a5060ee to nyc-dev

This undoes the automerger skip which occured in
commit e740c84dc32180214a7fd157105d6c18d30408ee and
replays it as a standard (NOT -s ours) merge.

Change-Id: If5a47be26f73d6a0735c425cd66310a3e2a89086
ackage.html
2857f1c783e69461735a51159f9abdb85378e210 31-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Changing startListening to only fetch views which are bound

Also associating a lastUpdateTime with every widget. This allows
the host to query the widgets which were updated only after
the last stopListening call.

Change-Id: If9375cf2d8caa0ccca14b6649821d87ada1f3a84
ppWidgetHost.java
f8880561e67e1da246970b49b14285efd4164ab1 26-Feb-2016 Jeff Sharkey <jsharkey@android.com> When system server goes down, crash apps more.

Similar to first patch, but now using new "rethrowFromSystemServer()"
method which internally translates DeadObjectException into
DeadSystemException. New logic over in Log.printlns() now
suppresses the DeadSystemException stack traces, since they're
misleading and just added pressure to the precious log buffer space.

Add some extra RuntimeInit checks to suppress logging-about-logging
when the system server is dead.

Bug: 27364859
Change-Id: I05316b3e8e42416b30a56a76c09cd3113a018123
ppWidgetManager.java
a086f0436ad600915db1f8e0dc284d653d152e8d 05-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Using AppWidgetHostView in RemoteViewsAdapter instead of managing the RemoteViews inflation itself

Change-Id: If6dd8a778096a07c58b543efe892bbffbe24098f
(cherry picked from commit 89699a2811967fc0c3ad9e06f716d408d6949c86)
ppWidgetHostView.java
40dedd5a97b03408f37384ee0db7b9cbe5159a37 03-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Added support for async inflation of RemoteViews"
4d1bf093396982d6838af934ab46672773772200 01-Feb-2016 Hyunyoung Song <hyunyoungs@google.com> Runtime exception on AppWidgetHostView should not cause crash to the hosting process.

b/26797293

Change-Id: I7e1efad7d5314141d21440bf8915c101e35c2adf
ppWidgetHostView.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
ppWidgetHostView.java
ccf6c6814736e368949b64aadce676ab6d045fdc 18-Jun-2015 Hyunyoung Song <hyunyoungs@google.com> AppWidgetServiceImpl should use ParceledListSlice as return object
b/19904873

> Reason: to prevent TransactionTooLargeException from occuring when
binder transaction size goes over the limit.

Change-Id: I054cb161d235234f3ccdaadd70314163e690b0db
ppWidgetManager.java
e4a8da8ea241858b52d8122480316db79582c44d 01-May-2015 Amith Yamasani <yamasani@google.com> Exclude bound app widgets from idle app list

Track package names of bound app widgets and use the list when
querying for idle apps.

Bug: 20066058
Change-Id: If8039397a061ef04bb13aa38d57cd7f0221f5fc7
ppWidgetManager.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
ppWidgetHostView.java
a54956a0bc611b1e9b3914edc7a604b59688f6b7 08-Jan-2015 Alan Viverette <alanv@google.com> Fix accessibility delegation

Ensures that delegate code is run last. Previously, calling the super
method from an accessibility delegate set on a widget would only run
code in the widget's parent. Next, the delegate code would run. Finally,
the widget's code would run. As a result, the widget code would override
any data supplied by the delegate.

By moving all overridden code to internal methods, we ensure that the
call chain for super includes the widget's parent code followed by the
widget's code. The delegate code will always run last.

BUG: 17641433
Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
ppWidgetHostView.java
7643f7e399a7d9004d77fe72f88e9947414860e4 18-Dec-2014 Svetoslav <svetoslavganov@google.com> Avoid non-static innner classes that are passed over via IPC.

Change-Id: Ic14565c135b1f2ba50fa57462738b8dbc0e73301
ppWidgetHost.java
7a96f3c917e0001ee739b65da37b2fadec7d7765 17-Dec-2014 Winson Chung <winsonc@google.com> Removing context ref from AppWidgetHost. (Bug 18769791)

Change-Id: Ieec1314ece219c178c140e572b031c94e83b8a93
ppWidgetHost.java
ee0b12161ab8563378e33e9d694d15ed1a757a26 04-Sep-2014 Winson Chung <winsonc@google.com> Generalizing Recents widget category to Search box. (Bug 17334589)

Change-Id: Id62398255799844cc89affcb4bafc86b6479dad0
ppWidgetManager.java
ppWidgetProviderInfo.java
5771ad7bc7533f4a9bc72ac1ecabfdf6ca493b16 24-Aug-2014 Svet Ganov <svetoslavganov@google.com> RemoteViews service not unbound.

We are checking whether an app can access an app widget
based on the calling uid and the package name. The package
is mostly to make sure that hosts in different apps do
not accidentally interfere whereas the security is enforced
by the uid.

When remote views adapter binds and unbinds to a remote
views serivce it was passing the package of the context we
create to load resources for the widget instead the package
of the host. Now it is passing the host package and also
we are checking if the caller of bind remove serivce API
is in uid that has the host package - this makes it
consistent with elsewhere.

bug:17226052

Change-Id: I2b0b6669e3dc027037b7481c2871cedabd642433
ppWidgetHost.java
ppWidgetManager.java
0308d9a8608b2ddfbff9e4464d61f5b0719f4b44 16-Aug-2014 Sunny Goyal <sunnygoyal@google.com> Fixing wrong tag usage

Change-Id: I4cb0084a89cc079383d666ad1c5711d96ea81ebe
ppWidgetProviderInfo.java
092e19627467ddfb2647e36cec464952cd2a7abb 15-Aug-2014 Sunny Goyal <sunnygoyal@google.com> Returning null when preview image is not available for AppWidgetProviderInfo

The default application icon generally has a different aspect ratio that a
preview image, and cannot transparently be used in place of the image.
Returning null will allow the apps to handle the case as they see fit.

Change-Id: Ie6e8e16dd7b4e58b222187a81c62d27eccab45a9
ppWidgetProviderInfo.java
8e1d299da27da534b508b1da51ebe351a689cefa 08-Aug-2014 Svetoslav <svetoslavganov@google.com> Polish the new cross-profile app widget APIs

bug:14991269

Change-Id: I5996f8c69a3d151ff1ecd8f19403dd606f588150
ppWidgetHost.java
ppWidgetManager.java
ppWidgetProviderInfo.java
c71c42fdb2ee54a419dc8eb0a5f4f82532b16c0c 06-Aug-2014 Svetoslav <svetoslavganov@google.com> Polish of the app widgets cross-profiles feature.

1. Added API for badging an arbitrary drawable at a given location.

2. Updated the icon and previewImage deprecation as they are no longer
returning a badged drawable. The methods to load the icon and the
preview are now just making it easier for a developer to get the
drawables.

3. Fixed a bug in AppWidgetServiceImpl leading to a crash when a user
is removed.

4. Fixed a bug in AppWidgetHost which was unnecessarily caching its
package name and having code paths where the cached value was not
populated when calling into the system.

bug:14991269

Change-Id: I50d011a6597d88814715d5ec04ee67815e8ce0bd
ppWidgetHost.java
ppWidgetProviderInfo.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
ppWidgetHost.java
ppWidgetHostView.java
ppWidgetManager.java
ppWidgetProviderInfo.java
c04e9aa916b77909698ce32ba131561275629f60 29-May-2014 Christopher Tate <ctate@google.com> Widget restore documentation tweaks

- Fix broken Javadoc @see directives
- Linkify AppWidgetProvider in the documentation for the new
ACTION_APPWIDGET_RESTORED broadcast
- Minor content edits

Bug 15022842

Change-Id: Ia7d4ad5be476c260492e1be5d83e21f6943a6847
ppWidgetManager.java
da5b84c8d38d8322b5bb7d22653625bb51734a4e 05-May-2014 Winson Chung <winsonc@google.com> Exposing the API to support widgets in Recents.

Change-Id: I2d53f226dbc328f0dbda7006eac647c6468c6b36
ppWidgetManager.java
ppWidgetProviderInfo.java
f7bca430d9356c26d6df222d2c90bc7668262f6b 01-May-2014 Winson Chung <winsonc@winsonc-macpro.mtv.corp.google.com> Adding ability to load a search widget into Recents.

Change-Id: Ie17d9b9a47c979774b39a37e87f75d9dadc79ad9
ppWidgetProviderInfo.java
adfe8b86e9178a553b6db9722340fa4ff5201cf1 05-Feb-2014 Christopher Tate <ctate@google.com> App widget backup/restore infrastructure

Backup/restore now supports app widgets.

An application involved with app widgets, either hosting or publishing,
now has associated data in its backup dataset related to the state of
widget instantiation on the ancestral device. That data is processed
by the OS during restore so that the matching widget instances can be
"automatically" regenerated.

To take advantage of this facility, widget-using apps need to do two
things: first, implement a backup agent and store whatever widget
state they need to properly deal with them post-restore (e.g. the
widget instance size & location, for a host); and second, implement
handlers for new AppWidgetManager broadcasts that describe how to
translate ancestral-dataset widget id numbers to the post-restore
world. Note that a host or provider doesn't technically need to
store *any* data on its own via its agent; it just needs to opt in
to the backup/restore process by publishing an agent. The OS will
then store a small amount of data on behalf of each widget-savvy
app within the backup dataset, and act on that data at restore time.

The broadcasts are AppWidgetManager.ACTION_APPWIDGET_RESTORED and
ACTION_APPWIDGET_HOST_RESTORED, and have three associated extras:

EXTRA_APPWIDGET_OLD_IDS
EXTRA_APPWIDGET_IDS
EXTRA_HOST_ID [for the host-side broadcast]

The first two are same-sized arrays of integer widget IDs. The
_OLD_IDS values are the widget IDs as known to the ancestral device.
The _IDS array holds the corresponding widget IDs in the new post-
restore environment. The app should simply update the stored
widget IDs in its bookkeeping to the new values, and things are
off and running. The HOST_ID extra, as one might expect, is the
app-defined host ID value of the particular host instance which
has just been restored.

The broadcasts are sent following the conclusion of the overall
restore pass. This is because the restore might have occurred in a
tightly restricted lifecycle environment without content providers
or the package's custom Application class. The _RESTORED broadcast,
however, is always delivered into a normal application environment,
so that the app can use its content provider etc as expected.

*All* widget instances that were processed over the course of the
system restore are indicated in the _RESTORED broadcast, even if
the backing provider or host is not yet installed. The widget
participant is responsible for understanding that these are
promises that might be fulfilled later rather than necessarily
reflecting the immediate presentable widget state. (Remember
that following a cloud restore, apps may be installed piecemeal
over a lengthy period of time.) Telling the hosts up front
about all intended widget instances allows them to show placeholder
UI or similarly useful information rather than surprising the user
with piecemeal unexpected appearances.

The AppWidgetProvider helper class has been updated to add a new
callback, onRestored(...), invoked when the _RESTORED broadcast
is received. The call to onRestored() is immediately followed by
an invocation of onUpdate() for the affected widgets because
they will need to have their RemoteViews regenerated under the
new ID values.

Bug 10622506
Bug 10707117

Change-Id: Ie0007cdf809600b880d91989c00c3c3b8a4f988b
ppWidgetManager.java
ppWidgetProvider.java
8a985d24ce9a38f40ed88fecbdcd0e75e3a68f44 25-Feb-2014 John Spurlock <jspurlock@google.com> Tabs -> spaces in frameworks/base.

Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be
ppWidgetProviderInfo.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
ppWidgetHost.java
ppWidgetManager.java
5dd75a35ee7569152417e8393b30194ed476bf42 05-Jun-2013 Winson Chung <winsonc@google.com> am 18748035: am 379517b0: Merge "Fixing issue where AppWidgetHost.onProvidersChanged() was not being called. (Bug 9270309)" into jb-mr2-dev

* commit '18748035bbced3b6246b802ab07ee58859a29b0c':
Fixing issue where AppWidgetHost.onProvidersChanged() was not being called. (Bug 9270309)
eeb4ff4d137a2ff2d25340c2b0396f2c3fd5068b 04-Jun-2013 Winson Chung <winsonc@google.com> Fixing issue where AppWidgetHost.onProvidersChanged() was not being called. (Bug 9270309)

Change-Id: I6cfb8e0c586fad7360a07f98e1280a954f62e5e1
ppWidgetHost.java
84a369c33bfe8790c0dab879f11c115a88445f9a 03-Jun-2013 John Spurlock <jspurlock@google.com> Fix awkward wording in AppWidgetManager docs.

Change-Id: Ia06221f75898ab53f97852880bf2a7ec49b4f489
ppWidgetManager.java
77624cd71f21c32ea4b5dc64e0afa76667036b3a 03-Jun-2013 John Spurlock <jspurlock@google.com> Fix awkward wording in AppWidgetManager docs.

Change-Id: I6d1e180be666b3d88e88f357e8d79f6bbc0c9857
ppWidgetManager.java
1a95a42c8984aa9012a9d9ea24fc54a7b09e6148 27-Mar-2013 Dianne Hackborn <hackbod@google.com> am 177543db: am 3bcc2fba: Merge "Fix issue #8470131: Process thrash kills battery" into jb-mr2-dev

* commit '177543db55f88f060d9a43df79afd6733cd565da':
Fix issue #8470131: Process thrash kills battery
a40cfeb55f6caa35fee894b86175b7d916520c80 26-Mar-2013 Dianne Hackborn <hackbod@google.com> Fix issue #8470131: Process thrash kills battery

Protect app widget broadcasts from abuse.

In this case the app was sending an APPWIDGET_UPDATE broadcast
without specifying a target, which (a) should not be allowed (you
should not be able to send updates to other apps), and (b) resulted
in every single potential app widget in the system being launched...
which was about 75 of them.

Change-Id: I9d48733610ce6d5a7c32e69a3e06b9f33bd79a34
ppWidgetManager.java
ce732f745eb0509cba7a68c2d3ab8b374d2d2177 22-Mar-2013 Jim Miller <jaggies@google.com> am 26ebeb6d: am 7b3526d5: Merge "Fix alternate time zone display for clock widget." into jb-mr2-dev

* commit '26ebeb6d554e963a496d42ec3ab8213c35c51e1c':
Fix alternate time zone display for clock widget.
9831d188837fa20e125481d9ead4f916562562a7 22-Mar-2013 Jim Miller <jaggies@google.com> Fix alternate time zone display for clock widget.

This fixes a bug where the widget resize event was being sent
for the wrong user.

The issue was with creating AppWidgetHostViews with Keyguard's
context which contains the wrong user id.

Fixes bug 8392718

Change-Id: I7efbc13161800224a342880c35470ed0b45824d0
ppWidgetHost.java
ab80d007dea56b9ddee7d8f9a701c2223b0ae871 12-Mar-2013 Jim Miller <jaggies@google.com> am 33c05985: am e70748e7: Merge "Remove unnecessary userid check" into jb-mr2-dev

* commit '33c05985102ea9a357263bba8e6a3789d20f6ba7':
Remove unnecessary userid check
f083324b42e165c1f4d194c41a1ec6ba6c09ee20 11-Mar-2013 Jim Miller <jaggies@google.com> Remove unnecessary userid check

This removes code used to verify the userid's were consistent, which
is no longer needed.

Fixes bug 8167800

Change-Id: I592e4bc1158fb7775bd31ae8a26c1782b60f0fa0
ppWidgetHost.java
21ace3f34f775a1e66c75ee32fb251e3c90c2e27 06-Mar-2013 Jim Miller <jaggies@google.com> Fix widget update issue

This fixes an issue where widgets weren't being updated. It
was caused by creating widgets with the wrong package id.

Keyguard used to be identified with package "android" when it
was running in the system proces. Now that it's separate, we need
to explicitly pass in the package name for keyguard ("com.android.keyguard")
when we allocate app widget ids.

Change-Id: I48e1b78d97aa3d0271773219e477d3b741994901
ppWidgetHost.java
5ecd81154fa039961f65bb4e36d18ac555b0d1d6 10-Jan-2013 Jim Miller <jaggies@google.com> Move keyguard to its own process.

This is in preparation to moving keyguard into its own process.

Moved keyguard source and resources into new .apk.

Got basic test app working. Still need to implement MockPatternUtils
and means to pass it into KeyguardService with local binder interface.

Added new ACCESS_KEYGUARD_SECURE_STORAGE permission.

Temporarily disabled USER_PRESENT broadcast.

Remove unintentional whitespace changes in PhoneWindowManager, etc.

Checkpoint basic working version.

Move to systemui process.

Synchronize with TOT.

Sync with recent user API changes.

Fix bug with returing interface instead of stub for IKeyguardResult. Create KeyguardServiceDelegate to allow
for runtime-selectable local or remote interface.

More keyguard crash robustness.

Keyguard crash recovery working. Currently fails safe (locked).

Fix selector view which was still using frameworks resources.

Remove more references to internal framework variables. Use aliases for those we should move but
currently have dependencies.

Allow runtime switching between service and local mode.

Fix layout issue on tablets where orientation was reading the incorrect constant
from the framework. Remove more framework dependencies.

Fix PIN keyboard input.

Remove unnecessary copy of orientation attrs.

Remove unused user selector widget and attempt to get multi user working again.

Fix multi-user avatar icon by grabbing it from UserManager rather than directly since
keyguard can no longer read it.

Merge with AppWidget userId changes in master.

Change-Id: I254d6fc6423ae40f6d7fef50aead4caa701e5ad2
ppWidgetHost.java
a75a883fe9ea1790803148f0a561473073e3f264 08-Feb-2013 Jim Miller <jaggies@google.com> Add explicit userId to AppWidget binder calls

Keyguard currently relies on being in the system process to grab the
given user's widgets. When we split keyguard into a new process,
it will need to have access to user-specific info to instantiate a
specific user's widgets. In order to accomplish this, we add an
explicit userid to each binder call as well as new permission
check to allow keyguard access.

This also fixes a potential race condition of having an incorrect user id
due to an async call to change the user. Every binder call now has a specific
user id. The user id is either the calling process user's id or an explicit
one passed by applications like keyguard. It is created once when an
AppWidgetManager is instantiated and remains for the lifetime of the object.

Fixed bug where widgets sometimes didn't show up for secondary users.

Moved permission check in AppWidgetService into getImplForUser()

Refactored to use userid from context associated AppWidgetManager instance.

Clean up AppWidgetHost to use userId from Context.

Remove redundant userId check in checkPermission since it's handled by
ActivityManager.handleIncomingUser()

Removed redundant userid check.

Upload after rebase...

Change-Id: Iae3e20f2b342c323bb58768b3d22051510f8268b
ppWidgetHost.java
ppWidgetManager.java
8a05d13ef656b0147d85e1826b70a55f6b32e1e3 08-Jan-2013 Scott Main <smain@google.com> am 5b56d432: am 9107fa5d: am 66adf0d0: am 70af3cdb: Merge "docs: resolve bugs from external tracker" into jb-mr1-dev

* commit '5b56d43237d959403bb8a32de25376deee2dab22':
docs: resolve bugs from external tracker
66adf0d04d92257e60a583617fb97f136fefd192 08-Jan-2013 Scott Main <smain@google.com> am 70af3cdb: Merge "docs: resolve bugs from external tracker" into jb-mr1-dev

* commit '70af3cdb90bafc081ffa693a350b95ced48b6cfd':
docs: resolve bugs from external tracker
6aad995042599dd0f5def79fea85cee90439c9a8 08-Jan-2013 Scott Main <smain@google.com> docs: resolve bugs from external tracker

Change-Id: I680970ec63701197103f6c5ab55c25c736aa0519
ppWidgetManager.java
368ee53f25cdff7ea89293d2cc81e95816919369 05-Dec-2012 Amith Yamasani <yamasani@google.com> am f663cad2: am 6c58b155: Merge "Make 3rd party lockscreen widgets work on secondary users" into jb-mr1.1-dev

* commit 'f663cad2248d5d38957f8e1408cd794c0de90202':
Make 3rd party lockscreen widgets work on secondary users
94022e8997084be458a1faf46e72efab1d59e973 04-Dec-2012 Amith Yamasani <yamasani@google.com> Make 3rd party lockscreen widgets work on secondary users

If you install a lockscreen widget app on a secondary user, lockscreen fails to find it.
There were several places where the correct context and userId were required under the
covers - AppWidgetHost, AppWidgetHostView and RemoteViewsAdapter.

Set the user id in the required places and use it to query the package information.

Bug: 7662835
Change-Id: Ife482c8ab2a2e601650b7cfe2660e88d3b8f2050
ppWidgetHost.java
ppWidgetHostView.java
0f469f4f7eff8faee4350a0d82af325d4ae10b43 01-Dec-2012 Amith Yamasani <yamasani@google.com> am 32df98d5: am c566b43d: Fix crosstalk between users for widgets hosted in lockscreen

* commit '32df98d52d482498d998b424684610c15098897a':
Fix crosstalk between users for widgets hosted in lockscreen
c566b43d02596cba437e9a2723e9f989297cca72 01-Dec-2012 Amith Yamasani <yamasani@google.com> Fix crosstalk between users for widgets hosted in lockscreen

This was initially about the Clock widget crashing repeatedly on some
devices with multiple users. Turned out that there were race conditions
when switching users that could result in remote views of one user calling
back to the RemoteViewsAdapter in keyguard that in turn sent an incorrect widget id
to a different user's widget, resulting in a crash.

Since KeyguardHostView is instantiated in the same process for different users,
it needs to carry a user identity to pass along to AppWidgetService so that
remote views services were bound to the correct user and callbacks were attached and
detached properly.

Added some aidl calls that take the userId to do the binding properly. A more
complete fix might be needed in the future so that all calls from Keyguard carry
the user id.

Also, there was a problem in comparing host uid for secondary users, since Settings
for a secondary user has a different uid than keyguard. Not an issue on single-user
systems. Changed the host.uid comparison to accomodate for the secondary user.

Bug: 7450247
Change-Id: Idbc36e3c60023cac74174f6cb7f2b2130dd3052c
ppWidgetHost.java
ppWidgetManager.java
20b9edd805777bf9e603d8008650c23b031dac79 29-Nov-2012 Adam Cohen <adamcohen@google.com> am 224daede: am 035352b4: Merge "Making sure keyguard and homescreen only display eligible widgets (issue 7550090)" into jb-mr1.1-dev

* commit '224daede9e49f53ca5246aed66d152bfcc6d64e1':
Making sure keyguard and homescreen only display eligible widgets (issue 7550090)
d9e5af3851f592a00549b689dec325dc46268606 29-Nov-2012 Adam Cohen <adamcohen@google.com> Making sure keyguard and homescreen only display eligible widgets (issue 7550090)

Change-Id: I25acb7bde2e8e5ac3185a009f5c7151b81f0ae19
ppWidgetManager.java
3366a5d54eccbbe861bcc765653664d80eae5398 17-Nov-2012 Michael Jurka <mikejurka@google.com> am cf474b1a: am 7b0c8779: Merge "Delete appWidgetId when removing lockscreen widgets" into jb-mr1.1-dev

* commit 'cf474b1a10a1349d0d6d6f7cbb5d48489bacfb09':
Delete appWidgetId when removing lockscreen widgets
75b5cfb4a41030333820d072578a288d4ec9899c 16-Nov-2012 Michael Jurka <mikejurka@google.com> Delete appWidgetId when removing lockscreen widgets

Bug: 7550012

Change-Id: Ia9f5266256016eb91bfd6a2d5a7f910c42948f1e
ppWidgetHost.java
40a419c2a5f83a00a2e6978ded4e8fcf634b7b46 08-Nov-2012 Jean-Baptiste Queru <jbq@google.com> Merge commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6' into HEAD
58ed5d748c0b9b64845975ef5844ad313de7c3f6 07-Nov-2012 Kenny Root <kroot@google.com> am 768d9e1a: Merge "Correct executable bit for source files"

* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
ppWidgetProvider.java
180cfd5feb4fe415d04494bf00f2013896f93b77 04-Nov-2012 Adam Cohen <adamcohen@google.com> If a default keyguard layout isn't specified, fallback to the default layout

-> Also fixing a typo in AppWidgetProvider clone() -- this was the cause of
the "couldn't load widget". It wasn't getting expressed before for various
reasons.

Change-Id: Ib7114565a414d66facd8b4baeb97d5a71e96b5e9
ppWidgetHostView.java
ppWidgetProviderInfo.java
4ddcd573dd06a96c32285e34469cae6e7f03109b 02-Nov-2012 Adam Cohen <adamcohen@google.com> Widget size policy, size callbacks

-> vertically resizable widgets behave are sized to fill
-> non-vertically resizable widgets use the small size all the time
-> providing size call-backs. ensuring that we don't send excessive /
incorrect size callbacks. These are expensive. Had to clean things
up to ensure we only send the truth, and not bounce around.

Change-Id: I8038de01096906526e2622c6f1cd24c171e3a4ec
ppWidgetHostView.java
9767597a74bd9a5a265ff72aa5f77dd7efb93b53 01-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Stripping dead API related to keyguard widgets" into jb-mr1-lockscreen-dev
c4842c11932ea4f60fe7ae09b0a59660207e1587 31-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility support for the lockscreen - phone.

Change-Id: Idc99f1322a1d635dd07e1f5efa1665a4676267c2
ppWidgetHostView.java
8f697d858098ec1e7bb7f84abcd15ba49e3e8927 01-Nov-2012 Adam Cohen <adamcohen@google.com> Stripping dead API related to keyguard widgets

Change-Id: Ieb6c57ef736712b3266de08027f9626104cdf1bb
ppWidgetProviderInfo.java
fc753c0cf676000b1c2d3cb2728af85a9b49f795 31-Oct-2012 Michael Jurka <mikejurka@google.com> Use new keyguard appwidget picker

Also, remove ability to filter widgets by feature
in appwidget picker in anticipation of api change

Change-Id: I325de0b98f03d3a250758d504229ea27794b5330
ppWidgetManager.java
6611988429d1d70ec429f87bbf2b093cf1e2e31f 11-Oct-2012 Winson Chung <winsonc@google.com> Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)

Change-Id: I4da99c259df51f8f66d3ade1156040bd0360ca5d
ppWidgetManager.java
a21bf0c6ea0205abced7bfdcaf552535f395f34f 06-Oct-2012 Adam Cohen <adamcohen@google.com> Suppress unnecessary calls to update widget size (issue 7287744)

Change-Id: I2cec03a32b42f7a56e0f538dcd5c09de4ce2e076
ppWidgetHostView.java
82ebe6f777902f00250efc3535ad11c2c6a74258 29-Sep-2012 Adam Cohen <adamcohen@google.com> Getting rid of keyguard widget flag that isn't used

-> issue 7238875

Change-Id: Ifad890b4061784889f3fc7711a165452cf230fbd
ppWidgetProviderInfo.java
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
ppWidgetHost.java
ppWidgetProviderInfo.java
6ccf4e279170ef7f7602d1e2a63e9a2ef98cd57f 22-Sep-2012 Adam Cohen <adamcohen@google.com> Fixing onRestoreInstanceState crash in Launcher

-> Issue 7084152

Change-Id: Ic91074adfff5918e6471c861313a51d0a179ad08
ppWidgetHostView.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
ppWidgetManager.java
60264730c1c730dbd184bc661fd398d97f5df31d 18-Sep-2012 Adam Cohen <adamcohen@google.com> Tweaking how settings adds keyguard widgets

-> Fix for issue 7173587
-> Fix for issue 7173877

Change-Id: I60cd3952113335df60292f67461d50f6c8bd2ed3
ppWidgetHost.java
e6d5545a539068dcfdd62d43ee0ef6789bb76a8e 18-Sep-2012 Michael Jurka <mikejurka@google.com> Fixing construction of handler in AppWidgetHost

Change-Id: I1253f8e2ea1621208ad7d65e5c860a1df075a44a
ppWidgetHost.java
f229e4d3eb8f910c181f96416c6798f6f305a395 13-Sep-2012 Jim Miller <jaggies@google.com> Add support for settings for lock widgets

Change-Id: Iade094c6f32a7653bdbbd4921d345d68f2443ff4
ppWidgetHost.java
ppWidgetManager.java
8c09f636ba704a41d45cf051383abc2320a5a2b8 12-Sep-2012 Adam Cohen <adamcohen@google.com> Adding a couple extras keys for keyguard widget selection

Change-Id: I2ca60769379174d12055ad44cab0fefafb24eb5c
ppWidgetManager.java
0aa2d42e87e4a1ed5b83f356690e465d6a3587cc 08-Sep-2012 Adam Cohen <adamcohen@google.com> Adding notion of keyguard widgets

-> Persisting certain appwidget options
-> Adding ability to specify appwidget options on bind
so as to avoid AppWidgetProvider update call with no
options.

Change-Id: I5631039f19f1822b8e123b559b6353c880c0192e
ppWidgetHostView.java
ppWidgetManager.java
ppWidgetProviderInfo.java
a25526ae400641ae414d2dbf03495f54a0c46d2d 11-Sep-2012 Katie McCormick <kmccormick@google.com> am 51740d6d: am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

* commit '51740d6d786bf583cd46d12beb8515aa00d84bee':
Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
0e9f34bffdfc476122337d077453f722fc22038f 11-Sep-2012 Katie McCormick <kmccormick@google.com> Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

Change-Id: I62def95b138282eba4f2e70fd4ab4de35aa03e89
ppWidgetManager.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
ppWidgetHost.java
ppWidgetHostView.java
85a2d7f94e2a92f2563d6dbba7216bc0a86dca1a 26-Jun-2012 Michael Jurka <mikejurka@google.com> am c4d7721c: am 806a3602: Merge "Update documentation on max widget bitmap usage" into jb-dev

* commit 'c4d7721cb08cc797ea592f54797135f372689f6a':
Update documentation on max widget bitmap usage
806a360275b3963d1941130ca2998a8abd76126f 26-Jun-2012 Michael Jurka <mikejurka@google.com> Merge "Update documentation on max widget bitmap usage" into jb-dev
f25ab44975bb0aaeaa88e8dc564f160bb640902e 26-Jun-2012 Michael Jurka <mikejurka@google.com> Update documentation on max widget bitmap usage

Change-Id: I564afccc425f7e76501cb7ffd404ad369bdd396d
ppWidgetManager.java
adba6ffbb949e3644f0effdaffee349b0b49688a 22-Jun-2012 Scott Main <smain@google.com> am 101a120c: am 9be0105f: docs: fix several links

* commit '101a120c27f68fb7d44e6221244cb9441dfc4285':
docs: fix several links
9be0105fbc56eb1b1813bb7c5fe258a144867a43 22-Jun-2012 Scott Main <smain@google.com> docs: fix several links

Change-Id: I89d9fd64dc22c90680bb05415cc966c255165af9
ackage.html
7fbd28438c2322973c77f31f0721a24fe1c35039 13-Jun-2012 Winson Chung <winsonc@google.com> Updating AppWidgetHost to receive a callback when any appWidget has changed. (Bug 6602951)

Change-Id: I76d688b10ee7775b4ebe81259713f2aaf0009d05
ppWidgetHost.java
e0bb6fe33355f9eeed1273a3614624286a0911ce 16-May-2012 Adam Cohen <adamcohen@google.com> Merge "Cap widget bitmap usage by screen size (issue 6464700)" into jb-dev
1affb937641fd42c3b94f0c2427b1b68336a572f 15-May-2012 Guang Zhu <guangzhu@google.com> Expose class name in AppWidgetHostView for accessibility

The class is public, part of framework, exposing it for launcher
testing.

Change-Id: Icd9b0f3e300de964b98de8d9f5f62fdc916584e3
ppWidgetHostView.java
311c79c3e93589c6fc720fe6c58ed522af591376 10-May-2012 Adam Cohen <adamcohen@google.com> Cap widget bitmap usage by screen size (issue 6464700)

Change-Id: I04e16223861a88d40ad757afa086a0f92e84493b
ppWidgetManager.java
f065c9663172094d2d79eb5f77c59d89e812437a 09-May-2012 Adam Cohen <adamcohen@google.com> Accounting for widget padding in dips instead of pixels

Change-Id: I29c4290274f8b9fa6d9b49072d3cf37cf6f1acb8
ppWidgetHostView.java
88f041ed312299f1d2746e570b989c336bfd97c8 09-May-2012 Adam Cohen <adamcohen@google.com> Account for auto-padding in AppWidgetHostView#updateAppWidgetSize (issue 6454251)

Change-Id: Ibf837671cc13ee89ca979e9e6dc9d144b296deba
ppWidgetHostView.java
d2097ebacf3a3658624cad10669a4d98e8d7d846 02-May-2012 Adam Cohen <adamcohen@google.com> Changing app widget "extras" to "options" and another small API Review issue

-> (issue 6427146), (issue 6427861)

Change-Id: Ib69a9b3717a5b62317ec227936bc3b2fd5954043
ppWidgetHostView.java
ppWidgetManager.java
ppWidgetProvider.java
c88d11f9493e65d318dcd3b094ef446e1905ebfd 28-Apr-2012 Adam Cohen <adamcohen@google.com> Pushing widget resize callback responsibility to AppWidgetHost

Change-Id: I33ca691deee11f8249eed6733a9ac82ed9bfbd15
ppWidgetHostView.java
61a5b0160d9f2e53ef4d4b451212a63032dad32d 13-Apr-2012 Michael Jurka <mikejurka@google.com> New API to allow third-party apps to bind widgets

Change-Id: I1a3761c1a0f557a32d4d3bdd0207567fec918ba7
ppWidgetManager.java
e8724c82ab1479f13c85a2c6219841e1fd95f2d2 20-Apr-2012 Adam Cohen <adamcohen@google.com> Adding callback for widget size changed, and potentially other extra info

Change-Id: I57738c92b6a0ba68ae66b19a533559470c64e6f1
ppWidgetHostView.java
ppWidgetManager.java
ppWidgetProvider.java
3aef8e1d1b2f0b87d470bcccf37ba4ebb6560c45 20-Dec-2011 Joe Fernandez <joefernandez@google.com> docs: Add developer guide cross-references, Project ACRE, round 4

Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
ppWidgetManager.java
ppWidgetProvider.java
ackage.html
4c96a59b4354c4a593a07a3273c186b51597bcc1 04-Nov-2011 Adam Cohen <adamcohen@google.com> Making default widget padding public API

Change-Id: Ibf4f5dc1a36d84be1acc3ccdc4330276f82aa303
ppWidgetHostView.java
5d5f3405204ecb5045edc756fde71c97d10bcda4 01-Oct-2011 Adam Cohen <adamcohen@google.com> Adding default padding to AppWidgetHostView for widgets >= API level 14

Change-Id: Idbbeafba664847f01393bb0c6102f774390380d5
ppWidgetHostView.java
bac26a1205883ad30343f1d1f64a039dcdda9f63 17-Aug-2011 Adam Cohen <adamcohen@google.com> Getting rid of the (hidden) oldName parameter for widgets

Change-Id: I191cf64ed045fd7cb53e106f337cbeab5a914336
ppWidgetManager.java
ppWidgetProviderInfo.java
2148d43eb23c702e834c93ae427f822f32d280a2 28-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing widget notifyDataSetChanged() not getting called, issue 5092676

Change-Id: I61a034a77c0c9d07aba71bfabe7a0864ce92c2e9
ppWidgetHostView.java
324afba161ae5b802e38f89c9015d8306ea3ddd1 22-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing new minResizeWidth/Height API

Change-Id: I6b57cca32ed7678597e7c0d81dc483ee294537a9
ppWidgetManager.java
ppWidgetProviderInfo.java
1bfaf561b7c09388311f1834f17e057739cf587a 20-Jul-2011 Adam Cohen <adamcohen@google.com> Adding resizeMinWidth/Height to AppWidgetProviderInfo

Change-Id: I17dc27829938a3f25a664d8255965cf9b67cb17e
ppWidgetHost.java
ppWidgetProviderInfo.java
9611f2ea6c962c7eb05a2841d06656745f524097 28-Feb-2011 Adam Cohen <adamcohen@google.com> Small change to AppWidgetProviderInfo public field name and docs

Change-Id: Ia799cfc1824ccee1f7fd041ae8ecaa1a0395c3f6
ppWidgetProviderInfo.java
d2e20de64b6de8b6391c63e2f5b02ce7698bf4bf 25-Feb-2011 Adam Cohen <adamcohen@google.com> Adding framework support for resizable widgets

-> Added resizeMode to the widget xml
-> Fixed an unexposed bug in AppWidgetHost where
minWidth and minHeight were never being converted
from complex type to dp

Change-Id: Ibbc4fc6542d095623ac2a40694b6a3dbfeb279ad
ppWidgetHost.java
ppWidgetProviderInfo.java
f4f05b8f24183b9e0d6959fe8b71fb88543edd9b 07-Jan-2011 Scott Main <smain@google.com> Update package descriptions with editorial revisions.
Notably, this removes exessive info about resources
from the content package, because it's not a good location
and the info is avilable in the dev guide, but also
added some of the info to the Resources class description.

Change-Id: Ie78af26c9cec66314deb98e53078f48e16c08e70
ackage.html
a6abd062bf437fc69131a2797d6974953dd6cd83 20-Jan-2011 Patrick Dubroy <dubroy@google.com> previewImage API shouldn't be hidden.
ppWidgetProviderInfo.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
ppWidgetManager.java
d110889cbca4d40f8cdeddfe6eb2f498f470ae4b 17-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing bug related to collisions with AppWidget view ids and AppWidgetHost view ids

Change-Id: I2512b83078cff6c4d444c95275625ff39466ac83
ppWidgetHostView.java
ec84c3a189e4aa70aa6ea8ba712e5a4f260a153b 14-Jan-2011 Patrick Dubroy <dubroy@google.com> Allow old view hierarchy to be GC'ed more quickly during rotation.
ppWidgetHost.java
a02fdf1ba03fad71cc80a89dfc74b17456d5b4a5 03-Nov-2010 Adam Cohen <adamcohen@google.com> Adding widget auto-advance capability

Change-Id: I058573f40a48fd7b5c2efa5f1041a1199919a51a
ppWidgetProviderInfo.java
6394c0e52cf641d93f678fd052499aa952e3595d 16-Aug-2010 Winson Chung <winsonc@google.com> Adding callback and fix to RemoteViewsFactory on notifyDataSetChanged.
Also removing extra parameter in AppWidgetManager.notifyDataSetChanged.

Change-Id: Ic771fe045ae793a6dacf09f1230e7c1c4b59a13e
ppWidgetHost.java
ppWidgetHostView.java
ppWidgetManager.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
ppWidgetManager.java
499cb9f516062b654952d282f211bee44c31a3c2 16-Jul-2010 Winson Chung <winsonc@google.com> Initial changes to allow collections in widgets.

Change-Id: I3cfa899bae88cd252912cecebc12e93c27a3b7c9
ppWidgetHost.java
ppWidgetHostView.java
ppWidgetManager.java
b812925aeebf86a35e580041effb66203c7a079f 13-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am b65d2256: merge from open-source master

Merge commit 'b65d225633d14326d1ba2af862861e92d7ea45bc'

* commit 'b65d225633d14326d1ba2af862861e92d7ea45bc':
Reduced Warnings by adding Type Arguments and removing unused imports
b65d225633d14326d1ba2af862861e92d7ea45bc 13-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I992e2a407b1d8f7f29cb7153d4c2e3945e60b57a
5d1409191ea8d76268ddc4cd14759ad0d6a3c180 12-Jul-2010 Patrick Dubroy <dubroy@google.com> Convert the minWidth and minHeight to device units when calling getInstalledProviders
ppWidgetManager.java
d2db2a579440608453994b64eb5b425840f5307a 23-Jun-2010 Patrick Dubroy <dubroy@google.com> Add a new attribute to allow widgets to specify a preview image.

Change-Id: I0d79c85c6a2fc477af17eda05eabaa3151b0bef5
ppWidgetProviderInfo.java
10c543da2f407d7a4e2a6fa0375e39ec0d232233 25-Jun-2010 Christian Mehlmauer <FireFart@gmail.com> Reduced Warnings by adding Type Arguments and removing unused imports

Change-Id: I42f8f9f9a6a6b271eaeb1a02f6d6567a630936ea
ppWidgetManager.java
a18dbdf420fabebb83e7403d000384a8d98daffa 24-Jun-2010 Joe Onorato <joeo@android.com> am 801b63d3: am 51e895f0: Merge "Need to give the AppWidgetHostView the new info about the provider, in case the initialLayout changed." into gingerbread

Merge commit '801b63d3b865054b3015e2cf315ca7c9386d1212'

* commit '801b63d3b865054b3015e2cf315ca7c9386d1212':
Need to give the AppWidgetHostView the new info about the provider, in case the initialLayout
c27bb559805ae5cd06f7ecf575959c60c51a22aa 24-Jun-2010 Joe Onorato <joeo@android.com> Need to give the AppWidgetHostView the new info about the provider, in case the initialLayout
changed.

Bug: 2772728
Change-Id: I9e230fbe42d01cfc953cdafb86dd0d616d96a3ea
ppWidgetHost.java
ppWidgetHostView.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
ppWidgetHostView.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
ppWidgetHostView.java
f140be6c3c21dd0f6d2214929e89d60de31d2c04 04-May-2010 Joe Onorato <joeo@android.com> Call into app widget hosts when the provider is updated.

Change-Id: If0a2459901e88cf04810b23178e4673d44fa69cc
ppWidgetHost.java
ppWidgetHostView.java
15a4d2ffd04dc6c70f2cd17dae12ac6bc14c69ab 12-Mar-2010 Kenny Root <kroot@google.com> Add correct copyright headers to multiple files

Format for the list of changes shows the origin commit reference followed
by the file name.

33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java
33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java
133776-p9 core/java/android/app/IntentService.java
127013-p9 core/java/android/appwidget/AppWidgetHost.java
27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java
60765-p9 core/java/android/content/SyncResult.java
43920-p9 core/java/android/content/pm/ActivityInfo.java
43920-p9 core/java/android/content/pm/ApplicationInfo.java
43920-p9 core/java/android/content/pm/InstrumentationInfo.java
43920-p9 core/java/android/content/pm/PackageInfo.java
44103-p9 core/java/android/content/pm/PackageItemInfo.java
68960-p9 core/java/android/content/pm/PackageStats.java
43920-p9 core/java/android/content/pm/ResolveInfo.java
43920-p9 core/java/android/content/pm/ServiceInfo.java
60641-p9 core/java/android/content/res/Configuration.java
60734-p9 core/java/android/content/res/TypedArray.java
137672-p9 core/java/android/inputmethodservice/ExtractButton.java
123112-p9 core/java/android/inputmethodservice/ExtractEditText.java
119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java
112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java
115078-p9 core/java/android/os/BatteryStats.java
124790-p9 core/java/android/text/style/UpdateAppearance.java
45083-p9 core/java/android/view/RawInputEvent.java
101491-p9 core/java/android/view/inputmethod/EditorInfo.java
114701-p9 core/java/android/view/inputmethod/ExtractedText.java
123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java
119291-p9 core/java/com/android/internal/os/HandlerCaller.java
129279-p9 core/java/com/android/internal/os/PkgUsageStats.java
114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java
114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java
84364-p9 opengl/java/android/opengl/EGLLogWrapper.java
11355-p9 opengl/tools/glgen/src/CFunc.java
11355-p9 opengl/tools/glgen/src/CType.java
11355-p9 opengl/tools/glgen/src/CodeEmitter.java
11355-p9 opengl/tools/glgen/src/GenerateGL.java
11355-p9 opengl/tools/glgen/src/JFunc.java
11355-p9 opengl/tools/glgen/src/JType.java
11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java
11355-p9 opengl/tools/glgen/src/ParameterChecker.java
57236-p9 services/java/com/android/server/status/AnimatedImageView.java
66754-p9 services/java/com/android/server/status/CloseDragHandle.java
57188-p9 services/java/com/android/server/status/DateView.java
46928-p9 services/java/com/android/server/status/ExpandedView.java
70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java
45968-p9 services/java/com/android/server/status/IconData.java
57470-p9 services/java/com/android/server/status/IconMerger.java
82719-p9 services/java/com/android/server/status/LatestItemView.java
45968-p9 services/java/com/android/server/status/NotificationData.java
66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java
57458-p9 services/java/com/android/server/status/NotificationViewList.java
45968-p9 services/java/com/android/server/status/StatusBarException.java
45968-p9 services/java/com/android/server/status/StatusBarIcon.java
46130-p9 services/java/com/android/server/status/StatusBarNotification.java
45968-p9 services/java/com/android/server/status/StatusBarView.java
46199-p9 services/java/com/android/server/status/Ticker.java
62286-p9 services/java/com/android/server/status/TickerView.java
57188-p9 services/java/com/android/server/status/TrackingView.java
86041-p9 telephony/java/android/telephony/PhoneStateListener.java
87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java
136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java
34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java
55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java
127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java
129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java
25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java
46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java
77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
9788976b1465ce982b5ae7c741345edd0ecd9322 core/java/android/accounts/AuthenticatorDescription.java
53332883543868fb83e111a07306368b7772b340 core/java/android/app/UiModeManager.java
93e7e22ec91dbc641d10ca6d70423e1357a95bba core/java/android/app/FullBackupAgent.java
328c0e7986aa6bb7752ec6de3da9c999920bb55f core/java/android/content/CursorEntityIterator.java
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncQueue.java
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncOperation.java
eb034652c2037a47ebfd99779e8383bb8bb528af core/java/android/content/pm/LabeledIntent.java
49237345d83e62fdb9eb8d50b13ad086636a04fa core/java/android/content/pm/FeatureInfo.java
a2b6c3775ed6b8924232d6a01bae4a19740a15f8 core/java/android/content/pm/PackageInfoLite.java
3ecd5f437580e49d80beecd29489d5fb1f7a7db0 core/java/android/content/pm/RegisteredServicesCacheListener.java
5ebbb4a6b3e16f711735ae0615b9a9ea64faad38 core/java/android/content/pm/XmlSerializerAndParser.java
c4516a7b62de525e3d6d5e76851bdfaf12c11f05 core/java/android/database/sqlite/SQLiteTransactionListener.java
9bbc21a773cbdfbef2876a75c32bda5839647751 core/java/com/android/internal/backup/LocalTransport.java
21f1bd17b2dfe361acbb28453b3f3b1a110932fa core/java/com/android/internal/content/PackageMonitor.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseSurfaceHolder.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseIWindow.java
e540833fdff4d58e37c9ba859388e24e2945ed45 core/java/com/android/internal/os/SamplingProfilerIntegration.java
192ab903887bbb8e7c7b6da5c581573850e30f46 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java
1619367ab823150fa8856d419abe02ceb75886f1 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java
27f8002e591b5c579f75b2580183b5d1c4219cd4 opengl/tools/glgen/stubs/gles11/glGetString.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glShaderSource.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GenerateGLES.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/Jsr239CodeEmitter.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GLESCodeEmitter.java
69e21f5f6e0d04539cd92848ea009dd615d88c2c opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java
c028be4f3b8c7476b46859f66c3f33d528adf181 packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java
df8a3f31d871db25e952972c2eb346a71186e9e3 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java

Copyright header moved to top in following file:

core/tests/coretests/src/android/widget/ListViewTest.java

Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
ppWidgetHost.java
d2671e1fcf1d7f1b8e25a2615d514cf3c26b6a9c 12-Mar-2010 Romain Guy <romainguy@android.com> Preserve widgets on upgrade.
Bug #2464545

Change-Id: I802878af49dc4d98210fb8049df0bbdc49268d99
ppWidgetManager.java
ppWidgetProviderInfo.java
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
ppWidgetHostView.java
ae8dd29c035fffa6e302bd485d0552f97db39127 05-Nov-2009 Romain Guy <romainguy@android.com> Prevent crash in Home when using widgets whose ids collide with Home's
resources.

Bug #2228943.

Approved by mcleron, triaged by ryanpc.

Change-Id: Idf40f3b09502ae5d0d3b9a6a72c265a2de2ffca2
ppWidgetHostView.java
a8a720d8cd208d7d265de28ab69f7e68eb10140a 16-Oct-2009 Romain Guy <romainguy@android.com> Fix possible NPE in the code that restores widgets' state.

Bug #2189714
Reviewed by: ryanpc

Change-Id: I0d74deb6dc8e90e3b0eafd6b3c16b0c557c72873
ppWidgetHostView.java
220dec2897d739ecb627e46b4cafbd664f4ff762 19-Aug-2009 Jeff Sharkey <jsharkey@android.com> Use remote Context when inflating initialLayout, add debug.

To help track down http://b/2055197 this change adds back
exception logging when inflating initialLayout. On a hunch,
it also assigns the remote Context so generateLayoutParams()
can inflate correctly.
ppWidgetHostView.java
09ddc08b0d9c849e22f778666f383b7ceefbd9c8 11-Aug-2009 Romain Guy <romainguy@android.com> Fixes #2021442. Prevent app widgets from clobbering Home's view ids.
ppWidgetHostView.java
b8560b66fd2bdf465a8c7fad983f2236778e8106 07-Aug-2009 Jeff Sharkey <jsharkey@android.com> Fix AppWidget layout inflation to resolve references.

When RemoteViews inflates a layout and set of actions, it
uses a cloned remote Context so it can fully access the
resources needed to complete the inflate. However, in one
specific case when inflating the root view, LayoutInflater
calls back to the soon-to-be parent view to request the
correct set of LayoutParams through generateLayoutParams().

The default implementation of generateLayoutParams() uses
the Context of the /local/ View instead of the remote
Context being used for the inflation, which means that any
LayoutParam references in the root view are unresolved.

To fix this, we internally create our own copy of the target
remote Context. This way, when the remote LayoutInflater
calls generateLayoutParams(), we inflate it using the remote
Context to correctly resolve any references.

This change is required as part of http://b/2038594
ppWidgetHostView.java
cf492afdeb3a1da04cc71518285eb778f2ef6837 17-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6809 into donut

* changes:
Correctly deliver AppWidgetProvider.onDeleted() events.
be96b3a2aa7ec6d57ac038d4a5326fc168585ad6 15-Jul-2009 Joe Onorato <joeo@android.com> Clamp app widget updates from updatePeriodMillis to a minimum of 30 minutes.
ppWidgetProviderInfo.java
eda4be30a2a3a63093faf052be5d804bf633e6f5 10-Jul-2009 Jeff Sharkey <jsharkey@android.com> Correctly deliver AppWidgetProvider.onDeleted() events.

When the AppWidgetService sends APPWIDGET_DELETED
broadcasts, it only sends a single APPWIDGET_ID extra. This
change fixes the Provider to handle this extra correctly.

Fixes http://b/issue?id=1800738
ppWidgetProvider.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.
ppWidgetHostView.java
a54755962ca7725d1e2b6cacbbaece6f1cbf5af4 02-Jul-2009 Romain Guy <romainguy@android.com> Cleanup a bunch of warnings in app widgets code.
ppWidgetHost.java
ppWidgetHostView.java
8f25c426b118c35f558cbf27bd413e1eb6d59823 01-Jul-2009 Mitsuru Oshima <oshima@google.com> resolve complex value in application context instead of system context.
ppWidgetManager.java
60b88edea7132ddce90f2dced07c6706f1502270 14-May-2009 Ken Shirriff <kens@google.com> Fix typos.
ppWidgetProvider.java
8a4c53a7c7911b8f4c73a8fcfbbad3ac903b3367 24-Apr-2009 Scott Main <> AI 147732: fix broken links
BUG=1810005

Automated import of CL 147732
ppWidgetProvider.java
620986a358c522178ddfc5c0088b2a5e1768e5ae 23-Apr-2009 Scott Main <> AI 147438: add app widget docs to dev guide
move app widget docs out of the package description
BUG=1790234

Automated import of CL 147438
ackage.html
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
ppWidgetManager.java
c39a6e0c51e182338deb8b63d07933b585134929 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
ppWidgetHost.java
ppWidgetHostView.java
ppWidgetManager.java
ppWidgetProvider.java
ppWidgetProviderInfo.aidl
ppWidgetProviderInfo.java
ackage.html