• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/com/
History log of /frameworks/base/core/java/com/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bd98e7f3637660eb2dc60bb5033037b3a7b1848d 18-Oct-2013 John Spurlock <jspurlock@google.com> Move the IME navigation guard view up to decor.

Although the IME windows are now allowed to extend into
the nav bar, some IMEs were making assumptions about
computed insets based on the height of the content view.

So our navigation bar view (opaque view blocking the nav bar
area to avoid the island effect when transparent) needs to live
above the content view in the hierarchy, making the content view
the same height as it was before.

A surgical spot to put the guard view is up at the root view
(PhoneWindow.DecorView). fitSystemWindows is always called since
this view is not recreated, and the layout is stable: waiting until
the IME is attached to the window is too late to add a guard view.

This is above the screen_* layouts, so will work without having to
touch all of them. And it only affects windows of TYPE_INPUT_METHOD.

Bug:11237795
Change-Id: I6a93f30aec83f1cecfb854073046cbc87ab4aa66
ndroid/internal/inputmethod/InputMethodRoot.java
174236381bfb7c49994667905a6fc6e1b8356a38 17-Oct-2013 Jim Miller <jaggies@google.com> Fix issue where keyguard adds widgets before the system is ready

While under heavy system load, keyguard was able to create widgets before
before ActivityManagerService was ready. The result was a race
between keyguard adding widgets and ActivityManagerService being
ready to send broadcasts.

This fix provides keyguard with an additional signal to know when
the system is booted and widgets are safe to load.

Fixes bug b/11217169

Change-Id: I7a714d65b068678f961e52bdde4e1c20f9c287f0
ndroid/internal/policy/IKeyguardService.aidl
878deb3c7b33a0c508137143c776e07bab0296cf 15-Oct-2013 Dianne Hackborn <hackbod@google.com> Fix issue #11223335: APR: Lots of failures in procstats due to...

...bad cleanup of crashing processes

We now have a special path for crashing processes, to silently
clean up their state.

Also some tweaks to Log/Slog.wtf to get better stack crawl
summaries in APR.

Change-Id: Ieced26989907a6e7615b6fa033813fced78d7474
ndroid/internal/app/ProcessStats.java
70966ec922256001053eb7cae957c28e4d6cb791 13-Oct-2013 Daniel Sandler <dsandler@android.com> Easter egg cleanups.

Bug: 11171189
Bug: 10240151
Change-Id: Id5a8904bdf6c16302e09f2b48392f99c280a8179
ndroid/internal/app/PlatLogoActivity.java
3bf26b6f2f7fcf47346f55f4e712f4b846393ab1 11-Oct-2013 John Spurlock <jspurlock@google.com> Ensure fitSystemWindows is called on the IME at least once.

InputMethodService will recreate the entire layout on config changes.
Until the system insets change again, the new instance will not
hear about the insets.

This change ensures fitSystemWindows is called at least once for all
input method root views that are added to a window.

Bug:11174545
Change-Id: Id0f02f32c0d6e9c2d6b6aeef74a12a13acfbb9e6
ndroid/internal/inputmethod/InputMethodRoot.java
ebd1dca5ead3d36f7e21ab27b8eb6f4c612f7319 11-Oct-2013 Adam Powell <adamp@google.com> Merge "Re-enable ActionMenuPresenter view recycling" into klp-dev
c3ca3ea3a937a20666e4f01fb1a9efb503ec274e 11-Oct-2013 Adam Powell <adamp@google.com> Re-enable ActionMenuPresenter view recycling

Since action bar transitions are turned off again for now, re-enabling
item view recycling fixes an unfortunate regression with submenus.

If a menu view is invalidated while a submenu is open we need to keep
its anchor consistent. With view recycling active we preserve status
quo and the previous anchor view instance for the popup window remains
in place.

In the future this will need to get more sophisticated;
ActionMenuPresenter will need to re-parent an open submenu against the
proper anchor view by menu item id. But that is a change for another
day.

Bug 11174504

Change-Id: I7e8a444f6996ec95417d20e87938f496e9c3a4dd
ndroid/internal/view/menu/ActionMenuPresenter.java
c37db9c0de1038d043051401c2c55a8d0a57f373 11-Oct-2013 Alan Viverette <alanv@google.com> Merge "Fix layout and invalidate in SubtitleView" into klp-dev
57beb3b5b3b1a1a2fb8387ae1fab0c18c7cf200d 10-Oct-2013 John Spurlock <jspurlock@google.com> IME navigation guard implemented as a View.

Instead of a custom onDraw in order to stay 100% in sync with abrupt
layout changes.

Also use the unrestricted layout bottom to avoid unnecessary
fitSystemWindows churn.

Bug:11162351
Change-Id: If9bb9a52d503e348d642bf1238f75c4a418ad805
ndroid/internal/inputmethod/InputMethodRoot.java
65e911261d972758577f76cf41c6c0c532896fe1 09-Oct-2013 John Spurlock <jspurlock@google.com> Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev
c68d577f29604d205573ee4253704c5b2c5e4f81 08-Oct-2013 John Spurlock <jspurlock@google.com> Allow IMEs to extend below nav bar, remove SystemUI veto.

Layout IMEs below the nav bar, offset by bottom padding and
associated guard rectangle with a black background to ensure
they do not appear as islands during transitions.

This makes it safe to remove the SystemUI forced opaque transition
when showing an IME, making the overall transition less expensive,
quicker and smoother overall.

Bug:11058746
Change-Id: I460912ee7c117480c57b947ed31eca330819f32c
ndroid/internal/inputmethod/InputMethodRoot.java
b8a0057d82b9400fef3a9c783076f1465796d365 09-Oct-2013 Alan Viverette <alanv@google.com> Fix layout and invalidate in SubtitleView

BUG: 11138745
Change-Id: If216dc1c68b6aaef3ad41ae30f488b140d4676d6
ndroid/internal/widget/SubtitleView.java
6c3baf12e0a6417177793a2e7e95d22721203813 08-Oct-2013 Brian Carlstrom <bdc@google.com> Preload DexCaches

Bug: 11045348
Change-Id: Id27333652d4b3b9ace6c1cdf0566bf39bf0084ed
ndroid/internal/os/ZygoteInit.java
b89e969cef91cc20499d955fd49286fde4a401e7 05-Oct-2013 Alan Viverette <alanv@google.com> Merge "Fix font scaling issues in FastScroller and SubtitleView" into klp-dev
7b63063625467baff1db048e84c5781408a5c86d 04-Oct-2013 Alan Viverette <alanv@google.com> Fix font scaling issues in FastScroller and SubtitleView

BUG: 11080227
Change-Id: I0aa84e9b56c6900ad47efd45a5a0f772ce43f810
ndroid/internal/widget/SubtitleView.java
8c5b15c628b89c4fb832b7311e5d13ccea4aff04 04-Oct-2013 Adam Powell <adamp@google.com> Merge "Fix a bug in action menu measurement" into klp-dev
da9710806bc7874b8c553f4daf9cf14f35ae1b07 04-Oct-2013 Adam Powell <adamp@google.com> Fix a bug in action menu measurement

Thanks to a measurement optimization in KK, the view recycling
behavior of ActionMenuPresenter could get into a state where the
resulting ActionMenuView had changed but no layout was
requested. Explicitly request a layout during menu update. Also fix an
ancient typo.

Bug 11047996

Change-Id: I6289fd2d142ac7d2101fbec6de19b7d3d7fbd6a2
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuBuilder.java
167a32326ea3a3b30c147cd02e3b3151e794e016 03-Oct-2013 Chet Haase <chet@google.com> Fix lockscreen wave animation artifacts

On some display sizes, the wave animation was sometimes
running more than once, starting over in the center and animating
outward... partially.

The problem was that the calculations determining the alpha value
of the dots was returning bogus values when the display area was
large enough, which is why the bug is only on some devices.

This fix simplifies the math and ensures that the wave only animates
once, from start to finish.

Issue #11005936 regression on lockscreen animation for multi-wave widget

Change-Id: Id21a2e4d2271f01c82c4bc6e1f37d78e68b9b6e4
ndroid/internal/widget/multiwaveview/GlowPadView.java
ndroid/internal/widget/multiwaveview/PointCloud.java
2fdb68b3c2ac5e72fdaa590eb70fca0c6a9f5ef0 03-Oct-2013 Daniel Sandler <dsandler@android.com> Goo goo ga joob.

Bug: 10240151
Change-Id: I7b702c397cb9f5ac3294ae27ffc6185df6a64678
ndroid/internal/app/PlatLogoActivity.java
164371fb759bad6854570af0fca60d9a01e17235 02-Oct-2013 Dianne Hackborn <hackbod@google.com> Fix issue #11005453: [SUW] G+ profile creation for new user broken

The main problem here was a mistake when turning a single process
structure to a multi-package-process structure with a common
process. When we cloned the original process state, if there were
any services already created for the process for that package, they
would be left with their process pointer still referencing the
original now common process instead of the package-specific process,
allowing the active counts to get bad. Now we switch any of those
processes over to the new package-specific process.

There was also another smaller issue with how ServiceRecord is
associated with a ServiceState -- we could be waiting for an
old ServiceRecord to be destroyed while at the same time creating
a new ServiceRecord for that same service class. These would share
the same ServiceState, so when the old record finally finished
destroying itself it would trample over whatever the new service
is doing.

This is fixed by changing the model to instead of using an "active"
reference count, we have an object identifying the current owner
of the ServiceState. Then when the old ServiceRecord is cleaning
up, we know if it is still the owner at that point.

Also some other small things along the way -- new Log.wtfStack()
method that is convenient, new suite of Slog.wtf methods, fixed
some services to use Slog.wtf when catching exceptions being
returned to the caller so that we actually know about them.

Change-Id: I75674ce38050b6423fd3c6f43d1be172b470741f
ndroid/internal/app/ProcessStats.java
b72b363c972ffa70205afdaeb36073ed09d57f76 01-Oct-2013 Christopher Tate <ctate@google.com> Specialized prompting when 'home' has become ambiguous

Bug 9958444

Change-Id: I050ae425e570cfc8ffd473587fb2a6127c36eeec
ndroid/internal/app/ResolverActivity.java
57d96f0e92e8af842878660a8271e65cec2426d3 30-Sep-2013 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #10948509: Crash in procstats when there is no data" into klp-dev
cb4285537b1bf67b5a248e509d5fe41a6f49282e 26-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10948509: Crash in procstats when there is no data

Not dealing with the case where there is a null list.

Also fixed some bugs I found while looking at this:

- When resetting the stats, we would use a newly computed time stamp
for the total durations rather than the one we used to reset the
proc/service entries. This would result in them being able to be
slightly > 100%.
- There was a bug in how we split a single process state into its
per-package representation, where we would but the cloned process
state into the new package's entry (instead of properly for its
own package entry), to be immediately overwritten by the new
process state we make for that package. This could result in
bad data for processes that have multiple packages.
- There was a bug in resetting service stats, where we wouldn't
update the overall run timestamp, allowing that time to sometimes
be > 100%.
- There was a bug in computing pss data for processes with multiple
packages, where the pss data was not distributed across all of the
activity per-package process states.
- There was a bug in computing the zram information that would cause
it to compute the wrong value, and then never be displayed.

Finally a little code refactoring so that ProcessState and ServiceState
can now share a common implementation for the table of duration values.

Change-Id: I5e0f4e9107829b81f395dad9419c33257b4f8902
ndroid/internal/app/ProcessStats.java
8fb6d97ad5671b4abc1940d8bc56cf7448e45c35 27-Sep-2013 Adam Powell <adamp@google.com> Merge "Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu" into klp-dev
033837dd6bf32b33d9a67d340efd167f94bf80cf 27-Sep-2013 Chet Haase <chet@google.com> Merge "Make fading transitions work better" into klp-dev
54c94dea8a26e66fa59a31fd9170ca221052d3aa 27-Sep-2013 Adam Powell <adamp@google.com> Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu

Allow calling code to specify left/right/start/end gravity when
showing a popup attached to an anchor. This allows easy alignment of
either the right or left edges of the popup and anchor view.

Bug 10728401

Change-Id: Ie0844a04ea0576fa67b0972f5873aaa4c5b823f6
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/MenuPopupHelper.java
b7a7fc9d233bad507ce893882352618b13647058 21-Sep-2013 Chet Haase <chet@google.com> Make fading transitions work better

Previously, a Fade transition would only affect a view if its
parent hierarchy was not also affected between the start/end states.
This caused problems for views which were removed from their parents
between scenes when their parents' visibility also changed between those
scenes. The effect would be that the transition would fade the parent...
but the child would no longer be in that parent, so the user would just see the
child view blink out.

This fix ensure that views are faded appropriately by fading them
regardless the parent hierarchy; if a view is removed from its
parent, fade it out.

Additionally, if that view has not been removed from its parent, but
its parent is no longer parented *and* scene being
transitioned from is based on a layout resource file (and thus
the views are considered temporary after transitioning), then it is
removed from its parent to be faded out in the overlay.

Also, renamed TextChange to ChangeText to be more consistent with
other transition class names.

Change-Id: I4e0e7dfc9e9d95c7a4ca586534b6d204c4f3bae0
ndroid/internal/transition/ActionBarTransition.java
ndroid/internal/widget/ActionBarView.java
ee2f7df9ee8a4f43c3b0858bad08a4f0a59a627f 26-Sep-2013 Jeff Sharkey <jsharkey@android.com> Tighten flags enforcement, API to test Uris.

Check and throw if callers request invalid grant flags. Add API to
test if a Uri is backend by a DocumentsProvider.

Bug: 10919391, 10935608
Change-Id: Ifa6afefb95983558c8c64dc15ddf650e9fe07080
ndroid/internal/util/Preconditions.java
66a9b2d7392a7f6334b5fe23d00ba718f3fa1851 26-Sep-2013 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #10903002: com.facebook.katana keeps itself in A Services" into klp-dev
be17a61447e1a7992a6c855059a3c43ab3216610 26-Sep-2013 Jeff Sharkey <jsharkey@android.com> Merge "Require that persistable Uri permissions be taken." into klp-dev
cbd9a52f256087426feb19ac6e51eff772e81375 25-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10903002: com.facebook.katana keeps itself in A Services

Now when memory low, if a service's process is above
a selected pss, then the process is not allowed to go
in to the service a list.

Also simplified the normal meminfo details dump to not
include the shared dirty and shared clean sizes by
default, since these can be very confusing. You will
still get to see them with the "-a" flag.

Finally some small steps to better managing service
processes in the LRU list, so hopefully we can some
day be better about letting them drop down in the list
when there isn't really much interesting happening in
the process. Not yet used at this point.

Change-Id: I654bfd6d05de2a63120185ebb15ffda8cbeb5dac
ndroid/internal/util/MemInfoReader.java
04b0840b2e5367547fdd92f4e2c68cde16486062 26-Sep-2013 Jim Miller <jaggies@google.com> Merge "Accessibility improvements in keyguard - add accessibility descriptions to camera and search light - add new onClick handler to simplify launching search and camera - plumb camera launch through KeyguardService interface" into klp-dev
812b64264176cb8a253a8253074bc9595503d2ac 26-Sep-2013 Alan Viverette <alanv@google.com> Merge "Fix caption rendering" into klp-dev
e66c1778f80f4b18e29e018eca3a338f125f23b9 20-Sep-2013 Jeff Sharkey <jsharkey@android.com> Require that persistable Uri permissions be taken.

Change our Intent flag to indicate that a Uri permission grant is
persistable, but don't actually persist it until explicitly taken by
the receiving app. This prevents apps from spamming each other if
persisted permissions aren't really required.

Remember the last time a persisted grant was taken by an app, and
use this to prune away the oldest grants when the number of grants
grows too large. Allow apps to query persisted grants they are
holding, and allow them to release previously persisted grants. Add
public UriPermission class to return grant details and timestamp.

Track various permission strengths separately, and combine together
after each mutation pass. Persistable grants are currently treated
like global grants, but they could be moved to have owners in the
future. Require that grant holders trying to extend a persistable
permission actually hold a persistable permission themselves.

Bug: 10835779
Change-Id: I95b2f797c04ce7fd2612f9a644685dbd44e03759
ndroid/internal/util/XmlUtils.java
138f25d75665bd07d34294364c5b6f530b33503f 25-Sep-2013 Jim Miller <jaggies@google.com> Accessibility improvements in keyguard
- add accessibility descriptions to camera and search light
- add new onClick handler to simplify launching search and camera
- plumb camera launch through KeyguardService interface

Fixes bug 10914360

Change-Id: Ic85eda9afadba7381be78b477180f7204030cd17
ndroid/internal/policy/IKeyguardService.aidl
7fe420f31b4de2bbd7a89194384d0c9ac6293226 25-Sep-2013 Alan Viverette <alanv@google.com> Fix caption rendering

Fixed rendering of captions in regions and incorrect caption width
measurement. Removes minimum-difference line wrapping, since the
results weren't consistent with StaticLayout's rendering.

BUG: 10917766, 10822229
Change-Id: I55ef28cbf383fd6b945c0be62e440781288364f1
ndroid/internal/widget/SubtitleView.java
e38c8e28ba50d5fe7f4f2bc5fe68a9f10bafe0f0 25-Sep-2013 Jim Miller <jaggies@google.com> Fix accessibility for all-caps items in keyguard

This fixes a bug where TTS on all-caps items doesn't work for
Buttons. The fix is to use translation (ala. TextView.setAllCaps()),
which just affects rendering and not the original text string.

Fix bug 10912259

Change-Id: Id8cba927819c979fe699353219d45f8b0f9f5aac
ndroid/internal/widget/LockPatternUtils.java
6d8dfbd8149942f25f2b9643a12f1fb38f3be834 24-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10848916: "Always" button is not working.

The problem was that the ResolverActivity filters some activities
out of the list it shows, but it uses that display list as the
list of components the preference is set against when ultimately
setting it on the package manager... but that filtered list is *not*
the right component set, since it is not the same as the package
manager's view on it.

The fix here is to retain the original set of matching components
and use that when setting the preferred activity. Note that this
does mean that in very unusual cases where filtering is happeing
(such as one of the activities not being exported but being seen
as a possible completion from another app), then you will be setting
the preference for the complete set. Ultimately we probably need
to have the package manager apply these filtering rules up-front so
this is all consistent, but this is a very rare case so not that
important.

And then most of the change here is just improving the debug
output for intent resolution.

Change-Id: Ie35ac2c05a45946439951bbf41433c8b7de79c05
ndroid/internal/app/ResolverActivity.java
ndroid/internal/util/FastPrintWriter.java
d8d7c38533d20062166e5e7ef89b80ff9dbd8903 23-Sep-2013 Chet Haase <chet@google.com> Disable ActionBar usage of transitions

Various artifacts across apps were coming from ActionBar's use of
the new transitions framework. Disabling transitions for now to get
things back to a more stable state.

Also, fixed some related bugs in transitions themselves, including
a change in TextChange to account for text selection, which was causing
errors in Keep's SearchView.

Issue #10860557 TextChange animator may old stale value
Issue #10819685 sometimes icons are lighter
Issue #10750525 Share and Settings icons overlap when stopping slideshow
Issue #10839551 Sometimes the search text box is right-aligned in Keep
Issue #10727484 Cursor incorrectly positioned after entering first letter during search action in keep app

Change-Id: Iad7cbf3297e18018308b8148b3519b032e63dace
ndroid/internal/transition/ActionBarTransition.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/widget/ActionBarView.java
af638c4f9daa74b4c8e0905f07e11290f6845abe 20-Sep-2013 Jim Miller <jaggies@google.com> Merge "Add camera affordance to navigation bar on phones" into klp-dev
caf24fc2c4bb9747eb80138bf3ce0be067851749 11-Sep-2013 Jim Miller <jaggies@google.com> Add camera affordance to navigation bar on phones

This adds a camera button on phones that can be used to show
and launch the camera.

- Minor refactoring of touch event dispatch in PagedView.
- Disables usability hints when keyguard loads.
- Only add a touch handler for camera icon once during layout.
- Update after review.
- Updated with latest UX camera and camera background assets

Change-Id: I09cd5cb0e501fd0f4659bea96d00c92b07f805c4
ndroid/internal/policy/IKeyguardService.aidl
3bc8f78d7a3d23a67c06221cc41292d04a2fd439 19-Sep-2013 Dianne Hackborn <hackbod@google.com> Implement issue #10691475: Kill cached processes if about to...

...be uncached and too large

When the device is in a low RAM state, when we go to pull a cached
process out to use for some background operation, we can now kill
the current process if we consider its size to be too large.

Note that the current implementation for killing processes is to
just use the same killUnneededProcessLocked() method that we already
have for other things like too many cached processes. This is a
little wrong here, though, because in this case we are at the
point where the caller is actually looking for a process to use.
This current code is not actually removing or cleaning up the
process, so we still need to return the now killed ProcessRecord
and let things fall out from there, which typically means the caller
trying to make an IPC on it and failing and falling into its "oh
no the process died unexpectedly" path. All code using this
*should* be able to handle this correctly, anyway, since processes
really can be killed at any time.

At some point we may to make this implementation cleaner, where it
actually tears down the process right in the call and returns a
null ProcessRecord. That is very dangerous however (we'd need to
go through all paths into this to make sure they are going to be
okay with process state changing on them like that), and I'm not
sure it is really worthwhile. This intention is that killing
processes like this is unusual, due to processes being too large,
and anyway as I wrote all of our incoming code paths must already
be able to handle the process being killed at this point and one
could argue this is just another way to excercise those code paths.
Really, the main negative to this is that we will often have spam
in the log with exceptions about processes dying unexpectedly.
If that is the only issue, we could just add some conditions to
quiet that up at in this case.

We don't want to compute the size of the process each time we try
to evaluate it here (it takes 10s or ms to do so), so there is now
a new field associated with the process to give us the last pss
size we computed for it while it was in the cached state.

To be able to have better cached pss data when we now need it, the
timing for computing process pss has been tuned to use a much
shorter delay for the situations when the process has first switch
into a new state. This may result in us having a fair amount more
pss data overall, which is good, as long as it doesn't cause us to
be computing pss excessively and burning cpu.

Procstats now also has new state to keep track of the number of
times each process has been killed by this new system, along with
the min, avg, max pss of all the times it has happened. This has
slightly changed the checkin format to include this additional data
at the end of pkgkills/prockills lines.

Other changes here:

- Fixed a problem where GPU RAM was not being seen when dumping
the full RAM details of a process. This was because in that
case the system would ask the process to compute its own MemInfo,
which it returned, but the process doesn't have permission to
access the files containing the GPU RAM data. So now the system
always computes the MemInfo and hands it to the app.

- Improved broadcast delays to not apply the delay if the next receiver
of the broadcast is going to run in the same process as the last
one. A situation I was seeing was an application that had two
receivers, one of which started a service; we are better off letting
the second receiver run while the service is running.

- Changed the alarm manager's TIME_TICK broadcast to be a foreground
broadcast. This really should have been anyway (it is supposed to
go out even minute, on the minute, very accurately, for UI elements
to update), and is even more important now that we are doing more
things to delay background broadcasts.

- Reworked how we maintain the LRU process list. It is now divided
into the two parts, the top always containing the processes holding
activities. This better matches the semantics we want (always try
to keep those around modulated by the LRU order we interleave with
other cached processes), and we now know whether a process is being
moved on the LRU list because of an activity operation so we can
only change the order of these activity processes when user operations
happen. Further, this just makes that common code path a lot simpler
and gets rid of all the old complexity that doesn't make sense any
more.

Change-Id: I04933ec3931b96db70b2b6ac109c071698e124eb
ndroid/internal/app/ProcessStats.java
f429247867ac524cf63bc01499ac47a90ebcaca9 19-Sep-2013 Jim Miller <jaggies@google.com> Merge "Fix keyguard/Keystore storage issue" into klp-dev
a6f387a0551a82b76e86ae829ae3a39ad043c1c9 18-Sep-2013 Amith Yamasani <yamasani@google.com> Merge "Don't handle click if the resolver is already finishing." into klp-dev
07cd351b4a4900bb0e202ff50a335727d706dc30 18-Sep-2013 Amith Yamasani <yamasani@google.com> Don't handle click if the resolver is already finishing.

Fixes bug that double tapping on an entry in the intent disambig dialog
can result in the picked activity being launched twice.

Bug: 10770501
Change-Id: Ibb7c6bea5f3c25fa204a2f0e65c8044c2a2549f7
ndroid/internal/app/ResolverActivity.java
222920c46044d4782df3cd5b3c6c7e6578659903 18-Sep-2013 Dianne Hackborn <hackbod@google.com> Merge "Maybe fix issue #10797796: IllegalStateException in ProcessState..." into klp-dev
53459a7020dbcd036e2d3418e35ebb96fadc29e3 18-Sep-2013 Dianne Hackborn <hackbod@google.com> Maybe fix issue #10797796: IllegalStateException in ProcessState...

...caused runtime restart

There were some situations where the package list could be set
with process stats when it shouldn't. Not sure if this is causing
the problem, since there is no repro.

Also some improvements to debug output -- new commands to clear
all stats, print full details of stats, and print a one-day
summary (which should match what the UI shows).

Change-Id: I9581db4059d7bb094f79f2fe06c1ccff3e1a4e74
ndroid/internal/app/IProcessStats.aidl
ndroid/internal/app/ProcessStats.java
70aafea91eedc70039818912007f43208e656240 17-Sep-2013 Adam Powell <adamp@google.com> Merge "Action bar transitions - handle expanding/collapsing action views" into klp-dev
c46d33393fcc3a497d036973cb887cdaf986eef2 17-Sep-2013 Adam Powell <adamp@google.com> Action bar transitions - handle expanding/collapsing action views

Make sure we beginDelayedTransition when we expand and collapse action
views, specifically before any callbacks go out that might alter the
hierarchy.

Change-Id: Iffc286cccd9be83ad03aeede605870ac12cc6bab
ndroid/internal/widget/ActionBarView.java
50ef0b62f076c509d5edaef5588080d685f063e8 17-Sep-2013 Dianne Hackborn <hackbod@google.com> Work on issue #10771346: runtime restart

Haven't found the underlying cause, but this will give us more
information when we get into the bad state.

Change-Id: I9aebd3a025a7c0d931f43098461b64ee3c220746
ndroid/internal/app/ProcessStats.java
de1af08dd3a073f007ae4b8a114352cae3775028 11-Sep-2013 Jim Miller <jaggies@google.com> Fix keyguard/Keystore storage issue

Keystore stored keys broke when keyguard was moved out of the system process
due to Keystore enforcing the calling app to be in the system process.

The fix moves the critical code into LockSettingsService, which continues
to live in the system process.

Fixes bug 10201270

Change-Id: I16e2de018e85b01265634dcfbefd7f06740dafa8
ndroid/internal/widget/ILockSettings.aidl
ndroid/internal/widget/LockPatternUtils.java
80c3c4e96039fe4e620d3fedc1e3fb2d01134b61 16-Sep-2013 Daniel Sandler <dsandler@android.com> New platlogo for K.

Bug: 10605145
Change-Id: I23f285ec24118982b10f5d801b75925b9dc81c64
ndroid/internal/app/PlatLogoActivity.java
a30b7035cec9d6d2bfc6a48889dc803695b26f36 16-Sep-2013 Daniel Sandler <dsandler@android.com> Fix RenderScript crash.

Also lay the groundwork for a future checkin.

Bug: 10240151
Bug: 10505742
Change-Id: I62d61c9048188c93863c8c43839e713b75a65102
ndroid/internal/app/PlatLogoActivity.java
a0332377e1edb95202249412ef7bb06a4e1aec03 14-Sep-2013 Dianne Hackborn <hackbod@google.com> Maybe fix issue #10748810: Runtime restart: crash under...

...ActivityManagerService.setProcessTrackerState

And if not, at least we'll have a little more debug info
when it happens again.

Change-Id: I685f0f72c2e1b17608a8d069d6c7f2cff2fd0abd
ndroid/internal/app/ProcessStats.java
3157e73fb0ea392b8dd2a6bbf6b74d8dfa54cc52 14-Sep-2013 Adam Powell <adamp@google.com> Merge "Don't recycle action button views" into klp-dev
8e69257a9c7e9c1781e1f53d8856358ada38921d 11-Sep-2013 Dianne Hackborn <hackbod@google.com> Implement #10749688: Improve low memory reporting

This significantly reworks the logging we do when
all cached processes are killed:

- We now collect the list of processes in-place so we
have a snapshot of exactly when the low memory situation
happened.
- In that snapshot we include the key process state: oom
adj, proc state, adj reasons.
- The report then asynchronously collects pss information
for those processes.
- The ultimate data printed to the log looks like a mix
between the "dumpsys meminfo" and "dumpsys activity"
output. This code no longer uses "dumpsys meminfo"
itself, so some of that data is no longer included,
in particular pss organized by allocation type.

In doing this, I realized that the existing code that is
supposed to run "procstats" is not currently working. And
at that point I realized, really, when we are collecting
this pss data we'd really like to include all those native
processes using ghod-only-knows how much RAM. And guess
what, we have a list of processes available in
ProcessCpuTracker.

So we now also collect and print information for native
processes, and we also do this for "dumpsys meminfo" which
really seems like a good thing when we are printing summaries
of all pss and such.

I also improved the code for reading /proc/meminfo to be
able to load all the interesting fields from there, and
am now printing that as well.

Change-Id: I9e7d13e9c07a8249c7a7e12e5433973b2c0fdc11
ndroid/internal/os/ProcessCpuTracker.java
ndroid/internal/util/MemInfoReader.java
76d915955f04f841161b054e6c249a65c78ba0fd 13-Sep-2013 Adam Powell <adamp@google.com> Don't recycle action button views

Recycling action button views interferes with transition
animations. Suppress menu item view recycling for them.

Change-Id: I69d7561e337be7e4a89b7cf30b6c9439f2d49cc2
ndroid/internal/view/menu/ActionMenuPresenter.java
a2906cb4d9355b7a08e7fdec1924c2dbc7fda622 12-Sep-2013 Adam Powell <adamp@google.com> Merge "Show alternate menu panel on devices with menu key" into klp-dev
5fcf5b9fd3ff6757090c6bd166b60c18eda0b3ef 11-Sep-2013 Adam Powell <adamp@google.com> Show alternate menu panel on devices with menu key

Provide a softer transition to the overflow-everywhere world for
devices with menu keys. The panel menu will still be used on these
devices in response to a menu key press even in the presence of an
action bar with overflow.

Fix a few lingering bugs around dispatching the open-overflow
transition that caused problems with this along the way.

Change-Id: I9d77c70f6d15c47160ac06292984101d619c44e6
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/widget/AbsActionBarView.java
ad79b90f21dcde6f741c47a251882c0a47c5f698 19-Jun-2013 Adam Powell <adamp@google.com> Action bar refactoring and transitions

* Remove the extra occurrence of the Up caret view and reuse the
standard home view.

* Use new transition APIs to animate changes in action bar content.

Change-Id: I7af3bb580ef4bff7d8dec9e21649b856fe73c77b
ndroid/internal/transition/ActionBarTransition.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/widget/ActionBarView.java
99cea983de196aae34a39cd4eb03ae1f93cc771a 09-Sep-2013 Mindy Pereira <mindyp@google.com> Merge "Update default ramp up time for autoscroller." into klp-dev
80213adddaec79981aff47c81bdaac38725f2644 09-Sep-2013 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #10671878: Proc stats needs to remove old data structures" into klp-dev
013634cc44d62fe90cd3e80a7530cffdc79f9715 09-Sep-2013 Alan Viverette <alanv@google.com> Merge "Add WebVTT caption renderer" into klp-dev
35980b2cf51c06c1bdad66b7f8fb629d9c17052f 03-Sep-2013 Eric Rowe <erowe@google.com> Add PID and application to Java crash printout

Bug: 10568405
Change-Id: I508e89bf7ea58e15a8460099036e270139b2e2a9
ndroid/internal/os/RuntimeInit.java
498301d8b554f3806ddb01acd2ea98c27132a0e2 09-Sep-2013 Alan Viverette <alanv@google.com> Merge "Add drag-to-open for action bar submenus" into klp-dev
be4c1d74a758f40de25e796a991ccfd1fe356857 09-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10671878: Proc stats needs to remove old data structures

We now keep track of which process and service states are actively
in use, and remove any that are not in use during a commit. The
activity manager needed to be tweaked to report this data, and ensure
it does not try to operate on one of these structures when not in
use.

Also some other fixes:

- We now keep track of process names associated with services, for
display in the UI.
- Keep track of total run time for each service, also for UI.
- The parceled format is more efficient, not storing duplicates of
process/package names, and writing times as ints when possible.
- Reduced commit period from 1 day to 12 hours, so that our UI can
be a little closer at its attempt to display the stats over 1 day.

Change-Id: Ifeda0ffe963a7b49d8eb2a3f6923f3a5e71a4e43
ndroid/internal/app/ProcessStats.java
d43daf361e993457e64eeeddab6d1a0ebc828c99 06-Sep-2013 Alan Viverette <alanv@google.com> Add WebVTT caption renderer

Currently missing support for region anchor points, robust layout
when snapping to lines, and vertical text.

BUG: 10260603
Change-Id: I3463b4aa0039442159144e66922d67f5dfee58ed
ndroid/internal/widget/SubtitleView.java
6a18f4ab29cbe1133f30c337e0c686b1d5e78789 06-Sep-2013 Mindy Pereira <mindyp@google.com> Update default ramp up time for autoscroller.

2500 was too much and drowning the behavior where closeness to
the edge should set the speed.

Change-Id: If32999893d9ab59a0b77bd2b79b698a3baa64113
ndroid/internal/widget/AutoScrollHelper.java
fbe4a586c29b6e415e8d39d73d19bd7f0215a851 06-Sep-2013 Alan Viverette <alanv@google.com> Add drag-to-open for action bar submenus

BUG: 10649895
Change-Id: I5076e0d09453a75ed20c44eede4b43e8a2f535fd
ndroid/internal/view/menu/ActionMenuPresenter.java
d4a8b9d3c1b2ad4a65063f867665e38b8a5f9c0f 06-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10650718: Camera DOA on KLP

Methods not kept in sync.

Change-Id: I2621255707bbc569ac476b8fb0f7e82f68585b12
ndroid/internal/app/IAppOpsService.aidl
911d7f411f36f2279aae44c89ff1d33a29140046 06-Sep-2013 Jeff Sharkey <jsharkey@android.com> Provide calling package to ContentProviders.

The calling package is important for ContentProviders that want to
grant Uri permissions as a side effect of operations, so offer it
through a new API. Validates the provided package against the
calling UID before returning.

Bug: 10626527
Change-Id: I7277880eebbd48444c024bcf5f69199133cd59e4
ndroid/internal/app/IAppOpsService.aidl
f1eebfc2cf47b7fb6ed8dfd06fb124f78ca3519e 06-Sep-2013 Amith Yamasani <yamasani@google.com> Merge "Remove unused APIs and rename others based on API review" into klp-dev
d304af69891483aad808356af1ac5f00e90c8edf 05-Sep-2013 Amith Yamasani <yamasani@google.com> Remove unused APIs and rename others based on API review

Restrictions challenge is only to be used by device admins.

Bug: 10461761
Change-Id: I3db1249e2ce99f386602de59ed930302bb0a97fb
ndroid/internal/app/RestrictionsPinActivity.java
ndroid/internal/app/RestrictionsPinSetupActivity.java
e8222dddaf2e3da14380101e818d4254899e0c0d 05-Sep-2013 Chet Haase <chet@google.com> Change build version from KEY_LIME_PIE to KITKAT

Issue #10631619 Change build version to KitKat

Change-Id: I6ad13f6169ad74204078d36929479998b498ad8b
ndroid/internal/widget/ActionBarOverlayLayout.java
3cd28adc5df3cbf4a5269e30351e1f767b974036 04-Sep-2013 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #10427108: Google+ has long running process" into klp-dev
ae36b236d2b8d040f142bee169742da2f392efaa 04-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10427108: Google+ has long running process

There was a bug in counting the number of starting services
in a process that would cause it to count too many (it would
increment at any state change while the service is started, not
just when starting/stopping).

Also reduce dumpsys output -- only print summaries for old
data. There is probably no utility in printing the long details
of all that data.

Change-Id: I1c1e901b0214c01eb7d071f23166fc6f3702ca67
ndroid/internal/app/ProcessStats.java
ndroid/internal/os/ProcessCpuTracker.java
4cf435a038be4731c06602785f7dab8bee0b55af 04-Sep-2013 Geoffrey Borggaard <geoffreyb@google.com> Merge "UX improvements to the restrictions PIN" into klp-dev
7eed075a43479ea646821c798b61b49bf53945b3 03-Sep-2013 Amith Yamasani <yamasani@google.com> Merge "Don't call setLastChosen if it's a chooser activity instance" into klp-dev
588dd2a3d67435652545645bca9562c066561cda 03-Sep-2013 Amith Yamasani <yamasani@google.com> Don't call setLastChosen if it's a chooser activity instance

Bug: 10605359
Change-Id: If76f5cf2f45442dc25f9bfbd20a4d671b9caa358
ndroid/internal/app/ResolverActivity.java
bc7e4b2cd5a7068fbcd9de8eb0e2e7a9f596479b 31-Aug-2013 Alan Viverette <alanv@google.com> Merge "Update internal AutoScrollHelper to match support lib version" into klp-dev
8135f3a9d306f5cd23c1a4f86c86a577060487c3 29-Aug-2013 Geoffrey Borggaard <geoffreyb@google.com> UX improvements to the restrictions PIN

As per Rachel. Remove the title, change the hint text.
Don't make the dialog disappear after failed attempts.
Bug: 10542734

Change-Id: I1cae3d74bd4da06364626d63faf945f629cf6537
ndroid/internal/app/RestrictionsPinActivity.java
ndroid/internal/app/RestrictionsPinSetupActivity.java
cb168795fecd57ea5bf28de3c4973c4bc196ea7b 30-Aug-2013 Alan Viverette <alanv@google.com> Update internal AutoScrollHelper to match support lib version

BUG: 10547956
Change-Id: I7d5b1b9fb89ae8ff4294cc2dfd01e29b55ed3eba
ndroid/internal/widget/AutoScrollHelper.java
79a45c6f1837d5921e512213904c96660b1a80b1 29-Aug-2013 Amith Yamasani <yamasani@google.com> Merge "Improve Intent disambig dialog behavior" into klp-dev
0d3da1232bf967e427477ab4d4c58eb3e933f17e 29-Aug-2013 Mindy Pereira <mindyp@google.com> Fix case when user touches the very edge of a view

This now counts touches at the exact top edge of the view as valid

Change-Id: I9e81a7001632c38d567dde40954e079e7145fa36
ndroid/internal/widget/AutoScrollHelper.java
e9ecc8b49992840249bfb9d5d52b8824dd5de39b 22-Aug-2013 Amith Yamasani <yamasani@google.com> Improve Intent disambig dialog behavior

Keep track of last chosen activity for a particular intent, similar
to how it is tracked for "Always" choices.
Pre-select the last chosen activity if previously the user picked
"Just once".
Downgrade "Always" to "Last chosen" if there's a new kid on the block,
instead of removing it entirely.
Add methods to set and get last chosen entry.

UI - switch from Grid to List.

Bug: 9958096

Change-Id: Ied57147739a3ade1d36c3a7ec1e8ce77e5c5bb16
ndroid/internal/app/ResolverActivity.java
d381680b63a36f8a4f1b07286947f1227d83139d 27-Aug-2013 Christopher Tate <ctate@google.com> Merge "Make sure to actually log when Log.wtf() hiccups" into klp-dev
941adc95e121332b49aedb5406b6037a6395aea6 27-Aug-2013 Christopher Tate <ctate@google.com> Make sure to actually log when Log.wtf() hiccups

Bug 10494724

Change-Id: I687d7df73a8f4594d42955f100d928e98bbd9b30
ndroid/internal/os/RuntimeInit.java
d220a830f4fb0e13e31d7632eb04f70fedd31e97 27-Aug-2013 Chris Wren <cwren@android.com> Merge "Change DBG to false to eliminate logcat messages." into klp-dev
6b8c69edd210ad86eb659e06681422bb29ba2123 27-Aug-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "Update AccessibilityNodeInfo API as per API council request" into klp-dev
cb8ed39b3fb591be60b9fb1799d4ea4530eab758 24-Aug-2013 Svetoslav Ganov <svetoslavganov@google.com> Update AccessibilityNodeInfo API as per API council request

bug:10461302

Change-Id: I9709a271ab3720e064b98c79c0950d811fe37b73
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ListMenuItemView.java
faf7a2087e1228599c7b08a679a764d2abb0e9ed 26-Aug-2013 Alan Viverette <alanv@google.com> Merge "Add auto-scrolling in ListPopupWindow drag-to-open mode" into klp-dev
9212e350d52ea98cb673280870c54319b03ccad3 26-Aug-2013 Alan Viverette <alanv@google.com> Merge "Reconcile drag-to-open and touch event interception" into klp-dev
63410109977a932e342a624243dbd9427e29fe36 24-Aug-2013 Scott Greenwald <greenwald@google.com> Change DBG to false to eliminate logcat messages.

DemoContactNotificationScorer was spamming logcat because DBG was
set to true. Also changed TAG to match the class name.

Bug: 10457063
Change-Id: Idca251b5b46d58ab64407e94ed4bec831e880aa4
ndroid/internal/notification/DemoContactNotificationScorer.java
f45bb403884f30ecb383698ef1bcb1c7dc1964b8 21-Aug-2013 Jim Miller <jaggies@google.com> Add setting to disable keyguard widgets

This allows disabling keyguard widgets through Settings.
On new devices, the setting is turned off by default. If the
user currently has widgets in keyguard, then we keep them
and re-enable the setting.

Change-Id: I7258921231d439925ac8627105710efa99309094
ndroid/internal/widget/LockPatternUtils.java
69960142efa8d228adbfcbabdcf618426e31e1f5 23-Aug-2013 Alan Viverette <alanv@google.com> Reconcile drag-to-open and touch event interception

Changes behavior such that dragging on a Spinner that's inside
of a ScrollView will only scroll after a tap delay.

BUG: 10442971
Change-Id: I9fa9c5f0cf99e0cd158f52b6fa7a109ce1b6b8b1
ndroid/internal/view/menu/ActionMenuPresenter.java
2b10b52f6c08eb79f48f7388e2f1c69f58a9c96d 21-Aug-2013 Satoshi Kataoka <satok@google.com> Add new API shouldOfferSwitchingToNextInputMethod

Bug: 8364845
Change-Id: I6767f5640a07aa515a930645b0cf0b36fbe94831
ndroid/internal/view/IInputMethodManager.aidl
398ec0368bc82dad6f3d120cd15e01b741320436 21-Aug-2013 Alan Viverette <alanv@google.com> Move caption view from Settings into framework

Renamed to SubtitleView, moved dimensions into resources.

BUG: 10260603
Change-Id: I5d86ee21ca260540ba3201c5295a5c1353e2d963
ndroid/internal/widget/SubtitleView.java
5e66021c8a24c27c470cc6b9fe49e5653f3fa05d 21-Aug-2013 Alan Viverette <alanv@google.com> Add auto-scrolling in ListPopupWindow drag-to-open mode

BUG: 9437139
Change-Id: I836c60b48b31d0a5cc32eef903da9dc0b9b9d8a5
ndroid/internal/widget/AutoScrollHelper.java
a2e88ef89611d69b65b1830cc5ffebfb679e9d4d 21-Aug-2013 Alan Viverette <alanv@google.com> Merge "Move forwarding code to ListPopupWindow, add drag-to-open in Spinner" into klp-dev
5feb0ad1d234cc7146286e96f96ae162bd628363 21-Aug-2013 Alan Viverette <alanv@google.com> Merge "Use MULTI_LINE and OPENS_POPUP accessibility properties" into klp-dev
fd589c1d946ca7633da43ae8e1b4989cb0a73043 21-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Merge "Notify IP address changes to interface observers." into klp-dev
10fa8c0626dbc0a875fe2543bf3c14d617dee9fb 21-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Merge "Make BaseNetworkObserver available to core code" into klp-dev
5c7daac2e3d9020185699ba554d763b825ab1778 05-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Notify IP address changes to interface observers.

1. Add addressUpdated and addressRemoved methods to
INetworkManagementEventObserver. (The -Updated method is not
called -Added because it gets called for both adds and
changes.) Update all its callers in the tree.
2. Make NetworkManagementService parse IP address notifications
from NetlinkHandler and call the address{Removed,Updated} on
its observers.

Bug: 10232006
Change-Id: Ieb185dbba052bdbff03caafc0cf5397a7f04dc6d
ndroid/server/net/BaseNetworkObserver.java
df86a9f2e92d077386b146fe483b2cf14850737d 20-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Make BaseNetworkObserver available to core code

Currently BaseNetworkObserver is in frameworks/base/services, but
there is code in frameworks/base/core that could use it. This
code typically extends INetworkManagementEventObserver.stub
because BaseNetworkObserver is not available.

Move BaseNetworkObserver to frameworks/base/core without changing
its package name, and use it to simplify two callers. The third
caller, Tethering, is much larger, and I'm not sure it's
appropriate to change it.

Bug: 10232006
Change-Id: Ifc0f2e619e3424e27e35730c048a1cc523df345e
ndroid/server/net/BaseNetworkObserver.java
058ac7cfe5bb7b9ecc411b94622ac3f31a7fa25e 20-Aug-2013 Alan Viverette <alanv@google.com> Use MULTI_LINE and OPENS_POPUP accessibility properties

BUG: 10391326
Change-Id: Ib2deeeef401802b6dde646e14ee5367141469a58
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ListMenuItemView.java
269403b032f965ff3847eb982c2f697229dc5a92 15-Aug-2013 Svetoslav <svetoslavganov@google.com> Implemented advanced printer selection and API refactoring.

1. Added past printer history tracking and merging favorite printers
with discovered printers.

2. Added save as PDF support.

3. Added all printers activity with search capability and optional
add printers chooser (if any print service provides add printers
activity)

4. Refactored the printer discovery session APIs. Now one session
can have multiple window discovery windows and the session stores
the printers found during past discovery periods.

5. Merged the print spooler and the print spooler service - much
simpler and easier to maintain.

Change-Id: I4830b0eb6367e1c748b768a5ea9ea11baf36cfad
ndroid/internal/os/HandlerCaller.java
ca6a3611cdb28a514834adba35fcce2da6f2e7c2 16-Aug-2013 Alan Viverette <alanv@google.com> Move forwarding code to ListPopupWindow, add drag-to-open in Spinner

BUG: 9437139
Change-Id: I4599cf65a472b2ce74d2301988359d87917a6eec
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/MenuPopupHelper.java
ndroid/internal/view/menu/TouchForwardingListener.java
c05027214f1f4dda67296a072dfc9af9176dc590 16-Aug-2013 Alan Viverette <alanv@google.com> Forward events to ListPopupWindow, highlight touched items

Moves most of the drag-to-open behavior into ListPopupWindow's
particular implementation of ListView. Uses hidden View API for
forwarding events between different windows.

Overflow menu opens on first touch, closes on touch end outside
the overflow button. Clicks that occur during drag-to-open mode
result in alpha animation of the selector drawable.

BUG: 9437139
Change-Id: I70f540555a03450638a27880b3ae3b031ca6e2ed
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/MenuPopupHelper.java
b0037316c4bbaf9d5b3ee8af563caf2539def564 10-Aug-2013 Dianne Hackborn <hackbod@google.com> Merge "More stuff I need for the proc stats UI." into klp-dev
69cb00b8dda60eff7449b69723f4e73a28e944f8 10-Aug-2013 Dianne Hackborn <hackbod@google.com> More stuff I need for the proc stats UI.

Change-Id: I5f05b79bc4d5766a80f2db9d20ba8078b60c1b00
ndroid/internal/app/IProcessStats.aidl
ndroid/internal/app/ProcessStats.java
f6c7a5fd6680d74972738e60ad5c9cf34bfc43ef 09-Aug-2013 keunyoung <keunyoung@google.com> Merge "add local focus mode and input event injection API to Window" into klp-dev
60444fd594ac92aa48e229c600c2ce7de4caf2d1 09-Aug-2013 Dianne Hackborn <hackbod@google.com> Add method for adding two ProcessStats objects together.

Also move file reading code over to ProcessStats.

Change-Id: Ib42272b90a408a494044965e98beed16c0b3f8a5
ndroid/internal/app/ProcessStats.java
30f420fd6a74ffa28b351b4aba74d44f5ea48dda 02-Aug-2013 keunyoung <keunyoung@google.com> add local focus mode and input event injection API to Window

- This enables keyboard navigation for window without focus.
- FLAG_LOCAL_FOCUS_MODE puts window into local focus mode.
- Application needs to put window in local focus mode, control focus, and
inject events to make dpad navigation work.
- Window in local focus mode does not interact with window manager or ime
regarding focus related events.
- Also renamed ViewRootImpl.dispatchKey to dispatchInputEvent to allow both key and touch events injection.

Change-Id: I8e8561f29e0dade3797fb7ae3ee7690e6b7f8895
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
184a0100abc431fc3d6d8dd1b20212b84958cada 11-Jul-2013 Jeff Sharkey <jsharkey@android.com> Allow packages.list access with new GID.

The FUSE daemon is using packages.list to map from package name to
appId after it drops permissions, so create a new "package_info" GID
to grant read access.

Also switches FileUtils to use Libcore.os.

Change-Id: I9451ca4e90e8a985526805c6df0888a244a1db36
ndroid/internal/os/ZygoteInit.java
8a0de58ece89c467c8e7415097d193e5f8db9db8 08-Aug-2013 Dianne Hackborn <hackbod@google.com> Get ProcessStats callable from other processes.

Also fix a bug where, when parceling the stats, we were
computing the final duration values too late. We need to
do that before we write the long table.

Change-Id: Idb6c1ed95417448c56973fe5866bfb3570e525f4
ndroid/internal/app/ProcessMap.java
ndroid/internal/app/ProcessStats.java
f6971c80fd413cad8e5333cd3184f41fcf64e14b 08-Aug-2013 Daniel Sandler <dsandler@android.com> Merge "OK, now it's a release." into klp-dev
06c0e408c4f06fdb9a5785baebeb293391711e65 08-Aug-2013 Daniel Sandler <dsandler@android.com> OK, now it's a release.

Bug: 10239687
Change-Id: I38a86926f32e5877cd47ae5e4b625a811478aadc
ndroid/internal/app/PlatLogoActivity.java
b3c21ac7c661022534135bf688a75ec35fe3a8f2 07-Aug-2013 Satoshi Kataoka <satok@google.com> Reduce the transaction fee of getEnabledInputMethodSubtypeList

Bug: 8467480
Change-Id: If18cce8fbe567df51f29adcdcedff3f743460b8b
ndroid/internal/view/IInputMethodManager.aidl
23fb6e84182f325f036b1735b817ecc253e2bd19 07-Aug-2013 Dianne Hackborn <hackbod@google.com> Start adding IPC calls to retrieve proc stat data.

Also fix a bug where we were not correctly unparcelling service
duration data.

Change-Id: Ie9113b2e3a747622441b1939ffc45edb5803a10f
ndroid/internal/app/IProcessStats.aidl
ndroid/internal/app/ProcessStats.aidl
e9a6f9713ca48aab9a6c87e0645cb0a0af946a11 07-Aug-2013 Satoshi Kataoka <satok@google.com> Reduce the transaction fee of getEnabledInputMethodSubtypeList

Bug: 8467480
Change-Id: Ic1fddfe433e097041fcb09d1fd341d77d7d8b13b
ndroid/internal/view/IInputMethodManager.aidl
d2932243e3313b59e7538641731aa98852bc5ac7 06-Aug-2013 Dianne Hackborn <hackbod@google.com> Refactor ProcessStats, ProcessTracker.

ProcessStats is now called ProcessCpuTracker.

ProcessTracker is now ProcessStatsService, and its inner State
class is broken out into a separate top-level ProcessStats class.
This ProcessStats is moved to the framework, so we will be able
to use it elsewhere.

Change-Id: I6a127bcb835b6b474b72647c0b99b82c2137e5c5
ndroid/internal/os/ProcessCpuTracker.java
ndroid/internal/os/ProcessStats.java
32230ef4e67291d5dc1357bbcb452fdc9d65b1c5 05-Aug-2013 John Spurlock <jspurlock@google.com> Merge "Collapse/disable shade when hiding status bar window."
7ce7f32257a1e49493d38b96f503069226e98c9a 05-Aug-2013 Satoshi Kataoka <satok@google.com> Open an internal utility of InputMethodUtils

Change-Id: I240e914bc21efce8554145619c403d547a17ad19
ndroid/internal/inputmethod/InputMethodUtils.java
f76ff0552bbef531c33ef0cb322932d03b7e6632 04-Aug-2013 Chris Wren <cwren@android.com> disable notification scorer by default.

Bug: 10163077
Change-Id: Icd03786dfe59cb26281738ae0be28d14cb5741f9
ndroid/internal/notification/DemoContactNotificationScorer.java
0770f9ef66f6e0d8724c972fbdce81aae6de2ca1 03-Aug-2013 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of c8911ddd to master

Change-Id: I790b547268a23848577199256fc5abc9bdb7abb8
c8911ddd486776662e09a6822d4929074d40024d 03-Aug-2013 Dianne Hackborn <hackbod@google.com> am 373a2f15: am 607b414d: Add new app ops method to reset all op modes.

* commit '373a2f15667956ff8a00ba59b42972b9c930af92':
Add new app ops method to reset all op modes.
607b414d0444067e166fa54d8ea37563f2715ea3 03-Aug-2013 Dianne Hackborn <hackbod@google.com> Add new app ops method to reset all op modes.

Change-Id: I5ee6764de8dc31d812e5a788914ab0099bbef4c0
ndroid/internal/app/IAppOpsService.aidl
066f2107a1cbdf0fb877f176afdc30353e2d9d0c 02-Aug-2013 Adam Powell <adamp@google.com> Merge "Fix a regression where android:windowContentOverlay did not draw properly."
9b0dc2894df1c3d26aa6196ecdef1989967e6ec9 31-Jul-2013 Adam Powell <adamp@google.com> Fix a regression where android:windowContentOverlay did not draw properly.

This was the victim of an earlier refactoring. Have the
ActionBarOverlayLayout draw this directly over the content so that it
can stay properly in sync with any animations and also remove an extra
couple of views from the decor layout.

Some apps now expect the broken behavior in default themes. Protect
them from themselves until they bump their targetSdkVersion.

Public bug https://code.google.com/p/android/issues/detail?id=58280

Change-Id: I4284503577e322f3e68d4a7fabda8441d3749b98
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarOverlayLayout.java
87c291421544821fe9d10a08ee4e9f31b62d5052 31-Jul-2013 Satoshi Kataoka <satok@google.com> Add a debug utility for InputMethodUtils

Change-Id: I59f6001bf20640e36e19b09cf117b8579120ba7d
ndroid/internal/inputmethod/InputMethodUtils.java
9764218ff979f735aee2f1189e3547d5f3b02f83 29-Jul-2013 John Spurlock <jspurlock@google.com> Collapse/disable shade when hiding status bar window.

Provide system bar window visibility (showing/hiding) to sysui,
information it did not have before.

Use this new info to disable shade interaction when bars are hiding.

Bug: 8682123
Change-Id: I4105b789866f847582af1c68a703240d773fa71e
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
0766eb045c0e2ecbc4317743b025618654ddea38 31-Jul-2013 Satoshi Kataoka <satok@google.com> Small refactor on InputMethodUtils

Change-Id: Ie4f797508c02abb13c7fe1be162ec4dc18829925
ndroid/internal/inputmethod/InputMethodUtils.java
80e72700858eb58b379f77a0da5fd3a98e1aa07c 29-Jul-2013 Alan Viverette <alanv@google.com> Implement drag to open overflow menu, lift to select

BUG: 9437139
Change-Id: Iaa962453ba1b2c739a04b6b1be4f6de1fb2fa752
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/MenuPopupHelper.java
ndroid/internal/view/menu/TouchForwardingListener.java
eb219ee190b4ceb662b81a93e6d4369bcd5e7dc0 29-Jul-2013 Satoshi Kataoka <satok@google.com> Change visibility of the hidden input method utility

Change-Id: I66303bc9e056388fef8cc884d7d98b0660ccdd15
ndroid/internal/inputmethod/InputMethodUtils.java
9a05b31aab8b4f2c431fda8c14aa7816eb4a91ad 28-Jun-2013 Scott Greenwald <greenwald@google.com> Add support for notification scorers.

This CL adds an interface and classes for scoring notifications.
The NotificationManagerService initializes an array of scorers
specified as a resource. When a Notification is enqueued, the
getScore() method is called successively on the scorers, each
getting the Notification to be scored, and the score outputted
by the previous scorer. At present there is a single scorer
which prioritizes Notifications that mention the display name of
a starred contact.

To turn off the StarredContactNotificationScorer:
adb shell settings put global contact_scorer_enabled 0

Change-Id: Ic16c80952e7c85bdde292ebb3f7900efb01f2e29
ndroid/internal/notification/DemoContactNotificationScorer.java
ndroid/internal/notification/NotificationScorer.java
1b6868cc4b8455e8660ba35ccdcc34abbaa43ffa 23-Jul-2013 Geremy Condra <gcondra@google.com> Merge "Support multiple Vpn ManageDialogs"
1a7472e7220a2b027464fb4a2281550f784a2ca3 02-Jul-2013 Amith Yamasani <yamasani@google.com> Have UserManagerService clear the restrictions and unblock apps

Since this is an operation that could take a few seconds to run and needs to be
completed even if Settings dies, best to do it in the user manager.

Refactored PIN challenge/setup UI with a field to verify existing pin
when changing to a new one.

Change-Id: I0b7df5b2ccb7f343aa9282a9245d3bc2b577a794
ndroid/internal/app/RestrictionsPinActivity.java
ndroid/internal/app/RestrictionsPinSetupActivity.java
06f2122050da10eae25c6a292c7ef92c49e3c311 18-Jul-2013 Dianne Hackborn <hackbod@google.com> Merge "Make it safe to use start/stop app ops outside of system proc"
4c8dfabff440aa7dd6fd23187c300855db8882e6 18-Jul-2013 Elliott Hughes <enh@google.com> am e9643874: am 0bad5370: Merge "Handle missing and invalid numeric values in XmlUtils."

* commit 'e964387466e380f17e28ab3dd75139509d043ffd':
Handle missing and invalid numeric values in XmlUtils.
e964387466e380f17e28ab3dd75139509d043ffd 18-Jul-2013 Elliott Hughes <enh@google.com> am 0bad5370: Merge "Handle missing and invalid numeric values in XmlUtils."

* commit '0bad537093ed5b493e4c2af778cf802a2cf2c15f':
Handle missing and invalid numeric values in XmlUtils.
0bad537093ed5b493e4c2af778cf802a2cf2c15f 18-Jul-2013 Elliott Hughes <enh@google.com> Merge "Handle missing and invalid numeric values in XmlUtils."
e98f5dbe6b6f9f2cb6a73ee750faacda2596b34f 18-Jul-2013 Dianne Hackborn <hackbod@google.com> Make it safe to use start/stop app ops outside of system proc

We now keep track of all of the active start operations per
non-system process, so they can be cleaned up if the process
goes away.

Change-Id: I9d05f1e0281c47dbe1213de014f0491f1359685c
ndroid/internal/app/IAppOpsService.aidl
bf6ff2c025405a3af496fe558dfc4468a9b45cc8 17-Jul-2013 Chad Brubaker <cbrubaker@google.com> Support multiple Vpn ManageDialogs

Move away from storing the configs in the Intent to prevent issues with
PendingIntents and multiple configs.

The Dialog now queries ConnectivityService for the configuration to
display in the management dialog.

Change-Id: I0e0ef52db840152914d117a24f776d8106e836ff
ndroid/internal/net/VpnConfig.java
2dc27f22c9f2ff5de9f9e7d578391ba2abb9815c 16-Jul-2013 Adam Powell <adamp@google.com> Fix collapsible action views.

Fix a regression caused by a previous overzealous refactoring. (Oops.)
Watch those conditionals, everyone!

Bug 9866559

Change-Id: Ia88a4ee38edef378e70bdc7151c825375a3d482d
ndroid/internal/view/menu/MenuItemImpl.java
08ec9b2f93a6196b49fe6adc3d98b1ad38b068b2 16-Jul-2013 Alan Viverette <alanv@google.com> Merge "Revert "Update ListMenuItemView to use a single RelativeLayout""
d9ddf52c1281db14d9243ecef6c07bdeed1e6e34 16-Jul-2013 Alan Viverette <alanv@google.com> Revert "Update ListMenuItemView to use a single RelativeLayout"

This reverts commit 8933efd49a0b2c10ddb30b23b57f5676634d0277.

BUG: 9774755
Change-Id: Ib6481e396092da81edd2c69f619f45f61e8fa393
ndroid/internal/view/menu/ListMenuItemView.java
045ad910b7efb912725b4fdc9e710d9a1d3d9d65 15-Jul-2013 Geremy Condra <gcondra@google.com> Merge changes Ia6646363,I94389b64

* changes:
Add per user VPN support
Add NetworkUtil function for marking sockets
4ca19e8377f33e8a80684fb4ee67f5a4bdc9ea76 14-Jun-2013 Chad Brubaker <cbrubaker@google.com> Add per user VPN support

VPNs are now per user instead of global. A VPN set by user A routes only
user A's traffic and no other user can access it.

Change-Id: Ia66463637b6bd088b05768076a1db897fe95c46c
ndroid/internal/net/VpnConfig.java
cc5b49f07ff856677cdfdbb0ecff1dcaeaaedc66 12-Jul-2013 Adam Powell <adamp@google.com> Merge "Fix MenuItemImpl#hasCollapsibleActionView for action providers"
b4c8ba49ac6ccce8e5c7904741f4adff05e37640 12-Jul-2013 Adam Powell <adamp@google.com> Fix MenuItemImpl#hasCollapsibleActionView for action providers

hasCollapsibleActionView was previously checking only that mActionView
was not null, even if the item had a valid ActionProvider that would
later lazily create an action view when prompted. Account for this and
attempt to create the action view if needed when
hasCollapsibleActionView is called.

Bug 8732876

Change-Id: Idf7b329770f686208882509b82a4cb13c70ef32c
ndroid/internal/view/menu/MenuItemImpl.java
ea04f3cfc6e245fb415fd352ed0048cd940a46fe 11-Jul-2013 Adam Powell <adamp@google.com> Always show overflow buttons on action bars

The menu button is not pining, it's passed on! This button is no more!
It has ceased to be! It's expired and gone to meet its maker! It's a
stiff! Bereft of life, it rests in peace! If you hadn't nailed it to a
flagship device it'd be pushing up the daisies!

THIS IS AN EX-BUTTON!!

Change-Id: Id523ef8efa7d0fa7120f8430222ac892fcafefda
ndroid/internal/view/ActionBarPolicy.java
9865ef1ba5800ec4ab82936eb016c3f563b07cbf 11-Jul-2013 Dianne Hackborn <hackbod@google.com> Merge "Add -c option to meminfo to dump a compact form."
20cdcee47d10986969e7e2a53a40a6ecabae3827 11-Jul-2013 Dianne Hackborn <hackbod@google.com> Add -c option to meminfo to dump a compact form.

Also fix a bug in FastPrintWriter where println(long) was
not printing the newline.

Change-Id: Idcb4eaab0c1ec4b992032b5e36478ef11a6533d9
ndroid/internal/util/FastPrintWriter.java
c39451267bd0c484f7d9a7ae6475533268be6640 10-Jul-2013 Adam Powell <adamp@google.com> Fix ListMenuItemView regression from patch 8933efd49

Passing 'true' as the third parameter of LayoutInflater#inflate does
cause it to add the inflated view to the parent in a single step, but
it also changes the return value to be the root of the resulting
hierarchy after the add rather than the root of the inflated layout.

Return to adding the view to its parent as a separate step.

Bug 9754101

Change-Id: I7ca4c921993594931f5007af69d45e9ff06065df
ndroid/internal/view/menu/ListMenuItemView.java
42e230cdb4dbd9c84456bfe3d60fb9115be44fe8 09-Jul-2013 Satoshi Kataoka <satok@google.com> Merge "Consolidate InputMethodUtils"
b282726d8604dad3ac06e9d8bf167f19332a05d7 04-Jul-2013 Satoshi Kataoka <satok@google.com> Consolidate InputMethodUtils

Change-Id: Ib5a5f3af8ea9eaaa81697d13c20abe28121e7373
ndroid/internal/inputmethod/InputMethodUtils.java
a2bbb9a7d1a65eff929bb280201fd07c30ee35d1 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 6cd4281d: am 65ba6d11: am 1e7276ce: Merge "Fix typo in AlertController.java"

* commit '6cd4281dae6c1de0196f79c6c155f75602de64f6':
Fix typo in AlertController.java
6cd4281dae6c1de0196f79c6c155f75602de64f6 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 65ba6d11: am 1e7276ce: Merge "Fix typo in AlertController.java"

* commit '65ba6d11e1f3ecf33a5b6e68ab8a6322e993b4d8':
Fix typo in AlertController.java
65ba6d11e1f3ecf33a5b6e68ab8a6322e993b4d8 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 1e7276ce: Merge "Fix typo in AlertController.java"

* commit '1e7276ce35f68c2df10b52c8adf8adc2882b8671':
Fix typo in AlertController.java
1e7276ce35f68c2df10b52c8adf8adc2882b8671 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> Merge "Fix typo in AlertController.java"
2ddce3226e2a1f380dfc4ad3f7e962dfdbfc39dd 01-Jul-2013 Vladimir Marko <vmarko@google.com> Handle missing and invalid numeric values in XmlUtils.

Convert these errors to XmlPullParserException.

Bug: 8584433
Change-Id: I070ed517682e7f047ec00271db26110da2bebb09
ndroid/internal/util/XmlUtils.java
f406e230125bc0328e80ffbc2ede92e61affe733 29-Jun-2013 Dianne Hackborn <hackbod@google.com> Merge "More work on procstats: save/restore state, fixes."
904a857d5a319e32d1df065b38e3191324b35b0f 29-Jun-2013 Dianne Hackborn <hackbod@google.com> More work on procstats: save/restore state, fixes.

We now persistent the current procstats to storage
to keep them across boots. Still need to do division
and pruning across days; right now they will just keep
collecting forever.

Also fix some bugs in the checkin output.

Change-Id: I4dd9317dbe2ee0642af8f2f0be1f2bd9c4055e80
ndroid/internal/os/BatteryStatsImpl.java
6e7affeb3d0d026db20690072d8a661847888a42 29-Jun-2013 Elliott Hughes <enh@google.com> am b8292830: resolved conflicts for merge of a920f25f to jb-mr2-dev-plus-aosp

* commit 'b8292830f79fc76ffb9a1be5cd316212ac494d03':
Switch frameworks/base over from @hidden Charsets to public StandardCharsets.
b8292830f79fc76ffb9a1be5cd316212ac494d03 29-Jun-2013 Elliott Hughes <enh@google.com> resolved conflicts for merge of a920f25f to jb-mr2-dev-plus-aosp

Change-Id: I3349f8d2e6715171e2677c1385122ceb2810c1f6
a920f25fe55fc9afc7640902a200f19ce278588b 29-Jun-2013 Elliott Hughes <enh@google.com> resolved conflicts for merge of fca0f92e to stage-aosp-master

Change-Id: I4791f0ffa324a313b8390fbde6d8f82f716ecf74
d396a448b2e36e29598c954b64bfddef73f3fae0 29-Jun-2013 Elliott Hughes <enh@google.com> Switch frameworks/base over from @hidden Charsets to public StandardCharsets.

Bug: 3484927
Change-Id: I5d136d2ee629588538602766a182ae14ce5fc63c
ndroid/internal/net/VpnProfile.java
ndroid/internal/util/ProcFileReader.java
afb292a23cd56e6f328164ede81522afe7ef1f89 28-Jun-2013 Jim Miller <jaggies@google.com> Merge "Simplify wake management code in keyguard."
e51cf7aeb6157017801a802b4c1d74cbf51b7a01 26-Jun-2013 Jim Miller <jaggies@google.com> Simplify wake management code in keyguard.

Removes onWakeKey/Motion handling from keyguard since it's no longer used.
The legacy code was originally intended to have keyguard filter wake events
which is now done in PhoneWindowManager. Ultimately it just needs to call
PowerManager.wakeUp() since keyguard no longer filters these keys.

Change-Id: I5b8ef9b422abf850a85b57f21944e5eb09fbedc2
ndroid/internal/policy/IKeyguardService.aidl
673e64dd627d4d6effc17648b2246d3b0af679b7 27-Jun-2013 Alan Viverette <alanv@google.com> Merge "Optimize width measurement and cache result in MenuPopupHelper"
62339911badb1fea2333cc6622a72c9a81b90659 27-Jun-2013 Alan Viverette <alanv@google.com> Merge "Update ListMenuItemView to use a single RelativeLayout"
053f61d6a6e23825e680dc49982e55c5b4299d61 27-Jun-2013 Dianne Hackborn <hackbod@google.com> Work on issue #9586838: Crash after waking up Hammerhead device

I made the power manager more rigid, not allowing different uids
to use the same wake lock. This never should happen. I would
guess there is somewhere that the activity manager is acquiring
the wake lock without clearing the calling identity... but it is
hard to follow all the paths this may happen in. So here we add
some checks when acquiring/releasing the wake lock to make sure
it is being done as the system uid.

Also:

- Protect the new activity stack calls with a permission, and
make sure to clear the calling uid once past that.
- Collect uid data from process stats so we can correctly
associate CPU use with a uid even if we don't know about the
pid for some reason.
- Fix battery stats dump commands to clear calling uid before
executing so they aren't broken.

Change-Id: I0030d4f7b614e3270d794ecfc3669139a5703ce9
ndroid/internal/os/ProcessStats.java
0bce6ab8cd8aadc9784dda2f3f4cc9dd91b796c7 27-Jun-2013 Alan Viverette <alanv@google.com> Optimize width measurement and cache result in MenuPopupHelper

BUG: 9591217
Change-Id: I0cc2fad39f967e92b2c954f6417430a42dce8e43
ndroid/internal/view/menu/MenuPopupHelper.java
8933efd49a0b2c10ddb30b23b57f5676634d0277 27-Jun-2013 Alan Viverette <alanv@google.com> Update ListMenuItemView to use a single RelativeLayout

BUG: 9591217
Change-Id: If5d301f70ac3806ab14e309affa57c625d897c7d
ndroid/internal/view/menu/ListMenuItemView.java
5fa9f2b127c2d7c40da419540f3425ac45a89439 27-Jun-2013 Amith Yamasani <yamasani@google.com> Merge "Single-user restrictions"
13ac041b9f21043bc7c848a743be618bfd7a67e9 26-Jun-2013 Dianne Hackborn <hackbod@google.com> Update procstats to start collecting/reporting pss.

Completely reworked how it manages its data, since trying
to keep track of all of the possible pss data with the old
data structures would have made it huge. Now we have a sparse
data structure for pss and process times. (Will switch service
times over to it soon.)

Currently the only thing that collects pss data is running
"dumpsys meminfo". More will be added later.

Modified checkin output to also scale better as more distinct
data categories are added, and added output of pss data. Now
instead of dumping every possible entry as a comma-separated
list, it dumps a comma-separated list of only the entries with
data, tagged with the state they go with.

Also fixed some problems in the checkin reporting of batterystats
(it needs to escape commas), added checkin reporting of the history
list, fixed parsing of kernel wake locks to strip quotes, fixed
wake lock name that the sync manager generates to be more sane.

Change-Id: Ibf4010838a9f685ebe1d93aff86c064ccc52b861
ndroid/internal/os/BatteryStatsImpl.java
655d0e2029e6ae77a47e922dce4c4989818b8dd1 12-Jun-2013 Amith Yamasani <yamasani@google.com> Single-user restrictions

Introduces a new "blocked" state for each package. This is used to temporarily
disable an app via Settings->Restrictions.

PIN creation and challenge activities for use by Settings and other apps. PIN
is stored by the User Manager and it manages the interval for retry attempts
across reboots.

Change-Id: I4915329d1f72399bbcaf93a9ca9c0d2e69d098dd
ndroid/internal/app/AlertActivity.java
ndroid/internal/app/RestrictionsPinActivity.java
ndroid/internal/app/RestrictionsPinSetupActivity.java
8c84109b9fbbf473b225707a38261ff5f99d95fb 24-Jun-2013 Dianne Hackborn <hackbod@google.com> Use FastPrintWriter... everywhere.

One problem this turned up is, because FastPrintWriter does
its own buffering, a lot of code that used to use PrintWriter
would fail -- if it pointed to a StringWriter, there was no
buffering, so it could just immediately get the result. Now
you need to first flush the FastPrintWriter.

Also added some new constructors to specify the size of buffer
that FastPrintWriter should use.

Change-Id: If48cd28d7be0b6b3278bbb69a8357e6ce88cf54a
ndroid/internal/logging/AndroidHandler.java
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/ProcessStats.java
ndroid/internal/util/DumpUtils.java
ndroid/internal/util/FastPrintWriter.java
e5a9c92377e035b24f50f9f66f4cdfd9cf79c2dd 25-Jun-2013 Dianne Hackborn <hackbod@google.com> Improve FastPrintWriter.

Change-Id: I23acb8d4c3db1f2f8e2f8003296f8c253e2ae7d2
ndroid/internal/util/FastPrintWriter.java
142dd91583f429db43017ada2497d0ecfdc2b392 22-Jun-2013 Dianne Hackborn <hackbod@google.com> Merge "Faster PrintWriter."
db4e33f1f1d766afa3218a6bbdbb561e7962c854 02-Apr-2013 Dianne Hackborn <hackbod@google.com> Faster PrintWriter.

Change-Id: I4e1ae7e0357214deb7e19ae65f8701b69b347c6e
ndroid/internal/util/FastPrintWriter.java
76936eb96acdaf7feb221000be3e0d154fa5000c 22-Jun-2013 Michael Wright <michaelwr@google.com> Paint current points a different color in PointerLocation

Change-Id: I05be4ce1886f944cd948ded4d9ace08d70cdb00e
ndroid/internal/widget/PointerLocationView.java
1a6a620e451e41f77549b907a1d8661e153d6913 18-Jun-2013 Jeff Sharkey <jsharkey@android.com> Merge "Add generic sugar for ArrayMap and ArraySet."
43f4263a854e9043d6ae3eeaa6b227afe95f1c57 18-Jun-2013 Jeff Sharkey <jsharkey@android.com> Add generic sugar for ArrayMap and ArraySet.

Change-Id: Id749bd41f2e53664c00a0199c14babd2b63087fb
oogle/android/collect/Maps.java
oogle/android/collect/Sets.java
32fa567b52b4082a1f5d2672e792c77819e435d7 17-Jun-2013 Adam Powell <adamp@google.com> Don't flip action bar main content and tabs

Nobody ever used or liked this "feature" anyway. Onward and upward!

Change-Id: Ica65c413d13ddb998992c7d8761ad5134f75e4fd
ndroid/internal/widget/ActionBarContainer.java
df1c0bf7744d4abd3e2000fcfec01c119b857c75 13-Jun-2013 Dianne Hackborn <hackbod@google.com> Add scheme specific part to IntentFilter.

Change-Id: I063d086cdc742800b8e31ddf2942f2e9230e2785
ndroid/internal/app/ResolverActivity.java
2f1cd7e68bc1f45243191f63984523ba6d36b590 12-Jun-2013 Michael Wright <michaelwr@google.com> Fix possible NPE in PointerLocationView

Change-Id: I36577d6882db898ff4d4d9090454cdf71a440fd5
ndroid/internal/widget/PointerLocationView.java
cbfd23ee6f14445c3e17c5169abbc80c216fa137 11-Jun-2013 Dianne Hackborn <hackbod@google.com> Add new API to retrieve a dumpsys of a single package.

Adds a platform API, and pm command. Fixes some issues with
dumping per-package data in package manager, makes battery
stats able to dump per-package state.

Change-Id: I76ee6d059f0ba17f7a7061886792b1b716d46d2d
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/TransferPipe.java
7a1c3fce478122b9f03464117dc94d44f7c1995e 04-Jun-2013 Jeff Sharkey <jsharkey@android.com> Accumulate network statistics based on deltas.

Network stats are now read out of the kernel in one sweep, instead of
reading per-UID. We now accumulate the delta traffic between each
stats snapshot using the well-tested SamplingCounter pattern.

Since Wi-Fi and mobile traffic have different costs, track each
separately. Avoids counting misc interfaces like loopback and
ethernet under total.

Bug: 5543387
Change-Id: I642004dc530113c27ef79f2abbae51d8af30117f
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
84f3c5689cffbfc1e45a0101d5bb636323769f54 05-Jun-2013 Jeff Sharkey <jsharkey@android.com> am ffbbe945: am d293d229: Merge "Create missing Uids when recording network stats." into jb-mr2-dev

* commit 'ffbbe945066bf0b295ff65edfb1c49f7a4311718':
Create missing Uids when recording network stats.
ffbbe945066bf0b295ff65edfb1c49f7a4311718 05-Jun-2013 Jeff Sharkey <jsharkey@android.com> am d293d229: Merge "Create missing Uids when recording network stats." into jb-mr2-dev

* commit 'd293d229493a2d661ebb1776a0915297927a5ca6':
Create missing Uids when recording network stats.
51797ed706e6e30cddfc0c1e3a9865064f8cdd6e 04-Jun-2013 Jeff Sharkey <jsharkey@android.com> Create missing Uids when recording network stats.

Bug: 5543387
Change-Id: I138c8d2f84e6fd737f2f6ef0945e75ca31256e3d
ndroid/internal/os/BatteryStatsImpl.java
3f7a6935d37e36190a7d131a0193739c272fbe05 01-Jun-2013 Adam Powell <adamp@google.com> Merge "Fix a bug resolving the correct icon/logo in action bars"
04fe6ebb9f919f196ec06a19bebc09b8e943f95b 31-May-2013 Adam Powell <adamp@google.com> Fix a bug resolving the correct icon/logo in action bars

Remove some abstraction-breaking magic in ActionBarView and replace it
with proper resolution of the icon/logo when creating a window. The
old implementation relied on the ActionBarView's context being an
Activity.

Bug 9171554

Change-Id: Idbbb1942622195dcb55e8119f2d64287b07bb509
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
718aefb6ff11d16ce7412c81e4d4d9c29124eead 31-May-2013 Jeff Brown <jeffbrown@google.com> am 6474d840: am 636af7a1: Merge "Rename CALLBACK_FLAG_ACTIVE_SCAN for clarity." into jb-mr2-dev

* commit '6474d8407cb1551608fc403861e11cf514f8558e':
Rename CALLBACK_FLAG_ACTIVE_SCAN for clarity.
6474d8407cb1551608fc403861e11cf514f8558e 31-May-2013 Jeff Brown <jeffbrown@google.com> am 636af7a1: Merge "Rename CALLBACK_FLAG_ACTIVE_SCAN for clarity." into jb-mr2-dev

* commit '636af7a1cb90bb2f422bc85356d30f5b4e9342e6':
Rename CALLBACK_FLAG_ACTIVE_SCAN for clarity.
14507e257af5d71577574e25cbd690c4b54c9272 30-May-2013 Jeff Brown <jeffbrown@google.com> Rename CALLBACK_FLAG_ACTIVE_SCAN for clarity.

Bug: 9210033
Change-Id: I973c03b3a37e12af72a27c46d7da7fb59a30b606
ndroid/internal/app/MediaRouteChooserDialogFragment.java
087d2b2df78e44b92e02a241ba6e7f917f63bac6 30-May-2013 Adam Powell <adamp@google.com> Merge "Optimizations for ResolverActivity"
0256c6f8d31c95f730d286b9e2ebae94736f7098 30-May-2013 Adam Powell <adamp@google.com> Optimizations for ResolverActivity

Load app icons using AsyncTask instead of during list item binding.

Make sorting resolved components by display name case insensitive.

Change-Id: I8e69781ed021035b9f0dac349791b3d8a674cf60
ndroid/internal/app/ResolverActivity.java
6196cfdb528d662741c68126062dd34d78641a5b 30-May-2013 Svetoslav <svetoslavganov@google.com> Merge "Remove Auto-rotate screen setting if a required feature is missing."
4759c35e423a949699d7b3438e0239e33452af7a 24-May-2013 Michael Wright <michaelwr@google.com> am bf0d561c: Merge "Pipe through bounding box information (DO NOT MERGE)" into jb-mr2-dev

* commit 'bf0d561c73abd97a1a3794e9aa62b21911279a12':
Pipe through bounding box information (DO NOT MERGE)
5e025eb1dc151a158d2fd7b12bb3a1c891b25d81 16-May-2013 Michael Wright <michaelwr@google.com> Pipe through bounding box information (DO NOT MERGE)

Bug: 9110236
Change-Id: I7aefe6589fbaf92e5c71a0ba5425623578bafe95
ndroid/internal/widget/PointerLocationView.java
86172f6252fe2ed49a1cdea5cafd0ba2e049255d 16-May-2013 Michael Wright <michaelwr@google.com> Pipe through bounding box information

Change-Id: Ic09f2f8f18e21f9582e4ed10aad3b7ec1cc41ddc
ndroid/internal/widget/PointerLocationView.java
fee8cd75823413a28f004d13e1f25a8954ac2900 10-May-2013 Dianne Hackborn <hackbod@google.com> am e8c9b39e: am 83d6df27: Merge "Help on issue #8863955: Google Services keeping phone awake..." into jb-mr2-dev

* commit 'e8c9b39ec976029d3571f8904a3db21d6514ecf6':
Help on issue #8863955: Google Services keeping phone awake...
e8c9b39ec976029d3571f8904a3db21d6514ecf6 10-May-2013 Dianne Hackborn <hackbod@google.com> am 83d6df27: Merge "Help on issue #8863955: Google Services keeping phone awake..." into jb-mr2-dev

* commit '83d6df27d40aed18a7dc42c9320f83656cc81ea0':
Help on issue #8863955: Google Services keeping phone awake...
89efc6e6c1bba5866e7bdb1bb9e009022ec9d691 10-May-2013 Jeff Brown <jeffbrown@google.com> am da58f92b: am b2f6842d: Merge "Add an API to allow a callback to request active scans." into jb-mr2-dev

* commit 'da58f92bfaf875074656a55103c819e6f4dda341':
Add an API to allow a callback to request active scans.
83d6df27d40aed18a7dc42c9320f83656cc81ea0 10-May-2013 Dianne Hackborn <hackbod@google.com> Merge "Help on issue #8863955: Google Services keeping phone awake..." into jb-mr2-dev
da58f92bfaf875074656a55103c819e6f4dda341 10-May-2013 Jeff Brown <jeffbrown@google.com> am b2f6842d: Merge "Add an API to allow a callback to request active scans." into jb-mr2-dev

* commit 'b2f6842d5528345e02a91218fbe58c3e0ca8bafb':
Add an API to allow a callback to request active scans.
af17baa27196e785989e99b0ecbe7f1c98a1f0cb 10-May-2013 Dianne Hackborn <hackbod@google.com> Help on issue #8863955: Google Services keeping phone awake...

...because of Google Play Services

Raise the limit on the number of wake locks we track per uid.

Get rid of the separate limit for the system process, since it
now isn't any larger than the new limit for regular processes.

Change-Id: Ic10c81cad7d4ad4aabf1f53f78191a0973a1d784
ndroid/internal/os/BatteryStatsImpl.java
66f3b39ec452a8a03e3254e77e19ccb764ee931f 09-May-2013 Jeff Brown <jeffbrown@google.com> Add an API to allow a callback to request active scans.

This API is needed by the support library media router to ensure
that wifi display routes can be discovered while the route
chooser dialog is open.

Bug: 8175766
Change-Id: I3773773d93384aa4a3c009e71a5444ee8ce37caf
ndroid/internal/app/MediaRouteChooserDialogFragment.java
ed96ea2a07ae20c186ad9073d8f0b26419eb35f8 09-May-2013 Romain Guy <romainguy@google.com> Merge "Add the ability to disable OpenGL drivers preloading Bug #8888857"
c5e3638c06f30827cdc6eb0d987adb677e900487 09-May-2013 Romain Guy <romainguy@google.com> Add the ability to disable OpenGL drivers preloading
Bug #8888857

Set ro.zygote.disable_gl_preload to true in the build properties.

Change-Id: Idd93ebb4bbd2861ce60af03ed14819a5cfa70dec
ndroid/internal/os/ZygoteInit.java
dad7bd706a4ecca245b4dbe770862874e1854225 09-May-2013 Romain Guy <romainguy@google.com> Merge "Load OpenGL drivers libraries in Zygote"
74c691221b620d74eafff315bf7c8ed8c4b58f3a 09-May-2013 Romain Guy <romainguy@google.com> Load OpenGL drivers libraries in Zygote

This does not initialize EGL/GL.

Change-Id: I951ae0b7defee86eb06821ea807af3e829f4a73c
ndroid/internal/os/ZygoteInit.java
dbcf2d7482562eff45ac727cea799b37a260e399 18-Apr-2013 Nick Kralevich <nnk@google.com> PowerManagerService: Don't reboot directly.

Instead of calling the reboot system call ourselves, send
a message to init asking it to reboot the system. Init is in
a better position to make sure the system is cleanly shutdown.

Get rid of CAP_SYS_BOOT from system_server.

Bug: 8646621
Change-Id: I200722412844ad8d99e35a442021c6263c3ebc05
ndroid/internal/os/ZygoteInit.java
ef5352c3a18c41e74afcb3609ef99942634d15d6 06-May-2013 Adam Powell <adamp@google.com> am f581b533: am 2b662e8e: Merge "Fix a NPE in MenuItemImpl when setting null ActionProvider" into jb-mr2-dev

* commit 'f581b533cf0ff774405bae057f5883fe9768c6a8':
Fix a NPE in MenuItemImpl when setting null ActionProvider
f581b533cf0ff774405bae057f5883fe9768c6a8 06-May-2013 Adam Powell <adamp@google.com> am 2b662e8e: Merge "Fix a NPE in MenuItemImpl when setting null ActionProvider" into jb-mr2-dev

* commit '2b662e8ef96c645e38a3debc29afa7454664f6cb':
Fix a NPE in MenuItemImpl when setting null ActionProvider
2b21dd0bbe389bd3d88d296b2d8d23bd6eea0286 03-May-2013 Kenny Root <kroot@google.com> resolved conflicts for merge of ee0a5faf to master

Change-Id: Iba0ad9e665ad98379761995cb7c32415bcf50e48
2b662e8ef96c645e38a3debc29afa7454664f6cb 03-May-2013 Adam Powell <adamp@google.com> Merge "Fix a NPE in MenuItemImpl when setting null ActionProvider" into jb-mr2-dev
ee0a5fafa75bcae10aaee645ee3543c61d5aeecf 03-May-2013 Satoshi Kataoka <satok@google.com> am 245a3e1c: Merge "Change the initial disabled state of disabled IMEs" into jb-mr2-dev

* commit '245a3e1c1ed265a13d07000ef6e786ec321b85c4':
Change the initial disabled state of disabled IMEs
dcc55855bc660fc2f45d02a1398be2e4fcf5fcb5 03-May-2013 Adam Powell <adamp@google.com> Fix a NPE in MenuItemImpl when setting null ActionProvider

Change-Id: I00be010b2197d0f41d0e45b3814474d3ad0c3295
ndroid/internal/view/menu/MenuItemImpl.java
c9dc93e5ca71ce1df792e6ac9fcfe8d9eda4f96c 03-May-2013 Dianne Hackborn <hackbod@google.com> Merge "Start combining threads in system process."
8d044e8bc287c1a567d82aedbe30085b011544c3 01-May-2013 Dianne Hackborn <hackbod@google.com> Start combining threads in system process.

This introduces four generic thread that services can
use in the system process:

- Background: part of the framework for all processes, for
work that is purely background (no timing constraint).
- UI: for time-critical display of UI.
- Foreground: normal foreground work.
- IO: performing IO operations.

I went through and moved services into these threads in the
places I felt relatively comfortable about understanding what
they are doing. There are still a bunch more we need to look
at -- lots of networking stuff left, 3 or so different native
daemon connectors which I didn't know how much would block,
audio stuff, etc.

Also updated Watchdog to be aware of and check these new
threads, with a new API for other threads to also participate
in this checking.

Change-Id: Ie2f11061cebde5f018d7383b3a910fbbd11d5e11
ndroid/internal/content/PackageMonitor.java
ndroid/internal/os/BackgroundThread.java
ed1cdb24ba986231629fbfb244ed758fc2add0fc 17-Apr-2013 Satoshi Kataoka <satok@google.com> Change the initial disabled state of disabled IMEs

Bug: 8365223

This change is a supplement for I77f01c70610d82ce9070d4a
The disabled state of disabled pre-installed imes should be changed
to ENABLED_STATE_DISABLED_UNTIL_USED on boot or user switch.

Change-Id: If8ff1b2b95c36d33148def2ab87bd006aa520cc0
ndroid/internal/inputmethod/InputMethodUtils.java
79578b29bf4ba1d210586b9d7bb832eddf0960b7 30-Apr-2013 Svetoslav <svetoslavganov@google.com> Remove Auto-rotate screen setting if a required feature is missing.

It is possible that a device running Android does not support rotation,
for example a Google TV box. The change adds a check to the rotation
policy to take this into account.

The SystemUI was not respecting the fact that the user has turned off
screen rotation, i.e. locked the rotation, from the accessibility
settings. In this case we should not show the affordance to toggle
screen rotation in the quick settings to minimize the risk of a blind
user accidentally turning screen rotation on. For a blind person
screen rotation adds 2X complexity since he/she should learn two
different layouts for the app.

bug:8051556

Change-Id: If1b3c092476932f91b0345fb9bfbbf6ed33d0df9
ndroid/internal/view/RotationPolicy.java
d9ad188a180072b3e9df4c09544174497e58e7af 01-May-2013 Casey Burkhardt <caseyburkhardt@google.com> am dd7d8ec1: am 203aa72e: Merge "Rebuilds ActionBar accessibility description as needed" into jb-mr2-dev

* commit 'dd7d8ec17ec1129f33764e025366129d3562ea7e':
Rebuilds ActionBar accessibility description as needed
dd7d8ec17ec1129f33764e025366129d3562ea7e 01-May-2013 Casey Burkhardt <caseyburkhardt@google.com> am 203aa72e: Merge "Rebuilds ActionBar accessibility description as needed" into jb-mr2-dev

* commit '203aa72e747794a64a8262ceb6c9cdc8381e77cb':
Rebuilds ActionBar accessibility description as needed
8452a7f2f6cb5a67535ac3a0af3c46b3c16996ec 01-May-2013 Casey Burkhardt <caseyburkhardt@google.com> Rebuilds ActionBar accessibility description as needed

Previously, ActionBarView only updated the contentDescription for the navigate
up/home affordance when it is enabled or disabled. This causes that description
to be rebuilt and applied whenever the title or subtitle of the view is changed.
This also inadvertantly removes whitespace in ActionBarView.

Bug: 8757286
Change-Id: I1ea02cad20e0d5c0c57d071727cc647c4dd52d44
ndroid/internal/widget/ActionBarView.java
ec43a6bc17d90058ba2c00e016846c863ab239bc 30-Apr-2013 Jeff Sharkey <jsharkey@android.com> Better --unplugged support when dumping battery.

Also fixes logBatteryStatsLocked() to output valid dump data, instead
of just a usage message.

Bug: 8708665
Change-Id: Ie0d8d90e1a470b7e1e902643333309c2cf7bdb72
ndroid/internal/os/BatteryStatsImpl.java
3e013e85b0dfb9db58a4401b80d672a7eeb09d47 25-Apr-2013 Jeff Sharkey <jsharkey@android.com> Track foreground activities in battery stats.

To help correlate battery usage against actual foreground app usage,
start tracking time on a per UID basis. It uses the nesting feature
of StopwatchTimer to track multiple PIDs inside the same UID.

Improves units on docs, and persists foreground CPU time with a
consistent ordering. Reports foreground activities time and
foreground CPU time.

Change-Id: I95d12963923e3fd421730f6fbfc842dfd8d3a055
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/ProcessStats.java
c56b831a1f6f044451df69aafaea1b37c780a360 24-Apr-2013 Alex Klyubin <klyubin@google.com> am 50289346: am a6436526: Merge "Human-readable POSIX capabilities for SystemServer."

* commit '50289346b3010e24b6a7b86a774d88b81fc28f3b':
Human-readable POSIX capabilities for SystemServer.
50289346b3010e24b6a7b86a774d88b81fc28f3b 24-Apr-2013 Alex Klyubin <klyubin@google.com> am a6436526: Merge "Human-readable POSIX capabilities for SystemServer."

* commit 'a643652680486bd1009248d1bd8fcea7da92d661':
Human-readable POSIX capabilities for SystemServer.
48a06e740782184bd126ab743150b474abc9e6a4 19-Apr-2013 Alex Klyubin <klyubin@google.com> Human-readable POSIX capabilities for SystemServer.

Change-Id: I8fecdc55b2cf0041ceed643eb48df53d22ecd600
ndroid/internal/os/ZygoteInit.java
4173a89d120f89d3d96eac74684640093e437707 18-Apr-2013 Adam Powell <adamp@google.com> am 61a826ef: am 70e37696: Merge "Fix ActionBar#setHomeActionContentDescription(0)" into jb-mr2-dev

* commit '61a826eff10c4b275a9569a0edd6301924a6d4e7':
Fix ActionBar#setHomeActionContentDescription(0)
2eeb419e55e0467e04ca054a2de04b725604da27 18-Apr-2013 Adam Powell <adamp@google.com> Fix ActionBar#setHomeActionContentDescription(0)

This call should be analogous to calling
setHomeActionContentDescription(null) and not throw an exception.

Bug 8657256

Change-Id: Ifa9c7b999f4bf1a31fba43f869e234b1f1861512
ndroid/internal/widget/ActionBarView.java
3569e9e50c3a467e9094d24272b8e1f091ac8d86 17-Apr-2013 Jim Miller <jaggies@google.com> resolved conflicts for merge of 2f6a2526 to master

Change-Id: Ie51d3a63f4d4d5bad7ef16ad84ef6ad5acdaa64a
b1e5137a807d19a9cbc241c0ba84c3c49b32fceb 17-Apr-2013 Jim Miller <jaggies@google.com> Merge "Move owner info from Settings.Secure to LockSettings" into jb-mr2-dev
187ec581c66fec49a5ee7db8edec6d9eb0e209fc 16-Apr-2013 Jim Miller <jaggies@google.com> Move owner info from Settings.Secure to LockSettings

Fixes bug 8512972

Change-Id: Ic046aff0332b78489dda08b1e9e71f4c16154f10
ndroid/internal/widget/LockPatternUtils.java
a720a87fded1704d1a7490956bc5ec682b67a4fb 17-Apr-2013 Jamie Gennis <jgennis@google.com> am a0b28ca7: am 95a869f9: Merge "Disable tracing from Zygote" into jb-mr2-dev

* commit 'a0b28ca74806dcf46300d82ebb689b002bd36955':
Disable tracing from Zygote
6ad0452e6301c0650f58f3991f7c523f6f279ddb 16-Apr-2013 Jamie Gennis <jgennis@google.com> Disable tracing from Zygote

This change disables all atrace tracing in Zygote immediately after it is
initialized. This is necessary because Zygote has no way to receive
notifications that the enabled trace tags have been changed. Tracing is
re-enabled when other processes fork from Zygote.

Change-Id: If2983858fb0c4890ba9ab041849b1c4d98f66c13
ndroid/internal/os/ZygoteInit.java
c06464acf014950dd06455dc28aa05d025a6aadb 16-Apr-2013 Svetoslav Ganov <svetoslavganov@google.com> am 84677dff: am ad435ba7: Merge "Send tab selection event from ScrollingTabContainerView." into jb-mr2-dev

* commit '84677dff59a663204743343e92fcab1ddbd057f4':
Send tab selection event from ScrollingTabContainerView.
ad435ba7fff45b8a15ebda08f88767511935a5d7 16-Apr-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "Send tab selection event from ScrollingTabContainerView." into jb-mr2-dev
b436a328a5392b3ed33ca1186c85b71af61497d1 16-Apr-2013 Wink Saville <wink@google.com> am bab00057: am c6f2d17a: Merge "Add mHasQuit to fix an NPE in StateMachine." into jb-mr2-dev

* commit 'bab000578d7ad6b380c558f28685d2303b64abc8':
Add mHasQuit to fix an NPE in StateMachine.
03812c7894bd51ffc27aece5933791e4a00d679b 16-Apr-2013 Wink Saville <wink@google.com> Add mHasQuit to fix an NPE in StateMachine.

After quiting mStateStack and other variables become
null so ignore all messages.

Bug: 8627228
Change-Id: I60150fb8023340768b38c2e72a8cbc982a59e0a8
ndroid/internal/util/StateMachine.java
b9f2e99f26c5cd3546235a183bb3402a2f1e82f8 16-Apr-2013 Alan Viverette <alanv@google.com> Send tab selection event from ScrollingTabContainerView.

BUG: 8185409
Change-Id: I37c59906d2950d09e0e39ca91ffad34279dd9526
ndroid/internal/widget/ScrollingTabContainerView.java
328ebf222167ee1d25a54fd34c8293e183303752 22-Mar-2013 Jeff Sharkey <jsharkey@android.com> Support persistable Uri permission grants.

When granting a Uri permission with new PERSIST_GRANT_URI_PERMISSION
flag, persist that grant across device reboots until explicitly
revoked. Adds new persistedModeFlags dimension to UriPermission,
and moves all flag mutation into UriPermission for clarity. Adds
flag documentation. Only inflate HashSet as needed.

Write persisted grants into XML file, saving based on source and
target package name and user handle. Sanity check grants when
parsing.

Wipe all grants from/to a package when uninstalled, and wipe any
transient grants when a package or user is force stopped.

Persistable grants are always considered "needed."

Change-Id: I3f001571b498fd607456a1257a6383f904d19497
ndroid/internal/util/IndentingPrintWriter.java
1dbc9ec38fd424766c41ecf7d289730d2a40d8f1 12-Apr-2013 Jim Miller <jaggies@google.com> am cda71226: am eec68e55: Merge "Fix keyguard pattern invalidate bug" into jb-mr2-dev

* commit 'cda712266f88e05195018dce31cf76511e0e3637':
Fix keyguard pattern invalidate bug
eec68e55cc6661837030c8ecb4386d05b1d31685 12-Apr-2013 Jim Miller <jaggies@google.com> Merge "Fix keyguard pattern invalidate bug" into jb-mr2-dev
e7086a47e337decb4cb4477e9fd37d2fcf0308b6 12-Apr-2013 Benjamin Poiesz <bpoiesz@google.com> am b3ebc306: am fc9f07dd: Merge "Adding LocalePicker support for the zz_ZZ pseudolocale" into jb-mr2-dev

* commit 'b3ebc306c256bb75282da23e5e3995fca6680ba0':
Adding LocalePicker support for the zz_ZZ pseudolocale
39f96f95c3ee5e6c2f2e96f2bdf4ba29d18840fe 05-Apr-2013 Benjamin Poiesz <bpoiesz@google.com> Adding LocalePicker support for the zz_ZZ pseudolocale

Bug #8556677

Change-Id: I47244765b240f1ba66eadbef4ac712cf4367566e
ndroid/internal/app/LocalePicker.java
9ddfeb83aa071990110c0dac7f9280d35ebf2239 11-Apr-2013 Jim Miller <jaggies@google.com> Fix keyguard pattern invalidate bug

The framework used to invalidate both the previous invalidate
region and the current one. However, with change I9fb96f99
this is no longer the case (it was always true for software
rendering, but never showed because most platforms use
acceleration).

The fix is to invalidate the union of the old region and
the new region ourselves.

Fixes bug 8503031

Change-Id: If303e0892772dd9d6915efa55118d054a742c1a5
ndroid/internal/widget/LockPatternView.java
865ec9d9682c73e72e542988d09c1cbbde8903bc 10-Apr-2013 Adam Powell <adamp@google.com> am 3431f7ed: am 2c966932: Merge "Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode" into jb-mr2-dev

* commit '3431f7ed1527061a3ad02b3562c1e1b9700f789d':
Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode
daa1d56726358c4db476dff75c7fd0be201c64c5 09-Apr-2013 Adam Powell <adamp@google.com> Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode

Make sure the selected item is properly propagated to the collapsed
spinner.

Bug 6754308

Change-Id: Iaa4e331b00106b31c5984980d33e3ac88853ae4d
ndroid/internal/widget/ScrollingTabContainerView.java
e6bec854d5730426a5338b873490d8963da88471 08-Apr-2013 Dianne Hackborn <hackbod@google.com> am 3793b928: am bc948101: Merge "Have audio service clean up new receivers in crashing processes." into jb-mr2-dev

* commit '3793b92816d940b265468e9f2f071fbf35db534d':
Have audio service clean up new receivers in crashing processes.
bc948101043b3c4b57eb6e0e2421494fd7c1d41e 08-Apr-2013 Dianne Hackborn <hackbod@google.com> Merge "Have audio service clean up new receivers in crashing processes." into jb-mr2-dev
79f7ec70ebd5758ce54fd5b6fcd60fd27457cba6 05-Apr-2013 Dianne Hackborn <hackbod@google.com> Have audio service clean up new receivers in crashing processes.

The new media button receiver with only a pending intent (no
component name) could be left hanging if the process that
registered it went away. These semantically need to be tied
to the calling process's lifetime; we now clean them up when
the calling process goes away.

Also added some additional cleanup of media button receivers
when packages change (updated, cleared).

And on top of that, a new "media" command for doing media
things. Currently lets you send media keys and monitor
remote display data.

Oh and finally added a new BaseCommand base class for
implementing these command line utilities.

Change-Id: Iba1d56f10bab1eec4a94a7bb1d1c2ae614c8bcf5
ndroid/internal/os/BaseCommand.java
d7fd69c04567b375844a7653a485324434f78813 06-Apr-2013 Adam Powell <adamp@google.com> am dddd59ff: am e0e2f4fd: Fix accessibility in action bars and add extra customization

* commit 'dddd59ff63c3121b53e790bb20b5b5d735036c30':
Fix accessibility in action bars and add extra customization
e0e2f4fd3ac8e70e341ae52d6376d8d67bd9edce 06-Apr-2013 Adam Powell <adamp@google.com> Fix accessibility in action bars and add extra customization

Fix a bug where the content description of the big unified Home/Up
button was not getting set properly.

Add the ability to change the home-as-up glyph from ActionBar.

Add the ability to set a custom action description for the home-as-up
button, useful if the above functionality is used.

Bug 8548229

Change-Id: I0635799772c7234b68247dfc105dce7f11acda32
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/menu/ActionMenuItem.java
ndroid/internal/widget/ActionBarView.java
ae9d6aa6d96ad382bba27e8104ea99ad06d81008 05-Apr-2013 Jeff Brown <jeffbrown@google.com> am 4c2a7b23: am 4a706bc6: Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev

* commit '4c2a7b23f5f012cf00357035f840a32d4da20eb5':
Correctly manage the lifecycle of IME InputChannels.
4a706bc6f1dcf4483b282d5758e22482cf02506f 05-Apr-2013 Jeff Brown <jeffbrown@google.com> Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev
8740cb1da6adb71a4e195774801c97db5853b097 05-Apr-2013 John Spurlock <jspurlock@google.com> resolved conflicts for merge of 29211d3a to master

Change-Id: I9691f41b12fbf52d0ef35a9bf5223edef7afdfd2
5feceebb892d4cb5777cea3c6174b206705d456b 23-Mar-2013 Daniel Sandler <dsandler@android.com> New NotificationListenerService.

This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
ndroid/internal/statusbar/StatusBarNotification.aidl
ndroid/internal/statusbar/StatusBarNotification.java
1951ce86c21445ac191e4d2d95233f4f5c096b56 05-Apr-2013 Jeff Brown <jeffbrown@google.com> Correctly manage the lifecycle of IME InputChannels.

InputChannels are normally duplicated when sent to a remote process
over Binder but this does not happen if the recipient is running within
the system server process. This causes problems for KeyGuard because the
InputMethodManagerService may accidentally dispose the channel
that KeyGuard is using.

Fixed the lifecycle of InputChannels that are managed by the IME
framework. We now return a duplicate of the channel to the application
and then take care to dispose of the duplicate when necessary.
In particular, InputBindResult disposes its InputChannel automatically
when returned through Binder (using PARCELABLE_WRITE_RETURN_VALUE).

Bug: 8493879
Change-Id: I08ec3d13268c76f3b56706b4523508bcefa3be79
ndroid/internal/view/InputBindResult.java
5677e78863cc00bbe5ef0fa66f3e1da287b18f97 04-Apr-2013 Adam Powell <adamp@google.com> am 2987c218: am 728827ff: Merge "Uphold common ordering expectations around action bar Home/Up dispatch" into jb-mr2-dev

* commit '2987c218e351c76941f09bddb3eb46a572ca6644':
Uphold common ordering expectations around action bar Home/Up dispatch
8c16aa9fa225c277c3ead605b16dc697709bda27 04-Apr-2013 Adam Powell <adamp@google.com> Uphold common ordering expectations around action bar Home/Up dispatch

Some apps aren't particularly happy if a stray key event is dispatched
to a newly created window before its menu is prepared, causing the
action bar's Home/Up event to be dispatched. Ignore these clicks on
the Home/Up button before the menu goes through its initial prepare
step.

Note that it is still possible (and valid!) for Home/Up to be
dispatched even if the app chose to return false from
onCreateOptionsMenu or similar.

Bug 7085070

Change-Id: If4b7d5f8c5a08ce8a094f1919347604d78ddedfb
ndroid/internal/widget/ActionBarView.java
3261b537c5fdec824575a1f6ad6d8942715e82e2 01-Apr-2013 Jean-Michel Trivi <jmtrivi@google.com> RemoteControlClient receives playback position change requests

RemoteControlClient defines two listener interfaces for playback
position, one to let the framework query the current playback
position, the other to request playback to seek to a given
position.

Updated IRemoteControlDisplay interface to support passing info
about whether the user of RemoteControlClient can provide a
playback position, and receive a new one.
Updated implementations of IRemoteControlDisplay to new
interface.

Bug 8120740

Change-Id: I1a5a969da4d0f8c9ad27f691919dd08f8653982b
ndroid/internal/widget/TransportControlView.java
bc43b4c2f24fd03c0d0546895c97918c1736d9fb 22-Mar-2013 Jean-Michel Trivi <jmtrivi@google.com> RemoteControlClient can report current position, speed

Extend RemoteControlClient class to support reporting the
current playback position, and the playback speed.
Define listener for an application to receive new playback
position to seek to (use of listener to be implemented).
Update IRemoteControlDisplay implementations to new interface.

bug 8120740

Change-Id: I2654daeca1ac49713d325df8226dceb85943c020
ndroid/internal/widget/TransportControlView.java
62a2cb09026bf7b0658c1e41c905f38649a3c77c 28-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> am 766991ae: am 5acc8632: Merge "Add BT - DataTracker connection" into jb-mr2-dev

* commit '766991ae212f50695754c3ded5d9815fb0d99b24':
Add BT - DataTracker connection
665e1aed5e99af1e66af56c0d73e32fd86f57273 22-Aug-2012 Robert Greenwalt <rgreenwalt@google.com> Add BT - DataTracker connection

Allows the external BT stack the means to communicate with
ConnectivityService during reverse tethering.

bug:8445208
Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
ndroid/internal/util/Protocol.java
c5ebd80c43e388977e4ef978f18fa5fc36bd8650 27-Mar-2013 Jeff Brown <jeffbrown@google.com> am 901b77c6: am ca3d655d: Merge "Use input transport for communications between app and IME." into jb-mr2-dev

* commit '901b77c63bc707c5785a149975e2113a43e38ad6':
Use input transport for communications between app and IME.
ca3d655d20c13c71972a4475cec3b98efa7dbdd0 27-Mar-2013 Jeff Brown <jeffbrown@google.com> Merge "Use input transport for communications between app and IME." into jb-mr2-dev
20bf8338d1b1fc7c9aaec8f52afd25f1f1633fd5 26-Mar-2013 Adam Powell <adamp@google.com> am 36375eca: am 7f51ae71: Merge "Fix some visibility state transition issues with ActionBarView" into jb-mr2-dev

* commit '36375eca1afee18786d5446ccc040d7a072dd663':
Fix some visibility state transition issues with ActionBarView
7f51ae71f170f61439516321a107507c4d1c0ac0 26-Mar-2013 Adam Powell <adamp@google.com> Merge "Fix some visibility state transition issues with ActionBarView" into jb-mr2-dev
c28867a1d67121ce5963de135e3ae2b1dbd9a33d 26-Mar-2013 Jeff Brown <jeffbrown@google.com> Use input transport for communications between app and IME.

The input method manager service now supplies an input channel for
communication while creating an IME session on behalf of the
application.

This change significanly reduces the overhead of IME event dispatch
by using a standard input channel to send input events rather than
using binder. This results in fewer thread context switches
and fewer object allocations.

What's more, the IME may perform additional batching of the motion
events that it receives which may help it catch up if it is
getting behind while processing them.

Bug: 7984576
Bug: 8473020
Change-Id: Ibe26311edd0060cdcae80194f1753482e635786f
ndroid/internal/view/IInputMethod.aidl
ndroid/internal/view/IInputMethodCallback.aidl
ndroid/internal/view/IInputMethodSession.aidl
ndroid/internal/view/InputBindResult.java
6684e92ae83fab00108bf2964e703d1037c0b882 26-Mar-2013 Adam Powell <adamp@google.com> Fix some visibility state transition issues with ActionBarView

Restore state as expected for titles and expanded action views.

Bug 8246128

Bug 8479205

Change-Id: Icad59685c5eab241f19ecd94479dc5e7a9f678b6
ndroid/internal/widget/ActionBarView.java
d5444c6699416f58c280fcd2e9cfb904bcbf473a 26-Mar-2013 Geremy Condra <gcondra@google.com> am e76fab2a: am df4144f4: am 9fa57b74: am 2aee33c1: Merge "BackupManagerService files need new security labeling."

* commit 'e76fab2a426e57e8186e4c53f15164ca3818a889':
BackupManagerService files need new security labeling.
df4144f4dfaa3a344cfdf923121f6113463978da 26-Mar-2013 Geremy Condra <gcondra@google.com> am 9fa57b74: am 2aee33c1: Merge "BackupManagerService files need new security labeling."

* commit '9fa57b74d8acb99c86f761a98f6e76998de8aff2':
BackupManagerService files need new security labeling.
2aee33c1cdf89c0754bb660cd2e0ec95a007d4a8 26-Mar-2013 Geremy Condra <gcondra@google.com> Merge "BackupManagerService files need new security labeling."
29b89acee34f59461ca54169bf3df7bef35c9662 22-Mar-2013 Christopher Tate <ctate@google.com> am a35c0c04: am 57b0f363: Merge "Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)" into jb-mr2-dev

* commit 'a35c0c0475d66921c933b93c262bf3e8721e3710':
Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)
57b0f3638297242baca5db3e8ab4b5aab151f09e 22-Mar-2013 Christopher Tate <ctate@google.com> Merge "Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)" into jb-mr2-dev
fc054349089563699349c161011f378c67d15587 22-Mar-2013 Christopher Tate <ctate@google.com> Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)

Specifically, throw an explicit IllegalArgumentException if
'len' is negative, rather than falling over in some other
way further down the line.

Change-Id: If955de7ec1a15aa9aa8c42b6994b059e0cdffcee
ndroid/internal/util/ArrayUtils.java
ac8bb39de5e2713c8f0c445e5ab8640c9b5c9e9e 22-Mar-2013 Jeff Sharkey <jsharkey@android.com> am 527b2578: am 9da8c37a: Merge "Move XML utility methods into shared location." into jb-mr2-dev

* commit '527b2578d4cde9639d9c7b833bd85a659d7829e0':
Move XML utility methods into shared location.
9da8c37ab8bb29c813d08a8c7e4fd6431fc52191 22-Mar-2013 Jeff Sharkey <jsharkey@android.com> Merge "Move XML utility methods into shared location." into jb-mr2-dev
ded7b75d1a353856ad8f126d171d598d15b97760 22-Mar-2013 Jeff Sharkey <jsharkey@android.com> Move XML utility methods into shared location.

Change-Id: I15e8f0e4a6c5546d9be956ca0d46715d3441458c
ndroid/internal/util/XmlUtils.java
0878312fd96be3499d982dd4029ffc8cdd487bab 22-Mar-2013 Michael Wright <michaelwr@google.com> am 621c35e4: am 765ddb4b: Merge "Separate sessionCreated and finishedEvents callbacks" into jb-mr2-dev

* commit '621c35e4fc83c2864a82da31aac767832ce86df6':
Separate sessionCreated and finishedEvents callbacks
52a53526265c801b70eaf6dab1acf5c3f628f8a6 14-Mar-2013 Michael Wright <michaelwr@google.com> Separate sessionCreated and finishedEvents callbacks

Bug: 8276952
Change-Id: If7051086c060fcce5d1e958ebbddec0784c851da
ndroid/internal/view/IInputMethod.aidl
ndroid/internal/view/IInputMethodCallback.aidl
ndroid/internal/view/IInputSessionCallback.aidl
c7fd2e9f7fcb6e4016d3c2a5c71f414f70abfb49 17-Mar-2013 Wink Saville <wink@google.com> am 16489892: am b8c5ce29: Merge "Add new StateMachine constructor with name and handler params." into jb-mr2-dev

* commit '1648989280877426b32147d83f0f330e62bd7da1':
Add new StateMachine constructor with name and handler params.
24d248acdf5eee9fc9a209d5207eaeceb00fa3e3 17-Mar-2013 Wink Saville <wink@google.com> Add new StateMachine constructor with name and handler params.

Change-Id: Ic252de6cac24a043050b37d81767d19e2739b2fc
ndroid/internal/util/StateMachine.java
d99b26285d840cb7d7a1f9976eb00f7f1d7c38e9 15-Mar-2013 Craig Mautner <cmautner@google.com> am 20a402e0: am 8dfe99ce: Merge "Catch BadTokenException and continue." into jb-mr2-dev

* commit '20a402e0dc8d3052ac317e6c13afee22a9502c35':
Catch BadTokenException and continue.
e4bbb1cc451c7ebdad9f92968732fc4f6c21a70c 15-Mar-2013 Craig Mautner <cmautner@google.com> Catch BadTokenException and continue.

BadTokenException is a normal consequence of swapping IMEs while there
is a DO_SHOW_SOFT_INPUT message in the IIMethodWrapper queue. This
race condition cannot be avoided without an unacceptable lock down of
InputMethodManagerService.

Fixes bug 8387663.
Fixes bug 8263462.

Change-Id: I2c21573cf972145ab08e66604cdb9344139a3f31
ndroid/internal/view/IInputMethod.aidl
fd5c559d6383607757228e28cee2d4afc52bd489 14-Mar-2013 Irfan Sheriff <isheriff@google.com> am 370d3904: am 11aefad9: Add support for scan always available mode

* commit '370d3904f7f3360f7e2aa637795d197c84924886':
Add support for scan always available mode
11aefad94de6569c4c7394e7bc5fdeb0ae60d5bb 06-Mar-2013 Irfan Sheriff <isheriff@google.com> Add support for scan always available mode

Modify WifiService to add a controller to track the various
desired states and let the WifiStatemachine actually control
the bring up.

Bug: 8141918

Change-Id: I6e98fd5a29b43c3c50c315eff5255cd0a3eaebcd
ndroid/internal/util/Protocol.java
4471f15ec5533ae04012be44b2e5feec8f726394 14-Mar-2013 Irfan Sheriff <isheriff@google.com> am 2290e295: am 1c80a051: Merge "Add all variations message parameters for send/obtain." into jb-mr2-dev

* commit '2290e295d3250db0fb44ad0445c33429cbf9b62f':
Add all variations message parameters for send/obtain.
1c80a05176c9a6cdef2975cc655f34588275194e 14-Mar-2013 Irfan Sheriff <isheriff@google.com> Merge "Add all variations message parameters for send/obtain." into jb-mr2-dev
8b0db520405c88414bcf8fdcb96293fb7075e524 14-Mar-2013 Wink Saville <wink@google.com> Add all variations message parameters for send/obtain.

Change-Id: Ib8f3b66650d2ae2a8af7a537871361613e65b48e
ndroid/internal/util/StateMachine.java
0317f6db1aac545ce727812f5988b6ccd8584d90 14-Mar-2013 Craig Mautner <cmautner@google.com> am b7ca6804: am 67bea2ef: Merge "Remove WindowManager messages from remote queue." into jb-mr2-dev

* commit 'b7ca680485f90c2507d969d7d64e5bec3acc3c33':
Remove WindowManager messages from remote queue.
ca0ac718cbc2ad3e7ad2400f5fa34068f154ee20 14-Mar-2013 Craig Mautner <cmautner@google.com> Remove WindowManager messages from remote queue.

When a new IME is attached it is not enough to remove the
WindowManager messages from the local queue, but the ones in
the previous IME queue must also be removed.

Fixes bug 8263462.

Change-Id: I9e916c6052a83dc7691bcba0b6ab8328b9b7cc36
ndroid/internal/view/IInputMethod.aidl
1636c2a4d3a8a0b9ba2e27d5767d4eec5e03fa6f 13-Mar-2013 Michael Wright <michaelwr@google.com> am d1bb4d4b: am 999c2a69: Merge "Remove unused interface IInputConnectionCallback" into jb-mr2-dev

* commit 'd1bb4d4be20f3538d1a7ed4ec2736c10ca1a565e':
Remove unused interface IInputConnectionCallback
e8cc96b8f8b26d0dcf3a2abff9104ed0bb6f6bbd 12-Mar-2013 Michael Wright <michaelwr@google.com> Remove unused interface IInputConnectionCallback

Bug: 8276952
Change-Id: I3755df557388bee55f0cc4780adc300672cbe9a1
ndroid/internal/view/IInputConnectionCallback.aidl
d00879058c04ba82d971ff53f66fb43c358502a3 11-Mar-2013 Wink Saville <wink@google.com> am 1fb80006: am 614edf58: Merge "Add additional message methods." into jb-mr2-dev

* commit '1fb800061726e1b53a2e185e377316b6e87c93ad':
Add additional message methods.
614edf5833826da373cd88476e73147afbc0dc95 11-Mar-2013 Wink Saville <wink@google.com> Merge "Add additional message methods." into jb-mr2-dev
4753cd2014b3db7ab47a9d408601e9e17f790a21 06-Mar-2013 Wink Saville <wink@google.com> Add additional message methods.

Change-Id: Iac96815f7b72bcb3b9c658a24c24e0733e0ea1b0
ndroid/internal/util/StateMachine.java
403901d94d214ac31c6e1d6918f7ce1e7988afd0 09-Mar-2013 Jim Miller <jaggies@google.com> am 8fdc7be4: am 6e5d6492: Merge "Fix long-standing bug with LockPatternView drawing artifacts" into jb-mr2-dev

* commit '8fdc7be406b120df97c6494d5c253fc0c3c15911':
Fix long-standing bug with LockPatternView drawing artifacts
6e5d6492db4f0bed604e67ee53b0c99e0685c55f 09-Mar-2013 Jim Miller <jaggies@google.com> Merge "Fix long-standing bug with LockPatternView drawing artifacts" into jb-mr2-dev
b1af7f3d4be6cd6bc6e1e805f22c209e19bf928f 08-Mar-2013 Chet Haase <chet@google.com> add getAlpha() to Drawable

Drawable has setAlpha(int), but no getAlpha() (although some subclasses have added the
method). This makes it more tedious to use the property. For example, animations that wish to
animate this property must explicitly give it a start value since this value cannot be queried
from the object.

The trick is that setAlpha(int) is abstract, only implemented by subclasses. We cannot take this
approach for getAlpha(), as we would break all subclasses of Drawable until they implemented the
method. Instead, we'll add a default method which returns an invalid value, making it easier for
clients of the method to detect whether the value is valid.

All subclasses of Drawble in frameworks have been changed to add an override of getAlpha() when
appropriate.

Issue #7485875 Drawables is missing getAlpha()

Change-Id: I06b6e35f1a56d202838eca44759c85c82595020a
ndroid/internal/widget/multiwaveview/TargetDrawable.java
294b512ecaa98a6a8ef12285ad14e7a4091b5d57 19-Feb-2013 Christopher Tate <ctate@google.com> DO NOT MERGE - Full backup/restore now handles OBBs sensibly

OBB backup/ restore is no longer handled within the target app
process. This is done to avoid having to require that OBB-using
apps have full read/write permission for external storage.

The new OBB backup service is a new component running in the
same app as the already-existing shared storage backup agent.
The backup infrastructure delegates backup/restore of apps'
OBB contents to this component (because the system process
may not itself read/write external storage).

From the command line, OBB backup is enabled by using new
-obb / -noobb flags with adb backup. The default is noobb.

Finally, a couple of nit fixes:

- buffer-size mismatch between the writer and reader of chunked
file data has been corrected; now the reading side won't be
issuing an extra pipe read per chunk.

- bu now explicitly closes the transport socket fd after
adopting it. This was benign but triggered a logged
warning about leaked fds.

(Cherrypicked)

Change-Id: I471f6348abcccb7bf1e1710b7beda9f23de53e14
ndroid/internal/backup/IObbBackupService.aidl
0caa377f4688f175ae22229a10294468610a116e 08-Mar-2013 Jim Miller <jaggies@google.com> Fix long-standing bug with LockPatternView drawing artifacts

Moving very slowly in LockPatternView would often draw discontinuous
lines and have missing wedges in the pattern rings.

This fixes the problem by correctly accounting for the invalidate
region. The invalidate region is constrained to the last registered
pattern cell and the current point. When a new pattern cell is added,
the bounding region expands to refresh it once.

Fixes bug 8315830

Change-Id: I72342535ae292fcadb02d96b89665ba8431886b2
ndroid/internal/widget/LockPatternView.java
aa8a2e46f4965472b0e81768343479b49dde4f51 08-Mar-2013 Christopher Tate <ctate@google.com> Merge "Full backup/restore now handles OBBs sensibly"
46cc43c6fa7623820d4ae9149496cf96bb15f8a3 19-Feb-2013 Christopher Tate <ctate@google.com> Full backup/restore now handles OBBs sensibly

OBB backup/ restore is no longer handled within the target app
process. This is done to avoid having to require that OBB-using
apps have full read/write permission for external storage.

The new OBB backup service is a new component running in the
same app as the already-existing shared storage backup agent.
The backup infrastructure delegates backup/restore of apps'
OBB contents to this component (because the system process
may not itself read/write external storage).

From the command line, OBB backup is enabled by using new
-obb / -noobb flags with adb backup. The default is noobb.

Finally, a couple of nit fixes:

- buffer-size mismatch between the writer and reader of chunked
file data has been corrected; now the reading side won't be
issuing an extra pipe read per chunk.

- bu now explicitly closes the transport socket fd after
adopting it. This was benign but triggered a logged
warning about leaked fds.

Bug: 6718844
Change-Id: Ie252494e2327e9ab97cf9ed87c298410a8618492
ndroid/internal/backup/IObbBackupService.aidl
99438af8924b6881caabcccffe76d68dddf13290 07-Mar-2013 Jeff Sharkey <jsharkey@android.com> am 73a3754c: am 4861966c: Merge "ArrayUtils.indexOf(), containsAll() with tests." into jb-mr2-dev

* commit '73a3754c6766b7220878983317b3d56ce7fc6e58':
ArrayUtils.indexOf(), containsAll() with tests.
94c91dca55de9ffdbe072fcc5dd6dbf1efe5e4c1 07-Mar-2013 Jeff Sharkey <jsharkey@android.com> ArrayUtils.indexOf(), containsAll() with tests.

Change-Id: I040164d4e45126e4a6c1df54bd114f47951da560
ndroid/internal/util/ArrayUtils.java
44920907cec31a8b4ee1345bce4ef9fddea86a83 06-Mar-2013 Dianne Hackborn <hackbod@google.com> am 95529f73: am f6fcea60: Merge "Fix issue #8325007: EyeEm app crashes on launch- NPE at..." into jb-mr2-dev

* commit '95529f730ccd7dfafb4bc2024aa156928db3c04c':
Fix issue #8325007: EyeEm app crashes on launch- NPE at...
474690caf8b3bece133b40914979ac2520036989 06-Mar-2013 Dianne Hackborn <hackbod@google.com> Fix issue #8325007: EyeEm app crashes on launch- NPE at...

...android.view.ViewGroup.measureChildWithMargins

The app is doing grungy stuff with trying to insert its own
views inside the window decor. This new custom layout of the
action bar was assuming it would get fitSystemWindows() called
at which point it would retrieve all of its child views... but
with the app doing this, it blocks the call down to
fitSystemWindows() and breaks us. So we now make the layout
manager more robust and ensure it has retrieved its children
when measuring.

Also fix an issue where the xlarge layouts were not updated.

Change-Id: I6c69f26f26b59a6aa8fa1e5788288ffce0b490ca
ndroid/internal/widget/ActionBarOverlayLayout.java
12e08ca9873050e20b1fdbdb59f8b0ffdbc37719 06-Mar-2013 Dianne Hackborn <hackbod@google.com> am 01412780: am f217145b: Merge "A few small missing things from the custom action bar layout." into jb-mr2-dev

* commit '01412780212c70c34e727ac92d40d416cbc0c188':
A few small missing things from the custom action bar layout.
7cf71fbdc3225778d0397b22cdaf40c812c15afb 06-Mar-2013 Dianne Hackborn <hackbod@google.com> A few small missing things from the custom action bar layout.

Change-Id: I91e0b43ccf92d5c9541f80220922951acb0795e7
ndroid/internal/widget/ActionBarOverlayLayout.java
9dd28324a307f6e254ff0c2bc7776e487b7b7525 05-Mar-2013 Dianne Hackborn <hackbod@google.com> am 4d1079d4: am 9c9aec72: Merge "Fix issue #8311263: Corrupted UI across all tabs in People app" into jb-mr2-dev

* commit '4d1079d4102c591846b777a84a988e18cf8d3c7e':
Fix issue #8311263: Corrupted UI across all tabs in People app
9c9aec721a78f23b4315ac920c26b109999a07f1 05-Mar-2013 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #8311263: Corrupted UI across all tabs in People app" into jb-mr2-dev
1dc5f92716189da02aa62f508adb6099061668b5 05-Mar-2013 Dianne Hackborn <hackbod@google.com> Fix issue #8311263: Corrupted UI across all tabs in People app

The problem is that there are other configurations that the
action bar can be in that ActionBarOverlayLayout didn't account
for -- such as here, the nav part visible but the rest hidden.

Fixing this was non-trivial because it means that to correctly
implement fitSystemWindows() we need to in these cases take the
actual measured height of the action bar for positioning the
content view... but that is not yet available, since
fitSystemWindows() must run before layout.

To solve this, ActionBarOverlayLayout now inherits directly from
ViewGroup and implements its own custom layout. In its measure
pass it does all of the fitSystemWindows() work that is dependent
on the measured sizes of the action bar child views after those
are measured and applies them to the content view before it is
measured.

Change-Id: Ie327075d502e9c348aa80b0968c6b0403478301e
ndroid/internal/widget/ActionBarOverlayLayout.java
68da4dabfe2b97587786c25f047fb42755dbc919 02-Mar-2013 Jim Miller <jaggies@google.com> Merge "Fix multi-user support in keyguard."
e0c5569d92faff509cf65ec80414d9c252ebc2b5 02-Mar-2013 Justin Koh <justinkoh@google.com> am 76f065d2: Merge "Add policy check to always show overflow menu button on TV devices." into jb-mr2-dev

* commit '76f065d2e9d6354a59bb233b969c8417aff7223b':
Add policy check to always show overflow menu button on TV devices.
78c48f6c1700ab8d507dd7bf7ebef404913648bd 02-Mar-2013 Jim Miller <jaggies@google.com> Fix multi-user support in keyguard.

This fixes a bug where user0's credentials were required of all users.

LockPatternUtils used to check for the system process of the caller
to determine which user id to use. Now that keyguard is in its own
process, this can no longer be used.

The fix is to use the permission system to see if the calling process
is allowed to interact across users and if so, use the id of the current
user.

Change-Id: I2d7111938bb3bf381f72698c9fa4fb848d237153
ndroid/internal/widget/LockPatternUtils.java
4207fda51babb3892652fcdc901295c81876a38f 01-Mar-2013 Justin Koh <justinkoh@google.com> Add policy check to always show overflow menu button on TV devices.

Add policy check to always show overflow menu button on TV devices.
Bug: 8236681

Change-Id: I4f92eef7a6d530feb698f83b0720b36115f7a04a
ndroid/internal/view/ActionBarPolicy.java
25190577cc69eaa5930c6fbdc2fcca03afc84982 01-Mar-2013 Jim Miller <jaggies@google.com> Post-review Keyguard cleanup.

- remove userActivity() from KeyguardService interface and call it
on PowerManager directly
- Split IKeyguardResult into two parts: IKeyguardShowCallback and
IKeyguardExitCallback.
- Misc other changes from the review.

Change-Id: I3f679cfa5d3f8bc742f2b2259ac354045e89a87b
ndroid/internal/policy/IKeyguardExitCallback.aidl
ndroid/internal/policy/IKeyguardResult.aidl
ndroid/internal/policy/IKeyguardService.aidl
ndroid/internal/policy/IKeyguardShowCallback.aidl
1010a6ec6717ba75e2ea1dfe2865d453a98dd1b5 28-Feb-2013 Dianne Hackborn <hackbod@google.com> am d6a3e485: Merge "Unify normal and overlay action bar layouts." into jb-mr2-dev

* commit 'd6a3e485b58e23808b44b8f2374e67e891cfae05':
Unify normal and overlay action bar layouts.
df7221ced3b7cd807f14e84c302fc09fd659fd68 26-Feb-2013 Dianne Hackborn <hackbod@google.com> Unify normal and overlay action bar layouts.

Switch the action bar to always use the overlay layout, and
make it smarter to do the right thing depending on whether the
action bar is in overlay mode or not.

This allows apps to use the system UI magic flags without
having to worry about whether the action bar is configured
in overlay mode or note -- just select a stable layout and it
will automatically go into overlay mode.

In the future this should also allow us to simplify the action
bar code, since it is all sitting on one common implementation.
For example, much of the logic in ActionBarImpl can be moved
to the root action bar layout, and that layout can be optimized
to do custom layout with all of the known elements it has.

Also fixed a little bug in the performance tests.

Change-Id: Iec0c0c0699754f0d1ce37402d786b4966e052a56
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarOverlayLayout.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
ndroid/internal/policy/IKeyguardResult.aidl
ndroid/internal/policy/IKeyguardService.aidl
ndroid/internal/widget/TransportControlView.java
4d85af68a4aeb6a860c34415de7618947e296af5 26-Feb-2013 Daniel Sandler <dsandler@android.com> Spurious file removed.

Change-Id: I2ac3f417553aea806ad570e247afc985e9ececb3
ndroid/internal/statusbar/INotificationListener.java
ff4fcdb98c9575642c48f1daeafff4b257769e81 24-Feb-2013 Wink Saville <wink@google.com> Tweak logging and some code reformatting.

Add logAndAddLogRec method that logs a string and adds it to LogRecords.
Add loge(s, e)
Add missing javadoc to the logging methods
Reformatted the code.

Change-Id: I42f39e45aae77e5b6968f16b6b83f4804ccb7e73
ndroid/internal/util/StateMachine.java
c4aad01cbbb69c916ef323693e1fd0560b0eccba 23-Feb-2013 Dianne Hackborn <hackbod@google.com> Formalize overscan metrics.

The window manager now maintains and reports a new formal
"overscan insets" for each window, much like the existing
content and visible insets. This is used to correctly
position the various UI elements in the various combination
of layout options. In particular, this allows us to have
an activity that is using fitSystemWindows to have the content
of its UI extend out to the visible content part of the screen
while still positioning its fixed UI elements inside the
standard content rect (and the entire window extending all
the way into the overscan area to fill the screen as desired).

Okay, maybe that is not written so clearly. Well, it made
my head hurt too, so suffer!

The key thing is that windows now need to know about three
rectangles: the overall rectangle of the window, the rectangle
inside of the overscan area, and the rectangle inside of the
content area. The FLAG_LAYOUT_IN_OVERSCAN option controls
whether the second rectangle is pushed out to fill the entire
overscan area.

Also did some improvements to debug dumping in the window
manager.

Change-Id: Ib2368c4aff5709d00662c799507c37b6826929fd
ndroid/internal/os/SomeArgs.java
ndroid/internal/view/BaseIWindow.java
ndroid/internal/widget/ActionBarOverlayLayout.java
ab8e936e852b984624087c97dffc4c74b250fc68 21-Feb-2013 Jim Miller <jaggies@google.com> Merge "Add explicit userId to AppWidget binder calls"
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
ndroid/internal/appwidget/IAppWidgetHost.aidl
ndroid/internal/appwidget/IAppWidgetService.aidl
50c291b653062e7356fd8764bf625a1e1f2c678d 21-Feb-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "SystemUI optimization - rely on inheritance for layout direction"
09a247e9a86df068422cbe8b60430fb6583c028c 14-Feb-2013 Daniel Sandler <dsandler@android.com> New INotificationListener interface.

Use with INotificationManager.registerListener(). Limited to
system only right now.

Change-Id: I65b6a8778267022cdc5e58eb75ae607a54b1cc52
ndroid/internal/statusbar/INotificationListener.java
b5fe52b389d92c067b19217429a2812a9d0ea9dd 15-Feb-2013 Fabrice Di Meglio <fdimeglio@google.com> SystemUI optimization - rely on inheritance for layout direction

- this CL purpose is to fully rely on inheritance for setting the
SystemUI views layout direction. This is the default case for layout
direction and should stay like that.

Change-Id: I8efb6ab6e5bd10f519c7a27e8837efb69631940e
ndroid/internal/widget/SizeAdaptiveLayout.java
3079e587bd519ba78cb34b1bd0b869e2879458ab 15-Feb-2013 Sangkyu Lee <sk82.lee@lge.com> Fix typo in AlertController.java

If whichButtons is BIT_BUTTON_NEGATIVE, the negative button should be centered.

Change-Id: Ia34daf8c80704204a4f1cf71c642114005559d5d
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
ndroid/internal/app/AlertController.java
9a2c2a6da90abbcc9a064c20e93ed885651f4ae1 15-Jan-2013 Jeff Sharkey <jsharkey@android.com> Parse network stats using native code.

Switch to parsing detailed network stats with native code, which
is 71% faster than ProcFileReader.

Change-Id: I2525aaee74d227ce187ba3a74dd08a2b06514deb
ndroid/internal/net/NetworkStatsFactory.java
ndroid/internal/os/BatteryStatsImpl.java
d7d28e675ea7aac151c0c302d233b476537af946 12-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: media ops, set up to be callable from native code.

This is to help implementation of bug #8181262 and maybe
bug #8181261

Adds some definition for media ops (though nothing is yet using
them), and re-arranges things a bit so we can implement native
calling in to the app ops service.

Also add some java docs.

Change-Id: I637959745db820e676f23a35a5d2224f51bc6689
ndroid/internal/app/IAppOpsCallback.aidl
ndroid/internal/app/IAppOpsService.aidl
f643069ad56763732a06ab601cea1272e4c1827a 12-Feb-2013 Wink Saville <wink@google.com> Fix record logging.

Change-Id: I246159dec9522e58ee88593000ac0f86aff4bb25
ndroid/internal/util/StateMachine.java
e8c8ae401b6f0d894a766a1601f55f0fe567df02 09-Feb-2013 Adam Powell <adamp@google.com> Fix setting action bar backgrounds after layout

Fix a bug that would prevent the drawable bounds from being set
correctly for action bar containers.

Change-Id: I396aa40e3d8f6e3b47bcd438e1f26bbfc7b20a7f
ndroid/internal/widget/ActionBarContainer.java
fde19b106b2b77bc3540b04445357870caf878b5 17-Jan-2013 Daniel Sandler <dsandler@android.com> New API to request a list of current notifications.

The ACCESS_NOTIFICATIONS permission is signature|system only.

Change-Id: I41338230aee9611117cbdac251c1b6b6c3cebf00
ndroid/internal/statusbar/StatusBarNotification.java
c2293025a25e04b26bf53713d71f85fd9ca5e8e9 07-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: track system windows, monitoring changes.

Change-Id: I273e82bdad66ada3bf0f7ec9176bc304b9ee1ee8
ndroid/internal/app/IAppOpsCallback.aidl
ndroid/internal/app/IAppOpsService.aidl
1fb69f0f354cf6743e1f30b55e9ca2f9252cf99e 06-Feb-2013 Adam Powell <adamp@google.com> am 0714e37c: am a7e028a9: am cef582ab: am 07cf971e: Fix re-enabled state of up after action view collapse

# Via Android Git Automerger (3) and Adam Powell (1)
* commit '0714e37cb7acafbc93f2fac40dbb200cd2a96514':
Fix re-enabled state of up after action view collapse
0714e37cb7acafbc93f2fac40dbb200cd2a96514 06-Feb-2013 Adam Powell <adamp@google.com> am a7e028a9: am cef582ab: am 07cf971e: Fix re-enabled state of up after action view collapse

# Via Android Git Automerger (2) and Adam Powell (1)
* commit 'a7e028a976c3f3692fa3c72f0ae11c01354e4c9a':
Fix re-enabled state of up after action view collapse
a7e028a976c3f3692fa3c72f0ae11c01354e4c9a 06-Feb-2013 Adam Powell <adamp@google.com> am cef582ab: am 07cf971e: Fix re-enabled state of up after action view collapse

# Via Adam Powell (1) and Android Git Automerger (1)
* commit 'cef582ab0346afdaff9190565d432a9468ecdd7d':
Fix re-enabled state of up after action view collapse
07cf971e58aecab76f2b5b575cfe62120005c6e4 06-Feb-2013 Adam Powell <adamp@google.com> Fix re-enabled state of up after action view collapse

A certain call ordering to the action bar could cause the record of
the pre-action view expanded home button enabled state to be
incorrect. Store this in all cases, not just when the action view is
initially expanded. (Except for when we actually disable it for the
expanded view.)

If an action view is already expanded when we get a call to change the
enabled state of the home/up button, don't modify the state of the up
container or other accessibility info, but record the new state if
requested.

Bug 8142097

Change-Id: I070c151aa9f2046d2114ee541d964bf68c6f0def
ndroid/internal/widget/ActionBarView.java
9c684aab21b095a936e5753fbba378c0a27aa254 05-Feb-2013 Adam Powell <adamp@google.com> am 638af2fb: am 6a33c403: am 569f138e: am 67389e0a: Merge "Fix regression in expanded action view up" into jb-mr1.1-dev

# Via Android Git Automerger (3) and others
* commit '638af2fbb6ecb6ca0e58b06d5b2c6ecabbc7f812':
Fix regression in expanded action view up
638af2fbb6ecb6ca0e58b06d5b2c6ecabbc7f812 04-Feb-2013 Adam Powell <adamp@google.com> am 6a33c403: am 569f138e: am 67389e0a: Merge "Fix regression in expanded action view up" into jb-mr1.1-dev

# Via Android Git Automerger (2) and others
* commit '6a33c4031de8f0b323855c6db8d6ee0c812b0f00':
Fix regression in expanded action view up
6a33c4031de8f0b323855c6db8d6ee0c812b0f00 04-Feb-2013 Adam Powell <adamp@google.com> am 569f138e: am 67389e0a: Merge "Fix regression in expanded action view up" into jb-mr1.1-dev

# Via Adam Powell (1) and others
* commit '569f138ef1a94e6d6cfc0587f06b396a77f00c1c':
Fix regression in expanded action view up
62f33030b9fb6be893e20b563e3ba1800e3e63e8 04-Feb-2013 Adam Powell <adamp@google.com> Fix regression in expanded action view up

A bug was introduced when these views were restructured. Make sure that the
Up button for expanded action views functions/focuses correctly.

Bug 8124825

Change-Id: I0a886e62fca21dbb9a173db87642bb79ce9245e7
ndroid/internal/widget/ActionBarView.java
8e7b3b15f7a4f888d55f080d3ed61860cd5fab55 01-Feb-2013 Jeff Sharkey <jsharkey@android.com> Support optional values in ProcFileReader.

When new values are added to proc files, we need to handle reading
them from both old and new kernels. This change supports optionally
reading long values. Tests to verify.

Bug: 7903145
Change-Id: I9fe250c0486c3cce3cf3d8624f01af01128d1191
ndroid/internal/util/ProcFileReader.java
ed1ad7fadae1ed0fae2946dbe3e3ee9eea299bde 31-Jan-2013 Jeff Sharkey <jsharkey@android.com> Merge "Add wrapping support to IndentingPrintWriter."
71cb446f010e791ca77a27c416a79b5ccb3f075b 31-Jan-2013 Jeff Sharkey <jsharkey@android.com> Add wrapping support to IndentingPrintWriter.

When created with a wrapping width, any content longer than the
requested width will be wrapped onto additional lines. This supports
use-cases like dumping lots of data with printPair().

Improve documentation and add tests to verify behavior.

Change-Id: Ibdfce198f0e69f4df7725544fd1cd02fa029c647
ndroid/internal/util/IndentingPrintWriter.java
d21e24bccec8309839a264da95c5dc1573fc65c3 30-Jan-2013 Wink Saville <wink@google.com> Merge "Cleanup StateMachine LogRec handling and get tests working."
efcc3d35661c0cd978bb2b2f808fade4c4734e21 30-Jan-2013 Wink Saville <wink@google.com> Cleanup StateMachine LogRec handling and get tests working.

Change-Id: I13107e846812b16f1c95be11626500dbd7a13b2a
ndroid/internal/util/StateMachine.java
1410db83f97bf69a1a461cc20fd6d5b7b0ef08c0 30-Jan-2013 Jeff Sharkey <jsharkey@android.com> Merge "Check text length when testing for newline."
3029bf225cfa2c4b5b6e76303b0eba0d91c21026 30-Jan-2013 Jeff Sharkey <jsharkey@android.com> Check text length when testing for newline.

Also add tests to verify.

Bug: 8102140
Change-Id: I7e5dbff53caeb50bfa0fb4ea5dce73e3c742986a
ndroid/internal/util/FastXmlSerializer.java
cae3d9f0ab2756e3659efc7a08830d2d7b43a05e 30-Jan-2013 Nick Kralevich <nnk@google.com> ZygoteInit: more dead code cleanup

ZYGOTE_FORK_MODE has been set to false since 2009, and the
code indicates that runForkMode() was "retained for reference only."
Remove this dead code. There will always be a reference to this code
in git.

Change-Id: Iddfdca8379fdc6521febea81e553de763b6f4fd0
ndroid/internal/os/ZygoteInit.java
4ec799d4c6de7e626363659508f21ee5c3c173aa 30-Jan-2013 Nick Kralevich <nnk@google.com> Merge "Remove dead code."
de3c608864be0fece8a27ef9cca8fac8b5292f5b 30-Jan-2013 Nick Kralevich <nnk@google.com> Merge "ZygoteConnection.java: Remove dead code --peer-wait"
40779e50f04b0d03b49836c640308061f88ff0be 30-Jan-2013 Nick Kralevich <nnk@google.com> Remove dead code.

Setting capabiltities is handled by dalvik. This code
is never called.

Change-Id: I903952c43cf60ea59ec954c9168a7604d05ccaf7
ndroid/internal/os/ZygoteInit.java
468f6c15d2a8d6d1c60c941d7ef77efc30d9cdc1 30-Jan-2013 Nick Kralevich <nnk@google.com> ZygoteConnection.java: Remove dead code --peer-wait

The last caller of this option was removed in
system/core commit b94fd1abcbff1eacb8a2ad79c51de21ecf8f6d65

Change-Id: I9f3540c9e61b4a93038b43983fbb8badac08a2e3
ndroid/internal/os/ZygoteConnection.java
da01da176d4798d293c90d6280ddc59c780baaa3 30-Jan-2013 Satoshi Kataoka <satok@google.com> Merge "Do not turn on imes unexpectedly with unit tests"
8a2ed1d7c0c4f6476e39cc37d9ebd29c7562ce01 30-Jan-2013 Dianne Hackborn <hackbod@google.com> Improve configuration of default preferred apps.

The file that defines default preferred apps is now more
robust. It is no longer a raw dump of the package
manager settings, but instead a more general list of a
target activity and filter. When reading it, the remaining
information (match value, set of potential matches) is
determined dynamically.

Change-Id: I0edc6e0d2ed3dd2a6e2238992f18f7fc1f51d8d4
ndroid/internal/util/FastXmlSerializer.java
2602030a007d902ace3fc573b2820cee31eefc95 28-Jan-2013 Wink Saville <wink@google.com> Merge "Add protected log methods to StateMachine"
58c73c3f76c231cf128041aefadd4b6a6bcefac2 28-Jan-2013 Wink Saville <wink@google.com> Add protected log methods to StateMachine

This allow child classes to Override the logging and
have consistent behavior across StateMachines.

Change-Id: I7e23a44d08ca304ade2d7830fd0e307f63f1879e
ndroid/internal/util/StateMachine.java
f1367b7e903a2a69a8f833bb272e91d77abd57c6 25-Jan-2013 Satoshi Kataoka <satok@google.com> Do not turn on imes unexpectedly with unit tests

Bug: 7872918

Change-Id: Ie1d74c9fac27de140e7aa85f2eaefcb89aa06ea7
ndroid/internal/inputmethod/InputMethodUtils.java
b9781fe08c5b1afba086857aa18b46862550ae88 25-Jan-2013 Dianne Hackborn <hackbod@google.com> Merge "App ops: you can now turn off operations."
5e45ee6752528791deb66b83d76250685de15d47 25-Jan-2013 Dianne Hackborn <hackbod@google.com> App ops: you can now turn off operations.

Also add new ops for calendar and wi-fi scans, finish
implementing rejection of content provider calls, fix
issues with rejecting location calls, fix bug in the
new pm call to retrieve apps with permissions.

Change-Id: I29d9f8600bfbbf6561abf6d491907e2bbf6af417
ndroid/internal/app/IAppOpsService.aidl
7195c8f25b6bfc7564701683d3e2e1ed1bdcfcc6 24-Jan-2013 Adam Powell <adamp@google.com> am a41f9cfb: am 53d49f17: am 17f05497: am c2469500: Merge "Touch action bar title text: you will go to space today!" into jb-mr1.1-dev

# Via Android Git Automerger (3) and others
* commit 'a41f9cfbbd1d137bf1baab49e0d453a40a0ecd33':
Touch action bar title text: you will go to space today!
a41f9cfbbd1d137bf1baab49e0d453a40a0ecd33 24-Jan-2013 Adam Powell <adamp@google.com> am 53d49f17: am 17f05497: am c2469500: Merge "Touch action bar title text: you will go to space today!" into jb-mr1.1-dev

# Via Android Git Automerger (2) and others
* commit '53d49f1702df41a4ca342a1df6e720b16e094797':
Touch action bar title text: you will go to space today!
53d49f1702df41a4ca342a1df6e720b16e094797 24-Jan-2013 Adam Powell <adamp@google.com> am 17f05497: am c2469500: Merge "Touch action bar title text: you will go to space today!" into jb-mr1.1-dev

# Via Adam Powell (1) and others
* commit '17f05497be90004c0263c6de173af8c19ece07b0':
Touch action bar title text: you will go to space today!
27cba3895282ac1da1f1d43d37d53f8113527569 23-Jan-2013 Adam Powell <adamp@google.com> Touch action bar title text: you will go to space today!

Title/subtitle text in an action bar is now a full alias for home/up.

Add some prototype ActionBar functionality around titles for future
API consideration.

Bug 7966136

Change-Id: I14377121dcb976d0a5f1e1862f35c3d267eb5458
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
fd7adedebf88427162a3ce27fcc9cfd3893c869d 23-Jan-2013 Dianne Hackborn <hackbod@google.com> Add new disabled state for "optional" built-in apps.

The disabled state allows you to make an app disabled
except for whatever parts of the system still want to
provide access to them and automatically enable them
if the user want to use it.

Currently the input method manager service is the only
part of the system that supports this, so you can put
an IME in this state and it will generally look disabled
but still be available in the IME list and once selected
switched to the enabled state.

Change-Id: I77f01c70610d82ce9070d4aabbadec8ae2cff2a3
ndroid/internal/content/PackageMonitor.java
ndroid/internal/inputmethod/InputMethodUtils.java
72e3983d38f656cfa8c7a038eb80bdd9ea06768e 19-Jan-2013 Dianne Hackborn <hackbod@google.com> New API to get app op information about a single package.

Change-Id: I986453d9bb4161da467fb820b12502464e936483
ndroid/internal/app/IAppOpsService.aidl
ec6afcc69ae35a0b1f22f44a70fbe4ce5a17be41 17-Jan-2013 Elliott Hughes <enh@google.com> am 8c27d0b3: am 686fad5e: am b1e16f11: Merge "Track a typo fix in hidden libcore API."

* commit '8c27d0b3093593fe0d2c229ffcc9a35dbaf5fc59':
Track a typo fix in hidden libcore API.
8c27d0b3093593fe0d2c229ffcc9a35dbaf5fc59 17-Jan-2013 Elliott Hughes <enh@google.com> am 686fad5e: am b1e16f11: Merge "Track a typo fix in hidden libcore API."

* commit '686fad5e2367fe08afe6e219d460be994127fb5e':
Track a typo fix in hidden libcore API.
686fad5e2367fe08afe6e219d460be994127fb5e 17-Jan-2013 Elliott Hughes <enh@google.com> am b1e16f11: Merge "Track a typo fix in hidden libcore API."

* commit 'b1e16f11ffd3a391be1a44a352c122b6dad1e8a5':
Track a typo fix in hidden libcore API.
26df61683a6dacc3cf193e647f9de91d683772ca 17-Jan-2013 Elliott Hughes <enh@google.com> Track a typo fix in hidden libcore API.

Change-Id: I6fa3c2ef7f4d73bbf6557560e46c7c11bff74a32
ndroid/internal/os/SamplingProfilerIntegration.java
35654b61e8fe7bc85afcb076ddbb590d51c5865f 15-Jan-2013 Dianne Hackborn <hackbod@google.com> More work on App Ops service.

Implemented reading and writing state to retain information
across boots, API to retrieve state from it, improved location
manager interaction to monitor both coarse and fine access
and only note operations when location data is being delivered
back to app (not when it is just registering to get the data at
some time in the future).

Also implement tracking of read/write ops on contacts and the
call log. This involved tweaking the content provider protocol
to pass over the name of the calling package, and some
infrastructure in the ContentProvider transport to note incoming
calls with the app ops service. The contacts provider and call
log provider turn this on for themselves.

This also implements some of the mechanics of being able to ignore
incoming provider calls... all that is left are some new APIs for
the real content provider implementation to be involved with
providing the correct behavior for query() (return an empty
cursor with the right columns) and insert() (need to figure out
what URI to return).

Change-Id: I36ebbcd63dee58264a480f3d3786891ca7cbdb4c
ndroid/internal/app/IAppOpsService.aidl
8e303cc5dd4860b6050d5725ce60ca7e6fb00c7b 11-Jan-2013 Satoshi Kataoka <satok@google.com> Refactor utilities for InputMethodManagerSerivce that we want to share with the Settings application

Bug: 7872918

Change-Id: I0bc9954f163a3ec38d08b9ba842a8a31176eb6a6
ndroid/internal/inputmethod/InputMethodUtils.java
e886d3d33b3630dc6013688cee4364bc532f7815 11-Jan-2013 Adam Powell <adamp@google.com> am 79cc4a2a: am d1779207: am 0bf63a9a: am d29f2d26: Merge "Make action bar title a valid touch target for up when relevant" into jb-mr1.1-dev

* commit '79cc4a2ab0130acca83de5945a43adf9925beac1':
Make action bar title a valid touch target for up when relevant
a06de0f29b58df9246779cc4bfd8f06f7205ddb6 12-Dec-2012 Dianne Hackborn <hackbod@google.com> New "app ops" service.

Initial implementation, tracking use of the vibrator, GPS,
and location reports.

Also includes an update to battery stats to also keep track of
vibrator usage (since I had to be in the vibrator code anyway
to instrument it).

The service itself is only half-done. Currently no API to
retrieve the data (which once there will allow us to show you
which apps are currently causing the GPS to run and who has
recently accessed your location), it doesn't persist its data
like it should, and no way to tell it to reject app requests
for various operations.

But hey, it's a start!

Change-Id: I05b8d76cc4a4f7f37bc758c1701f51f9e0550e15
ndroid/internal/app/IAppOpsService.aidl
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
79cc4a2ab0130acca83de5945a43adf9925beac1 09-Jan-2013 Adam Powell <adamp@google.com> am d1779207: am 0bf63a9a: am d29f2d26: Merge "Make action bar title a valid touch target for up when relevant" into jb-mr1.1-dev

* commit 'd17792073fd3ab963bd5e0a7edcb312720fcea26':
Make action bar title a valid touch target for up when relevant
d17792073fd3ab963bd5e0a7edcb312720fcea26 09-Jan-2013 Adam Powell <adamp@google.com> am 0bf63a9a: am d29f2d26: Merge "Make action bar title a valid touch target for up when relevant" into jb-mr1.1-dev

* commit '0bf63a9a76ba513b5f6c603857bcd4d3e4506566':
Make action bar title a valid touch target for up when relevant
4dca8636f8c674a7770031c71bc785ef05f22ff9 09-Jan-2013 Adam Powell <adamp@google.com> Make action bar title a valid touch target for up when relevant

arubin bug 7966136

Change-Id: Iea5b85852cc1664f1390a6f8b6179d63b50857e4
ndroid/internal/widget/ActionBarView.java
8ca2fc10ceac645a04c8223947df03f359441115 12-Dec-2012 Jim Miller <jaggies@google.com> Remove unused keyguard code

This change removes the old keyguard code because it's obsolete and doesn't run
anymore.

Change-Id: I8ed93f507378a17cf834d2ee9284c098eb8efffe
ndroid/internal/widget/DigitalClock.java
8afcd149970c79054a3a16377834aa0aec35eee0 28-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make SystemUI RTL aware

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ica88ed68f893d5272691a9207788b65623849dee
ndroid/internal/widget/SizeAdaptiveLayout.java
7a96c39c510923ef73bbb06ab20109f0168b8eb1 15-Nov-2012 Jeff Sharkey <jsharkey@android.com> Move lingering services to services.jar.

This helps reduce the pressure on framework.jar, and makes it clear
that it should only be used by the system_server.

Bug: 7333397
Change-Id: I0858904239535380fbf30562b793e277d8c3f054
ndroid/internal/widget/LockPatternUtils.java
ndroid/internal/widget/LockSettingsService.java
d44280e28884085f014806d53413ec5a68d0ac25 11-Dec-2012 Mita Yun <mitayun@google.com> resolved conflicts for merge of ebcbfb3f to master

Change-Id: I0658dd4a1418fbad91d9663e5b52418a979dc683
29c04ef841fe22785e2fd3348c653bd8a5240aae 11-Dec-2012 Adam Powell <adamp@google.com> Set an ID for the action bar's Spinner

This ensures state is preserved properly.

Change-Id: I4bdccaf9b8a30a0a38466a5615cebbb596d80fb4
ndroid/internal/widget/ActionBarView.java
ebcbfb3fc7750e2873a3e7c6c707fa4e203089b6 11-Dec-2012 Mita Yun <mitayun@google.com> am a98cd512: Merge "Use asynchronous messages for input method events." into jb-mr1-aah-dev

* commit 'a98cd5122be643a51f563d02069e8f9409d44394':
Use asynchronous messages for input method events.
ed218c706d9e91e75b94c448cee2e6150aaee57f 07-Dec-2012 Mita Yun <mitayun@google.com> Use asynchronous messages for input method events.

Improves the throughput of IME event handling by ensuring that
input events do not get serialized behind UI traversal and
drawing messages such as when the UI is animating.

Added support for creating an asynchronous Handler as part of a
HandlerCaller. It turns out we should be using an asynchronous
Handler not only in IME dispatch but also in accessibility and
wallpaper events where HandlerCaller is used. So fixed those
services to also use an asynchronous Handler.

Change-Id: I0b19140c9d5ca6ee300c1a150c48312fd55ed8eb
ndroid/internal/os/HandlerCaller.java
4bbfa9dbb08c815b890bcc1dc1759ca335b568f8 06-Dec-2012 Irfan Sheriff <isheriff@android.com> am 628ba035: am 1612e298: Merge "AsyncChannel to support remote death notification and post a disconnect message to the source handler."

* commit '628ba035b3c0636826f3eee3ae78da628cc1a8c8':
AsyncChannel to support remote death notification and post a disconnect message to the source handler.
628ba035b3c0636826f3eee3ae78da628cc1a8c8 06-Dec-2012 Irfan Sheriff <isheriff@android.com> am 1612e298: Merge "AsyncChannel to support remote death notification and post a disconnect message to the source handler."

* commit '1612e29826dfe55f8deca27374046c5931ce5335':
AsyncChannel to support remote death notification and post a disconnect message to the source handler.
1612e29826dfe55f8deca27374046c5931ce5335 06-Dec-2012 Irfan Sheriff <isheriff@android.com> Merge "AsyncChannel to support remote death notification and post a disconnect message to the source handler."
56a715ef7af1e8e808ac6274e0456d9731b97e7a 04-Dec-2012 Irfan Sheriff <isheriff@google.com> Merge "Fix NPE in StateMachine"
f98facaf808df28c54101c57097506d5f7709a4a 04-Dec-2012 Irfan Sheriff <isheriff@google.com> Fix NPE in StateMachine

Bug: 7661311
Change-Id: I8645692baf43aced1f4b364bbf13275646754b63
ndroid/internal/util/StateMachine.java
ebab0ae105f1a6df593a4bc2549fae3ee8b2ade4 04-Dec-2012 rpcraig <rpcraig@tycho.ncsc.mil> BackupManagerService files need new security labeling.

Use restorecon to label files and directories
specific to BMS.

* /data/backup : provide default type labeling
for all files/dirs used by BMS.

* /data/secure/backup : provide default type
labeling used by BMS when encrypted
file system is enabled.

* /cache/<package name>.{data|restore} :
specifically target files opened and
passed by BMS to apps that have backup
capabilities.

* /cache/backup : default labeling for the
directory used by the LocalTransport
that stores backup files for local testing.

Change-Id: Id4d46e82cd13abc2e395e0c30c515f0a33df93e7
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
ndroid/internal/backup/LocalTransport.java
2c5f782094c5668a9615e2f9f41063386ae52b28 04-Dec-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Refactoring of the screen magnification feature."
897ccbbdd822057d55c96e89f897be18c02c19cb 03-Dec-2012 Adam Powell <adamp@android.com> am e4db4e2b: am 05c8f17f: Merge "resolver list is not cleared on rebuild"

* commit 'e4db4e2b9dca065fbbf9f10dd5b9e961a9acef46':
resolver list is not cleared on rebuild
e4db4e2b9dca065fbbf9f10dd5b9e961a9acef46 03-Dec-2012 Adam Powell <adamp@android.com> am 05c8f17f: Merge "resolver list is not cleared on rebuild"

* commit '05c8f17f05ca83573f7670191e6dec91497dc742':
resolver list is not cleared on rebuild
152e9bb81aa5b2ab4637f4b2dae04b3ce89fa891 13-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Refactoring of the screen magnification feature.

1. The screen magnification feature was implemented entirely as a part of the accessibility
manager. To achieve that the window manager had to implement a bunch of hooks for an
external client to observe its internal state. This was problematic since it dilutes
the window manager interface and allows code that is deeply coupled with the window
manager to reside outside of it. Also the observer callbacks were IPCs which cannot
be called with the window manager's lock held. To avoid that the window manager had
to post messages requesting notification of interested parties which makes the code
consuming the callbacks to run asynchronously of the window manager. This causes timing
issues and adds unnecessary complexity.

Now the magnification logic is split in two halves. The first half that is responsible
to track the magnified portion of the screen and serve as a policy which windows can be
magnified and it is a part of the window manager. This part exposes higher level APIs
allowing interested parties with the right permissions to control the magnification
of a given display. The APIs also allow a client to be registered for callbacks on
interesting changes such as resize of the magnified region, etc. This part servers
as a mediator between magnification controllers and the window manager.

The second half is a controller that is responsible to drive the magnification
state based on touch interactions. It also presents a highlight when magnified to
suggest the magnified potion of the screen. The controller is responsible for auto
zooming out in case the user context changes - rotation, new actitivity. The controller
also auto pans if a dialog appears and it does not interesect the magnified frame.

bug:7410464

2. By design screen magnification and touch exploration work separately and together. If
magnification is enabled the user sees a larger version of the widgets and a sub section
of the screen content. Accessibility services use the introspection APIs to "see" what
is on the screen so they can speak it, navigate to the next item in response to a
gesture, etc. Hence, the information returned to accessibility services has to reflect
what a sighted user would see on the screen. Therefore, if the screen is magnified
we need to adjust the bounds and position of the infos describing views in a magnified
window such that the info bounds are equivalent to what the user sees.

To improve performance we keep accessibility node info caches in the client process.
However, when magnification state changes we have to clear these caches since the
bounds of the cached infos no longer reflect the screen content which just got smaller
or larger.

This patch propagates not only the window scale as before but also the X/Y pan and the
bounds of the magnified portion of the screen to the introspected app. This information
is used to adjust the bounds of the node infos coming from this window such that the
reported bounds are the same as the user sees not as the app thinks they are. Note that
if magnification is enabled we zoom the content and pan it along the X and Y axis. Also
recomputed is the isVisibleToUser property of the reported info since in a magnified
state the user sees a subset of the window content and the views not in the magnified
viewport should be reported as not visible to the user.

bug:7344059

Change-Id: I6f7832c7a6a65c5368b390eb1f1518d0c7afd7d2
ndroid/internal/policy/PolicyManager.java
c72beac860d98cf7e58b2473ff2602b191b46d16 01-Dec-2012 Amith Yamasani <yamasani@google.com> am 0f469f4f: am 32df98d5: am c566b43d: Fix crosstalk between users for widgets hosted in lockscreen

* commit '0f469f4f7eff8faee4350a0d82af325d4ae10b43':
Fix crosstalk between users for widgets hosted in lockscreen
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
ndroid/internal/appwidget/IAppWidgetService.aidl
38ddedc8adfc4d58f4bebe4a51149e4768d42f70 30-Nov-2012 Irfan Sheriff <isheriff@google.com> Merge "Support for dumping transition only messages"
ef8da9fe0b70fdbbb54bb0645ac66f75f58f31b8 29-Nov-2012 Irfan Sheriff <isheriff@google.com> Support for dumping transition only messages

Change-Id: I4968e28334f9dd49bd8fb81d04b25d62ca6da300
ndroid/internal/util/StateMachine.java
223172045f215cee03dbbc515cc18d433c9ea919 30-Nov-2012 Michael Jurka <mikejurka@google.com> am 4ed32c24: am d2de8033: am a8d63ec9: Merge "Disable adding keyguard widgets until setup is done" into jb-mr1.1-dev

* commit '4ed32c248a70fb3ab4d36def8f73e5b88b7fc3d5':
Disable adding keyguard widgets until setup is done
4ed32c248a70fb3ab4d36def8f73e5b88b7fc3d5 30-Nov-2012 Michael Jurka <mikejurka@google.com> am d2de8033: am a8d63ec9: Merge "Disable adding keyguard widgets until setup is done" into jb-mr1.1-dev

* commit 'd2de8033a304e951426e66e1f2c800402271c5e3':
Disable adding keyguard widgets until setup is done
03919d4084ba187d17d960ac27ba5631e8fface6 29-Nov-2012 Adam Powell <adamp@google.com> am 2a1f11e9: am 57c23a46: am 10479a29: Merge "Clean up behavior of type arguments for MediaRouter#getSelectedRoute" into jb-mr1.1-dev

* commit '2a1f11e9750951d072d04155cfe3b7b7f7b96bb7':
Clean up behavior of type arguments for MediaRouter#getSelectedRoute
70a649ca510704ccee5c6795803b3ab56082dad4 29-Nov-2012 Adam Cohen <adamcohen@google.com> am 20b9edd8: am 224daede: am 035352b4: Merge "Making sure keyguard and homescreen only display eligible widgets (issue 7550090)" into jb-mr1.1-dev

* commit '20b9edd805777bf9e603d8008650c23b031dac79':
Making sure keyguard and homescreen only display eligible widgets (issue 7550090)
36893b16ce8f7e4525685721eb336e114ae11958 29-Nov-2012 Dianne Hackborn <hackbod@google.com> am 221d59f7: am afdd978c: am 68e0da7e: Merge "Quiet down a lot of logging." into jb-mr1.1-dev

* commit '221d59f723584d316ea225bdaf1bc75cbfd7a794':
Quiet down a lot of logging.
2a1f11e9750951d072d04155cfe3b7b7f7b96bb7 29-Nov-2012 Adam Powell <adamp@google.com> am 57c23a46: am 10479a29: Merge "Clean up behavior of type arguments for MediaRouter#getSelectedRoute" into jb-mr1.1-dev

* commit '57c23a464a8428f089531a5d3cab20c81eb6ccee':
Clean up behavior of type arguments for MediaRouter#getSelectedRoute
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)
221d59f723584d316ea225bdaf1bc75cbfd7a794 29-Nov-2012 Dianne Hackborn <hackbod@google.com> am afdd978c: am 68e0da7e: Merge "Quiet down a lot of logging." into jb-mr1.1-dev

* commit 'afdd978ccd8d45ac789873dd4cf0ab0dd3f46d20':
Quiet down a lot of logging.
fff5614caecb0d2944b1bc206aaab0d3acb17670 29-Nov-2012 Michael Jurka <mikejurka@google.com> Disable adding keyguard widgets until setup is done

Bug: 7504154

Change-Id: I865f0139bb328e6b9b19493e0d8f9f086e2ebc38
ndroid/internal/widget/LockPatternUtils.java
10479a29cbdc55cfd25b30cd792a151234b55fa6 29-Nov-2012 Adam Powell <adamp@google.com> Merge "Clean up behavior of type arguments for MediaRouter#getSelectedRoute" into jb-mr1.1-dev
035352b4d62e259c86576dd3d1495b21bed172ff 29-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Making sure keyguard and homescreen only display eligible widgets (issue 7550090)" into jb-mr1.1-dev
d9e5af3851f592a00549b689dec325dc46268606 29-Nov-2012 Adam Cohen <adamcohen@google.com> Making sure keyguard and homescreen only display eligible widgets (issue 7550090)

Change-Id: I25acb7bde2e8e5ac3185a009f5c7151b81f0ae19
ndroid/internal/appwidget/IAppWidgetService.aidl
1cf2ca83584a4cf0aa3ded787bd191b9a60e3521 28-Nov-2012 Adam Powell <adamp@google.com> Clean up behavior of type arguments for MediaRouter#getSelectedRoute

MediaRouter's policy so far has been around a single selected route,
but when route types are entirely orthogonal this should not be the
case. However we still don't want to get into a situation where we
have multiple, very different routes selected for different types at
the same time, we still want to have more of an element of
predictability.

Behavior of getSelectedRoute is now:

* If the selected route matches at least one type with the requested
type flags, it is still considered selected for that request.

* If the caller specifically requested the selected user route and the
currently selected route is not a user route, return null.

* If the requested type flags do not match any types with the selected
route, return the default system route.

Note that this is "any" behavior instead of "all" - this matches
existing usage of the method. We may consider adding an "all" variant
later on.

Bug 7588042

Change-Id: I3a79d8153ca6b882fd3ef6b9b1de8f538873dec2
ndroid/internal/app/MediaRouteChooserDialogFragment.java
40e9f2922cae76ffcbc521481e5be8e80e8744ef 28-Nov-2012 Dianne Hackborn <hackbod@google.com> Quiet down a lot of logging.

Also fix a little problem where the USER_STARTED broadcasts
were not being sent as ordered broadcasts(!).

Change-Id: I3aa3e0a9b3900967cdd2d115ee103371b0a50c41
ndroid/internal/content/PackageHelper.java
816a5d9c27890fab17e2884fa3a67e4154ce8196 28-Nov-2012 Dianne Hackborn <hackbod@google.com> am 360acd03: am 78551bc7: am ba4ac518: Merge "Improve debugging for issue #7586414: AlarmManager wakelocks held" into jb-mr1.1-dev

* commit '360acd03bfe0d597ee845d2392d715633a89e12b':
Improve debugging for issue #7586414: AlarmManager wakelocks held
fb8ca912e8005faa61fdddde752962171b738a9e 28-Nov-2012 Winson Chung <winsonc@google.com> am d0079891: am 9f6e8ddf: am 2b847c39: Merge "Removing unecessary additional lock metadata from QuickSettings user tile." into jb-mr1.1-dev

* commit 'd0079891e3a8034f560eaf88d5be692b61ca4b9a':
Removing unecessary additional lock metadata from QuickSettings user tile.
a8f6d5f0720f400b6f59b0809aaefea83c5f51d4 27-Nov-2012 Romain Guy <romainguy@google.com> Add support for face attribute to HTML string resources
Bug #7480719

This change also adds the alias "color" for the attribute "fgcolor".
This change also unifies HTML colors parsing between the Html class
and StringBlock for consistency.

Change-Id: I696a6e080387901d88e9baf7cb989b892f14b9db
ndroid/internal/util/XmlUtils.java
360acd03bfe0d597ee845d2392d715633a89e12b 27-Nov-2012 Dianne Hackborn <hackbod@google.com> am 78551bc7: am ba4ac518: Merge "Improve debugging for issue #7586414: AlarmManager wakelocks held" into jb-mr1.1-dev

* commit '78551bc7d5541c86503b32db0e3e2564218bf179':
Improve debugging for issue #7586414: AlarmManager wakelocks held
d0079891e3a8034f560eaf88d5be692b61ca4b9a 27-Nov-2012 Winson Chung <winsonc@google.com> am 9f6e8ddf: am 2b847c39: Merge "Removing unecessary additional lock metadata from QuickSettings user tile." into jb-mr1.1-dev

* commit '9f6e8ddf5d48a695b26f1d9759696b56952177bd':
Removing unecessary additional lock metadata from QuickSettings user tile.
ba4ac51823c59152e2167365b81ac56857b6b4d0 27-Nov-2012 Dianne Hackborn <hackbod@google.com> Merge "Improve debugging for issue #7586414: AlarmManager wakelocks held" into jb-mr1.1-dev
8103890a59de6ed4abaedaad80e66666ea59f9b5 27-Nov-2012 Dianne Hackborn <hackbod@google.com> Improve debugging for issue #7586414: AlarmManager wakelocks held

In alarm manager, print a summary of the top 10 alarms by time
being executed. Keep track of execution time (and wake count) of
each type of alarm for each application so this can be printed in
the summary (and used to compute the top 10 alarms). Rework how
the alarm summary stats are tracked so that we don't need to hold
on to the full Intent for each stat and can get the Intent information
at the time the alarm is sent rather than waiting for whatever Intent
comes back in the result.

Also in the battery stats: sort the kernel wake locks by time, add
a new section showing all partial wake locks across all applications
sorted by time.

Finally a new LocalLog class that is used by AlarmManager to log
important warning messages, so these can also be later found in
its dumpsys output.

Change-Id: Icc07810053e60fb623a49937e696819cb8352b06
ndroid/internal/util/LocalLog.java
f7614fc7442e9cf2df89d4230af3f56f03a74c6e 26-Nov-2012 Winson Chung <winsonc@google.com> Removing unecessary additional lock metadata from QuickSettings user tile.

Change-Id: I89ec94385eb3cdd46ad6942bf8989fb04d5c0370
ndroid/internal/widget/LockPatternUtils.java
43a5070e06802734a1e5ea30eb5185dc7a581905 21-Nov-2012 You Kim <you.kim72@gmail.com> resolver list is not cleared on rebuild

Refactoring ResolverActivity.java

Change-Id: I84e6420ff98ddcafd27a52b041ddb1c50e7d7362
Signed-off-by: You Kim <you.kim72@gmail.com>
ndroid/internal/app/ResolverActivity.java
732e589c1040cb29deac499ae155bbb7c7358def 21-Nov-2012 Adam Powell <adamp@android.com> am 6e8c1495: Merge "Re-read shortcut labels if the language has changed"

* commit '6e8c1495f6a65124750155409ce326736744a42b':
Re-read shortcut labels if the language has changed
eb573418a7a727fb44720514da8ebc1dc37388f7 19-Apr-2011 Mattias Falk <mattias.falk@sonyericsson.com> Re-read shortcut labels if the language has changed

The shortcut label isn't updated to the current language
if the phone's language has changed.

The problem was that the shortcut label is stored in a
static variable which is set once and kept throughout the
life time of the process.

Change-Id: I89c5875fbf28fb82e073166c472ca205d28674fb
ndroid/internal/view/menu/MenuItemImpl.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
ndroid/internal/appwidget/IAppWidgetService.aidl
9634e970679c687572e2da84250adc8baf91a8c3 15-Nov-2012 Jeff Sharkey <jsharkey@android.com> am bfea4f04: am f5377a72: Merge "Useful annotations for code documentation." into jb-mr1.1-dev

* commit 'bfea4f04f226f1adf374412628d5945c380382a7':
Useful annotations for code documentation.
8b2c3a14603d163d7564e6f60286995079687690 12-Nov-2012 Jeff Sharkey <jsharkey@android.com> Useful annotations for code documentation.

Bug: 6537978
Change-Id: I806c3c09e3255f8789455f13bf37c1dde2a93f1f
ndroid/internal/annotations/GuardedBy.java
ndroid/internal/annotations/Immutable.java
ndroid/internal/annotations/VisibleForTesting.java
ndroid/internal/net/NetworkStatsFactory.java
e0d454d2e86f4170bdab68d45696fb2eb9a87f9f 09-Nov-2012 Dianne Hackborn <hackbod@google.com> am 72325cdb: am 63bc6c12: am a46a74fc: Merge "Remove extraneous logs." into jb-mr1-dev

* commit '72325cdb65a321df7755ba214efd9be42ce828d5':
Remove extraneous logs.
23b94022ba4cdd0b45c2c2835d45921423d916c8 09-Nov-2012 Jim Miller <jaggies@google.com> am 3a191b49: am f3add313: am 3c9297c3: Merge "Attempt to fix NegativeArraySizeException crash in keyguard" into jb-mr1-lockscreen-dev

* commit '3a191b495c886a654f33fe717467a74975137e58':
Attempt to fix NegativeArraySizeException crash in keyguard
09b6f4bbff67f210aa135d0158985cb3c47f95a4 09-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> am 8fa69381: am 0e538548: am cd1f3095: Merge "Slide unlock cannot get accessibility focus." into jb-mr1-lockscreen-dev

* commit '8fa69381f212b85ec9156e0a95382cd3ff312444':
Slide unlock cannot get accessibility focus.
92f828f2a4f873871ddd4b6f81812f94cc0bd227 09-Nov-2012 Adam Cohen <adamcohen@google.com> am 24b1764e: am 9477f8de: am 3e66286f: Merge "Fixing up glowpad scaling issues (issue 7494378)" into jb-mr1-lockscreen-dev

* commit '24b1764e6c1996926ecba280f236ab05cec68b2c':
Fixing up glowpad scaling issues (issue 7494378)
9d15b4cb70e0141bb5fe4e266bb505b4f84eb1ec 09-Nov-2012 Michael Jurka <mikejurka@google.com> am 5dc8ce48: am c7037934: am cabcc590: Merge "Allowing rotation while adding lockscreen widgets" into jb-mr1-lockscreen-dev

* commit '5dc8ce48d80c339070b626903a57846d4357c2f2':
Allowing rotation while adding lockscreen widgets
0c06c2b35c50a8391fb95e8f9b277e0b9899c1c1 09-Nov-2012 Adam Cohen <adamcohen@google.com> am 580657a3: am 96c3f7e5: am 1361758f: Merge "Giving glow pad the brains to scale itself dynamically (issue 7449554)" into jb-mr1-lockscreen-dev

* commit '580657a34851c29f013586578241d2f4d6dc4f5d':
Giving glow pad the brains to scale itself dynamically (issue 7449554)
d31bc8ca2ce4c1288f14cf650944c9b65a588b72 09-Nov-2012 Michael Jurka <mikejurka@google.com> am f1424272: am 1aad5be9: am 835579e8: Merge "Removing sticky widgets in lockscreen" into jb-mr1-lockscreen-dev

* commit 'f142427244dde3e467b126df4840f496e09cef56':
Removing sticky widgets in lockscreen
fcb8042316bad141cab189de6dfacd60e8d09848 09-Nov-2012 Jim Miller <jaggies@google.com> am 8920c259: am 259e3121: am 51117262: Handle DevicePolicyManagement and safe mode when inflating widgets

* commit '8920c259c8f5c63e4fae40f00afb185daa8008fb':
Handle DevicePolicyManagement and safe mode when inflating widgets
a46a74fcd61d2b4e72b6027625a471f10b21b1c9 08-Nov-2012 Dianne Hackborn <hackbod@google.com> Merge "Remove extraneous logs." into jb-mr1-dev
7ff30113de68539ec840c524b8f1561f938f96c5 08-Nov-2012 Dianne Hackborn <hackbod@google.com> Remove extraneous logs.

Change-Id: I4c47d36748de91bd6fddc419afbf59552bf63e9a
ndroid/internal/widget/TransportControlView.java
3c9297c3cb739b9aec9ccff7e4e3e05006edb836 08-Nov-2012 Jim Miller <jaggies@google.com> Merge "Attempt to fix NegativeArraySizeException crash in keyguard" into jb-mr1-lockscreen-dev
7ce0c13c0e5a1413ecde1a5c36510d22979f9012 08-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Slide unlock cannot get accessibility focus.

1. There are two overlaid views, one is the GlowPadView and the
other is the SlidingChallengeLayout. Since the GlowPadView is
on top of the other view it has to consume the hover events or
they will be dispatched to the view behind it which results
the the GlowPadView not getting accessibility focus.

bug:7496770

Change-Id: Iae3b1777e490c56e33560a016fc04a92226bfb66
ndroid/internal/widget/multiwaveview/GlowPadView.java
3e66286f7cf33ef13fd9f4f033816b84828c1f2b 07-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Fixing up glowpad scaling issues (issue 7494378)" into jb-mr1-lockscreen-dev
f988bdfbaebe8ee94f6459f3c8d964467f2c62c9 07-Nov-2012 Adam Cohen <adamcohen@google.com> Fixing up glowpad scaling issues (issue 7494378)

Change-Id: I55c0f7a3774d42d4f5893b12bc0c08690268e351
ndroid/internal/widget/multiwaveview/GlowPadView.java
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
ndroid/internal/app/IMediaContainerService.aidl
ndroid/internal/app/IUsageStats.aidl
ndroid/internal/app/NetInitiatedActivity.java
ndroid/internal/os/PkgUsageStats.aidl
ndroid/internal/os/PkgUsageStats.java
cabcc5900790daaa9ca4d080848c9b505c3de126 07-Nov-2012 Michael Jurka <mikejurka@google.com> Merge "Allowing rotation while adding lockscreen widgets" into jb-mr1-lockscreen-dev
192d6d4ee271c0782a3bf5d8c64e42eb22d1a6fa 07-Nov-2012 Michael Jurka <mikejurka@google.com> Allowing rotation while adding lockscreen widgets

Also cleaning up some unused code

Bug: 7468012
ndroid/internal/widget/LockPatternUtils.java
e41dd0f195d77329bdf686af1dcbfd92bdbb5373 07-Nov-2012 Adam Cohen <adamcohen@google.com> Giving glow pad the brains to scale itself dynamically (issue 7449554)

Change-Id: I44f31d354171c01b607871d6a9e1e9d06a49ffc8
ndroid/internal/widget/multiwaveview/GlowPadView.java
a97686096265c2b718e15f806bca352675e5cd2d 07-Nov-2012 Jim Miller <jaggies@google.com> Attempt to fix NegativeArraySizeException crash in keyguard

Fixes bug 7490924

Change-Id: I974c9b7a4fb3de536efe9d47cdd480190772a1be
ndroid/internal/widget/LockPatternUtils.java
76017cad4f7af95380ee5eaf6dc610bb46088a9c 07-Nov-2012 Michael Jurka <mikejurka@google.com> Removing sticky widgets in lockscreen

Also adding mechanism to show a widget after
adding it

Change-Id: Ic4d49e6ef1343c38fa731b0ed2a327c55b678abf
ndroid/internal/widget/LockPatternUtils.java
51117262c8fadb6d227d137e83ad66996b013141 05-Nov-2012 Jim Miller <jaggies@google.com> Handle DevicePolicyManagement and safe mode when inflating widgets

Bug 7459120
Bug 7444159
Bug 7444016

Change-Id: I7966ec510da8113ac571b5a4b9dc48dd291396e8
Conflicts:
policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetPager.java
ndroid/internal/widget/LockPatternUtils.java
67a871d85732e582c70a2a1d85ef4419eb658a12 02-Nov-2012 Michael Jurka <mikejurka@google.com> Use clock's widget as the default keyguard widget

Also, if we have no widgets in lockscreen,
reinflate the default widget. If that fails,
inflate the built-in clock (KeyguardStatusView)

Change-Id: I2e90ab0893c993a755700e075e4a8ac5a685e0f2
ndroid/internal/widget/LockPatternUtils.java
667b5d58b9e8b77221c87811c5c9aab1bfe44ffa 01-Nov-2012 Brian Colonna <bcolonna@google.com> Suppressing FUL after going to backup fixes b/7449820

Face Unlock would reappear when rotating a tablet after it had already
fallen back to the backup unlock method. This change suppresses Face
Unlock after going to the backup so it isn't seen again until the user
leaves and revisits keyguard.

This change also removes the exposeFallback() callback from Face
Unlock. It has been unnecessary for a long tiem since Face Unlock no
longer covers the backup. The Face Unlock service was therefore
making unnecesaary calls via the AIDL interface.

Note that the AIDL interface change broke obsolete keyguard stuff.
That is being deleted soon anyway, so code has just been commented out
of the obsolete files to make it compile.

Change-Id: Ia5c451cce1703b3bc03e27a35c6b38373e944d1b
ndroid/internal/policy/IFaceLockCallback.aidl
c4842c11932ea4f60fe7ae09b0a59660207e1587 31-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility support for the lockscreen - phone.

Change-Id: Idc99f1322a1d635dd07e1f5efa1665a4676267c2
ndroid/internal/widget/LockPatternView.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
ndroid/internal/widget/LockPatternUtils.java
a0a230abf3aef48ab984b844a00e9ca194722623 31-Oct-2012 Danielle Millett <dmillett@google.com> Merge "Removed makeInvisible() function" into jb-mr1-lockscreen-dev
54d181db0e7a4335918b4c38f4418430ca99b6c1 31-Oct-2012 Danielle Millett <dmillett@google.com> Removed makeInvisible() function

This is now being done inside stopUI instead of its own separate
call since it needs to be done on the UI thread inside FaceLockService.

Change-Id: Iaf3a203f7f201ba4dde4c878f457e765f11e6c0e
ndroid/internal/policy/IFaceLockInterface.aidl
ddbf138d11d9ad4fa9ec871b2fc5862dad20f02c 30-Oct-2012 Brian Colonna <bcolonna@google.com> Fixed misplacement of cancel(X) button for Face Unlock

Before the FUL service started, the FUL cancel button was positioned
off of the right side of the window. This was because the
FaceUnlockView (derived from RelativeLayout) was calling
super.onMeasure() incorrectly, preventing it from using the new
'square' size when laying out child views.

Change-Id: I2f1e86617da5c8f37123febab2e433288bdea062
ndroid/internal/widget/FaceUnlockView.java
68d257d788f5154922cd605ab8079a5c0815dffc 30-Oct-2012 Brian Colonna <bcolonna@google.com> FUL uses square aspect ratio for all layouts fixes b/7426399

When the referenced bug was filed, face unlock was only showing as a
tiny sliver on tablet layouts. Due to other changes in the lockscreen
branch, it was no longer a sliver, but was still an incorrect layout,
with a width much greater than height. This change makes face unlock
square for all layouts.

The face unlock RelativeLayout was replaced with a custom
FaceUnlockView derived from RelativeLayout. The new view forces a
square layout using the same technique used by LockPatternView.

Note that there is still a bug where the pattern view covers the widget
area on portrait tablet layouts. The face unlock view has this same
issue, but may resolve itself when the pattern bug is fixed.

Also note there are two other Face Unlock tablet bugs that existed
before this change (and therefore are not caused by this change):
- flash during transition from spotlight animation to camera preview
- PIN backup is upper-left instead of centered

Change-Id: I550eccfa3924f230a9dc43f0a9b59f1ea55a9273
ndroid/internal/widget/FaceUnlockView.java
1108a2cb412b054cc9e4acc48182c46c45180c0c 30-Oct-2012 Danielle Millett <dmillett@google.com> Added a makeInvisible call to Face Unlock

This makes it so that the view is hidden immediately when
a call to stop is made. This also changes the call in onPause to
only stop and not go to the backup because we still want Face Unlock
to show as the view is being dragged down.

Change-Id: I66d8fc24e82dc3a0155f7d59d8ced932cb584660
ndroid/internal/policy/IFaceLockInterface.aidl
5f050e5c2c1616c7f0795c4f13e42a5d150b8015 27-Oct-2012 John Spurlock <jspurlock@google.com> Use settings to persist sticky widget.

Addressing some comments:
- Sticky widget is now saved in a user-scoped setting.
- Removed multi-user widget from computation (obsolete).
- Removed status widget from computation (just use right-most).
- Removed duplicate isMusicPlaying logic.

(frameworks/base)

Change-Id: I8ef8f826677d78ac24da52adf2d99d47c8d965ac
ndroid/internal/widget/LockPatternUtils.java
1d269e8e8fc508f59e4010777f4da6a2feafb0a4 27-Oct-2012 Chris Wren <cwren@android.com> Merge "single unlock target with honycomb semantics" into jb-mr1-lockscreen-dev
68b14054b96571d4009c6c5a9b4c3413d908a523 27-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev
bb4b601673a4f910d3e467bc5ce39538438859ce 27-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"

This reverts commit 6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb.
and also fbc21e126f329b7b7c161858c1390ccb023be07e

I have also removed all unnecessary calls to resolveLayoutDirection(int). This is possible as
we are resolving layout params on every child of a ViewGroup as of commit
fcc3348f61b2992f0b84e8e8dcb3535fc715298f

Change-Id: I262a375b03fcc3c9261cbe2edebb6ec42ec2e186
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
229dd8b3559257ba31f31299d1d2fc4d1ba14bbb 27-Oct-2012 Michael Jurka <mikejurka@google.com> Fix bug where it wasn't possible to add widgets

- Happened when you were down to 0 widgets (which
won't be possible in future, but fixing this as
well)
ndroid/internal/widget/LockPatternUtils.java
f0ee5b813597e97123d518b227c555c0ea0c0f29 26-Oct-2012 Chris Wren <cwren@android.com> single unlock target with honycomb semantics

Bug: 7411431
Change-Id: I27a86041c93369df2be2d53cb81c29658e70bcca
Proto-Id: I631fa48da4c67351366bcc1002a01dfa66a34d8c
ndroid/internal/widget/multiwaveview/GlowPadView.java
358148e386a20801430aaf6f3f7ca02807cd71c3 26-Oct-2012 John Spurlock <jspurlock@google.com> Implement "sticky" widget logic.

(frameworks/base)
Used after screen-off, and after launching camera.

Bug: 7418847
Change-Id: I5179e6af13be4494fde77fde2cdb5610ab888dac
ndroid/internal/widget/LockPatternUtils.java
1254f2f42f7173ef51d0034975ab5cb7d44f8209 25-Oct-2012 Michael Jurka <mikejurka@google.com> Persist reordering/deleting widgets on keyguard

Also, clean up warnings from unused imports

Change-Id: Id0ef12a584ffdaa8a4fb64ffe93d0dda0af398ec
ndroid/internal/widget/LockPatternUtils.java
8b3dd40019db2c5744b3adceb75a231311bc00b7 25-Oct-2012 Michael Jurka <mikejurka@google.com> Fix build
ndroid/internal/widget/LockPatternUtils.java
aa2859ae61098509495b7938e32a6d59d37561be 24-Oct-2012 Michael Jurka <mikejurka@google.com> Adding ability to add multiple widgets to keyguard

Bug: 7381803
ndroid/internal/widget/LockPatternUtils.java
962159addd6705d11bdd4c0fa3b83c0b7d95b28a 24-Oct-2012 Adam Powell <adamp@google.com> Fix up GlowPadView attributes

Change-Id: I98c14177753e713fcdaaf886c44ce10ab49eebc9
ndroid/internal/widget/multiwaveview/GlowPadView.java
9bef3294d3660a85442829a25c9777e25d3c3cc8 20-Oct-2012 Kenny Root <kroot@google.com> Merge changes Ie3c8ca8d,Ia175b36d into jb-mr1-dev

* changes:
Try to free cache before giving up on install
Robustly add symlink and add for non-primary users
6e7aa77565553e487a1e14478d9c30f512156232 19-Oct-2012 Jeff Sharkey <jsharkey@android.com> Parcel VpnProfile without using disk format.

The on-disk format of VpnProfile only stores the username/password
when saveLogin is set, which was dropping them across IPC boundaries.

Bug: 7378327
Change-Id: I30c16efb358ab8f8d3d9229bbf9811146fe034ce
ndroid/internal/net/VpnProfile.java
cea3743499f4bb8e5f28a2e57686d7af313169c5 18-Oct-2012 Kenny Root <kroot@google.com> Try to free cache before giving up on install

Try to get installd to free up cache before giving up when there is too
little space free.

Bug: 7232123
Change-Id: Ie3c8ca8dfc190abbb9a29a7baee31f32e9de7d69
ndroid/internal/app/IMediaContainerService.aidl
95cccb9d6175cb80d9312fadbe40cf7c4ec9f949 12-Oct-2012 Jeff Sharkey <jsharkey@android.com> Merge "Make all lockscreen widgets follow haptic flag." into jb-mr1-dev
723a725e790d269f32980116e775d3d7f0037865 12-Oct-2012 Jeff Sharkey <jsharkey@android.com> Make all lockscreen widgets follow haptic flag.

Bug: 7337006
Change-Id: I782e498b7528e612c4b06a75b77f5521c951cbd6
ndroid/internal/widget/RotarySelector.java
ndroid/internal/widget/SlidingTab.java
ndroid/internal/widget/WaveView.java
ndroid/internal/widget/multiwaveview/GlowPadView.java
ndroid/internal/widget/multiwaveview/MultiWaveView.java
6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)

Part 2

- fix remaining UI widgets by asking layout params resolution when needed

Change-Id: I97c41639da645d77eeda85feec3bbcc7fc1260b9
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
b8021a88e5c00ebd985a348b56af29c95a178a90 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev
2918ab6c3258639148b8a5c78a34483af195246e 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)

- rename to LayoutParams.resolveLayoutDirection(int)
- upate 17.txt too

Change-Id: I54fe28dc47cfdb65ef0b5b0244dabbe1d675c781
ndroid/internal/widget/ActionBarView.java
5ed9d680409c83fbfd7b617d7f257305d3c34b62 10-Oct-2012 Jeff Sharkey <jsharkey@android.com> Move lockscreen to using haptic feedback setting.

This removes lockscreen-specific "Vibrate on touch" setting, and
changes it to use the haptic feedback setting instead.

Bug: 7318772
Change-Id: I637c392a1aaa22403cb20da4723f90c3b2e3de19
ndroid/internal/widget/LockPatternUtils.java
14c4669916ae993b248f00c55daf0f17069903d9 10-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Cannot force a shown item from an ActionMode into the overflow menu.

1. An app showing an action mode with a visible item that decides to move this item
to the overflow menu cannot do so since the action menu is not updated properly.
Specifically, ActionMenuPresenter does not clear the "is action button" property
of a menu item neither requires nor requests an action button, i.e. the item's
"show as action" property changed to be never shown on the action bar.

bug:7319766

Change-Id: I5cfda6269466fafca1f039a3bab6397392ae9f17
ndroid/internal/view/menu/ActionMenuPresenter.java
245b453733d0b611960844d939e0013f285a5a9a 08-Oct-2012 Jim Miller <jaggies@google.com> Properly handle cancel event in GlowPadView

There was a workaround used in a previous release where we effectively
ignored cancel events to work around another bug. This change removes
the workaround and GlowPadView correctly handles the event.

Bug 6903638

Change-Id: I9b510985c6da346a4e10cf2535267c8d5efa5871
ndroid/internal/widget/multiwaveview/GlowPadView.java
f752202bee88e31ce765483ba2efa6999ae9c9ad 04-Oct-2012 Adam Cohen <adamcohen@google.com> Plumbing to allow keyguard to be shown with user switcher (issue 7175023)

-> Also reduced calls to lockNow, and moved this call in ActivityManagerService

Change-Id: I9ba34ca902f7c0f71fa4ec302104688ca8d11f55
ndroid/internal/widget/LockPatternUtils.java
203a2f464cef0d873ba8a6193e288fd25b6dc907 04-Oct-2012 Amith Yamasani <yamasani@google.com> Fix launching home when there are multiple launchers installed

Bug: 7283782

Since ResolverActivity now runs in the correct user, it doesn't need to explicitly
pass in the calling userId. In fact, for the Home case, since ActivityManager is
the one requesting resolution of Home activity, Resolver is running as user 0
instead of the current user.

Removing explicit calls based on the launchingUid fixes the problem.

Change-Id: I4676c155aafaa0dd5cefb1acefa0e7e9c1e20f25
ndroid/internal/app/ResolverActivity.java
e303c5c3eb2f65ef3c6fc2693cc3cbcee92d63b7 03-Oct-2012 alanv <alanv@google.com> Send LockPatternView accessibility announcements before callbacks

This allows the pattern's listener to optionally send accessibility
announcements that interrupt the defaults, rather than the view always
interrupting the listener.

Bug: 7256500
Change-Id: Ief2f5cc2fae76a3becc1321d14d46f97b3092215
ndroid/internal/widget/LockPatternView.java
c6e570dbadc3689bc80c0516492a3209d5f6742b 02-Oct-2012 Jim Miller <jaggies@google.com> Merge "Fix camera disambiguation in secure keyguard" into jb-mr1-dev
ee82f8fa2d47fc1dbfc29582ae348b3c45ff8fe0 02-Oct-2012 Jim Miller <jaggies@google.com> Fix camera disambiguation in secure keyguard

When there are multiple activities that respond to MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE
we need to show the disambiguation dialog to the user. However the disambiguation "dialog"
is actully an activity themed as a dialog. Hence, we can't show it in the secure keyguard.

This works around the issue by prompting the user for their credentials directly when the
intent needs disambiguation. This will take them out of keyguard and prompt them for
which activity they want to use.

We'll provide a more robust solution in a future release.

Fixes bug 7109816

Change-Id: I94e643d3cb503e1ce6de24c82400b4d5fcbb9d95
ndroid/internal/widget/LockPatternUtils.java
4aeb961de2a2bbf0d897a8436b6421ecfbc4d712 01-Oct-2012 Casey Burkhardt <caseyburkhardt@google.com> Sets accessibility importance for the home/up button.
Bug: 7196985
Change-Id: I4d27470eccb8933f751db892218a8032a80df3da
ndroid/internal/widget/ActionBarView.java
13451a25fff12c1429f9ecdc24b2aa7696359f7d 28-Sep-2012 John Spurlock <jspurlock@google.com> Status bar: Keep disabled state per user.

Bug:7165607
Change-Id: If6f7a41c2516996612aef5e013dd0d2bd23f9084
ndroid/internal/statusbar/IStatusBarService.aidl
705ab808cf023e0cc38c2ba7cdb9571942cdc04f 17-Sep-2012 Adam Powell <adamp@google.com> Add wireless display selection support to MediaRouter.

* Adds the new route type LIVE_VIDEO

* Wireless displays support both LIVE_VIDEO and LIVE_AUDIO, making
wireless display routes valid selections in when apps make selecting
live audio routes available.

* MediaRouter will only report/manipulate wireless displays that have
already been paired at the system level.

Bug 7177920

Change-Id: Ic221b8687d77b4c0df9801c396b74870e86206e9
ndroid/internal/app/MediaRouteChooserDialogFragment.java
0dc2b81ce1400ae23faa5cc386caeef235856307 28-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Cleanup internal status bar APIs." into jb-mr1-dev
5e08af03a3dffff8b8fc098790e5133589601d8f 22-Sep-2012 Christopher Tate <ctate@google.com> Respect per-user rotation lock et alia

Various per-user settings such as rotation lock are relevant to the
singleton PhoneWindowManager object. We now listen for user-switch
broadcasts and reconfigure the active state based on the newly-
active user's settings.

The RotationPolicy toolset has also been updated to do the right
thing, as has the Quick Settings UI.

Bug 7213638

Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
ndroid/internal/view/RotationPolicy.java
3af630c8d18bcf4b23a5a308917319dd04cc8ed2 26-Sep-2012 Jim Miller <jaggies@google.com> Update keyguard layouts on phone

- Go back to using old date format
- All keyguard text is now caps
- Lower brightness on emergency call text
- Fixed CR/LF issue with Owner info
- Added new alarm icon and fixed padding
- Swapped Google Now and lock icon in landscape mode
- Centered PIN/Password/Pattern help text in view in portrait
- Fixed keyboard size issue in landscape
- Merge new assets from UX

Change-Id: I7adb44b6c9a57d40cab0a77433d43291fb277568
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
11cf178100e71d3f9f34ab5865e03a277c5eadaa 27-Sep-2012 Daniel Sandler <dsandler@android.com> Cleanup internal status bar APIs.

IStatusBarService.collapseQuickSettings is gone;
collapseNotifications is now collapsePanels, which does what
collapse() used to do. Similarly,
IStatusBar.animateCollapseQuickSettings is now simply
IStatusBar.animateCollapse().

Bug: 7245229
Change-Id: Id157d2fdf34926d3c85ffa8b81c741a5359aede4
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
7b879999fe2bef549ed1c04259fcd7f07e10e83b 27-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #7238170: Edit picture option is not available for the secondary user." into jb-mr1-dev
4d5c2b03172747843d0549eeea890150a705b86b 27-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7238170: Edit picture option is not available for the secondary user.

Change-Id: Icb3229f543f286afb4a31e267099eceaa0cca11d
ndroid/internal/app/ResolverActivity.java
f05d511bc95c5d0bdfa6d64c6a8a02c6a099703f 26-Sep-2012 Kenny Root <kroot@google.com> Merge "LockScreen: only set keystore password for owner" into jb-mr1-dev
df8bfe0cf65b4f864eb3eb60c1371f987c79ca20 22-Sep-2012 Kenny Root <kroot@google.com> LockScreen: only set keystore password for owner

Since KeyStore doesn't support multi-user, only unlock or set the
password on the keystore when the "owner" enters a password.

Bug: 7169463
Change-Id: I97b4ba714dc6e400a6e45825c71f81c4629392d8
ndroid/internal/widget/LockPatternUtils.java
c91fb5875bfd7f91d50d6fe939873872b53c8b2f 26-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding a global accessibility action to open quick settings." into jb-mr1-dev
e20a177d3f147f3011647c3bdab401f90b2c5d1d 26-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding a global accessibility action to open quick settings.

1. Added APIs for opening the quick settings to the StatusBarManagerService
and the local StatausBarManager. The new APIs are protected by the old
EXPAND_STATUS_BAR permission.
Renamed the expand* and collapse* non-public APIs that are expanding
the notifications to expandNotifications* collapseNotifications* to
better convey what they do given that this change adds
expandQuickSettings* and collapseQuickSettings*.
Added a global action to the accessibility layer to expand the quick
settings which is calling into the new status bar manager APIs.

bug:7030487

Change-Id: Ic7b46e1a132f1c0d71355f18e7c5a9a2424171c3
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
98edc951712823dbf5db2b7e9c203a0e98fc616b 25-Sep-2012 Amith Yamasani <yamasani@google.com> Load resources for the correct user

For apps that are only installed on secondary users, the SystemUI is
unable to see them by default. Added some methods to explicitly pass the
userId of the user the resources are requested for by the StatusBarIcon

Bug: 7214384

Also fix binding to remote views

Bug: 7192802

Change-Id: I5d6c5f624aa37fb231f3467f9764c8d99077a91d
ndroid/internal/statusbar/StatusBarIcon.java
cd11b223f3d23ca0f92b53808f7e1cce928c2a7b 24-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #7214090: Need to be able to post notifications to all users" into jb-mr1-dev
50cdf7c3069eb2cf82acbad73c322b7a5f3af4b1 24-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7214090: Need to be able to post notifications to all users

Also fix a bunch of system services that should be doing this. And
while doing that, found I needed to fix PendingIntent to evaluate
USER_CURRENT at the point of sending, not creation.

Note that this may end up with us having some notification shown to
non-primary users that lead to settings UI that should only be for
the primary user (such as the vpn notification). I'm not sure what
to do about this, maybe we need a different UI to come up there or
something, but showing the actual notification for those users at
least seems less broken than not telling them at all.

Change-Id: Iffc51e2d7c847e3d05064d292ab93937646a1ab7
ndroid/internal/statusbar/StatusBarNotification.java
26c5686b7e3bf0ba238c55caa3e86447bab7cc61 24-Sep-2012 Jim Miller <jaggies@google.com> Merge "Better handling of multiple touch events in GlowPadView" into jb-mr1-dev
b499884ba1fa9577363524d1f28100627926d3b6 24-Sep-2012 Jim Miller <jaggies@google.com> Better handling of multiple touch events in GlowPadView

This fixes a bug where a secondary touch event from the edge of the screen
would cause GlowPadView to choose the wrong target. The issue is resolved
by keeping track of pointer ids and only allowing the one that initiated
the gesture to complete it.

Fixes bug 7133500

Change-Id: If296b60af2421bfa1a9a082e608ba77b2392a218
ndroid/internal/widget/multiwaveview/GlowPadView.java
239e430578fd2d3bd38a646595a82bca95359bd7 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
e3f2ac9e526e5b4de4d2ae113e644c1cb14b1ce6 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
e56ffdc7b31b0937628609cc3bbaa15879023569 23-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- rename getResolvedLayoutDirection() to getLayoutDirection()

Change-Id: I3afe56c0db0751952f5056c23893cb7455531d29
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/widget/ActionBarView.java
ndroid/internal/widget/multiwaveview/GlowPadView.java
ndroid/internal/widget/multiwaveview/MultiWaveView.java
4457e85a7090ad51726d50a4daf981d917cceedd 19-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- canResolveXxx() should be hidden
- resetResolvedXxx() should be hidden
- resolveDrawables(), resolveLayoutDirection(), resolvePadding(), resolveTextAlignment(), resolveTextDirection() should be hidden
- onResolvedXxx() should be merged into one callback
- fix also an issue with setting the layout direction of the drawable in ImageView
- fix also an issue with checking if TextAlignment can be resolved

Change-Id: I1402269ddf8632525f5550f80e5610e1a7b4034d
ndroid/internal/widget/ActionBarContainer.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
ndroid/internal/statusbar/StatusBarNotification.java
77e95d3d71f10a0d936445e3f3ed90e15c019024 22-Sep-2012 Amith Yamasani <yamasani@google.com> Merge "Show lockscreen widgets for the current user." into jb-mr1-dev
8fd96ec2dc215095d12ef3e9bd7dc50ebc78625e 22-Sep-2012 Amith Yamasani <yamasani@google.com> Show lockscreen widgets for the current user.

Also shows the owner info and next alarm for the current user.
AppWidgetService now assumes that any widgets running in the system process are for the
current user, so that lockscreen shows widgets for the current user

Bug: 7211754
Bug: 7212421

Change-Id: Iaf0edc60e49af0afe42625c0b2dcf100c9ecc178
ndroid/internal/widget/LockPatternUtils.java
6eeff850b245bd3be3a0e782cd9f28daadf922dc 22-Sep-2012 Jim Miller <jaggies@google.com> Merge "Remove UID checks from LockPatternUtils" into jb-mr1-dev
25645d8bbcced4416122d5dadedcf030a7bc12e5 21-Sep-2012 Jim Miller <jaggies@google.com> Remove UID checks from LockPatternUtils

The UID checks should be unnecessary because LockPatternUtils already relies
on system permission checks in Settings, LockSettings, DevicePolicyManager
and Keystore. These checks should already catch illegal operations.

This was interfering with the stand-alone test app for keyguard.

Change-Id: I2da2a729ca29feae9e962c2e360ec47490bcbbf0
ndroid/internal/widget/LockPatternUtils.java
7566abd305a2b3060ae541055ed04f087f5266ec 21-Sep-2012 Michael Jurka <mikejurka@google.com> Merge "Add support for changing status widget on security screen" into jb-mr1-dev
20c41d5382b70fa5a24e9ef68f19ce0aedea5234 21-Sep-2012 Michael Jurka <mikejurka@google.com> Add support for changing status widget on security screen

Change-Id: I080fd89eb84445604c602b6e807b55153a7ee129
ndroid/internal/widget/LockPatternUtils.java
6de76d21ff60818f8b296fc8f645897203f475da 20-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Implement multi-user PackageMonitor." into jb-mr1-dev
c72fc674a33b8d17585764d09d3bb6c77d7d947e 20-Sep-2012 Dianne Hackborn <hackbod@google.com> Implement multi-user PackageMonitor.

New APIs let you indicate what user(s) to monitor, and tell you
what user is changing when receiving a callback.

Fix package manager to only deliver package brpadcasts to the
running users. (This isn't really a change in behavior, since
the activity manager would not deliver to stopped users anyway).
Make sure all broadcasts that package monitor receives also include
user information for it to use.

Update wallpaper service to (hopefully) now Really Correctly
monitor package changes per user.

Change-Id: Idd952dd274abcaeab452277d9160d1ae62919aa0
ndroid/internal/content/PackageMonitor.java
109f1fd80c90409c0d7f21d49989641dfdf2ad1b 20-Sep-2012 Jim Miller <jaggies@google.com> Update keyguard selector view to match UX design spec
- Use new Roboto-Thin font
- Add new keyguard-specific date format
- Layout tweaks to keyguard selector screen.
- Add smart EmergencyButton class
- Add selective upper-casing of components on the display to enable later UX decision
- Work around SIM state bug

Bug: 7094419
Change-Id: Ic7e0f30697c14d4946372509d98ad81bf6a23c92
ndroid/internal/widget/LockPatternUtils.java
52716deb4008da1d566dfd711edc0a9c6de5f79f 19-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix deadlock in LockPatternUtils by using local id." into jb-mr1-dev
f1b674197577e815040cd75ef86d611965d603ad 19-Sep-2012 Craig Mautner <cmautner@google.com> Fix deadlock in LockPatternUtils by using local id.

Activity manager now updates window manager's current user id
directly and immediately rather than waiting for a broadcast
update. Window manager passes this through policy to the
KeyguardViewMediator and into LockPatternUtils. LockPatternUtils
no longer goes to Activity to get the current user id if it finds
that its local id is non-default.

Fixes bug 7193726.

Change-Id: Id5613e7a9fe9e5b49e83c26b74504f587c3998c2
ndroid/internal/widget/LockPatternUtils.java
10bd4106efc22efd57875a2fb914110475c91856 19-Sep-2012 Adam Powell <adamp@android.com> am baed0a8f: am 56fd88d8: am ab12f0f7: Merge "Implement resolving of icon attributes to resIds in AlertController"

* commit 'baed0a8f0b43191c8f001e064ff42cf27a305d87':
Implement resolving of icon attributes to resIds in AlertController
599dd7ce9adf8ca067cefb0b191a5ac20ec35a79 15-Sep-2012 Amith Yamasani <yamasani@google.com> DevicePolicyManager per user

Bug: 7136483

Store device policy information for each user and apply them when user switches.

Global proxy can only be controlled by owner.
Camera restriction applies to all users, if any one has an admin that disables it.
Storage encryption can only be controlled by owner, although other users can query the state.
Wipe data will only remove the user if non-zero, wipe the device, if zero.

Change-Id: I359be46c1bc3828fd13d4be3228f11495081c8f2
ndroid/internal/widget/LockPatternUtils.java
b250e94fdced2bd753eeb75f378abfab8b17cc2c 18-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7112174 ActionMenuView should be aware of layout direction" into jb-mr1-dev
a87826c345dbd692a86a340691cf7471a2505809 14-Sep-2012 Amith Yamasani <yamasani@google.com> Merge "Fix face unlock for multiple users" into jb-mr1-dev
4b4b954ddf34af51576441f0e3eca6d19150aada 14-Sep-2012 Amith Yamasani <yamasani@google.com> Fix face unlock for multiple users

Bug: 7152537

Not all instances of LockPatternUtils are getting updated with the current user, so
query it directly from the Activity Manager.

Change-Id: I46395c3e00feecd0edfe4228f8d7966f425519f2
ndroid/internal/widget/LockPatternUtils.java
f229e4d3eb8f910c181f96416c6798f6f305a395 13-Sep-2012 Jim Miller <jaggies@google.com> Add support for settings for lock widgets

Change-Id: Iade094c6f32a7653bdbbd4921d345d68f2443ff4
ndroid/internal/widget/LockPatternUtils.java
b049e212ab7fe8967893c202efcb30fecfdb82fb 08-Sep-2012 Jeff Sharkey <jsharkey@android.com> Include user identifier in external storage paths.

When building external storage paths, always include user in path
to enable cross-user paths and aid debugging.

Each Zygote process continues to only have access to the appropriate
user-specific emulated storage through bind mounts. A second set of
mounts continue supporting legacy /sdcard-style paths. For example,
a process running as owner has these mount points:

/storage/emulated_legacy
/storage/emulated_legacy/Android/obb
/storage/emulated/0
/storage/emulated/obb

Since Environment is created before Zygote forks, we need to update
its internal paths after each process launches.

Bug: 7131382
Change-Id: I6f8c6971f2a8edfb415c14cb4ed05ff97e587a21
ndroid/internal/os/storage/ExternalStorageFormatter.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
ndroid/internal/appwidget/IAppWidgetService.aidl
576e1dff3d40610377a763db6c9e6bf999e00987 10-Sep-2012 blunden <blunden2@gmail.com> Implement resolving of icon attributes to resIds in AlertController

Platform code using AlertController directly currently has
no way to set the correct theme-specific dialog icon in a
generic way. This adds code to handle such usage.

Change-Id: I48beafa1183e4edf6d5378b3985a7f9be5fcda8b
ndroid/internal/app/AlertController.java
d7f5a51baf2c46436dc5bac3807fb0d46cbff304 10-Sep-2012 Victoria Lease <violets@google.com> Merge "IME support for trackball and generic motion events" into jb-mr1-dev
b38070caa5143ab9fd1883e0c7c879533a480bc7 24-Aug-2012 Victoria Lease <violets@google.com> IME support for trackball and generic motion events

Trackball and generic motion events now pass through the IME in case
it would like to handle them before passing them on to the view
hierarchy.

While I was at it, I also...
...fixed the documentation on InputMethodService.onKeyUp()
...added documentation to InputMethodService.onTrackballEvent()
...added trackball and generic motion events to the "input" command
...fixed input consistency verification involving ACTION_OUTSIDE

Bug: 7050005
Change-Id: I40ab68df4a9542af6df25de6ec2ec500e4c02902
ndroid/internal/view/IInputMethodSession.aidl
cbad976b2a36a0895ca94510d5208a86f66cf596 05-Sep-2012 Jeff Brown <jeffbrown@google.com> Add support for Wifi display.

Change-Id: I99693786cf9d07d07d3400046c55eb4933730b80
ndroid/internal/util/DumpUtils.java
ndroid/internal/util/IndentingPrintWriter.java
0762cec04fa5ce65a2adc6d70ea1396041b1a88d 06-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7112174 ActionMenuView should be aware of layout direction

- do correct layout of action items depending of layout direction

Change-Id: Iff0181ffa2cb69884920edd5c37eb1a8a8196816
ndroid/internal/view/menu/ActionMenuView.java
035ce2ca92742894f7f906c93d7d217c647aa19a 05-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add support for "-rtl" in resources" into jb-mr1-dev
61f57379ca2c5b6290c8da7548fa17128f7ab24f 31-Aug-2012 Amith Yamasani <yamasani@google.com> Centralize the creation of the user system directory

Environment.getUserSystemDirectory(int userId)

Use it all relevant places that was hardcoding it.
Also, wipe out the user's system directory when user is removed, otherwise old state
might be transferred to a new user.

Change-Id: I788ce9c4cf9624229e65efa7047bc0c019ccef0a
ndroid/internal/widget/LockSettingsService.java
e217ee4d7a8223289a1af7363627c69956c46d41 29-Aug-2012 Jeff Sharkey <jsharkey@android.com> Access to all users' external storage.

System services holding this permission have external storage bound
one level higher, giving them access to all users' files.

Bug: 7003520
Change-Id: Ib2bcb8455740c713ebd01f71c9a2b89b4e642832
ndroid/internal/os/ZygoteConnection.java
80a4af2bbc6af42ae605e454bf89558e564f5244 28-Aug-2012 Dianne Hackborn <hackbod@google.com> Start implementing concept of "running" users.

The activity manager now keeps track of which users are running.

Initially, only user 0 is running.

When you switch to another user, that user is started so it is
running. It is only at this point that BOOT_COMPLETED is sent
for that user and it is allowed to execute anything.

You can stop any user except user 0, which brings it back to the
same state as when you first boot the device. This is also used
to be able to more cleaning delete a user, by first stopping it
before removing its data.

There is a new broadcast ACTION_USER_STOPPED sent when a user is
stopped; system services need to handle this like they currently
handle ACTION_PACKAGE_RESTARTED when individual packages are
restarted.

Change-Id: I89adbd7cbaf4a0bb72ea201385f93477f40a4119
ndroid/internal/content/PackageMonitor.java
ac137b3211818f9e72f9ffbaf541ad8a1ef27eb1 27-Aug-2012 Adam Powell <adamp@google.com> Merge "Add setOnDismissListener to AlertDialog.Builder" into jb-mr1-dev
7f02dc5c9c48a01bec459b71ac73a6ad37b9e12c 27-Aug-2012 Adam Powell <adamp@google.com> Add setOnDismissListener to AlertDialog.Builder

Add documentation to setOnCancelListener to clarify that the cancel
event plus the events for the various choice buttons are not the
exhaustive set of ways the dialog can be dismissed, and that a dismiss
listener should be used if the app needs to cover all cases of
dismissal.

Change-Id: I9e9d6f90f6f9ccaeb2c697474ab353e2d78f37b9
ndroid/internal/app/AlertController.java
69ddab4575ff684c533c995e07ca15fe18543fc0 25-Aug-2012 Jeff Sharkey <jsharkey@android.com> Always-on VPN.

Adds support for always-on VPN profiles, also called "lockdown." When
enabled, LockdownVpnTracker manages the netd firewall to prevent
unencrypted traffic from leaving the device. It creates narrow rules
to only allow traffic to the selected VPN server. When an egress
network becomes available, LockdownVpnTracker will try bringing up
the VPN connection, and will reconnect if disconnected.

ConnectivityService augments any NetworkInfo based on the lockdown
VPN status to help apps wait until the VPN is connected.

This feature requires that VPN profiles use an IP address for both
VPN server and DNS. It also blocks non-default APN access when
enabled. Waits for USER_PRESENT after boot to check KeyStore status.

Bug: 5756357
Change-Id: If615f206b1634000d78a8350a17e88bfcac8e0d0
ndroid/internal/net/VpnProfile.java
c7752a312adfe108c3b0e9143122152f2470be31 25-Aug-2012 Adam Powell <adamp@google.com> Show content description popups when long-pressing action bar tabs

If an action bar tab shows as an icon only and has a content
description, show a long-press popup with the content description.

Bug 6009390

Change-Id: I7f2f68eeef03ede99ff2113e21e1dc14a4295827
ndroid/internal/widget/ScrollingTabContainerView.java
7767eac3232ba2fb9828766813cdb481d6a97584 24-Aug-2012 Dianne Hackborn <hackbod@google.com> Keep track of whether an app is installed for each user.

This add a new per-user state for an app, indicating whether
it is installed for that user.

All system apps are always installed for all users (we still
use disable to "uninstall" them).

Now when you call into the package manager to install an app,
it will only install the app for that user unless you supply
a flag saying to install for all users. Only being installed
for the user is just the normal install state, but all other
users have marked in their state for that app that it is not
installed.

When you call the package manager APIs for information about
apps, uninstalled apps are treated as really being not visible
(somewhat more-so than disabled apps), unless you use the
GET_UNINSTALLED_PACKAGES flag.

If another user calls to install an app that is already installed,
just not for them, then the normal install process takes place
but in addition that user's installed state is toggled on.

The package manager will not send PACKAGE_ADDED, PACKAGE_REMOVED,
PACKAGE_REPLACED etc broadcasts to users who don't have a package
installed or not being involved in a change in the install state.
There are a few things that are not quite right with this -- for
example if you go through a full install (with a new apk) of an
app for one user who doesn't have it already installed, you will
still get the PACKAGED_REPLACED messages even though this is
technically the first install for your user. I'm not sure how
much of an issue this is.

When you call the existing API to uninstall an app, this toggles
the installed state of the app for that user to be off. Only if
that is the last user user that has the app uinstalled will it
actually be removed from the device. Again there is a new flag
you can pass in to force the app to be uninstalled for all users.

Also fixed issues with cleaning external storage of apps, which
was not dealing with multiple users. We now keep track of cleaning
each user for each package.

Change-Id: I00e66452b149defc08c5e0183fa673f532465ed5
ndroid/internal/content/PackageHelper.java
34f863125865664af058ab4dff44ebec570e2234 24-Aug-2012 Jeff Sharkey <jsharkey@android.com> Merge "Migrate legacy VPN arguments to system_server." into jb-mr1-dev
82f8521d386f3109147c477d04e5e90e5c715fa0 24-Aug-2012 Jeff Sharkey <jsharkey@android.com> Migrate legacy VPN arguments to system_server.

Generate the racoon and mtpd daemon arguments in system_server,
instead of accepting them from Settings.

Bug: 5756357
Change-Id: I42c1a644f6add477fe4222342640d7db15982cb8
ndroid/internal/net/VpnProfile.aidl
ndroid/internal/net/VpnProfile.java
96702ad6d736fd2b145968843d5d83615b104a16 24-Aug-2012 Jeff Sharkey <jsharkey@android.com> Merge "Framework interface for netd firewall." into jb-mr1-dev
c268f0b19efd0b6c6c89c21be0893787f3cc9cf7 24-Aug-2012 Jeff Sharkey <jsharkey@android.com> Framework interface for netd firewall.

Bug: 5756357
Change-Id: If8b9f738fcea2cf16bd01682220718b57346c7cc
ndroid/internal/util/Preconditions.java
d5fc86f0677575333556fe579838353fae10ce52 24-Aug-2012 Jeff Sharkey <jsharkey@android.com> Merge "Begin moving VPN to NetworkStateTracker pattern." into jb-mr1-dev
899223b97c9b0ae56a8211a46600914c0ecfd854 05-Aug-2012 Jeff Sharkey <jsharkey@android.com> Begin moving VPN to NetworkStateTracker pattern.

Created base tracker that handles common bookkeeping, and move VPN
to become a tracker. VPN status is now reflected in NetworkInfo, and
is mapped to LegacyVpnInfo.

Legacy VPN now "babysits" any init services it starts, watching for
when they stop unexpectedly.

Bug: 5756357
Change-Id: Iba7ec79da69469f6bd9a970cc39cf6b885b4c9c4
ndroid/internal/net/LegacyVpnInfo.java
ndroid/internal/net/VpnConfig.java
5f7979993979466c79ab4f38d83c6f2aca361662 16-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Add support for "-rtl" in resources

- fix bug #7035019 Need to have "-rtl" support for Resource

Change-Id: Ic82145c2ac672729d8a6c695a5f343276a1a0a2c
ndroid/internal/app/LocalePicker.java
865a1756b6169c5255350c70e443be9555374a3e 23-Aug-2012 Victoria Lease <violets@google.com> Merge "Set text locale in language settings panel." into jb-mr1-dev
0203341a0bbfefb97a91d54613a556f524c94a5c 21-Aug-2012 Victoria Lease <violets@google.com> Set text locale in language settings panel.

This results in the CJK locales displaying locale-appropriate glyphs
regardless of the device's locale.

Change-Id: I1564b0b63597f068f4680d0a59fc82dea2dbbba3
ndroid/internal/app/LocalePicker.java
2bca868361b41ff6a8228824cbecadc4c5deb44e 22-Aug-2012 Jeff Sharkey <jsharkey@android.com> Iteration on multi-user external storage.

Remove single-user bind mounts, since they need to remain as raw
mounts to correctly propagate when remounted. This means we're back
to using sdcard_r GID to enforce READ_EXTERNAL_STORAGE.

Bug: 6925012
Change-Id: I41b5d7ddc985a5df2e288632a0a80d4724089e00
ndroid/internal/os/ZygoteConnection.java
80618d66b02d8cce325cdaa184435f43818a062b 20-Aug-2012 Kenny Root <kroot@google.com> am 7d5b22af: am f029c22f: Merge "Use Libcore.os.umask for setting umask"

* commit '7d5b22afae8525cdf80ba1bf8e18b87d597f830d':
Use Libcore.os.umask for setting umask
4c74f8c1713fa82904b10beec4da9ad8ebb97375 17-Aug-2012 Kenny Root <kroot@google.com> Use Libcore.os.umask for setting umask

Libcore.os now provides a umask method call, so just use that since it's
available.

Change-Id: I8826fa40bcab3d61a424ff98a8050d3e44f7ec34
ndroid/internal/os/ZygoteInit.java
98365d7663cbd82979a5700faf0050220b01084d 20-Aug-2012 Jeff Brown <jeffbrown@google.com> Refactor for multi-display support.

Split WindowManagerImpl into two parts, the WindowManager
interface implementation remains where it is but the global
communications with the window manager are now handled by
the WindowManagerGlobal class. This change greatly simplifies
the challenge of having separate WindowManager instances
for each Context.

Removed WindowManagerImpl.getDefault(). This represents the
bulk of this change. Most of the usages of this method were
either to perform global functions (now handled by WindowManagerGlobal)
or to obtain the default display (now handled by DisplayManager).

Explicitly associate each new window with a display and make
the Display object available to the View hierarchy.

Add stubs for some new display manager API features.

Start to split apart the concepts of display id and layer stack.
since they operate at different layers of abstraction.
While it's true that each logical display uniquely corresponds to a
surface flinger layer stack, it is not necessarily the case that
they must use the same ids. Added Display.getLayerStack()
and started using it in places where it was relatively easy to do.

Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
ndroid/internal/view/RotationPolicy.java
14e883b25e0998e3bc4e574a0df3db252d6e987f 18-Aug-2012 Amith Yamasani <yamasani@google.com> Fix merge error

Didn't apply the recent API change from another CL.

Change-Id: I65ac6108909eca7ac48beabb4a8b7bbedda84249
ndroid/internal/app/ResolverActivity.java
a3f133afe885f9e005dfc0584cb7b3b90f75f665 10-Aug-2012 Amith Yamasani <yamasani@google.com> Save preferred activity info with user id.

So each user can have their own set of intent resolution preferences.

ResolverActivity now launches the activity on the correct user, and
persists the preference for the correct user.

Bug: 6961905
Change-Id: I6d3a8a9af89bc649277d4fc8d0f367ee123f8392
ndroid/internal/app/ResolverActivity.java
c584b65b2093396c9a0c9303dab6ff6cb81ac315 16-Aug-2012 Jeff Sharkey <jsharkey@android.com> Merge "Multi-user external storage support." into jb-mr1-dev
f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8 16-Aug-2012 Dianne Hackborn <hackbod@google.com> Rename UserId to UserHandle.

This is the start of turning this into a formal public API.

Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
ndroid/internal/app/ResolverActivity.java
ndroid/internal/statusbar/StatusBarNotification.java
ndroid/internal/widget/LockPatternUtils.java
ndroid/internal/widget/LockSettingsService.java
b9301c3a686df05950710ec80e2cd691c3082871 14-Aug-2012 Daniel Sandler <dsandler@android.com> Multiuser support for notifications, take 1.

Notifications for background users are hidden from the
panel and status bar.

Still need to add a concept of "any user" notifications (for
things coming from the system) and notification visibility
controls (for access to icons + possibly masked text of
a background user's notifications).

Change-Id: Iba121f35a6c25c2e1c44db029d776a5a59a6a008
ndroid/internal/statusbar/StatusBarNotification.java
5b1ada2562c17921adf6a62ea62bcb445160983c 15-Aug-2012 Jeff Sharkey <jsharkey@android.com> Multi-user external storage support.

Emulated external storage always has multi-user support using paths
like "/data/media/<user_id>". Creates and destroys these paths along
with user data. Uses new ensure_dir() to create directories while
always ensuring permissions.

Add external storage mount mode to zygote, supporting both single-
and multi-user devices. For example, devices with physical SD cards
are treated as single-user. Begin migrating to mount mode instead
of relying on sdcard_r GID to enforce READ_EXTERNAL_STORAGE.

Bug: 6925012
Change-Id: I9b872ded992cd078e2c013567d59f9f0032ec02b
ndroid/internal/os/ZygoteConnection.java
08532ab9ba073c217e39272db00740d75f00248a 09-Aug-2012 Adam Powell <adamp@google.com> Merge "Fix indeterminate ProgressBars with weird sizes and padding; optimize ActionBar measurement" into jb-mr1-dev
6322af54cfb74be22386e4b7d17350cebf2da58f 09-Aug-2012 Adam Powell <adamp@google.com> Fix indeterminate ProgressBars with weird sizes and padding; optimize
ActionBar measurement

Fix a bug where preserved aspect ratios in ProgressBar indeterminate
drawables were causing drawable bounds to be calculated incorrectly
when the ProgressBar had padding specified.

Measure the ActionBar menu view's height with EXACT measure mode,
preventing an extra measure pass to match child heights for some
cases.

Change-Id: I8c4678662a015b57ba2686d5b5c5fc27d4ef8d36
ndroid/internal/widget/ActionBarView.java
9951b7c4f094d39db70626ed665f848971220c48 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am e5c46fae: am 6d0dd51e: Merge "Return early when checking divider before child zero."

* commit 'e5c46faefb9deda885cff308ec9b1926636ca8bc':
Return early when checking divider before child zero.
6d0dd51ebb170a89bea614a558b96f1dff3e7723 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Return early when checking divider before child zero."
86d09388ee1b98513de40dfff5de6e7c3b24cc07 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am bce41358: am 9ab84c20: Merge "Fix wrong count return for getPhoneSignalStrengthCount"

* commit 'bce413587973eae29a783d7e273dc2f7db06f7c9':
Fix wrong count return for getPhoneSignalStrengthCount
9ab84c203fea0521135e0b0983aa15ce1afdc5ec 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Fix wrong count return for getPhoneSignalStrengthCount"
fd75eef161e93a39c87699b6c938b8298ee8f78b 02-Aug-2012 Adam Powell <adamp@google.com> Animate the action bar's Up chevron as it shows and hides.

Change-Id: I2cf0283cc644a62ad83cb5641b8f56cc8229b86f
ndroid/internal/widget/ActionBarView.java
85b1041f891b4bbfe81e4f6423397fca50c14e5b 07-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Window position not reported if the window is not moved." into jb-mr1-dev
758143ecfedbe08cc6c4fed0ad8ad7a854194ca4 07-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Window position not reported if the window is not moved.

1.If a window is shown but never moved the window window
is never notified for its current location. Therefore,
accessibility nodes do not contain correct bounds in
screen coordinates.

bug:6926295

Change-Id: I7df18b095d33ecafffced75aba9e4f4693b0c393
ndroid/internal/os/HandlerCaller.java
ndroid/internal/os/SomeArgs.java
ndroid/internal/view/BaseIWindow.java
570470a332a824a66c74a1d6bd8ce0253ccb5050 07-Aug-2012 Adam Powell <adamp@google.com> Make ActionBar fail more cleanly when invalid heights are set

Also add "none" flag value for null displayOptions in xml

Change-Id: Ided3433638f02ba2a18ce08db265d7a8ac4f216c
ndroid/internal/widget/ActionBarView.java
dde331cebd87982faded6818ad5f9927ff994c96 03-Aug-2012 Dianne Hackborn <hackbod@google.com> We can now (kind-of) change screen density on the fly.

Preloaded drawables now have a density associated with them, so we
can load the correct drawable if we are using a different density.

Window manager now formally keeps track of the density for each
screen, allowing it to be overridden like you can already do with
size, and relies on this density to drive itself internally and
the configurations it reports.

There are a new set of Bitmap constructors where you provide a
DisplayMetrics so they can be constructed with the correct density.
(This will be for when you can have different windows in the same
app running at different densities.)

ActivityThread now watches for density changes, and pushes them
to the DENSITY_DEVICE and Bitmap global density values for that
process.

A new am command allows you to change the density.
ndroid/internal/os/ZygoteInit.java
d5c81db1e78e98f3e0a1a5cf206865c3056294c4 02-Aug-2012 Adam Powell <adamp@google.com> Fix some ActionBar menu issues around config changes

Bug 6904212

Update allow-text and max item height properties for action bar menu
item views properly.

Fix an ActionMenuItemView measurement bug that could cause items to
measure too small.

Change-Id: Ibac8491f7670969b0ae4584fff5e44ebd1435abd
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/widget/AbsActionBarView.java
800dd9b936f75aa09ffc5cb2ed83e351bb00b5d6 02-Aug-2012 Adam Powell <adamp@google.com> Merge "Fix drawable handling for ActionBarContainer" into jb-mr1-dev
a7cc06d82e45918c37429a59b14545c6a57db4e4 02-Aug-2012 Adam Powell <adamp@google.com> Fix drawable handling for ActionBarContainer

ActionBarContainer drawables for primary/stacked/split backgrounds
will now properly respect callbacks, layout direction, etc.

Bug 6905932

Change-Id: I20a089861c66a2a378f4b70c0b6cb4bb27476049
ndroid/internal/widget/ActionBarContainer.java
ba059bf54c58e312562ac527d97d2bc1d4dacb45 01-Aug-2012 Vairavan Srinivasan <vairav@codeaurora.org> AsyncChannel to support remote death notification and post a
disconnect message to the source handler.

Change-Id: I7368cb466d9e33f7da8095ef2de25fc70f13d47e
ndroid/internal/util/AsyncChannel.java
40e5df95ff9468cec0624ca7fb14e51c13e4b047 01-Aug-2012 Dianne Hackborn <hackbod@google.com> Merge "Make AtomicFile a public API. It's about time!" into jb-mr1-dev
39606a007a5b1309dd000234f2b8cf156c49fd0f 01-Aug-2012 Dianne Hackborn <hackbod@google.com> Make AtomicFile a public API. It's about time!

Change-Id: Ib34e294747405b7ab709cb0bbb2d9a0cc80ce86a
ndroid/internal/util/JournaledFile.java
c1eea136eaae62091b44d7b06a3d61ac694e4fd7 31-Jul-2012 Adam Powell <adamp@google.com> Fix bug 6906134

Change-Id: I47dfa1e503e502fe348a350dad960fbb112435e7
ndroid/internal/view/menu/ActionMenuItemView.java
c0047d4e111b8cfbffdbebb55f846c7ae935e53e 30-Jul-2012 Adam Powell <adamp@google.com> Enforce a maximum size for action button icons.

Change-Id: Id9b5c1573cd40012229921fa8497cbe5ce340b1e
ndroid/internal/view/menu/ActionMenuItemView.java
825992f503439bc87d9d7e698a487f17b5acc243 29-Jul-2012 Jake Wharton <jakewharton@gmail.com> Return early when checking divider before child zero.

Previously the `getChildAt` method would be called with an index of -1 which
would lead to an exception being thrown and caught. This is unnecessary since
we know there will never be a divider before the first child. It also avoids
additional object creation since this method can be invoked quite frequently.

Change-Id: Iab44520d5d52f96a829a009cdd1201696edbf9a4
ndroid/internal/view/menu/ActionMenuView.java
df693de4fe12f081555b449e2726e205fbd86572 27-Jul-2012 Jeff Brown <jeffbrown@google.com> Fix inconsistency in user activity types.

Looks like BatteryStats was not updated when we reduced the number
of user activity types from 7 to 3.

Change-Id: I7465f86c78baa561a6555c33f681553b870827f2
ndroid/internal/os/BatteryStatsImpl.java
85d28a00043e5985b11f517031d7b2317ac19e10 24-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Replace left/right with start/end for Gravity / LayoutParams / Padding"
cf56a0c1ea8dcffd1ba4c7f28f99e7f8d3eb8537 24-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix ActionBar HomeView up button layout params"
5f79baa0e3baaa852ef3188528312014eb046268 20-Jul-2012 Adam Powell <adamp@google.com> Merge "Fix condition bug in ResolverActivity"
bdda4e74d447812beb92504dc426c9385b3072d1 20-Jul-2012 Adam Powell <adamp@google.com> Fix condition bug in ResolverActivity

Bug 6854356

Change-Id: I3cd060fb78876e80bdfa311cf80d0ad8a696bfad
ndroid/internal/app/ResolverActivity.java
aac0d4ed026d1cfbcf3fa81c6e4eb96f4347ca17 20-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Replace left/right with start/end for Gravity / LayoutParams / Padding

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Id9af5375fb9b0edeae5232c77e52ecd497bd2e67
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/widget/ScrollingTabContainerView.java
ndroid/internal/widget/TextProgressBar.java
34c829e46c875a59eba95fd65a27e2fe5688083e 20-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix ActionBar HomeView up button layout params

Change-Id: I9cbf2ce695cce14c16efa270fafa062f46c985ce
ndroid/internal/widget/ActionBarView.java
971a3cfa51b89aa0f3ab47ee082f05586a1f16f0 20-Jul-2012 Jeff Sharkey <jsharkey@android.com> Migrate VpnProfile definition to framework.

Bug: 5756357
Change-Id: I23c4e391e3b48e9645f872ae0145fe672745adca
ndroid/internal/net/VpnProfile.java
d81cc4ab5a07f4a6c5e553cb67c3aa4fe1dc8b6e 19-Jul-2012 Adam Powell <adamp@google.com> Easy "Just once" launches from ResolverActivity

Allow a second tap of a selected item in ResolverActivity to launch
the target as "just once" for sloppier/quicker choices.

Change-Id: If05fc7c1ac622195f6253e6ca0868fd87954dd46
ndroid/internal/app/ResolverActivity.java
0fc5b2bea09a6d320884c5b12577caf426f547c1 19-Jul-2012 Adam Powell <adamp@google.com> Fun with Up navigation

For activities with a null taskAffinity, simply finish the current task.
(They probably shouldn't have specified a parentActivityName anyway.)

When launching into app info from ResolverActivity, launch the app info
page in the current task with FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET. Back
will return to the resolver, and Up will jump to Settings.

When launching into app info from RecentsPanelView or BaseStatusBar,
since this is a system affordance akin to notifications or widgets,
build the full task stack for the app info activity with
TaskStackBuilder and launch it as a new task.

Change-Id: I73b1941d0f52bd8b30382b5e17edd8ceb058c70d
ndroid/internal/app/ResolverActivity.java
8c1b02e7592dd02f30750c56bf88c65f8acbd3c9 17-Jul-2012 Adam Powell <adamp@google.com> Fix MediaRouteActionProvider button sizing

Bug 6768999

Use proper layout height for MediaRouteButtons generated from
MediaRouteActionProvider.

Update ActionMenuView's LayoutParams handling to correctly propagate
width/height values if the supplied LayoutParams is of a different
type.

Change-Id: I1e1b250d873869ca27f59ffb06ccf2299d57b40d
ndroid/internal/view/menu/ActionMenuView.java
33034b13cae1429d526722374bd39be3f9605ae4 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common - DO NOT MERGE

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
oogle/android/mms/ContentType.java
oogle/android/mms/InvalidHeaderValueException.java
oogle/android/mms/MmsException.java
oogle/android/mms/package.html
oogle/android/mms/pdu/AcknowledgeInd.java
oogle/android/mms/pdu/Base64.java
oogle/android/mms/pdu/CharacterSets.java
oogle/android/mms/pdu/DeliveryInd.java
oogle/android/mms/pdu/EncodedStringValue.java
oogle/android/mms/pdu/GenericPdu.java
oogle/android/mms/pdu/MultimediaMessagePdu.java
oogle/android/mms/pdu/NotificationInd.java
oogle/android/mms/pdu/NotifyRespInd.java
oogle/android/mms/pdu/PduBody.java
oogle/android/mms/pdu/PduComposer.java
oogle/android/mms/pdu/PduContentTypes.java
oogle/android/mms/pdu/PduHeaders.java
oogle/android/mms/pdu/PduParser.java
oogle/android/mms/pdu/PduPart.java
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/pdu/QuotedPrintable.java
oogle/android/mms/pdu/ReadOrigInd.java
oogle/android/mms/pdu/ReadRecInd.java
oogle/android/mms/pdu/RetrieveConf.java
oogle/android/mms/pdu/SendConf.java
oogle/android/mms/pdu/SendReq.java
oogle/android/mms/pdu/package.html
oogle/android/mms/util/AbstractCache.java
oogle/android/mms/util/DownloadDrmHelper.java
oogle/android/mms/util/DrmConvertSession.java
oogle/android/mms/util/PduCache.java
oogle/android/mms/util/PduCacheEntry.java
oogle/android/mms/util/SqliteWrapper.java
oogle/android/mms/util/package.html
fb900813511df0706469ad340bfb0810b5a12cd7 17-Jul-2012 Catherine Liu <wlcl05@motorola.com> Fix wrong count return for getPhoneSignalStrengthCount

Test report for the time spent in each signal strength bin, along
with the number of times that bin was entered showed the result
as Bin=3 Time=3211926000 Count=0. With a non-zero Time, the Count
value 0 was wrong.

The cause of the problem was that getPhoneSignalStrengthCount() used
mPhoneDataConnectionsTimer, instead of mPhoneSignalStrengthsTimer,
to get the count.

Change-Id: I55ac1125abfcfdc105605d76d1c706ac315b90cc
ndroid/internal/os/BatteryStatsImpl.java
b613e42f0c09106e1b134f1eed62ef4cb88a4506 16-Jul-2012 Nick Pelly <npelly@google.com> Merge "Add a tiny bit of javadoc to PackageMonitor."
357d9cb861e05c514acba8cc0a8fc5ef70e4a356 14-Jul-2012 Nick Pelly <npelly@google.com> Add a tiny bit of javadoc to PackageMonitor.

Change-Id: I1f9a56f44b4189d77df1327cc4f8c8ccf25db4b9
ndroid/internal/content/PackageMonitor.java
cf1ba0298c48ae56608ed556dc715eb69c54f9b9 26-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make ActionBar aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Iea8a512311ee99548f39bbbe342f21eabaffbe09
ndroid/internal/widget/AbsActionBarView.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
5362f17ff5e8e06601b172bd86c26027ced9780c 12-Jul-2012 Wink Saville <wink@google.com> Merge commit '1b003ef0' into mit

* commit '1b003ef0':
Create telephony-common and mms-common

Change-Id: Ie8876541dbe7f4c933cf7d69910dd204538bc975
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
oogle/android/mms/ContentType.java
oogle/android/mms/InvalidHeaderValueException.java
oogle/android/mms/MmsException.java
oogle/android/mms/package.html
oogle/android/mms/pdu/AcknowledgeInd.java
oogle/android/mms/pdu/Base64.java
oogle/android/mms/pdu/CharacterSets.java
oogle/android/mms/pdu/DeliveryInd.java
oogle/android/mms/pdu/EncodedStringValue.java
oogle/android/mms/pdu/GenericPdu.java
oogle/android/mms/pdu/MultimediaMessagePdu.java
oogle/android/mms/pdu/NotificationInd.java
oogle/android/mms/pdu/NotifyRespInd.java
oogle/android/mms/pdu/PduBody.java
oogle/android/mms/pdu/PduComposer.java
oogle/android/mms/pdu/PduContentTypes.java
oogle/android/mms/pdu/PduHeaders.java
oogle/android/mms/pdu/PduParser.java
oogle/android/mms/pdu/PduPart.java
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/pdu/QuotedPrintable.java
oogle/android/mms/pdu/ReadOrigInd.java
oogle/android/mms/pdu/ReadRecInd.java
oogle/android/mms/pdu/RetrieveConf.java
oogle/android/mms/pdu/SendConf.java
oogle/android/mms/pdu/SendReq.java
oogle/android/mms/pdu/package.html
oogle/android/mms/util/AbstractCache.java
oogle/android/mms/util/DownloadDrmHelper.java
oogle/android/mms/util/DrmConvertSession.java
oogle/android/mms/util/PduCache.java
oogle/android/mms/util/PduCacheEntry.java
oogle/android/mms/util/SqliteWrapper.java
oogle/android/mms/util/package.html
fbf885b652272013f44da71e9f77923333bf62eb 10-Jul-2012 Craig Mautner <cmautner@google.com> Merge "Notify client side of window movement."
99d8fae5a0ae597ae4b4f6b338b19943787d478a 10-Jul-2012 Jim Miller <jaggies@google.com> Merge "Minor cleanup of left overs from GlowPadView integration."
2686b058cd2f01299cf5fd43f24ebbdc7339d70e 28-May-2012 Wink Saville <wink@google.com> When we disconnect shutdown the StateMachine. DO NOT MERGE

Need to stop the StateMachine threads and release
all resources when we disconnect.

bug: 6342470
Change-Id: Ibf7a2ebf4f7ecd667c5d95579e66ecd5086103ea
ndroid/internal/util/AsyncChannel.java
095c58b73ac112cc7e00771430765434893d8bc5 29-May-2012 Wink Saville <wink@google.com> Enhance StateMachine Quitting and logging support. DO NOT MERGE

Make StateMachine#quit non-conditional and remove the need to
process the SM_QUIT_CMD it is now private.

Rename halting to onHalting.

Add onQuitting

Change the message specific logging to be more generic and change
the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add
addLogRec(String) and addLogRec(String, State) as the generic logging
methods.

bug: 5678189
Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7

Conflicts:

services/java/com/android/server/NsdService.java
ndroid/internal/util/StateMachine.java
5702d4dfb5b81491f873a3617f8d8fc8dc5279e6 30-Jun-2012 Craig Mautner <cmautner@google.com> Notify client side of window movement.

Add a one way method to notify Views that the window has moved
on the screen. Fixes issues arising from the IME popping up and
translating the window that uses it. Accessibility was left unaware
of these movements and was drawing the box around the wrong widgets.
Similarly PopupWindow used getLocationOnScreen to determine how
much screen real estate was above and below the anchor point to
determine where to put an anchored window.

Fixes bug 6623031.

Change-Id: I4731a94d5424c1ec77bf1729fba8fc9ea34cae46
ndroid/internal/view/BaseIWindow.java
a592d224732a06c3776a41df37a52bac4c64a654 30-Jun-2012 Jim Miller <jaggies@google.com> Minor cleanup of left overs from GlowPadView integration.

- remove unused "chevron" assets
- reduce memory footprint in SystemUI by not loading unused handle drawable.

Change-Id: Iad1799d1a8a764c6abb4201520aa47ba84d33c38
ndroid/internal/widget/multiwaveview/GlowPadView.java
c32e190ea6da8c9acd8dc1a29a6e8794ecf7d857 30-Jun-2012 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of a9c38461 to master

Change-Id: Ie7044c4f9f15384c3edd328fa8e2932c731d9d5c
a9c3846194b69f1bfa73066be670c9d77f6dd0d7 30-Jun-2012 Dianne Hackborn <hackbod@google.com> am bfb752f8: Merge "Fix issue #6761130: Clearing app data in settings does not clear app\'s USB storage" into jb-dev

* commit 'bfb752f8f0e4d73dc251c19d2ef79649fbbe4fd1':
Fix issue #6761130: Clearing app data in settings does not clear app's USB storage
183ce028f10442dd6ada59de8fa531d690134663 30-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6761130: Clearing app data in settings does not clear app's USB storage

The package manager calls to clear data / clear cache were not also
having default container service clear the data on external storage. Now
they do.

Change-Id: Ib5e5eb6adf2cac5a4cc094cc1a02ac8cfb6a2edf
ndroid/internal/app/IMediaContainerService.aidl
f681e74064096f19e9022b8ca69aed62a8679bc6 23-Jun-2012 Adam Powell <adamp@google.com> am 56fbd14f: am 1b4ea7ef: Sanity check while updating volume in MediaRouteChooserDialog

* commit '56fbd14f3d02220eb3b35b3d62750d12ae402c6e':
Sanity check while updating volume in MediaRouteChooserDialog
56fbd14f3d02220eb3b35b3d62750d12ae402c6e 23-Jun-2012 Adam Powell <adamp@google.com> am 1b4ea7ef: Sanity check while updating volume in MediaRouteChooserDialog

* commit '1b4ea7eff50545f4673ca01b664e5edccc784688':
Sanity check while updating volume in MediaRouteChooserDialog
1b4ea7eff50545f4673ca01b664e5edccc784688 23-Jun-2012 Adam Powell <adamp@google.com> Sanity check while updating volume in MediaRouteChooserDialog

Bug 6720224

When a window dies it's possible to receive a lingering ACTION_CANCEL
event to the SeekBar for volume. Be sure that we don't try to mess
with something that's already gone by that point.

Change-Id: I4f6119718fc21204d9013d591bc984b785b698b4
ndroid/internal/app/MediaRouteChooserDialogFragment.java
17f006ea92b802ddc63f36f0ea876cabca278eb7 22-Jun-2012 Adam Powell <adamp@google.com> am 8a0f63bb: am 40a9da3b: Merge "Allow sloppy touch targeting on Action Bar home/up" into jb-dev

* commit '8a0f63bb588138a9e4f1ef7830e94282efe57c6b':
Allow sloppy touch targeting on Action Bar home/up
8a0f63bb588138a9e4f1ef7830e94282efe57c6b 22-Jun-2012 Adam Powell <adamp@google.com> am 40a9da3b: Merge "Allow sloppy touch targeting on Action Bar home/up" into jb-dev

* commit '40a9da3b9e5ae9d4d03b89f61f24ee6d96bd3bf4':
Allow sloppy touch targeting on Action Bar home/up
6231ab8bbb2862a7ddb767876fb7a49c1565b616 22-Jun-2012 Adam Powell <adamp@google.com> Allow sloppy touch targeting on Action Bar home/up

Bug 6521608

When there are no custom views or other actionable views next to the
action bar's home/up affordance, expand the touch target by a generous
slop value. This helps frustrating cases where a user accidentally
hits just to the right of Up and nothing happens.

Change-Id: I09ef604ce70ad380aab62a373b04c4b02007c644
ndroid/internal/widget/ActionBarView.java
3f765f783d264ec7e2034516d431b2bf49826e0d 22-Jun-2012 Adam Powell <adamp@google.com> am 9b5cdf4f: am 4dd21c8e: Volume changes in MediaRouteChooserDialog

* commit '9b5cdf4f14557f644b913cf654159389a251bfb4':
Volume changes in MediaRouteChooserDialog
9b5cdf4f14557f644b913cf654159389a251bfb4 22-Jun-2012 Adam Powell <adamp@google.com> am 4dd21c8e: Volume changes in MediaRouteChooserDialog

* commit '4dd21c8e77c0d369ee835f50cba1701e76aa18c4':
Volume changes in MediaRouteChooserDialog
4dd21c8e77c0d369ee835f50cba1701e76aa18c4 22-Jun-2012 Adam Powell <adamp@google.com> Volume changes in MediaRouteChooserDialog

Use the max volume reported by the selected route as the max value to set.

Change-Id: I9848dfb201387843e7ed398ac61e2d13e14e3f51
ndroid/internal/app/MediaRouteChooserDialogFragment.java
287a64af979451fde58148e723ef0ff89824718e 22-Jun-2012 Kenny Root <kroot@android.com> am ae017c55: am a9543a3d: Merge "Pass additional inputs when spawning apps via the Zygote and add SELinux permission checks."

* commit 'ae017c55824ca345186b0c9fc204401153bd8a23':
Pass additional inputs when spawning apps via the Zygote and add SELinux permission checks.
ef46aa157be555349ae3762db7953a3ae48087f8 22-Jun-2012 Chris Wren <cwren@android.com> am 70a7be07: am ed5cc0e1: revert I057b7ac0 now that the layouts are the expected height.

* commit '70a7be0799bd1af77c0bcf2472d9c7e46f53c3c1':
revert I057b7ac0 now that the layouts are the expected height.
ae017c55824ca345186b0c9fc204401153bd8a23 21-Jun-2012 Kenny Root <kroot@android.com> am a9543a3d: Merge "Pass additional inputs when spawning apps via the Zygote and add SELinux permission checks."

* commit 'a9543a3dad0da58f30580bdf99b76bc2ab97a2df':
Pass additional inputs when spawning apps via the Zygote and add SELinux permission checks.
70a7be0799bd1af77c0bcf2472d9c7e46f53c3c1 21-Jun-2012 Chris Wren <cwren@android.com> am ed5cc0e1: revert I057b7ac0 now that the layouts are the expected height.

* commit 'ed5cc0e1f7648962f5c93e1277d282be75bcd537':
revert I057b7ac0 now that the layouts are the expected height.
a9543a3dad0da58f30580bdf99b76bc2ab97a2df 21-Jun-2012 Kenny Root <kroot@android.com> Merge "Pass additional inputs when spawning apps via the Zygote and add SELinux permission checks."
ed5cc0e1f7648962f5c93e1277d282be75bcd537 21-Jun-2012 Chris Wren <cwren@android.com> revert I057b7ac0 now that the layouts are the expected height.

Bug: 6546766
Change-Id: I736290b897b864228ecc3e46d86ef566efda1efd
ndroid/internal/widget/SizeAdaptiveLayout.java
a08e6881c58c56aba2ac1f6e02db1529e10f9e6e 21-Jun-2012 Adam Powell <adamp@google.com> am ed044cda: am 09829b71: Merge "Expand volume APIs for MediaRouter" into jb-dev

* commit 'ed044cda8f6a7600923eecdec682c449f86e0429':
Expand volume APIs for MediaRouter
ed044cda8f6a7600923eecdec682c449f86e0429 21-Jun-2012 Adam Powell <adamp@google.com> am 09829b71: Merge "Expand volume APIs for MediaRouter" into jb-dev

* commit '09829b71de3a84cb9d1bc0d8aad78dd16daadddf':
Expand volume APIs for MediaRouter
09829b71de3a84cb9d1bc0d8aad78dd16daadddf 21-Jun-2012 Adam Powell <adamp@google.com> Merge "Expand volume APIs for MediaRouter" into jb-dev
8e37a85bf3dc39519942698dc90a3951306b934b 21-Jun-2012 Adam Powell <adamp@google.com> Expand volume APIs for MediaRouter

Allow applications to set a requested volume level on RouteInfo
objects. If requested for a user route, the app-supplied callback will
be invoked to perform actual volume adjustment.

Change-Id: I856990a0da7292492aa15e6562dbc3d055b848a0
ndroid/internal/app/MediaRouteChooserDialogFragment.java
93e417b560a3c7ddb832b78b17982937b4a88a12 21-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 0a79d2fb: am dce5af63: Merge "Fix GlowPadView accessibility behavior." into jb-dev

* commit '0a79d2fbcdf6ee5b0375de223e5230e5e538362f':
Fix GlowPadView accessibility behavior.
0a79d2fbcdf6ee5b0375de223e5230e5e538362f 21-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am dce5af63: Merge "Fix GlowPadView accessibility behavior." into jb-dev

* commit 'dce5af632ce8899905fbf187b9505f6753d5a562':
Fix GlowPadView accessibility behavior.
78bfb9829561876137c62ca1fff13760bfc77472 20-Jun-2012 alanv <alanv@google.com> Fix GlowPadView accessibility behavior.

Bug: 6702412
Change-Id: If5ab75e77b0090a405004c66da0083e81d59deb4
ndroid/internal/widget/multiwaveview/GlowPadView.java
ea03338dfa9b6dfebe274e6543e5b3f446bf4f8d 20-Jun-2012 Jim Miller <jaggies@google.com> am 27d1916e: am fce2ec4d: Merge "Fix 6656710: center dot pattern in GlowPadView" into jb-dev

* commit '27d1916e85ad994c3a440a80066737a8492eb791':
Fix 6656710: center dot pattern in GlowPadView
27d1916e85ad994c3a440a80066737a8492eb791 20-Jun-2012 Jim Miller <jaggies@google.com> am fce2ec4d: Merge "Fix 6656710: center dot pattern in GlowPadView" into jb-dev

* commit 'fce2ec4da468c2d5ba26de8d051ff7ee64bb01c3':
Fix 6656710: center dot pattern in GlowPadView
94754ef36d1ceacb9a335202585e60c82b1f4b0d 20-Jun-2012 Jim Miller <jaggies@google.com> Fix 6656710: center dot pattern in GlowPadView

This fixes a bug where the dots weren't aligned with the center of the view.
The matrix should not contain the offset of the image itself since we really
want to scale about the abstract points. The code now subtracts the image
centering positions (cx,cy) from the point to be scaled.

Change-Id: I1d46a5d51b1fd1d39944c64baf86c306c2d5e923
ndroid/internal/widget/multiwaveview/PointCloud.java
73f534a2dd324d631696ced762f5c0ab1f254f74 19-Jun-2012 Todd Poynor <toddpoynor@google.com> Battery stats: parse wakeup sources stats for android-3.4

Change-Id: I30b2362ca7260d187e8ed4e047b30c446d32ca98
ndroid/internal/os/BatteryStatsImpl.java
01b8e660efeb85756020435b4098cd593b458b50 20-Jun-2012 Jim Miller <jaggies@google.com> am 904f26bd: am f7e820bb: Merge "Fix 6693743: update animation ring for keyguard and search panel" into jb-dev

* commit '904f26bd2684f64ac8b3c41394f09c4143a600b5':
Fix 6693743: update animation ring for keyguard and search panel
904f26bd2684f64ac8b3c41394f09c4143a600b5 20-Jun-2012 Jim Miller <jaggies@google.com> am f7e820bb: Merge "Fix 6693743: update animation ring for keyguard and search panel" into jb-dev

* commit 'f7e820bbc9d23e0657bbd6252fe285ba08a2551a':
Fix 6693743: update animation ring for keyguard and search panel
f7e820bbc9d23e0657bbd6252fe285ba08a2551a 20-Jun-2012 Jim Miller <jaggies@google.com> Merge "Fix 6693743: update animation ring for keyguard and search panel" into jb-dev
a7da8afe6dc866786acab8b06524d0079caa3fd7 20-Jun-2012 Jim Miller <jaggies@google.com> Fix 6693743: update animation ring for keyguard and search panel

This is a partial revert of change Ibce96f45eb6a94582c694108b99e243fd57b1955.

This change:
- shows the expanding ring animation on keyguard and navbar search
- disables the first ping wave animation on both.
- restores the outer ring

Change-Id: I429d23a49ca2868dc00872b8b8fde000d6a53a6d
ndroid/internal/widget/multiwaveview/GlowPadView.java
9ec426aba68d2f08130a6756006e075468b54e53 20-Jun-2012 Jim Miller <jaggies@google.com> am 2b7df368: am cab997b2: Merge "Fix 6667238: allow market apps to support ACTION_ASSIST" into jb-dev

* commit '2b7df3686f24a5a653a6609556dd98210324f7bd':
Fix 6667238: allow market apps to support ACTION_ASSIST
2b7df3686f24a5a653a6609556dd98210324f7bd 20-Jun-2012 Jim Miller <jaggies@google.com> am cab997b2: Merge "Fix 6667238: allow market apps to support ACTION_ASSIST" into jb-dev

* commit 'cab997b2020ddb67158397dccadd28d91a7710d0':
Fix 6667238: allow market apps to support ACTION_ASSIST
45308b1b3b1582d048845df2ee5301241e52a5cf 19-Jun-2012 Jim Miller <jaggies@google.com> Fix 6667238: allow market apps to support ACTION_ASSIST

This change allows market apps and 3rd parties to supply an activity
that responds to ACTION_ASSIST (e.g. market apps).

It also adds a test app to respond to the ASSIST intent and force
the intent disambiguation dialog to appear.

Change-Id: I5a78863c6a9546d18c66275187d178f6a1c9ee17
ndroid/internal/widget/multiwaveview/GlowPadView.java
3eda1903c709904da9a1668b0ba9c46f13cd9f80 19-Jun-2012 Jim Miller <jaggies@google.com> am 60fd2b2d: am ddbc85cb: Merge "Fix 6683092: tune GlowPadView wave animation" into jb-dev

* commit '60fd2b2de286f3543cf9db9550db9083211ca5ea':
Fix 6683092: tune GlowPadView wave animation
60fd2b2de286f3543cf9db9550db9083211ca5ea 19-Jun-2012 Jim Miller <jaggies@google.com> am ddbc85cb: Merge "Fix 6683092: tune GlowPadView wave animation" into jb-dev

* commit 'ddbc85cbfdc8ac6ed02b104f0e9c46018a0e1c53':
Fix 6683092: tune GlowPadView wave animation
5892e2ec253465a46b346fc813a21b412ae85e2e 19-Jun-2012 Jim Miller <jaggies@google.com> Fix 6683092: tune GlowPadView wave animation

This adds some aesthetic changes to the wave animation for GlowPadView:
- wave shape is no longer symmetric
- disable expand in keyguard
- enable expand in SearchPanelView (when mAlwaysTrackFinger == true)
- if a current wave animation isn't finished yet, don't start a new one
- various timing changes

Change-Id: Ibce96f45eb6a94582c694108b99e243fd57b1955
ndroid/internal/widget/multiwaveview/GlowPadView.java
ndroid/internal/widget/multiwaveview/PointCloud.java
048311ca379d4265a0fcbfdd67d968e88ca0aa67 18-Jun-2012 Jim Miller <jaggies@google.com> am a10b1a73: am 12da2c5e: Merge "Fix 6665117: ACTION_ASSIST visual improvements" into jb-dev

* commit 'a10b1a738dfa8fcf094fec555e7d85dba179f5fc':
Fix 6665117: ACTION_ASSIST visual improvements
a10b1a738dfa8fcf094fec555e7d85dba179f5fc 18-Jun-2012 Jim Miller <jaggies@google.com> am 12da2c5e: Merge "Fix 6665117: ACTION_ASSIST visual improvements" into jb-dev

* commit '12da2c5eeeadd6c23da5d3003d0da3b6b73d5052':
Fix 6665117: ACTION_ASSIST visual improvements
12da2c5eeeadd6c23da5d3003d0da3b6b73d5052 18-Jun-2012 Jim Miller <jaggies@google.com> Merge "Fix 6665117: ACTION_ASSIST visual improvements" into jb-dev
0be17da62000996318ecc50e2563bfd9be3fd052 18-Jun-2012 Adam Powell <adamp@google.com> am c92aa2e7: am 1b4dc0fe: Merge "Volume control in MediaRouter dialogs" into jb-dev

* commit 'c92aa2e7c9112adafc5283921efe25574a95b7a4':
Volume control in MediaRouter dialogs
9471faf5dcc3ebf88bbc1a01809eb7312e65f829 18-Jun-2012 Adam Powell <adamp@google.com> am 8f695c52: am 706a8699: Merge "Make MediaRouter UI more robust around route count changes" into jb-dev

* commit '8f695c525f5baa623a8b951bd3a1fd2b5efd1ceb':
Make MediaRouter UI more robust around route count changes
7e8aac14c3a930dea0ca7a1d1e0e8a384fbf8916 18-Jun-2012 Adam Powell <adamp@google.com> am bb20575f: am 130b4572: ActionProvider API update

* commit 'bb20575f85ada8ccdacefc53f0da7e00fdf12a16':
ActionProvider API update
00b7ae0936c555079e622237e8499613a073381c 18-Jun-2012 Adam Powell <adamp@google.com> am 772ddc0c: am fd4df469: Merge "Remove workaround for bug that was fixed a while ago." into jb-dev

* commit '772ddc0cf28625964435edc5e86048e353c425fa':
Remove workaround for bug that was fixed a while ago.
c92aa2e7c9112adafc5283921efe25574a95b7a4 18-Jun-2012 Adam Powell <adamp@google.com> am 1b4dc0fe: Merge "Volume control in MediaRouter dialogs" into jb-dev

* commit '1b4dc0fe00805f82fb4bb89a97b6b0501e117505':
Volume control in MediaRouter dialogs
8f695c525f5baa623a8b951bd3a1fd2b5efd1ceb 18-Jun-2012 Adam Powell <adamp@google.com> am 706a8699: Merge "Make MediaRouter UI more robust around route count changes" into jb-dev

* commit '706a8699008ce416a7fbd9a4215726fdb00ee803':
Make MediaRouter UI more robust around route count changes
bb20575f85ada8ccdacefc53f0da7e00fdf12a16 18-Jun-2012 Adam Powell <adamp@google.com> am 130b4572: ActionProvider API update

* commit '130b4572d1f3df702e5b296a655d15a41f6d4c66':
ActionProvider API update
772ddc0cf28625964435edc5e86048e353c425fa 18-Jun-2012 Adam Powell <adamp@google.com> am fd4df469: Merge "Remove workaround for bug that was fixed a while ago." into jb-dev

* commit 'fd4df46917c79067416985ac53a3da6b27e8c333':
Remove workaround for bug that was fixed a while ago.
4599696591f745b3a546197d2ba7e5cfc5562484 16-Jun-2012 Adam Powell <adamp@google.com> Volume control in MediaRouter dialogs

MediaRouter dialogs now intercept the volume keys for altering the
current volume. The status icon indicates if the slider/buttons are
currently controlling the local device volume or a remote device's
volume.

Group volume for user routes is handled by using the
RemoteControlClient supplied by the first route in the group.

Change-Id: I40a0d054847ed5acce7a4c3b669487841b4dca15
ndroid/internal/app/MediaRouteChooserDialogFragment.java
39d5c6172503620ac3761148adac5fd7fa20d02d 16-Jun-2012 Adam Powell <adamp@google.com> Make MediaRouter UI more robust around route count changes

Improve the API around ActionProvider visibility overriding. Allow the
application to notify whatever is hosting the ActionProvider that
visibility has changed in a way that is friendly to alternate support
library-style reimplementations of MenuItem.

Allow MediaRouter.Callback implementations to add or remove themselves
or other Callbacks during dispatch of callback events.

Make MediaRouteActionProvider track the visibility of corresponding
menu items more accurately.

Change-Id: Ic7ddb6a87c3637904750d2661e4a9fa323b09ea0
ndroid/internal/view/menu/MenuItemImpl.java
130b4572d1f3df702e5b296a655d15a41f6d4c66 16-Jun-2012 Adam Powell <adamp@google.com> ActionProvider API update

* Add ActionProvider#overridesItemVisibility and isVisible.
These methods allow an ActionProvider to override the
visibility of a MenuItem that it is bound to. If a MenuItem
has been explicitly hidden by the application, it will not
be visible.

* Change MediaRouteActionProvider to not require a MediaRouter
callback, to avoid extra lifecycle management headaches.

Change-Id: I606fa98b3a6a3e60a953dd024274f9bf9c67acdd
ndroid/internal/view/menu/MenuItemImpl.java
20039ad17b94873ee40fdd61c3d1d1aa590010df 16-Jun-2012 Jim Miller <jaggies@google.com> Fix 6665117: ACTION_ASSIST visual improvements

- add generic icon for search providers that don't supply one
- change alpha weighting factor for glow
- don't show ring background

Change-Id: I86c86dc2d623c25ec7b91e206fac8ad9cd60faac
ndroid/internal/widget/multiwaveview/PointCloud.java
10c45b6965baf9e0fbadd8b0b5742290689c6319 16-Jun-2012 Nick Pelly <npelly@google.com> Merge "Include WIFI scan's in Battery Stats."
6ccaa540a18a69e5343e3e4d507f341880fcde5a 16-Jun-2012 Nick Pelly <npelly@google.com> Include WIFI scan's in Battery Stats.

Call noteWifiScanStartedFromSource() when a scan is started.
Call noteWifiScanStoppedFromSource() when a scan is finished.

The current implementation tracks to UID that requested the scan, and
correctly tracks the duration of the scan. It ignores scan requests
that occur when a scan is already in progress. It does not distinguish
between active and passive scans.

Repurpose all the noteScanWifiLockAcquired/Released() plumbing
for WIFI scan tracking. The WIFI scan locks were never reported
to the user. Use noteFullWifiLock() when WIFI scan locks are used -
this makes sense because the power draw for a WIFI scan lock
should be about the same as for a full WIFI lock.

Bug: 6642581
Change-Id: Ida6e87992853698545b89f875c973a239218317d
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
307c5cfcdd275e56c6a11056ac4f6d6eb2758ee0 16-Jun-2012 Adam Powell <adamp@google.com> Remove workaround for bug that was fixed a while ago.

Change-Id: I368dd8fea6b33af6908b6fe3b7691104166a707a
ndroid/internal/view/ImageButtonNoParentPress.java
d1e57d78863b032cc647f6abeabb443dc512841d 15-Jun-2012 Adam Powell <adamp@google.com> am 15635728: am 27db797e: Merge "Update MediaRouteChooserDialog grouping UI" into jb-dev

* commit '15635728a4ff00da6cc3d6468c02d39e5631f124':
Update MediaRouteChooserDialog grouping UI
15635728a4ff00da6cc3d6468c02d39e5631f124 15-Jun-2012 Adam Powell <adamp@google.com> am 27db797e: Merge "Update MediaRouteChooserDialog grouping UI" into jb-dev

* commit '27db797e37ea16ea5db6eb3f6a32e0f116c1b824':
Update MediaRouteChooserDialog grouping UI
b5e2af5919351486a385effe77409d2a91ae9c19 15-Jun-2012 Adam Powell <adamp@google.com> Update MediaRouteChooserDialog grouping UI

Move UserRouteInfo tag support to RouteInfo

Change-Id: Ia753924f8613462d5f74736be93a8d748689eef1
ndroid/internal/app/MediaRouteChooserDialogFragment.java
2f115bc007b24144f3f673395bc83ac0bc3814c7 15-Jun-2012 Adam Powell <adamp@google.com> am 13b5c194: am 90b9f84c: Merge "API updates for MediaRouter" into jb-dev

* commit '13b5c194e1ca2ed5ca9187e15ca0518b8bb052d2':
API updates for MediaRouter
13b5c194e1ca2ed5ca9187e15ca0518b8bb052d2 15-Jun-2012 Adam Powell <adamp@google.com> am 90b9f84c: Merge "API updates for MediaRouter" into jb-dev

* commit '90b9f84c43145c51180c7253cd3a3f59862c2611':
API updates for MediaRouter
90b9f84c43145c51180c7253cd3a3f59862c2611 15-Jun-2012 Adam Powell <adamp@google.com> Merge "API updates for MediaRouter" into jb-dev
0d03c042f90bf62d5bad7c64e77028a5f9f8fae0 15-Jun-2012 Adam Powell <adamp@google.com> API updates for MediaRouter

* Accept a Context when fetching the names of routes and
categories. This lets string resources resolve at time of access
with the correct configuration. The older versions remain available
that will use the static resources from the application. (There are
enough cases where applications will populate this from external
data that requiring it each time even when it was not initialized
from a resource doesn't seem reasonable.)

* Remove the ability for apps to programmatically select non-user
routes.

* Make MediaRouter.Callback an abstract class instead of an interface.
This will make further extensions easier to keep compatible in the
future.

Change-Id: If981c511dfbdfaf41ef0d1cfe4a377fc14bb5600
ndroid/internal/app/MediaRouteChooserDialogFragment.java
8c3ce3b6caa8667b756d247ef89c0df279f3a5e6 14-Jun-2012 Michael Jurka <mikejurka@google.com> am cf6e1455: am 71fc205d: Merge "Change snap behavior for lock screen" into jb-dev

* commit 'cf6e14558f693ae215d5030ce562a649b4cb973f':
Change snap behavior for lock screen
cf6e14558f693ae215d5030ce562a649b4cb973f 14-Jun-2012 Michael Jurka <mikejurka@google.com> am 71fc205d: Merge "Change snap behavior for lock screen" into jb-dev

* commit '71fc205d11490872927e279c4a0cfa3176b15f20':
Change snap behavior for lock screen
71fc205d11490872927e279c4a0cfa3176b15f20 14-Jun-2012 Michael Jurka <mikejurka@google.com> Merge "Change snap behavior for lock screen" into jb-dev
a587b449c463ac996b8cb05b2888abe92a8d16b4 14-Jun-2012 Adam Powell <adamp@google.com> am 0f03d771: am f9b7f9f5: Merge "Support route grouping in the MediaRouter dialog UI." into jb-dev

* commit '0f03d771b29ff0fc6919a514c56128de9a5ecd5e':
Support route grouping in the MediaRouter dialog UI.
0f03d771b29ff0fc6919a514c56128de9a5ecd5e 14-Jun-2012 Adam Powell <adamp@google.com> am f9b7f9f5: Merge "Support route grouping in the MediaRouter dialog UI." into jb-dev

* commit 'f9b7f9f5080100043df3c8868bca4df84becf5a1':
Support route grouping in the MediaRouter dialog UI.
53f109bf4923e111e796014e6701a14e5bfa5d1a 14-Jun-2012 Michael Jurka <mikejurka@google.com> Change snap behavior for lock screen

Use angle and distance from center, rather than
distance from target.

Change-Id: Ic970bc4b05d341dbb6aab334e3f630794f2a211c
ndroid/internal/widget/multiwaveview/GlowPadView.java
ndroid/internal/widget/multiwaveview/MultiWaveView.java
cf815b56bf475bc9593a057edb234578e4abfcf1 14-Jun-2012 Adam Powell <adamp@google.com> am 6c143590: am 4b4a947b: Merge "MediaRouter dialog" into jb-dev

* commit '6c14359074ff5a93695ed37083c9178a4ca2d1f1':
MediaRouter dialog
58c35bbe347e9814bb3356866828f4cf5f56936f 14-Jun-2012 Winson Chung <winsonc@google.com> Merge "Updating AppWidgetHost to receive a callback when any appWidget has changed. (Bug 6602951)"
d6d0bddee363e0c7fe61f63bd9d9864a71d887d6 14-Jun-2012 Adam Powell <adamp@google.com> Support route grouping in the MediaRouter dialog UI.

Change-Id: Idcae12cedfb7ca13950e7fa45441fba2029a9f68
ndroid/internal/app/MediaRouteChooserDialogFragment.java
ndroid/internal/view/CheckableLinearLayout.java
ndroid/internal/view/ImageButtonNoParentPress.java
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
ndroid/internal/appwidget/IAppWidgetHost.aidl
6c14359074ff5a93695ed37083c9178a4ca2d1f1 13-Jun-2012 Adam Powell <adamp@google.com> am 4b4a947b: Merge "MediaRouter dialog" into jb-dev

* commit '4b4a947b5e4913d7f8b7df15d3a7cdf8f343471f':
MediaRouter dialog
70e11e50eecfc8f1dfb76316d099e4331ebd28f7 13-Jun-2012 Adam Powell <adamp@google.com> MediaRouter dialog

Add the dialog behavior for MediaRouteActionProvider/MediaRouteButton.

Still TODO:

* Switch audio icon based on source; speaker/bt/user

* Rig up volume slider

* Rig up item icons

* Rig up group button for groupable categories

* Make grouping work

Change-Id: I3f992516b184d5ae940ddb7bbb7f94ff58914589
ndroid/internal/app/MediaRouteChooserDialogFragment.java
79cb9b52e86beee247b76c1ecf51957b4596a956 13-Jun-2012 Jim Miller <jaggies@google.com> am 5f190731: am 955a0169: Fix 6613962: Update keyguard to use new GlowPadView UX design.

* commit '5f1907316e0085073a314dcfa41bfb35a7f31f9f':
Fix 6613962: Update keyguard to use new GlowPadView UX design.
5f1907316e0085073a314dcfa41bfb35a7f31f9f 13-Jun-2012 Jim Miller <jaggies@google.com> am 955a0169: Fix 6613962: Update keyguard to use new GlowPadView UX design.

* commit '955a016922ea49f154d190b054a202559b41a4d3':
Fix 6613962: Update keyguard to use new GlowPadView UX design.
955a016922ea49f154d190b054a202559b41a4d3 12-Jun-2012 Jim Miller <jaggies@google.com> Fix 6613962: Update keyguard to use new GlowPadView UX design.

Change-Id: I4f1ef3107e5550f7df9dcb412943a84b66432b7d
ndroid/internal/widget/multiwaveview/GlowPadView.java
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ndroid/internal/widget/multiwaveview/PointCloud.java
7c727e50f1a73d6fab100af9cac3e16985aa18a2 12-Jun-2012 Chia-chi Yeh <chiachi@android.com> am a2becffc: am d667aebf: Merge "VPN: move VpnDialogs away from system uid." into jb-dev

* commit 'a2becffcf2a19889b90256a8479e276081ce6108':
VPN: move VpnDialogs away from system uid.
a2becffcf2a19889b90256a8479e276081ce6108 12-Jun-2012 Chia-chi Yeh <chiachi@android.com> am d667aebf: Merge "VPN: move VpnDialogs away from system uid." into jb-dev

* commit 'd667aebfb34085960e2b41a2f52d10ae749ec44c':
VPN: move VpnDialogs away from system uid.
d1645f8d0f30709340eb6b6d6da5022bbab77024 12-Jun-2012 Amith Yamasani <yamasani@google.com> Disable lockscreen using a system property.

For factory testing.

Change-Id: Ie5b8be432ab8ad40d8752f978899987c95a5aef9
ndroid/internal/widget/LockSettingsService.java
d667aebfb34085960e2b41a2f52d10ae749ec44c 11-Jun-2012 Chia-chi Yeh <chiachi@android.com> Merge "VPN: move VpnDialogs away from system uid." into jb-dev
8b4b63403a06e07dfc595aca45c778023bfec79b 31-May-2011 Mattias Petersson <mattias.petersson@sonyericsson.com> Avoid memory leak in the Shutdown confirmation dialog.

How to reproduce:
1) Lock the screen.
2) Open the Phone options menu by long pressing the power
button.
3) Tap "Power off" to display the confirmation dialog.
4) Repeat step 2 and 3 a few times (without closing the
confirmation dialog.

Each time the confirmation dialog is displayed, a new
instance is created. A stack of confirmation dialogs are
created on the screen.

This is fixed by making sure the previous dialog is
dismissed before launching a new dialog.

Change-Id: I6b6c61ccc56364b66eed3528019f761e75bbe268
ndroid/internal/app/ShutdownThread.java
dadc857d9de364fded10d4f69eb82bc9cd35d4b7 08-Jun-2012 Chia-chi Yeh <chiachi@android.com> VPN: move VpnDialogs away from system uid.

Bug: 6632536
Change-Id: Iece647c077caf5298ccfe7d7aba5f0911a4ed0d1
ndroid/internal/net/VpnConfig.java
f6e03e55401833cb764730257ce08639bd205529 07-Jun-2012 Adam Powell <adamp@google.com> am 72329952: am 4c38fe36: Merge "Protect against bogus input for ListViews" into jb-dev

* commit '72329952168fd86b911109602882b92494e9ccc5':
Protect against bogus input for ListViews
72329952168fd86b911109602882b92494e9ccc5 07-Jun-2012 Adam Powell <adamp@google.com> am 4c38fe36: Merge "Protect against bogus input for ListViews" into jb-dev

* commit '4c38fe369fee76b8d4fca5a7b0b8d81a96f0219f':
Protect against bogus input for ListViews
4c38fe369fee76b8d4fca5a7b0b8d81a96f0219f 07-Jun-2012 Adam Powell <adamp@google.com> Merge "Protect against bogus input for ListViews" into jb-dev
28048d011cb0887cd641977ca37e5f2fde04d191 07-Jun-2012 Adam Powell <adamp@google.com> Protect against bogus input for ListViews

Guard against cases where ListView might receive touch events while
detached.

Update ListMenuPresenter to dispatch a data set change when the
backing menu is changed.

Bug 6543282

Change-Id: If2fb9b6aa3cf4a1b7070a7cd0de0edf0fc2f4cca
ndroid/internal/view/menu/ListMenuPresenter.java
9a8eed3a4daa2745fd0fc386d42d2f208ad362e6 06-Jun-2012 Dianne Hackborn <hackbod@google.com> am 18aa041a: am 6cd19e02: Merge "Fix some divide by zero errors that could crash the system." into jb-dev

* commit '18aa041a62d36b9f2d4ead8ca0945ec87af582b4':
Fix some divide by zero errors that could crash the system.
18aa041a62d36b9f2d4ead8ca0945ec87af582b4 06-Jun-2012 Dianne Hackborn <hackbod@google.com> am 6cd19e02: Merge "Fix some divide by zero errors that could crash the system." into jb-dev

* commit '6cd19e0266b3f4277f13dab7e9a86ebdd9905ee9':
Fix some divide by zero errors that could crash the system.
6cd19e0266b3f4277f13dab7e9a86ebdd9905ee9 06-Jun-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix some divide by zero errors that could crash the system." into jb-dev
cdadee630e09fc2aa966244a71bf22236f9a30a4 06-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix some divide by zero errors that could crash the system.

Change-Id: I66273df84e45de59b5b161f4d13de67a9e0f46d5
ndroid/internal/os/ProcessStats.java
b85afc25d5d4ef3aab378691d8df306c99f7ab96 06-Jun-2012 Adam Powell <adamp@google.com> resolved conflicts for merge of 1178569b to master

Change-Id: If2bb6ccaee99bcf199cd93f24eba217fe6ff485e
1178569b261a094fe6fb830e91f002e4fcd9fc1a 06-Jun-2012 Adam Powell <adamp@google.com> am f6452d0c: Merge "More fun with MediaRouter" into jb-dev

* commit 'f6452d0cac64b72005af330411b5a895f0038312':
More fun with MediaRouter
f6452d0cac64b72005af330411b5a895f0038312 06-Jun-2012 Adam Powell <adamp@google.com> Merge "More fun with MediaRouter" into jb-dev
1b60e7287723cc03efc4893e3bbf3b9e8ac1cba9 06-Jun-2012 Jeff Brown <jeffbrown@google.com> am eef4bc08: am 615fd3df: Merge "Implement new rotation policy." into jb-dev

* commit 'eef4bc08137f2324e2974c282992ff546df99e54':
Implement new rotation policy.
690ffb4e1f735148a15f2036d9a3c1962fba188c 05-Jun-2012 Adam Powell <adamp@google.com> More fun with MediaRouter

Add action provider, button, and styles. Extend ActionProvider to
allow for getting references to MenuItem instances.

Implement toggle mode for the MediaRouteButton/ActionProvider. Dialog
selection yet to come.

Change-Id: Ibe3188570f503bbf8dd00cf154663435656a7171
ndroid/internal/view/menu/MenuItemImpl.java
eef4bc08137f2324e2974c282992ff546df99e54 06-Jun-2012 Jeff Brown <jeffbrown@google.com> am 615fd3df: Merge "Implement new rotation policy." into jb-dev

* commit '615fd3dff2e369d8b786abcfe41b6da988e41001':
Implement new rotation policy.
207673cdbb536b9bdd9ff7f9ce953c5485d11f5a 06-Jun-2012 Jeff Brown <jeffbrown@google.com> Implement new rotation policy.

Rotation lock does not override NOSENSOR mode anymore.

Centralize the rotation policy settings into a new class shared by
the System UI and Settings applications.

Add a new setting to specify whether rotation-lock is being hidden
because the "auto-rotate screen" option has been toggled in the
Accessibility settings panel.

Bug: 6523269
Change-Id: I15173280d25bc5d101e89a9c65913aefc53fc33a
ndroid/internal/view/RotationPolicy.java
94456bb32c282a2b07468bd0ffbacf2283023a00 04-Jun-2012 Jeff Brown <jeffbrown@google.com> am 7d3fa093: am f47e76e2: Merge "Make velocity tracker strategy configurable." into jb-dev

* commit '7d3fa093bbd34e19f6b580b6258c8ea4e138c777':
Make velocity tracker strategy configurable.
7d3fa093bbd34e19f6b580b6258c8ea4e138c777 04-Jun-2012 Jeff Brown <jeffbrown@google.com> am f47e76e2: Merge "Make velocity tracker strategy configurable." into jb-dev

* commit 'f47e76e2c78e78e26110786e99548d718d177c32':
Make velocity tracker strategy configurable.
f47e76e2c78e78e26110786e99548d718d177c32 04-Jun-2012 Jeff Brown <jeffbrown@google.com> Merge "Make velocity tracker strategy configurable." into jb-dev
9eb7d86181729c3eb769d71123c4ce9ffc868f08 01-Jun-2012 Jeff Brown <jeffbrown@google.com> Make velocity tracker strategy configurable.

This change is very useful for testing purposes because it makes it
easy to compare different implementations to see how they behave.

There is no change to the current default strategy.

Bug: 6413587
Change-Id: I4d8567aa4160571ba9fa397ce419882cd9366749
ndroid/internal/widget/PointerLocationView.java
988edcd423ec729107631c9f70a75b3a2e9ad434 02-Jun-2012 Jim Miller <jaggies@google.com> am a8c42f1a: am 94a8ae09: Merge "Fix 6592932: add means to replace assist icon from given package" into jb-dev

* commit 'a8c42f1aaa184ed9b30c747ca03b5d7159a3fb20':
Fix 6592932: add means to replace assist icon from given package
a8c42f1aaa184ed9b30c747ca03b5d7159a3fb20 02-Jun-2012 Jim Miller <jaggies@google.com> am 94a8ae09: Merge "Fix 6592932: add means to replace assist icon from given package" into jb-dev

* commit '94a8ae09bea03ec2ca5563601e28a196d41bb6b6':
Fix 6592932: add means to replace assist icon from given package
3294b6b09b2f52cb44005720051c32c9c851fc9f 01-Jun-2012 Jim Miller <jaggies@google.com> Fix 6592932: add means to replace assist icon from given package

This provides the means to replace the assist icon shown in keyguard and the
navigation gesture for assist. It's done by adding metadata called
"com.android.systemui.action_assist_icon" to the activity that handles
android.intent.action.ASSIST. It should point to a StateListDrawable
in that package with the required states. For example:

<meta-data android:name="com.android.systemui.action_assist_icon"
android:resource="@drawable/ic_android_systemui_action_assist" />

And then something like this in drawable/ic_android_systemui_action_assist.xml :

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="true"
android:state_active="false"
android:state_focused="false"
android:drawable="@drawable/ic_action_assist_normal" />
<item android:state_enabled="true"
android:state_active="true"
android:state_focused="false"
android:drawable="@drawable/ic_action_assist_activated" />
<item android:state_enabled="true"
android:state_active="false"
android:state_focused="true"
android:drawable="@drawable/ic_action_assist_focused" />
</selector>

Change-Id: Ibc29360e179fed68253ff06a07b1bb2b982d0dab
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ndroid/internal/widget/multiwaveview/TargetDrawable.java
c0da129685d306f83ebbc0a0753efb75027e7247 31-May-2012 Chet Haase <chet@google.com> am 12dec0f2: am 762ca84c: Merge "Sped up ActionBar and StatusBar animations" into jb-dev

* commit '12dec0f230ee010192433f90b1c6fd54a9aa24f3':
Sped up ActionBar and StatusBar animations
12dec0f230ee010192433f90b1c6fd54a9aa24f3 31-May-2012 Chet Haase <chet@google.com> am 762ca84c: Merge "Sped up ActionBar and StatusBar animations" into jb-dev

* commit '762ca84cb26b06cfc758db38f4af6edfcf6a4349':
Sped up ActionBar and StatusBar animations
762ca84cb26b06cfc758db38f4af6edfcf6a4349 31-May-2012 Chet Haase <chet@google.com> Merge "Sped up ActionBar and StatusBar animations" into jb-dev
e8118e17b2f088f2ebecfbe050c4ffa80f686abf 30-May-2012 Chet Haase <chet@google.com> Sped up ActionBar and StatusBar animations

Animations to show/hide the ActionBar and StatusBar were very slow, given
the size of the objects and the distances covered by the sliding animations.
Also, the ActionBar animation was sometimes hiccuppy as it faded in/out.
This change eliminates the ActionBar fade (which is unnecessary) and speeds
up the animations (smaller durations and steeper interpolation curves). Also,
it eliminates the startDelay on the ActionBar show animation.

Issue #6564089 Options menu should slide in much quicker (nakasi/JB)

Change-Id: I2c8298301f7bf26bbbc94444e715420a2c029ba0
ndroid/internal/app/ActionBarImpl.java
31d6045a940cba3fe5da6cd44a6abb921f99ea76 30-May-2012 Jim Miller <jaggies@google.com> am 6be353b0: am 2a7b17bb: Fix 6580421: make sure MultiWaveView.reset() makes handle visible

* commit '6be353b05e63230dd9c1080441188d839c36d06a':
Fix 6580421: make sure MultiWaveView.reset() makes handle visible
6be353b05e63230dd9c1080441188d839c36d06a 30-May-2012 Jim Miller <jaggies@google.com> am 2a7b17bb: Fix 6580421: make sure MultiWaveView.reset() makes handle visible

* commit '2a7b17bb2604823e140fb867fe87836dd039611a':
Fix 6580421: make sure MultiWaveView.reset() makes handle visible
2a7b17bb2604823e140fb867fe87836dd039611a 30-May-2012 Jim Miller <jaggies@google.com> Fix 6580421: make sure MultiWaveView.reset() makes handle visible

This fixes a bug where sometimes the handle wasn't visble in the
incoming call screen. The problem was that the animation was
interrupted on its transition from alpha = 0 to alpha = 1 by reset()
and the new handle animation wasn't started.

Change-Id: I3ab4259db1115da20e7f54b91bbfe3b496940214
ndroid/internal/widget/multiwaveview/MultiWaveView.java
022a656396a9ceef931cbd6e24c9c44bcf7d2a90 30-May-2012 Jim Miller <jaggies@google.com> am 9ca07d04: am d8c5f10c: Merge "Fix 6398209: SearchPanel gesture improvements" into jb-dev

* commit '9ca07d048fb738986195e710839a5084bf1b628e':
Fix 6398209: SearchPanel gesture improvements
9ca07d048fb738986195e710839a5084bf1b628e 30-May-2012 Jim Miller <jaggies@google.com> am d8c5f10c: Merge "Fix 6398209: SearchPanel gesture improvements" into jb-dev

* commit 'd8c5f10c10ea1a8708481eac52ee573d5c3b6a67':
Fix 6398209: SearchPanel gesture improvements
9a720f5eb6c67b581df22f4ecb498cebb459babe 30-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: SearchPanel gesture improvements

This fixes a few recent regressions caused by other bug fixes:
- add new flags to animateCollapse() so we can selectively close panels. Fixes regression caused by attempt to close recent apps from startAssistActivity() which had the side effect of closing the search panel before the animation completes.
- adds tuneable holdoff delay for responding to home key press.
- minor tweaks to MultiWaveView animations.

Change-Id: Ia48434b8d59e7b0290a5e9783960c2f684068218
ndroid/internal/widget/multiwaveview/MultiWaveView.java
de1a43f69e0e80de95c1f69f5b8331c0b086bb47 29-May-2012 Wink Saville <wink@google.com> Merge "When we disconnect shutdown the StateMachine."
4b5d3a26394dc5f2aca787fd8acfd6e7e9c27460 29-May-2012 Wink Saville <wink@google.com> Merge "Enhance StateMachine Quitting and logging support."
4abf86ed20fdc87f34362fad5f8a51798a2d0d88 29-May-2012 Jim Miller <jaggies@google.com> am a073e570: Fix 6398209: General animation improvements for swipe to search

* commit 'a073e570789e5b49e8339af44516444b13db4428':
Fix 6398209: General animation improvements for swipe to search
a073e570789e5b49e8339af44516444b13db4428 24-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: General animation improvements for swipe to search

This cleans up the animation for swipe to search from the navbar. In particular:
1. Wait for initial animation to finish if gesture was too quick.
2. Better fade animation
3. Hide background and fade in when ring is selected
4. Smoother target and outer ring animation when switching between states.

Change-Id: I401197760cf9f06b6ff3e1cdb80bee86a03ef276
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ndroid/internal/widget/multiwaveview/Tweener.java
f3110dfc84f6d7ae0c2c0718db2d1948dfd99240 28-May-2012 Wink Saville <wink@google.com> When we disconnect shutdown the StateMachine.

Need to stop the StateMachine threads and release
all resources when we disconnect.

bug: 6342470
Change-Id: Ibf7a2ebf4f7ecd667c5d95579e66ecd5086103ea
ndroid/internal/util/AsyncChannel.java
bbf30dfd767f823f5f40d14b498e2a593454c5c9 29-May-2012 Wink Saville <wink@google.com> Enhance StateMachine Quitting and logging support.

Make StateMachine#quit non-conditional and remove the need to
process the SM_QUIT_CMD it is now private.

Rename halting to onHalting.

Add onQuitting

Change the message specific logging to be more generic and change
the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add
addLogRec(String) and addLogRec(String, State) as the generic logging
methods.


bug: 5678189
Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7
ndroid/internal/util/StateMachine.java
af948894195d2af09295210d4266bb45c4f4ba9e 25-May-2012 Chris Wren <cwren@android.com> am 04b63f6f: Merge "Squelch the logs from SizeAdaptiveLayout." into jb-dev

* commit '04b63f6fb0f04e0cd56a6c2d71c8c4f1f2207758':
Squelch the logs from SizeAdaptiveLayout.
04b63f6fb0f04e0cd56a6c2d71c8c4f1f2207758 25-May-2012 Chris Wren <cwren@android.com> Merge "Squelch the logs from SizeAdaptiveLayout." into jb-dev
4414bdefe1ac1559f2c4d2658a28ed80abc84482 25-May-2012 Jim Miller <jaggies@google.com> am 73bde11e: Merge "Fix 6547012: ignore events outside the home/back/recent navigation area" into jb-dev

* commit '73bde11e624c44620819e9c93a61ca6be6e96997':
Fix 6547012: ignore events outside the home/back/recent navigation area
73bde11e624c44620819e9c93a61ca6be6e96997 25-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6547012: ignore events outside the home/back/recent navigation area" into jb-dev
960892c0afa7f2b91236928e29e3987ed35b2077 24-May-2012 Jim Miller <jaggies@google.com> Fix 6547012: ignore events outside the home/back/recent navigation area

This fixes the search panel to only show if touch events originate
in the home/back/recent area.

Change-Id: I370da8b5c5613b7bbab5d266ba51a61df8f3a57b
ndroid/internal/widget/multiwaveview/MultiWaveView.java
5462508f05286d873183b72106928c17f259ff67 23-May-2012 Chris Wren <cwren@android.com> Squelch the logs from SizeAdaptiveLayout.

Bug: 6540109
Change-Id: I52bd64e2f5d1b2f02ef7e956ddf1340fb9b2aff3
ndroid/internal/widget/SizeAdaptiveLayout.java
79934c0048a6bfccdbb6dda0fc45db3240ba5de8 23-May-2012 Daniel Sandler <dsandler@android.com> am 81de5a0b: Merge "Stop animating when not showing." into jb-dev

* commit '81de5a0b11df08b603693b6d3b381ac9f89ebc67':
Stop animating when not showing.
aa0a3b692337ec8b6431e8d046ea01f042157334 23-May-2012 Daniel Sandler <dsandler@android.com> Stop animating when not showing.

We were eating too many jelly beans even when the screen was
off.

Also clean up touch offsets, rotation on fling, and main
platlogo asset.

Bug: 6541052
Change-Id: I34e49b8b7a95ce6daab929885130426a5ae58dc4
ndroid/internal/app/PlatLogoActivity.java
7a26eefcc51e6cc794217ee398efbdcd4ad34392 23-May-2012 Dianne Hackborn <hackbod@google.com> am 89604931: Merge "Fix issue #6521829: Sometimes action bar disappears in gallery" into jb-dev

* commit '89604931a85edd82c6b4a8c798fc1af610ba706e':
Fix issue #6521829: Sometimes action bar disappears in gallery
80d55065b1577db732c259e0e4d745617b6f1bff 23-May-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6521829: Sometimes action bar disappears in gallery

Change-Id: Ieb1f1fd0ebb87037cda94e1e1d6e2ca9a9c0754e
ndroid/internal/app/ActionBarImpl.java
aa0d9f6363f43e17b99176a026c746e82310111f 22-May-2012 Jim Miller <jaggies@google.com> am a6f0b0ad: Merge "Fix6398209: reveal search when home button is long-pressed" into jb-dev

* commit 'a6f0b0ad6966d64d833978cc150cc180b40f8bb3':
Fix6398209: reveal search when home button is long-pressed
a6f0b0ad6966d64d833978cc150cc180b40f8bb3 22-May-2012 Jim Miller <jaggies@google.com> Merge "Fix6398209: reveal search when home button is long-pressed" into jb-dev
998bb765290066822ff8a3b378dadd71deb0ce73 21-May-2012 Jim Miller <jaggies@google.com> Fix6398209: reveal search when home button is long-pressed

This change add a feature to reveal the swipe to search interface
when the home key is pressed for longer than 50ms. It progressively
reveals the interface. It still requires a bit of tuning, but all
the basic parameters are in this CL.

Change-Id: I1d3a5bb7b912265eb41da68bc9313eee1af2e415
ndroid/internal/widget/multiwaveview/MultiWaveView.java
9beee6ad206541f351faad5cf30b9d0216f07d22 19-May-2012 Dianne Hackborn <hackbod@google.com> am d51ac09f: Merge "Fix activity resolver, issues #6519130 and #6507239" into jb-dev

* commit 'd51ac09fd7db5d810452138749f9291617c0dbf7':
Fix activity resolver, issues #6519130 and #6507239
5320eb8938098c9824093f7f842a0a97bbc190a4 18-May-2012 Dianne Hackborn <hackbod@google.com> Fix activity resolver, issues #6519130 and #6507239

6519130: Starting ResolverActivity with no arguments crashes system_server
6507239: ResolverActivity may bypass signature permissions

Change-Id: I64534f781bc6b7eb45e85dbe3a55d351ee28e85c
ndroid/internal/app/ResolverActivity.java
7bd926c9ba317189705867f7f153a59a16853390 17-May-2012 Jim Miller <jaggies@google.com> am 5de47b6a: Fix 6398209: Fix glitch in chevron animation in MultiWaveView

* commit '5de47b6ad9d72476302f8a3732b639d3d413ef77':
Fix 6398209: Fix glitch in chevron animation in MultiWaveView
5de47b6ad9d72476302f8a3732b639d3d413ef77 17-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: Fix glitch in chevron animation in MultiWaveView

This fixes a glitch caused by clearing the array of chevrons before
stopping the associated animations. The old animations were allowed to
complete which caused chevrons to move around erratically because they
were being controlled by multiple animators.

Change-Id: Iec1450dd83077a721930eb3cac19a621e7356980
ndroid/internal/widget/multiwaveview/MultiWaveView.java
9a40e307dc3a1d865257fee72c042ed0d2a9183d 16-May-2012 Jim Miller <jaggies@google.com> am c1c14065: Merge "Fix 6398209: Lots of improvements to gesture search from navbar" into jb-dev

* commit 'c1c140657633cc5b0ff26da1f122fab305d21e01':
Fix 6398209: Lots of improvements to gesture search from navbar
c1c140657633cc5b0ff26da1f122fab305d21e01 16-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6398209: Lots of improvements to gesture search from navbar" into jb-dev
20830421fe223bf2a8a69a67a6d26b0b5beb5baa 16-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: Lots of improvements to gesture search from navbar

- Added ability to postpone animations until after window is shown
to ensure the animation is visible on slower devices.
- Fixed layout bug that prevented targets from being located on
outer ring.
- Fixed bug where some motion events were being ignored when handle
wasn't captured.
- Reduced temp object generation in several methods.
- Added containers to start all animations together and to facilitate
delayed start.
- Increased radius of outer ring on phones to closer match mocks.
- Decreased sensitivity of swipe up gesture on navbar so it's harder to false.

Change-Id: I084f840115aef6496a1f87202c4e42d9962c8c3e
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ndroid/internal/widget/multiwaveview/Tweener.java
4924f2375eb78e7ec5297e7e5fb56059798b38b8 15-May-2012 Daniel Sandler <dsandler@android.com> am 8414beac: Merge "Test new fonts and use correct OS version." into jb-dev

* commit '8414beac87b9fb411566c0c99f772c54d4223a31':
Test new fonts and use correct OS version.
f89d5079e4e483baab1ce0bfc25e487cd920f58f 12-May-2012 Daniel Sandler <dsandler@android.com> Test new fonts and use correct OS version.

Bug: 6499146
Change-Id: I83d6298725fe1f3385d5bf0a34487658583141a4
ndroid/internal/app/PlatLogoActivity.java
8e49098f76042c63b4fa8ede9ef9bdf75b77f509 15-May-2012 Adam Powell <adamp@google.com> am e48d12b7: Merge "Fix ActionProviders that have submenus" into jb-dev

* commit 'e48d12b78011ff5ddbb6838a038ea5384190ec92':
Fix ActionProviders that have submenus
e2ec70bf92e80800bd5163f56632b9eb14cce290 15-May-2012 Jeff Brown <jeffbrown@google.com> am 00ff4748: Merge "More VelocityTracker refactoring." into jb-dev

* commit '00ff47484f8137aa3e59f680ff07d2662cfb4088':
More VelocityTracker refactoring.
2da87ec32e72c2c25998e2444155c00074cfbd40 15-May-2012 Dianne Hackborn <hackbod@google.com> am 2a7a6ca0: Merge "Implement new window cropping." into jb-dev

* commit '2a7a6ca00ab176105b5bbfa6b17bb0dcd058d517':
Implement new window cropping.
e48d12b78011ff5ddbb6838a038ea5384190ec92 15-May-2012 Adam Powell <adamp@google.com> Merge "Fix ActionProviders that have submenus" into jb-dev
00ff47484f8137aa3e59f680ff07d2662cfb4088 15-May-2012 Jeff Brown <jeffbrown@google.com> Merge "More VelocityTracker refactoring." into jb-dev
f77f480800a84ceb377e47cc200baf2bae4f5d9a 15-May-2012 Adam Powell <adamp@google.com> Fix ActionProviders that have submenus

Automatically create a submenu for items with ActionProviders that
provide a submenu when the item was not initially configured to have
one.

Bug 6493376

Change-Id: I27218e2ab205e87534f235eb04042b185d99d143
ndroid/internal/view/menu/MenuBuilder.java
85bd0d62830a098c1bdc720dfdcf4fe1b18b657c 14-May-2012 Jeff Brown <jeffbrown@google.com> More VelocityTracker refactoring.

Bug: 6413587
Change-Id: Ida1152e7a34d5fe5caab5e6b5e1bc79f6c7a25e6
ndroid/internal/widget/PointerLocationView.java
2a7a6ca00ab176105b5bbfa6b17bb0dcd058d517 14-May-2012 Dianne Hackborn <hackbod@google.com> Merge "Implement new window cropping." into jb-dev
85afd1b6f871d471fdff1980134676a5f1690525 13-May-2012 Dianne Hackborn <hackbod@google.com> Implement new window cropping.

The window manager now performs the crop internally, evaluating
it every animation from, to be able to update it along with
the surface position.

Change-Id: I960a2161b9defb6fba4840fa35aee4e411c39b32
ndroid/internal/view/BaseIWindow.java
8c113503669fea3fda44e5672ec027e6b15d438f 12-May-2012 Jim Miller <jaggies@google.com> am 5a588dbe: Merge "Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet" into jb-dev

* commit '5a588dbe6e3d246523d7c04258f0129ba37df069':
Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet
5a588dbe6e3d246523d7c04258f0129ba37df069 12-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet" into jb-dev
c6e523ea9bc15f18c9cbf04b05e8d2c90298453f 12-May-2012 Jim Miller <jaggies@google.com> Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet

This fixes a problem where the bounds of the view weren't being
calculated properly when a separate outer radius was specified.

The code now takes the maximum of the ring drawable's width/height
and that specified in the resource files.

This gives it the best default look on all devices while still
allowing minor tweaks.

Change-Id: I5daa40ff4f14653c8cc89b39102816afb976e4f7
ndroid/internal/widget/multiwaveview/MultiWaveView.java
a48816375f68a8b4a945efcb68e405308a50adc9 12-May-2012 Jeff Brown <jeffbrown@google.com> am 58770232: Merge "Move power HAL interactions to PowerManagerService." into jb-dev

* commit '58770232216cd735afdfd3dd53151070e06de5ce':
Move power HAL interactions to PowerManagerService.
58770232216cd735afdfd3dd53151070e06de5ce 12-May-2012 Jeff Brown <jeffbrown@google.com> Merge "Move power HAL interactions to PowerManagerService." into jb-dev
7304c343821309dd15f769b18f1de2fa43751573 12-May-2012 Jeff Brown <jeffbrown@google.com> Move power HAL interactions to PowerManagerService.

This refactoring sets the stage for a follow-on change that
will make use additional functions of the power HAL.

Moved functionality from android.os.Power into PowerManagerService.
None of these functions make sense being called outside of the
system server. Moving them to the PowerManagerService makes it
easier to ensure that the power HAL is initialized exactly once.

Similarly, moved ShutdownThread out of the policy package and into
the services package where it can tie into the PowerManagerService
as needed.

Bug: 6435382
Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
ndroid/internal/app/ShutdownThread.java
07827454efef7f46d46e923a5091d8cf1e5d0d8c 12-May-2012 Jim Miller <jaggies@google.com> am 2b5cebeb: Merge "Fix 6040870: Update MultiWaveView for new device" into jb-dev

* commit '2b5cebebb60c33fe864bed71778253837cbddb54':
Fix 6040870: Update MultiWaveView for new device
4c351d62e7a09bcc29e7d0329bcdd947a302cf40 11-May-2012 Jim Miller <jaggies@google.com> Fix 6040870: Update MultiWaveView for new device

This change allows more flexibility in target placement in MultiWaveView.
It now supports a new way of specifying chevron drawables that allows
them to be moved in directions corresponding to more than the four basic
directions (right, up, left, down).

Chevron drawables can now be updated in an overlay.

This change also adds a place holder and makes a minor tweak to the layout
on 720dp devices where the navbar buttons weren't centered.

Change-Id: Icd319ec5f276870380e27737c873e78f599ff751
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ndroid/internal/widget/multiwaveview/TargetDrawable.java
556d48f5a3dac3b530015db9f8306f915bea31b2 11-May-2012 Jim Miller <jaggies@google.com> am fef47f42: Merge "Fix 6398209: Improve MultiWaveView animations and interaction" into jb-dev

* commit 'fef47f422aef44a69aa1a417ef671d6934c5ed1f':
Fix 6398209: Improve MultiWaveView animations and interaction
fef47f422aef44a69aa1a417ef671d6934c5ed1f 11-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6398209: Improve MultiWaveView animations and interaction" into jb-dev
10c66afbd05e91143ea9bd109d3ce578e53dab14 11-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: Improve MultiWaveView animations and interaction

TargetDrawables now have a "home" position they can be scaled about.
Added new "focused" state to TargetDrawable. This is used to distinguish between highlight and selection.
Updated target icons to use new focused state. Currently re-uses "activated" icon.
Change to event handling to allow cancel events when a target is highlighted to cause a selection.
Cleaned up MultiWaveView initialization code.

MultiWaveView animation improvements:
- new scale animation when center handle is touched.
- switched to using indices instead of foreach loops in critical path code to avoid creating temporary objects.
- updated and simplified animation code.

Change-Id: I593c021475f1644c73bdb9f84855e6a9fec7c0ab
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ndroid/internal/widget/multiwaveview/TargetDrawable.java
79c93524f7b323e35fd37ad1c4dcb3b3519026aa 10-May-2012 Tom Taylor <tomtaylor@google.com> am 747eeb4c: Merge "Thread with no recipients getting created" into jb-dev

* commit '747eeb4c4e48950e1107337b59cca83166e625b6':
Thread with no recipients getting created
2c51f2b949d7b07d1f349dad7b90ce7bb1314c1b 10-May-2012 Daniel Sandler <dsandler@android.com> am dc442534: Merge "Ice cream is SO over." into jb-dev

* commit 'dc442534070aa8ff4c07cae16fc5207ba6821651':
Ice cream is SO over.
747eeb4c4e48950e1107337b59cca83166e625b6 10-May-2012 Tom Taylor <tomtaylor@google.com> Merge "Thread with no recipients getting created" into jb-dev
49eea136f81f1bda4577a55bea4f88ddd129996b 10-May-2012 Uriel Rodriguez <urodriguez@google.com> am 363b6052: Merge "changed pokeWakelock() callback to take time in milliseconds" into jb-dev

* commit '363b60527ce82b0f56434e70a8124e4d41e2b1e0':
changed pokeWakelock() callback to take time in milliseconds
fe9e28cba7dabb452fdbadcf421f7f758a859447 10-May-2012 Jeff Sharkey <jsharkey@android.com> am 6367b166: Merge "Recover from Throwable in FileRotator, dump." into jb-dev

* commit '6367b1669d41f9fe7cd7abe5e05296edecd50f8e':
Recover from Throwable in FileRotator, dump.
1a0c9145dc32095acc250bdabc4a9b8f82d6bd3e 07-May-2012 Daniel Sandler <dsandler@android.com> Ice cream is SO over.

Change-Id: I4039b7fe41dc4a498d53e21dbcafb2bc2ac15b92
ndroid/internal/app/PlatLogoActivity.java
aad847cb0c9af8734bd51ca779b9762e51525c76 10-May-2012 Tom Taylor <tomtaylor@google.com> Thread with no recipients getting created

Bug 6453254

Don't allow a thread to be created with no recipients, by not calling
Threads.getOrCreateThreadId when there are no recipients.

Change-Id: Ia9b1e944db6da83a3e6caf2dcebece9fc52740b0
oogle/android/mms/pdu/PduPersister.java
363b60527ce82b0f56434e70a8124e4d41e2b1e0 10-May-2012 Uriel Rodriguez <urodriguez@google.com> Merge "changed pokeWakelock() callback to take time in milliseconds" into jb-dev
dff307697d7a7482efe4c10cb3b07b9249524a42 09-May-2012 Uriel Rodriguez <urodriguez@google.com> changed pokeWakelock() callback to take time in milliseconds

Changed the pokeWakelock() call back to take one argument - the duration to stay awake in ms. This
change was needed in order to poke the wakelock for the duration of the watchdog timeout. This
must be done in the service because the duration of the watchdog timeout is unknown at this point.

Moved pokeWakelock() from start() to handleServiceConnected() to make sure that this poke happens
before the poke in the service. This poke is still needed to account for when devices are rotated.

Change-Id: I19d62df1489514de0588ebb937678358e70ffc95
ndroid/internal/policy/IFaceLockCallback.aidl
6367b1669d41f9fe7cd7abe5e05296edecd50f8e 09-May-2012 Jeff Sharkey <jsharkey@android.com> Merge "Recover from Throwable in FileRotator, dump." into jb-dev
6de357e4d10fa5977ab9a6c665dc858765e95d34 09-May-2012 Jeff Sharkey <jsharkey@android.com> Recover from Throwable in FileRotator, dump.

In rewriteSingle(), catch Throwable to rollback to backup file,
instead of just IOException. Also add dumpAll() to pack up contents
for later debugging, and use it when encountering bad stats.

Bug: 6467868
Change-Id: Ic8e287cf5a235706811a304a88d71d11d3a79cd4
ndroid/internal/util/FileRotator.java
7a7d8f182a2f18f1d548e76d629b8ed191caade5 09-May-2012 Kenny Root <kroot@google.com> am bad417df: Merge "Throw RemoteException when MountService is not yet up" into jb-dev

* commit 'bad417df657128a988b23a6b70b4d08633e4ac5a':
Throw RemoteException when MountService is not yet up
07ba2ae327dbf209da5bafee9cdcb40e03e29d58 09-May-2012 Kenny Root <kroot@google.com> Throw RemoteException when MountService is not yet up

Instead of throwing NullPointerException when getMountService() returns
null, simply throw RemoteException so the code calling getMountService()
can fail gracefully.

Bug: 6461657
Change-Id: Ibefc17de3e0024eb73bbd24914759c0a404f538e
ndroid/internal/content/PackageHelper.java
217477e01311b4b77c3ad536cb3cc35e5ce08373 09-May-2012 Adam Powell <adamp@google.com> am ea3f8cc7: Merge "Forgive me monkeys, for I have sinned." into jb-dev

* commit 'ea3f8cc71e0bb89840e727e22ba332bae228ac36':
Forgive me monkeys, for I have sinned.
cb533917fa759848c6e93cb7dba8f4ab39ac1dff 09-May-2012 Adam Powell <adamp@google.com> am 1705b2a5: Merge "Fix some oddities in ResolverActivity" into jb-dev

* commit '1705b2a5da8f27bf91fb5bd984c212c9476fc605':
Fix some oddities in ResolverActivity
83ea86091bf94571912694c7caf8be1c21727f91 09-May-2012 Kenny Root <kroot@google.com> am 29bb27ef: Merge "Add encryption parameters to package installation" into jb-dev

* commit '29bb27ef90564a294d506c2ffd546ba21788aeac':
Add encryption parameters to package installation
76889f3482d6391b17f0961f7356c1e8169c8813 09-May-2012 Adam Powell <adamp@google.com> Forgive me monkeys, for I have sinned.

It has been several hours since my last commit.

Fix an obscure bug that could cause call ordering problems while
updating ListAdapter-based MenuPresenters. This would trigger an
inconsistent return value from the adapter's getCount method that
didn't take the expanded menu item into account, resulting in the
infamous ListView "you didn't call notifyDataSetChanged" exception.

Bug 6412318

Change-Id: I6262846d9c2acdb87ff99116ad78ca4a388efa6d
ndroid/internal/view/menu/ListMenuPresenter.java
ndroid/internal/view/menu/MenuPopupHelper.java
9bee4664f8bc615ad463af5317c77e98744c368a 08-May-2012 Adam Powell <adamp@google.com> Fix some oddities in ResolverActivity

* Fix layout for small-screen devices in landscape.

* Properly re-enable buttons after restoring instance state.

* Scroll to the currently selected item after restoring instance
state.

* Smooth scroll to the currently selected item if the user changes
selection to an item slightly out of view.

* Place grid scroll bar outside the grid's padding.

* Make the current text read a bit more naturally.

Bug 6460135

Change-Id: Ic60330365cdd815e7517f01b36bcdc9d1c857f30
ndroid/internal/app/ResolverActivity.java
29bb27ef90564a294d506c2ffd546ba21788aeac 08-May-2012 Kenny Root <kroot@google.com> Merge "Add encryption parameters to package installation" into jb-dev
ceb1b0bfaea56251796b08c07b963de7403d84eb 24-Apr-2012 Anonymous Coward <nobody@android.com> Add encryption parameters to package installation

Change-Id: Ic9f8ab9f8110f08bb3c00725cfce5b8ee7b766f3
ndroid/internal/app/IMediaContainerService.aidl
07e1f12350819cc8fa93dbfe9e8655594b859e64 07-May-2012 Jim Miller <jaggies@google.com> am a482f942: Merge "Fix 6397736: Fix issue with MultiWaveView in incoming call screen." into jb-dev

* commit 'a482f942dae90211540c856664ca71ba29297309':
Fix 6397736: Fix issue with MultiWaveView in incoming call screen.
72b26c1fa25077b1f3367eb211be20b629f7b1d4 07-May-2012 Jim Miller <jaggies@google.com> Fix 6397736: Fix issue with MultiWaveView in incoming call screen.

This fixes a bug where the incoming call screen sometimes had
misplaced icons. The code previously relied on an additional layout
pass that doesn't happen in the incoming call screen in some cases.

Change-Id: If7c39994c1bdadbd3e97f4b9ebb45f68893fd9bd
ndroid/internal/widget/multiwaveview/MultiWaveView.java
8676726dcfa54e4fecb0c0676d9945ad49f079c5 07-May-2012 Jim Miller <jaggies@google.com> am 06e8d664: Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev

* commit '06e8d6647db54aa76dda92a5a785737e66d262de':
Fix 6397736: Swipe up to search layout fixes
06e8d6647db54aa76dda92a5a785737e66d262de 07-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev
354619c1cc1b4668c81c5368b2256335cc9e8538 28-Apr-2012 Jim Miller <jaggies@google.com> Fix 6397736: Swipe up to search layout fixes

This fixes several layout issues on phones and tablets with MultiWaveView.

It adds a new background scrim to be shown behind the MultiWaveView
on the navigation bar.

MultiWaveView is updated to handle gravity constraints which makes layouts
much more flexible across devices.

Change-Id: I64068f4eaa81ef6c464247049117d53432fcacbd
ndroid/internal/widget/multiwaveview/MultiWaveView.java
1e754e8fac68e970128b9b35d2ccf25bdb6f6f3b 07-May-2012 Adam Powell <adamp@google.com> am dad52e15: Merge "Better screen size adaptation for ResolverActivity" into jb-dev

* commit 'dad52e1500660c72a4defd1c4d1139cb1f90ac7b':
Better screen size adaptation for ResolverActivity
589e6f960db7f3c208a218b7d035f01d0c8460ab 07-May-2012 Adam Powell <adamp@google.com> Better screen size adaptation for ResolverActivity

Change-Id: I2c982c0b7c722ca7cad46cc23ac8d161bee3a1ff
ndroid/internal/app/ResolverActivity.java
4ffd4b884b6e9b0a23fd732637db48fee4e5111d 07-May-2012 Adam Powell <adamp@google.com> am 97621027: Merge "Limit item heights in split action bars" into jb-dev

* commit '9762102794b90d40d69a9a31aa8cd1538f8151f8':
Limit item heights in split action bars
367ee326058bbee6fc179b8b1eb2174fe7ba8f45 07-May-2012 Adam Powell <adamp@google.com> Limit item heights in split action bars

Bug 6449422

Overzealous action views should not be able to cause action bars to
take up a huge amount of space.

Fixed text alignment on action buttons

Change-Id: Ic28d6dacdb6933c63b323f5ed6a6cab5d3726938
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/ActionMenuView.java
f1a15060d0e1016b6287877f074198a66c9b4c9f 07-May-2012 Adam Powell <adamp@google.com> am b2269d67: Merge "Revisions to ResolverActivity" into jb-dev

* commit 'b2269d67c4786037f93bff396eeb9ff7f003164a':
Revisions to ResolverActivity
b2269d67c4786037f93bff396eeb9ff7f003164a 07-May-2012 Adam Powell <adamp@google.com> Merge "Revisions to ResolverActivity" into jb-dev
c587861fe8c59b7f112c333838630b54ab2b38af 05-May-2012 Adam Powell <adamp@google.com> Revisions to ResolverActivity

Bug 6428812

Change ResolverActivity to use a grid rather than a list, and present
buttons for "Use Always" and "Just Once". Use large launcher icons
when appropriate.

Change-Id: I177360a727cbc4b401ffbcea83d1b3dac1de5744
ndroid/internal/app/ResolverActivity.java
7bedac9417d60608003d739c8caed7ca81683825 06-May-2012 Dianne Hackborn <hackbod@google.com> am 139e5aa1: Fix issue #6404215: New ActionBar auto-hide can conflict with application

* commit '139e5aa1da51b27231ab36344cf2d0dafab23f1e':
Fix issue #6404215: New ActionBar auto-hide can conflict with application
139e5aa1da51b27231ab36344cf2d0dafab23f1e 06-May-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6404215: New ActionBar auto-hide can conflict with application

The action bar now maintains separate states for the things that can
impact its visibility (calls from the app, action mode, system UI) so
that the changes in these won't incorrectly mix together.

Also added a hack to force the status bar to be shown when showing
the action bar for an action mode, when the UI is in a state where
the action bar would be shown with a gap above where the status bar
is.

Change-Id: Ib0950a7f585c5d2c9e77d11b237ba6e150f15ebd
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarOverlayLayout.java
dbd7131cf4dae6847b6f7aa0f380e103d2b56aaa 05-May-2012 Dianne Hackborn <hackbod@google.com> am e3320e6d: Merge "Fix issue #6444627: New status bar/action bar interaction a bit disjoint" into jb-dev

* commit 'e3320e6d91443450351d49cc2b37477070fb0ce8':
Fix issue #6444627: New status bar/action bar interaction a bit disjoint
1cc2bcedb50512d83f868a7453813a843188eeee 05-May-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6444627: New status bar/action bar interaction a bit disjoint

Make sure action bar animations use same duration as system dock animations.

Change-Id: Ie294d134177207499a05cc93db8f4b859f07ed0c
ndroid/internal/app/ActionBarImpl.java
3ddb4f80e5cb47173b78430399076c4c3d1bb178 04-May-2012 Jeff Sharkey <jsharkey@android.com> am c065a8af: Merge "Begin collecting xtables iface counters." into jb-dev

* commit 'c065a8af1561544f1557e3f5036e45a4be4a6d7e':
Begin collecting xtables iface counters.
c065a8af1561544f1557e3f5036e45a4be4a6d7e 04-May-2012 Jeff Sharkey <jsharkey@android.com> Merge "Begin collecting xtables iface counters." into jb-dev
e43a4e90173cdb1a8e22a8e8e05356c12df44a0e 03-May-2012 Adam Powell <adamp@google.com> am f27ba974: Merge "JB API cleanup; ActionMode and View docs" into jb-dev

* commit 'f27ba974d5af68baf071282de65a22ca6e59244c':
JB API cleanup; ActionMode and View docs
f27ba974d5af68baf071282de65a22ca6e59244c 03-May-2012 Adam Powell <adamp@google.com> Merge "JB API cleanup; ActionMode and View docs" into jb-dev
785c447b2bc625209706fd128ce61781c3a4183b 03-May-2012 Adam Powell <adamp@google.com> JB API cleanup; ActionMode and View docs

Bugs 6435315, 6434937

Add ActionMode#getTitleOptionalHint() and extend documentation for
View#hasTransientState/setHasTransientState

Change-Id: I2049fb79864c33b34e3bbd13df32861e308c99ad
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
5924a7dc53af273343bbdd8456de0c8477ad6b06 03-May-2012 Jeff Sharkey <jsharkey@android.com> am 3b5a7089: Merge "Support full 32 bits for socket tags." into jb-dev

* commit '3b5a7089c7d08042f8ff62e50eb76fc8f6cb80c8':
Support full 32 bits for socket tags.
3b5a7089c7d08042f8ff62e50eb76fc8f6cb80c8 03-May-2012 Jeff Sharkey <jsharkey@android.com> Merge "Support full 32 bits for socket tags." into jb-dev
2d6c580262ba1c19fc4f20c3566889e332fbdcb6 03-May-2012 Jeff Sharkey <jsharkey@android.com> Support full 32 bits for socket tags.

Bug: 5321184
Change-Id: Iadb3a4ad541ef012cea35b70ad440eca4c879f42
ndroid/server/NetworkManagementSocketTagger.java
020d53224c26edcf643a2a305868e8e8b479c0a4 03-May-2012 Adam Powell <adamp@google.com> am fbbdbc2d: Merge "Fix setting action bar home-as-up from AB style" into jb-dev

* commit 'fbbdbc2d2326e96ce31950baccddd2f295fe594c':
Fix setting action bar home-as-up from AB style
d40423a7adff41463fb4a563becc0bd77fe9919c 02-May-2012 Adam Powell <adamp@google.com> Fix setting action bar home-as-up from AB style

Bug 6427860

Change-Id: I0052417a2c97560ade768509781b27b5e064660d
ndroid/internal/app/ActionBarImpl.java
9edbb235779d16e768143f47c241c56a422df580 02-May-2012 Adam Cohen <adamcohen@google.com> am dfed49a2: Merge "Changing app widget "extras" to "options" and another small API Review issue" into jb-dev

* commit 'dfed49a2852e9336e212f6934dcddec7dd743c26':
Changing app widget "extras" to "options" and another small API Review issue
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
ndroid/internal/appwidget/IAppWidgetService.aidl
e8914c36276710de50b347c1e6aecfa45d6a56cd 02-May-2012 Jeff Sharkey <jsharkey@android.com> Begin collecting xtables iface counters.

Add method to parse new iface_stat_fmt proc stats, or return null
when kernel support is unavailable. Add test and remove older, unused
parsing code. Create new "xt" recorder to persist the new xtables
counters when available.

Add SSID support to NetworkIdentity to fix policy tests.

Bug: 6422414
Change-Id: I77f70e9acb79a559ab626f3af5c4f3599801ed43
ndroid/internal/net/NetworkStatsFactory.java
ndroid/internal/os/BatteryStatsImpl.java
2d28f53514d55bfc3fb2eb2ebdd6c85ef3d8f9d9 01-May-2012 Jean-Baptiste Queru <jbq@google.com> am 31ab51a3: am 2066f7d9: Merge "Prevent empty overflow popup when there are no overflow items."

* commit '31ab51a369ab57c82d0271115ba31b3b20ce6e6b':
Prevent empty overflow popup when there are no overflow items.
5e4f01f02d25ab921afca33c57b78e55d9e9251c 01-May-2012 Jean-Baptiste Queru <jbq@google.com> am f59d2912: am bfe71c35: Merge "statistics from some cpus don\'t fit"

* commit 'f59d2912354a6be6f6181ec945f6f657a5469fb8':
statistics from some cpus don't fit
2066f7d9864d46858588a839a7f39a1526c737bc 01-May-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Prevent empty overflow popup when there are no overflow items."
414d50bce61be36dac88a6aaad138f99e2e26513 01-May-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #6234928: android.app.IntentReceiverLeaked:" into jb-dev
d44713a63d51ba7f186c775c2a32f3c2ce018037 01-May-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6234928: android.app.IntentReceiverLeaked:

Activity com.android.internal.app.ChooserActivity has leaked IntentReceiver

Change-Id: I02488931d8c02ecbe0c6fc2f7ce708a9dc406f67
ndroid/internal/app/ResolverActivity.java
5c58de3a523a384c47b0b1e0f5dd9728a74cd9f7 29-Apr-2012 Dianne Hackborn <hackbod@google.com> Add system insets to windows.

This will be used to determine which parts of a window a completely
hidden by system UI elements (status bar, nav bar, system bar) so
that they can be clipped out from rendering.

Change-Id: I2c6c6ac67dbdfeed82d2c089ef806fb483165bd9
ndroid/internal/view/BaseIWindow.java
12d3a94397c33fdb773a1eaaaa13cab80bf0c571 27-Apr-2012 Dianne Hackborn <hackbod@google.com> When a window is first shown only draw once while animating.

On some hardware allocating a new graphics buffer is quite
expensive, which blocks updates to the UI. This can cause
glitches when performing window animations.

To reduce these glitches, the view hierarchy will now only
allow itself to be drawn once if its window is being shown
while the window manager is animating, not resuming draws
until it is told that the animation is done.

Change-Id: Ie15192f6fddbd0931b022a72c76ddd55ca266d84
ndroid/internal/view/BaseIWindow.java
1fa1de527e541c88fb3809279b67b0dc29419bac 26-Apr-2012 Kenny Root <kroot@google.com> Merge "Allow forward locked apps to be in ASECs" into jb-dev
6dcf382b1b1dde5e6303a51a27f8d3b928072415 18-Apr-2012 Jeff Sharkey <jsharkey@android.com> Move RINGTONE_PICKER to handle external storage.

To give RINGTONE_PICKER external storage access, move it from system
to MediaProvider. Fix OOBE when getRingtoneUri() kicked requery().

Bug: 6346701
Change-Id: I837002eef0580b8cdd8920a27b068c745995a8a3
ndroid/internal/app/RingtonePickerActivity.java
6dceb88f1c7c42c6ab43834af2c993d599895d82 12-Apr-2012 Kenny Root <kroot@google.com> Allow forward locked apps to be in ASECs

We couldn't put forward-locked apps in ASEC containers before since we
didn't have any permissioned filesystems. This adds the ability for
forward-locked applications to be in ASEC containers.

This means that forward locked applications will be able to be on the SD
card now.

This change also removes the old type of forward-locking that placed
parts of apps in /data/app-private. Now all forward-locked applications
will be in ASEC containers.

Change-Id: I17ae0b0d65a4a965ef33c0ac2c47e990e55707ad
ndroid/internal/app/IMediaContainerService.aidl
ndroid/internal/content/PackageHelper.java
2c8e19e81fb930fbb4d353c91ca0852fe91d8166 25-Apr-2012 Michael Jurka <mikejurka@google.com> Merge "New API to allow third-party apps to bind widgets"
e898ac59db04d8ab0762180ca8ec7cea1347aa09 07-Apr-2012 Jim Miller <jaggies@google.com> Fix 6299832: Add search target swipe action to navigation bar on phones

This adds a feature to swipe upward on the navigation bar to invoke
voice search on phones.

Change-Id: I462076fd43b1c66c5bf624f00b297c6d3414a19a
ndroid/internal/widget/multiwaveview/MultiWaveView.java
61a5b0160d9f2e53ef4d4b451212a63032dad32d 13-Apr-2012 Michael Jurka <mikejurka@google.com> New API to allow third-party apps to bind widgets

Change-Id: I1a3761c1a0f557a32d4d3bdd0207567fec918ba7
ndroid/internal/appwidget/IAppWidgetService.aidl
54dfa5d90e49037eba05f5278076b45428b2bd11 24-Apr-2012 Chris Wren <cwren@android.com> Don't allow children of a SizeAdaptiveLayout to measure outside their declared range of valid sizes.

Bug: 6377749
Change-Id: Ie706006eee9c0ed8dda468212a652941b8e20be0
ndroid/internal/widget/SizeAdaptiveLayout.java
9cbe986a446dffea2e9f59b86800f834b02d766a 23-Apr-2012 Jeff Sharkey <jsharkey@android.com> Expose statfs() through IMediaContainerService.

Bug: 6346248
Change-Id: I03ae02578f546fc9f19652cbdece56e2e0ab6a1c
ndroid/internal/app/IMediaContainerService.aidl
8ff0c9204e565d7389b10495cf885c772d204be5 21-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "You can now long press on the power off menu to reboot to safe mode."
19caadc08f09cc9f6665fbbb0d61e02861ce8562 21-Apr-2012 Dianne Hackborn <hackbod@google.com> You can now long press on the power off menu to reboot to safe mode.

Change-Id: I3aa575285058cf5a3d89486d6b944f6ea13d645c
ndroid/internal/app/ShutdownThread.java
8b0af627997277978240525d87ef7a7f0661554b 21-Apr-2012 Kenny Root <kroot@google.com> Merge "Move forward lock utilities to PackageHelper"
2782a478d0214cf71a32d4537fc9fb191d1072fb 15-Apr-2012 Kenny Root <kroot@google.com> Move forward lock utilities to PackageHelper

The forward lock utilities will need to be called from
DefaultContainerService for ASEC packages in the future. Move them to
PackageHelper to aid in the transition.

Also move the public resource copying to the FileInstallArgs step which
makes a little bit more sense.

Change-Id: I3a62ac817719db3ee1c89c106a551dcbe9c44744
ndroid/internal/content/PackageHelper.java
e1a996e99dc68b48efad989876c01ce05a7a58ac 20-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Move handling of package changes to a background thread."
e81e3a4f85147ada753100b8a78584ce008d9e63 20-Apr-2012 Martijn Coenen <maco@google.com> Merge "Added NFC disable during phone shutdown"
3bba8d0457408421a6468f03bbb36e9ff32b81cf 10-Apr-2012 Sunil Jogi <sunil.jogi@nxp.com> Added NFC disable during phone shutdown

NFC was not disabled/deinitialized when phone shutdown. This patch
add NFC disable on phone shutdown which can complete any pending
NFC transaction before phone shutdown.

Change-Id: Id1e604be7c34adec8623a1e526d8ff99e18bf74b
ndroid/internal/app/ShutdownThread.java
d84e5937468f6ebf2313ccd5ae54d5405f5e9cde 19-Apr-2012 Chris Wren <cwren@android.com> fix press feedback on notification rows

Change-Id: I50de2f4d6142c2553428abc853c820f4354d0640
Bug: 6362246
ndroid/internal/widget/SizeAdaptiveLayout.java
d0d7503fd3e941113094532f28986f49b11b5fdb 20-Apr-2012 Dianne Hackborn <hackbod@google.com> Move handling of package changes to a background thread.

Helps get rid of some jank when installing applications.

Change-Id: I97d0022f82d67796e334d37086e5911dd6ca6b62
ndroid/internal/app/ResolverActivity.java
ndroid/internal/content/PackageMonitor.java
dd184f9fb1cca51e2840ece187126caf933ab409 20-Apr-2012 Winson Chung <winsonc@google.com> Merge "Adding callback for widget size changed, and potentially other extra info"
e8724c82ab1479f13c85a2c6219841e1fd95f2d2 20-Apr-2012 Adam Cohen <adamcohen@google.com> Adding callback for widget size changed, and potentially other extra info

Change-Id: I57738c92b6a0ba68ae66b19a533559470c64e6f1
ndroid/internal/appwidget/IAppWidgetService.aidl
cdfc8bc57462ed3e074b328a7450c6450202cdaa 19-Apr-2012 George Mount <mount@google.com> Merge "Fix stack overflow during animation of action bar."
9caeb145721238897809805f521bb5c8ef375c0f 19-Apr-2012 George Mount <mount@google.com> Fix stack overflow during animation of action bar.

Bug 6366482
The animation engine now notifies onAnimationStart() and
onAnimationEnd() even when it does no action. This CL prevents
the setVisiblity call from causing an infinite loop of triggering
animation notifications.

Change-Id: I009217a42debf1a1495da222199ca8f599fa7bcf
ndroid/internal/widget/AbsActionBarView.java
b8139af3dcae80c0030afd0354dc424a7c72c3d9 19-Apr-2012 Adam Powell <adamp@google.com> Adjust action bar tab policies

Action bar tabs now stack in portrait mode on all screen sizes rather
than display embedded. This only affects apps with a targetSdkVersion
of JB or greater, as older apps may not be prepared for the different
measurement of the bar or have an appropriate stacked bar background
drawable.

Stacked action bar tabs now have a width limit. This prevents
super-wide tabs that can span the whole screen. The cluster of tabs
is centered if it does not span the full width.

Add ActionBarPolicy to give a single point to query for various action
bar measurements and behaviors that vary with configuration.

Change-Id: I01162ca009c14f6f0e712fc906b9db6382c738cd
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/ActionBarPolicy.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/widget/ScrollingTabContainerView.java
01ce0ce4724803112e7f2885d9ad49edf7515dca 19-Apr-2012 Wink Saville <wink@google.com> Fix calcuation of CMD_TO_STRING_COUNT.

Change-Id: I03ae1a545474d7dcd4e65c58d9befd020d5b9c54
ndroid/internal/util/AsyncChannel.java
0192e966ff9df6d8da2a07e26f06fedcc8fdafbd 17-Apr-2012 Jeff Brown <jeffbrown@google.com> Merge "Add persistence for selected keyboard layout."
a3bc565882dd3984e995363642b1295fe3d24d10 17-Apr-2012 Jeff Brown <jeffbrown@google.com> Add persistence for selected keyboard layout.

Bug: 6110399
Change-Id: I99544bf05e9755385bee478b5f047ccec2e5cae3
ndroid/internal/util/XmlUtils.java
70eafab9050601f869c21bf3aebc4f58737b7026 17-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Change dock animations to not use alpha, to make Mathias happy."
3a59d6e26dbec61ede7d6f87d966698e27c91d78 31-Mar-2012 Chris Wren <cwren@android.com> A layout that switches between its children based on the requested layout height.

Change-Id: I5a4e5892fbed7cab2470e458a38accbbcb05ae51
ndroid/internal/widget/SizeAdaptiveLayout.java
8eedb8bf603ed313e3c3b39292dfae908ff60af5 17-Apr-2012 Dianne Hackborn <hackbod@google.com> Change dock animations to not use alpha, to make Mathias happy.

Also tweak the action bar animations to slide up/down like the
dock animations.

Change-Id: Id3c85ba76100639a6f6c77b7fd2a060c9d26f38c
ndroid/internal/app/ActionBarImpl.java
dd0c13060dc385da3f264a3c08d766826565b6bf 14-Apr-2012 Jeff Sharkey <jsharkey@android.com> Merge "Surface list of apps with given network policy."
854b2b1670bda1eeb87a14b7ac3d222024f0aad6 14-Apr-2012 Jeff Sharkey <jsharkey@android.com> Surface list of apps with given network policy.

Bug: 6007276
Change-Id: I0f0e939ee6481496480c4afaa108c99eb158547c
ndroid/internal/util/ArrayUtils.java
4213804541a8b05cd0587b138a2fd9a3b7fd9350 20-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility focus - framework

Usefulness: Keep track of the current user location in the screen when
traversing the it. Enabling structural and directional
navigation over all elements on the screen. This enables
blind users that know the application layout to efficiently
locate desired elements as opposed to try touch exploring the
region where the the element should be - very tedious.

Rationale: There are two ways to implement accessibility focus One is
to let accessibility services keep track of it since they
have access to the screen content, and another to let the view
hierarchy keep track of it. While the first approach would
require almost no work on our part it poses several challenges
which make it a sub-optimal choice. Having the accessibility focus
in the accessibility service would require that service to scrape
the window content every time it changes to sync the view tree
state and the accessibility focus location. Pretty much the service
will have to keep an off screen model of the screen content. This
could be quite challenging to get right and would incur performance
cost for the multiple IPCs to repeatedly fetch the screen content.
Further, keeping virtual accessibility focus (i.e. in the service)
would require sync of the input and accessibility focus. This could
be challenging to implement right as well. Also, having an unlimited
number of accessibility services we cannot guarantee that they will
have a proper implementation, if any, to allow users to perform structural
navigation of the screen content. Assuming two accessibility
services implement structural navigation via accessibility focus,
there is not guarantee that they will behave similarly by default,
i.e. provide some standard way to navigate the screen content.
Also feedback from experienced accessibility researchers, specifically
T.V Raman, provides evidence that having virtual accessibility focus
creates many issues and it is very hard to get right.
Therefore, keeping accessibility focus in the system will avoid
keeping an off-screen model in accessibility services, it will always
be in sync with the state of the view hierarchy and the input focus.
Also this will allow having a default behavior for traversing the
screen via this accessibility focus that is consistent in all
accessibility services. We provide accessibility services with APIs to
override this behavior but all of them will perform screen traversal
in a consistent way by default.

Behavior: If accessibility is enabled the accessibility focus is the leading one
and the input follows it. Putting accessibility focus on a view moves
the input focus there. Clearing the accessibility focus of a view, clears
the input focus of this view. If accessibility focus is on a view that
cannot take input focus, then no other view should have input focus.
In accessibility mode we initially give accessibility focus to the topmost
view and no view has input focus. This ensures consistent behavior accross
all apps. Note that accessibility focus can move hierarchically in the
view tree and having it at the root is better than putting it where the
input focus would be - at the first input focusable which could be at
an arbitrary depth in the view tree. By default not all views are reported
for accessibility, only the important ones. A view may be explicitly labeled
as important or not for accessibility, or the system determines which one
is such - default. Important views for accessibility are all views that are
not dumb layout managers used only to arrange their chidren. Since the same
content arrangement can be obtained via different combintation of layout
managers, such managers cannot be used to reliably determine the application
structure. For example, a user should see a list as a list view with several
list items and each list item as a text view and a button as opposed to seeing
all the layout managers used to arrange the list item's content.
By default only important for accessibility views are regared for accessibility
purposes. View not regarded for accessibility neither fire accessibility events,
nor are reported being on the screen. An accessibility service may request the
system to regard all views. If the target SDK of an accessibility services is
less than JellyBean, then all views are regarded for accessibility.
Note that an accessibility service that requires all view to be ragarded for
accessibility may put accessibility focus on any view. Hence, it may implement
any navigational paradigm if desired. Especially considering the fact that
the system is detecting some standard gestures and delegates their processing
to an accessibility service. The default implementation of an accessibility
services performs the defualt navigation.

bug:5932640
bug:5605641

Change-Id: Ieac461d480579d706a847b9325720cb254736ebe
ndroid/internal/widget/ActionBarView.java
75e0dcbca1fe6d218685c73829ae8c75a45b4920 14-Apr-2012 Jeff Brown <jeffbrown@google.com> Merge "Extract Vibrator implementation from interface."
48a7bf24e375bb98f6300f0b1b3d4c9b7447443a 14-Apr-2012 Wink Saville <wink@google.com> Merge "Enhance the debug output for StateMachines."
583eaaa57c51b28bf14da2a5cc94a2e6091cccf5 14-Apr-2012 Wink Saville <wink@google.com> Enhance the debug output for StateMachines.

Allow some messages to be ignored and allow the subclass to
add additional information. In particular, the information
can be used to decode the msg.what to a string.

Change-Id: I4f53becc6f0cb77399f99702084efef9d8785d67
ndroid/internal/util/AsyncChannel.java
ndroid/internal/util/StateMachine.java
cedb16ea03d58f33510c399df5b68b791fccaf95 13-Apr-2012 Jeff Sharkey <jsharkey@android.com> Merge "Add simple method to dump key/value pairs."
2f036c55c0b72ac350e378c12b0571b22bc64dc1 13-Apr-2012 Jeff Sharkey <jsharkey@android.com> Add simple method to dump key/value pairs.

Change-Id: I26ebf7e1a1667298c6deca742c104685c52955f7
ndroid/internal/util/IndentingPrintWriter.java
c2346134bb519a54d50655cbef940fc3fdec60a9 13-Apr-2012 Jeff Brown <jeffbrown@google.com> Extract Vibrator implementation from interface.

Moved the core logic of Vibrator into SystemVibrator, potentially
allowing for the creation of other Vibrator subclasses.

Fixed several places where we were creating new Vibrator
instances unnecessarily instead of getting it from the Context.

It is safe to make Vibrator abstract because its constructor
was hidden from the SDK so it was not possible to subclass it.

Bug: 6334179
Change-Id: I18ece6544c26a7efb2d5099f8346a10aef8a5e18
ndroid/internal/app/PlatLogoActivity.java
ndroid/internal/app/ShutdownThread.java
af9e8d38184c6ba4d2d3eb5bde7014a66dd8a78b 13-Apr-2012 Jeff Brown <jeffbrown@google.com> Notify applications when input devices change.

This change allows the InputManager to keep track of what input
devices are registered with the system and when they change.
It needs to do this so that it can properly clear its cache of
input device properties (especially the key map!) when changes
occur.

Added new API so that applications can register listeners for
input device changes.

Fixed a minor bug in EventHub where it didn't handle EPOLLHUP
properly so it would spam the log about unsupposed epoll events
until inotify noticed that the device was gone and removed it.

Change-Id: I937d8c601f7185d4299038bce6a2934fe4fdd2b3
ndroid/internal/widget/PointerLocationView.java
f882f1ad4edd790483924e7bf485fd7c7240d110 11-Apr-2012 Amith Yamasani <yamasani@google.com> Bind to the correct face lock service.

When switching users, bind to the correct instance of FaceLock.

Tried to get the facelock screen to show up when switching users, but it
doesn't. Power off/on works, but not switching between users on the
lockscreen. Maybe a timing issue? Or not calling some function to make
the overlay visible?

Change-Id: I9300971331c7f0ed93ae7da28170342629426b20
ndroid/internal/widget/LockPatternUtils.java
0b2b1feaa21914f7fa68073a358b5cba3346f023 10-Apr-2012 Brian Colonna <bcolonna@google.com> Merge "Passing useLiveliness flag to FUL in startUi call"
a7dec6d9734bdc3a9e39ffd357002e25c6fdc99b 10-Apr-2012 Adam Powell <adamp@google.com> Restrictions for action buttons with text

Restrict action buttons with text to 2 lines max. Action buttons with
text will always consume at least 2 cells in split mode because they
look silly in 1.

Note that this affects text provided by menu items, not TextViews
embedded within app-provided action views.

Fixes bug 6236467

Change-Id: I7bcbf80f448b13a895ddc3bc6a7a555c0f0bac7c
ndroid/internal/view/menu/ActionMenuView.java
f66e930e726f4caf49b7d47c08d160b14628c99f 09-Apr-2012 Brian Colonna <bcolonna@google.com> Passing useLiveliness flag to FUL in startUi call

Because of changes in support of multi-user functionaity, the FUL
'eye blink' checkbox was no longer enabling liveliness detection.

It no longer makes sense to check the biometric flags (such as the
liveliness flag) inside of the Face Unlock service. Instead, that
flag is now passed in from lockscreen via the aidl interface when
startUi is called.

Change-Id: I591cf1924fbb24da7d54b94ef29824e5197d3b20
ndroid/internal/policy/IFaceLockInterface.aidl
e8644b695d6c548d2c93e1da7b4a6aff786f1427 06-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix so that status bar doesn't resize when hiding nav bar."
9801435820dc159725c0185f18f7e60e0fb1b833 06-Apr-2012 Dianne Hackborn <hackbod@google.com> Fix so that status bar doesn't resize when hiding nav bar.

The status bar now extends behind the nav bar, and uses
fitsSystemWindows to ensure its content is not covered. We
always report a stable content insets (as if the nav bar is
visible) even if the nav bar is hidden, so the content doesn't
jump when transitioing. This does mean that if you only hide
the nav bar (and not the status bar), when in landscape you
will end up with a status bar whose right side still leaves
room for the nav bar. But why the hell would you want to do
that?

Also improve documentation on setSystemUiVisibility().

Change-Id: I8087d875f1214ef0085a91b5ed5c2f35ff2fc1b3
ndroid/internal/widget/ActionBarOverlayLayout.java
330401243ed992eb62e59c8ac34d6862eb64d712 06-Apr-2012 Jeff Sharkey <jsharkey@android.com> Merge "Support metered Wi-Fi NetworkPolicy."
8fc27e8b87bd1def854a03d84009143b315d4176 05-Apr-2012 Jeff Sharkey <jsharkey@android.com> Support metered Wi-Fi NetworkPolicy.

Add networkId field to NetworkIdentity to identify Wi-Fi networks by
SSID. Add support for policies without usage cycles.

Only apply mobile policies when SIM state is ready, which is cleaner
than just checking for airplane mode. Also avoids creating no-op
default policies when subscriberId is null.

Bug: 3001465, 3291052
Change-Id: I1f8aaa49a5db306df022c402ea7f3f5d4bc0cfc7
ndroid/internal/net/NetworkStatsFactory.java
2184a985da15eddd010e53120ebb1da9f8af53e1 05-Apr-2012 Amith Yamasani <yamasani@google.com> Merge "Lockscreen settings per user"
52c489cd63cca0361f374f7cb392018fabfa8bcc 28-Mar-2012 Amith Yamasani <yamasani@google.com> Lockscreen settings per user

Move all lockscreen related settings to LockSettingsService.
LockPatternUtils uses this through IPC instead of Secure settings.
Migrate old settings to new database managed by LockSettingsService.
Passwords and patterns are stored in a new per-user location, except
for the primary user, for backward compatibility.
KeyguardViewMediator and LockPatternKeyguardView listen for changes
to user and updates the lockscreen.

Settings provider will look for Lock settings in the LockSettings
service now for the entries that used to be stored in Settings.

Change-Id: I956cd5b95e2d9d45a6401af7e270e6a5aa2dcc98
ndroid/internal/widget/ILockSettings.aidl
ndroid/internal/widget/LockPatternUtils.java
ndroid/internal/widget/LockSettingsService.java
dd8fab2629131b09367df747afd9a61e42dd1992 23-Mar-2012 Adam Powell <adamp@google.com> TaskStackBuilder and Activity navigation features for framework

Promote navigation helpers from the support library to the core
platform.

The support library's meta-data element has been replaced with a
first-class parentActivityName attribute. This attribute is valid
on both activity and activity-alias elements. An activity-alias
will inherit the target activity's parentActivityName if one is
not explicitly specified.

Automatic Up navigation for Activities

Add the public method onNavigateUp() to Activity. The default
implementation will use the metadata supplied in the manifest about an
activity's hierarchical parent (parentActivityName) to do the right
thing.

If any activities in the parent chain require special Intent
arguments, the Activity subclass should override onNavigateUp() to
properly implement Up navigation for the app, supplying such arguments
as needed.

If automatic Up navigation within the same task can't find an activity
matching the supplied intent in the current task stack, it will act as
an in-app "home" and return to the root activity (presumably the app's
front page) in that task. (From this state, pressing "back" with
default behavior will return to the launcher.)

Change-Id: If163e27e59587f7af36975a09c986cb117ec3bc6
ndroid/internal/app/ActionBarImpl.java
7d024d372431effc87168afdc7cbe387680c4935 23-Mar-2012 Irfan Sheriff <isheriff@google.com> Add initial framework for DNS service discovery

Change-Id: I53c0b7ebfd75e520ebb7553612f1aa8413b6b79b
ndroid/internal/util/Protocol.java
733e697776dc6f02d04ec3ae9764bb6034ad0e6a 02-Apr-2012 Tom Taylor <tomtaylor@google.com> Fix deadlock in PDU code

Bug 6257442

If PduPersister.load bails out early and throws an exception,
it will leave the uri it's working on in an updated-locked
state. With this change, the uri is removed from the updated
list in a finally clause. The other PDU function in
this file already does the correct thing.

Change-Id: I596bd46724282b245ddba109670f3cebd61ed57c
oogle/android/mms/pdu/PduPersister.java
83d9eda9c2c411e3480c52f01e192bf3c86be8e9 13-Jan-2012 Stephen Smalley <sds@tycho.nsa.gov> Pass additional inputs when spawning apps via the Zygote and add SELinux permission checks.

When spawning an app process, the ActivityManagerService has additional information
about the app package that may be useful in setting a SELinux security context on the
process. Extend the Process.start() interface to allow passing such information
to the Zygote spawner. We originally considered using the existing zygoteArgs
argument, but found that those arguments are appended after the class name and
left uninterpreted by ZygoteConnection, merely passed along to the class or wrapper.
Thus we introduce a new seInfo argument for this purpose.

Modify the ZygoteConnection to interpret the new option and convey it to
forkAndSpecialize, as well as passing the nice name as a further input.
Also modify the ZygoteConnection to apply SELinux permission checks on
privileged operations.

Change-Id: I66045ffd33ca9898b1d026882bcc1c5baf3adc17
ndroid/internal/os/ZygoteConnection.java
fe2b7ccca4c5fdaa0d77968b897bd789f4c87c30 01-Apr-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6268190

Change-Id: Ib269fe34c4d3e704f4080076e173241c0761040c
ndroid/internal/widget/ActionBarOverlayLayout.java
61d6c8ca49d4a3d5bf4c961878a3f71145d75058 31-Mar-2012 Dianne Hackborn <hackbod@google.com> Merge "Add new feature to let apps layout over status bar / system bar."
3a3a6cfd8ec12208ca75c0d0d871d19d76c34194 26-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new feature to let apps layout over status bar / system bar.

The main change is a few new flags you can supply to
View.setSystemUiVisibility(). One is a new visibility mode,
SYSTEM_UI_FLAG_FULLSCREEN, which is basically the same as
the global FLAG_FULLSCREEN option for windows, but driven as
part of the system UI state.

There are also three new flags for telling the framework that you
would like to have your application's UI ignore screen
decorations -- SYSTEM_UI_FLAG_LAYOUT_NO_NAVIGATION for going
behind the navigation bar and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
for ignoring full screen decorations (that is the status bar).

In combination with this you can use SYSTEM_UI_FLAG_LAYOUT_STABLE
to have the framework report consistent insets to your application.

When using NO_NAVIGATION, when the user taps the screen we now
also automatically clear ONLY_CONTENT, so that we atomically show
both UI elements. This should make it easy for apps like video
players that want to move between fully full-screen and regular
modes.

The ActionBar has also been extended when in overlay mode so
that it will adjust the system window insets to also account
for its space, and allow it to be hidden using the new
SYSTEM_UI_FLAG_FULLSCREEN.

Change-Id: Ic8db1adec49a0f420bfe40c1d92eb21307856d0b
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
ndroid/internal/widget/ActionBarOverlayLayout.java
574e49ee16c1ab9a83bb6506870a7be540fa1434 27-Mar-2012 Danielle Millett <dmillett@google.com> Fix 6238404: Changed deleteGallery and deleteTempGallery to use broadcasts

Previously since these were starting an activity, if it was called from
outside an activity (for example when calling resetPassword() in
DevicePolicyManager) it throws a run time exception. Since these don't
need UI, they have been changed to be broadcasts.

Change-Id: Id87e3dc868a01f0eed901e8e8007f91f74cd51fe
ndroid/internal/widget/LockPatternUtils.java
50c69b5d8ae4bc973e53cbe3b58b0eb0299e25c8 30-Mar-2012 Michael Jurka <mikejurka@google.com> Merge "Preload recents on phones with hard nav keys"
7f2668c8469934ce83a5647977f6e74ab782cf07 27-Mar-2012 Michael Jurka <mikejurka@google.com> Preload recents on phones with hard nav keys

Also refactor recents code across Phone/Tablet

Change-Id: Id557c5cb0f7d9378f81c40b20511a5d98bf4078e
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
ca894b396b93344ac255746e12730cb269d4d856 20-Sep-2011 Martin Wallgren <martin.wallgren@sonyericsson.com> statistics from some cpus don't fit

Cpu statistics from time_in_state does not fit
in the data structures in ProcessState.java. The
time_in_state file eventually becomes larger than
the buffer of 256 bytes witch cause missing data
in the result or a NoMoreElementsException when
parsing the data.
The numger of cpu speeds can be larger than the
MAX_SPEEDS limit.

Solution
Make sure that the whole file gets read and increase
the MAX_SPEEDS that the system can handle.

Change-Id: I6dfc127b2934988006649cce321d58750a946017
ndroid/internal/os/ProcessStats.java
c97ed10ba8ce3c3004f71c226a1142ea91a80424 29-Mar-2012 Jeff Brown <jeffbrown@google.com> Merge "Ensure pointer location view is attached to the policy thread."
70825161b5bf51ed48319e142751a9c88b104994 29-Mar-2012 Jeff Brown <jeffbrown@google.com> Ensure pointer location view is attached to the policy thread.

Previously we created the PointerLocationView on whatever thread
happened to trigger the call to updateSettings(). There was
also some messiness around having to add or remove the view
while not holding mLock.

Now, just post the work to the policy handler.

This also makes it possible for us to use invalidate() instead
of postInvalidate() in PointerLocationView, which is more efficient.

Change-Id: I0646d7aeecffdc22f6ac56ae3ef951e7a12e2b93
ndroid/internal/widget/PointerLocationView.java
a647640f85f415bd8fb8cb925e7687658fe9ae37 29-Mar-2012 Jake Wharton <jakewharton@gmail.com> Prevent empty overflow popup when there are no overflow items.

On a device with a hardware menu key, an empty overflow window can be displayed
if there are no items in said overflow menu. This leads to the next user touch
being swallowed in the action of dismissing the invisible window.

Change-Id: I9191e4b2e1ed4888e4bc7261e8b3f095a272a9b5
ndroid/internal/view/menu/ActionMenuPresenter.java
ca184870ca6db8cda264a466582f19e71f7233cd 28-Mar-2012 Tom Taylor <tomtaylor@google.com> Drm encode mms parts while persisting the pdu

Bug 5158047

Change-Id: I88aba9a91192fb1eb730b48efad3b2b488abad3d
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/util/DownloadDrmHelper.java
oogle/android/mms/util/DrmConvertSession.java
195306cdec1ae1a887d0ce5d6612be7e45910d5b 27-Mar-2012 Wink Saville <wink@google.com> Merge "Add SM_INIT_CMD."
cea056f5894543819898a0e62f98dc7870b27758 27-Mar-2012 Wink Saville <wink@google.com> Add SM_INIT_CMD.

The enter methods of the initial states are now executed
in response to a message and therefore run in the handler
associated with the StateMachine. Previously these would
run in the thread that start() was called from.

I ran into a problem where in an Activities onCreate I called
StateMachine#start(), which called the default states enter,
which invoked Context#bindService. But bindService never
completed because onCreate hadn't returned. But invoking the
enter methods on the StateMachines handler this problem does
not occur.

Change-Id: I2c2e52e5de29a987c098196a0efdba446cbc29d0
ndroid/internal/util/StateMachine.java
a6deda436baf0df70438b0d9d795bb420b120114 24-Mar-2012 Christopher Tate <ctate@google.com> Merge "Don't crash when wiping backup data redundantly in the local transport"
0abf6a001461a4c2ea31ddc44a60b003b4e0554d 24-Mar-2012 Christopher Tate <ctate@google.com> Don't crash when wiping backup data redundantly in the local transport

Previously, if using the "local" debugging transport:

adb shell bmgr wipe com.android.browser
adb shell bmgr wipe com.android.browser

... would bring down the runtime. This no longer happens. The fix
covers two aspects of the situation: 1. the local transport no longer
blows up in this use case, and 2. the backup manager itself now catches
blowups on the part of the transport, and tidies up after them.

Bug 6205185

Change-Id: Ieb9b8827a62523148ad5a0ec15b05a954d198b3d
ndroid/internal/backup/LocalTransport.java
8078d8c8a282ca81344febe7256f63b1e805e3aa 20-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new thumbnail animation.

Use it for recent tasks switching.

Not perfect yet by far, but something.

Also fix issue #6186758: Twitter crashes after tapping on a tweet on JRM75D

Change-Id: I49bf6c94aafde875ac652dedaf96d6c08cc9e7d2
ndroid/internal/app/HeavyWeightSwitcherActivity.java
dd6dc5fcecea5cc26541d3bd97e4b91d3304d5ef 22-Mar-2012 Adam Powell <adamp@google.com> Merge "Let users reach app details from ResolverActivity"
2d80962b2e93ae4e59d0197487bd0f6aad4cf26e 22-Mar-2012 Adam Powell <adamp@google.com> Let users reach app details from ResolverActivity

A long press on a list item in ResolverActivity (shown when users are
asked to choose an activity to complete an action) will now open
the app detail settings for the package providing that item.

This is a work in progress; awaiting more UX input on other changes
and better discoverability of this feature.

Change-Id: I2cc07c5520fdd23cf1a43f169b114295f5d9d0ac
ndroid/internal/app/ResolverActivity.java
925a7d8f062c2ef275ccb7579889d6f83d0d378e 19-Mar-2012 Danielle Millett <dmillett@google.com> Added a setting for whether biometric weak liveliness is enabled.

The liveliness setting is represented by a bit in
LOCK_BIOMETRIC_WEAK_FLAGS so that more settings can be added if needed.

Change-Id: Ia6c94396d5b84de61f7eeb9a192d0aa925b13507
ndroid/internal/widget/LockPatternUtils.java
ac0f18dcc79d3ec954822dcc36efe60c132eff91 20-Mar-2012 Adam Powell <adamp@google.com> Merge "Fix a bug where MenuItems would not return consistent results for item icons initialized from a drawable resource id."
5d189e12d73c6dfd40be49a1f65434512b4d8eb5 20-Mar-2012 Jim Miller <jaggies@google.com> Merge "Fix 6021938: Improved target support in lock screen"
c4852a37186260bf688dc94a77a4ebd2a8290a02 19-Mar-2012 Adam Powell <adamp@google.com> Fix a bug where MenuItems would not return consistent results for
item icons initialized from a drawable resource id.

Change-Id: Ieb5245b8fe0e11b2eb788143859da1c0b3657b9f
ndroid/internal/view/menu/MenuItemImpl.java
b030476d193a423f6c1baf3053f66fc768c925e0 14-Mar-2012 Jim Miller <jaggies@google.com> Fix 6021938: Improved target support in lock screen

This adds the ability to enable or disable target icons based on the drawable
resource of the target.

It also fixes a bug where we'd show the camera while displaying
the PIN/PUK unlock screen or when it's disabled by DevicePolicyAdmin.

Minor simplification and cleanup KeyguardUpdateMonitor callbacks.

Change-Id: I33fad56a2203bc8b7bcd0300c20478711a56713a
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ndroid/internal/widget/multiwaveview/TargetDrawable.java
4280c4a93ea17f2e9d3f651e49d8c13dc3fb92aa 16-Mar-2012 Jeff Brown <jeffbrown@google.com> If an application calls System.exit() terminate it immediately.

There is no graceful way to kill Android application processes.
They typically have many threads running doing various things
When System.exit() is called, those threads just keep going
while the cleanup actions run until the process finally.

Performing shutdown actions can easily cause more harm than good.
For example, closing the Binder driver's file descriptor may
cause other threads waiting on Binder to wake up and then crash
in nasty ways after receiving EBADF.

So when an Android application exits, skip the cleanup and just
call _exit() to end it all.

Bug: 6168809
Change-Id: I29790c064426a0bf7dae7cdf444eea3eef1d5275
ndroid/internal/os/RuntimeInit.java
16f5f5cc9d4c480fac3dc7f176f3f1edfbd256f4 16-Mar-2012 Jeff Brown <jeffbrown@google.com> Delete useless JNI methods.

Change-Id: Ie7c7638c79fc9c6a43f45604ad9a40ebc58b93c7
ndroid/internal/os/RuntimeInit.java
3e3c3f80a90b156ff500076f8655647dfb317acf 06-Feb-2012 Jake Hamby <jhamby@google.com> Add support for CMAS warning notifications over CDMA.

Refactor SMS Cell Broadcast support to enable receiving CMAS warning
notifications over CDMA. The CellBroadcastReceiver app must also be
updated with the corresponding change. All cell broadcasts are now
delivered as a Parcelable SmsCbMessage object in the "message" extra
of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION,
instead of as a GSM/UMTS "pdu" byte array.

Existing functionality for ETWS and CMAS alerts over GSM/UMTS continues
to be supported using the new radio-technology independent SmsCbMessage
and related objects. Test cases are added to verify that valid and
invalid broadcast data is handled appropriately.

Unit testing discovered a bug in the BitwiseOutputStream utility class
used by the added test cases. When the BitwiseOutputStream object must be
expanded (in the private possExpand() method), the mEnd field is not
updated to the new array size. This causes a new array to be allocated
on every new write, and for all data beyond the original array allocation
to be replaced with zeroes. Fixed by adding a line to possExpand() to
update mEnd. Added a test case to BitwiseStreamsTest to verify the fix.
Besides the test cases, BitwiseOutputStream is only used by BearerData in
two places, both of which allocate a sufficient initial buffer. So the
bug in BitwiseOutputStream is not critical to fix for normal operation,
but should be fixed so that the test cases using it function correctly.

Bug: 5856308
Change-Id: I201ecbf11607fd200aaae3cbb32561efabf65672
ndroid/internal/util/BitwiseOutputStream.java
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 09-Mar-2012 Ken Wakasa <kwakasa@google.com> Fix obvious typos under frameworks/base/core

Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
ndroid/internal/util/AsyncService.java
ndroid/internal/util/StateMachine.java
ndroid/internal/widget/SlidingTab.java
34264670da2589300aac661e038d54c393e17471 09-Mar-2012 Jeff Brown <jeffbrown@google.com> Merge "Should recycle TypedArray."
14577c4df57004131174fbe435031a18f3e7996b 09-Mar-2012 Jeff Brown <jeffbrown@google.com> Should recycle TypedArray.

Change-Id: Ia318de37c22e4533fff631be816cee539a5cd83d
ndroid/internal/os/ZygoteInit.java
bb9908b828a8cfd5965553be66faa6af89973697 08-Mar-2012 Romain Guy <romainguy@google.com> Dispatch screen state change events to Views
Bug #6120957

Using this new callback, views can interrupt and resume their
animations or other periodic tasks based on the current state
of the display.

Change-Id: I398f4abd421e9c5f207107bf1009a7b92cf45daa
ndroid/internal/view/BaseIWindow.java
250069bf6bf3d7e2ef85c49e0cd100e80c3c8b7d 08-Mar-2012 Romain Guy <romainguy@google.com> Merge "Ignore draw requests when the display is off"
f203e0a44ef7578c080d63424820fb5a94a4e92f 07-Mar-2012 Adam Powell <adamp@google.com> Fix some action bar menu layout bugs around config changes

Bug 5712010

Fix cases where the transition between split/standard action bar menu
presentation wasn't happening properly for windows in activities that
handle their own config/orientation changes.

Change-Id: I7168555e09c9ed448afb8619fd6f0e1466695365
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/widget/ActionBarView.java
75d022af1f24cf2d8a7551183ea5bbe943d25d21 06-Mar-2012 Adam Powell <adamp@google.com> Action buttons are now 1 view instead of 3.

Change-Id: I42afe0e4bd20c3dbe86e2c43a6bc1d776361dca9
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/ActionMenuView.java
c1717569db5a637b054e552e255b2bbf36f7a3f1 05-Mar-2012 Tom Taylor <tomtaylor@google.com> Merge "Remove deleted pdu items from the updated cache"
7e4e561bc717a6eea4e0d06ec4173ad27420425f 05-Mar-2012 Romain Guy <romainguy@google.com> Ignore draw requests when the display is off

When WindowManagerService's events are enabled/disabled, the state of the
display is dispatched to the known windows. This allows ViewRootImpl to
ignore draw requests until the screen is turned back on. This can potentially
lead to significant battery savings. For instance, a launcher widget showing
a repeating animation will cause the CPU and the GPU to wake up regularly
without this change.
(Change submitted by Intel and merged manually)

Change-Id: I7f93b0e60c3e6de1705f619e80860c36b1cdb978
ndroid/internal/view/BaseIWindow.java
1e34e1bdc3574219d91032d88dbd97caf44d53c1 05-Mar-2012 Jim Miller <jaggies@google.com> Merge "Fix 5958806: Allow play button to be hidden in TransportControlView"
817d5fb864918c98c7019f8c503f8167ddf31adc 02-Mar-2012 Dianne Hackborn <hackbod@google.com> am 5d87d51f: am f65951bf: am 0dd9ec14: Merge "Make ResolverActivity update dynamically." into ics-mr1

* commit '5d87d51fab7e17793413c9095028963117e276b8':
Make ResolverActivity update dynamically.
f65951bf5db7a248651cbfa89886d773f95c3e03 02-Mar-2012 Dianne Hackborn <hackbod@google.com> am 0dd9ec14: Merge "Make ResolverActivity update dynamically." into ics-mr1

* commit '0dd9ec144b0da8df9d8900d78c8177e761de458d':
Make ResolverActivity update dynamically.
e8f2c7ff5abe339061f1823362e12b912c430c1a 02-Mar-2012 Dianne Hackborn <hackbod@google.com> Make ResolverActivity update dynamically.

Watches for package changes so it can dynamically adjust
to reflect the actual list of available activities.

Change-Id: I3a2fef3dac4d13d1b2a7ed6fc117a7b814679669
ndroid/internal/app/ResolverActivity.java
1f0eac9951c7167ee9f07251d1ef60805b96bffd 02-Mar-2012 Jim Miller <jaggies@google.com> Fix 5958806: Allow play button to be hidden in TransportControlView

Change-Id: I92e79cb1e33abea76f283eea389dad17d1d7c162
ndroid/internal/widget/TransportControlView.java
d3975a917799b85cacaf382b65c5832813066b51 24-Feb-2012 Irfan Sheriff <isheriff@google.com> Fix WifiManager async API

Fix the current asynchronous API to use callback like the way
was done with p2p API.

In the process, fix the use of WPS

Change-Id: Ib6f8714cf51b3525b655948268804e7eaaf17587
ndroid/internal/util/Protocol.java
b303b428169986bc8c469218f3b0fc1fcafe4a95 29-Feb-2012 Jake Hamby <jhamby@google.com> Merge "Revert "Add support for CMAS warning notifications over CDMA." I'll submit again when the app change is ready."
efba344b5a7b20e400daf5f41b2fbd688337f789 29-Feb-2012 Jake Hamby <jhamby@google.com> Revert "Add support for CMAS warning notifications over CDMA." I'll submit again when the app change is ready.

This reverts commit 0c49f03a0429b5c0c4a619256f7bca86a4997ae8
ndroid/internal/util/BitwiseOutputStream.java
7b0eb33c3a6a70c91a913e4cd0171e19fba0a3f1 29-Feb-2012 Jake Hamby <jhamby@google.com> Merge "Add support for CMAS warning notifications over CDMA."
1b3d01de3837b7710dfccc06af37ffaec2cf8ecf 29-Feb-2012 Gilles Debunne <debunne@google.com> Merge "InputConnection is warned when finished"
0c49f03a0429b5c0c4a619256f7bca86a4997ae8 06-Feb-2012 Jake Hamby <jhamby@google.com> Add support for CMAS warning notifications over CDMA.

Refactor SMS Cell Broadcast support to enable receiving CMAS warning
notifications over CDMA. The CellBroadcastReceiver app must also be
updated with the corresponding change. All cell broadcasts are now
delivered as a Parcelable SmsCbMessage object in the "message" extra
of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION,
instead of as a GSM/UMTS "pdu" byte array.

Existing functionality for ETWS and CMAS alerts over GSM/UMTS continues
to be supported using the new radio-technology independent SmsCbMessage
and related objects. Test cases are added to verify that valid and
invalid broadcast data is handled appropriately.

Unit testing discovered a bug in the BitwiseOutputStream utility class
used by the added test cases. When the BitwiseOutputStream object must be
expanded (in the private possExpand() method), the mEnd field is not
updated to the new array size. This causes a new array to be allocated
on every new write, and for all data beyond the original array allocation
to be replaced with zeroes. Fixed by adding a line to possExpand() to
update mEnd. Added a test case to BitwiseStreamsTest to verify the fix.
Besides the test cases, BitwiseOutputStream is only used by BearerData in
two places, both of which allocate a sufficient initial buffer. So the
bug in BitwiseOutputStream is not critical to fix for normal operation,
but should be fixed so that the test cases using it function correctly.

Bug: 5856308
Change-Id: Ie3e6af747976ce9b8a3e71e76fec71709cf86545
ndroid/internal/util/BitwiseOutputStream.java
e7bb71d26943fbb053139e1e34203df4c2afaa9b 29-Feb-2012 Jeff Sharkey <jsharkey@android.com> Disable verbose NetworkStats logging.

Bug: 6076584
Change-Id: I4efcda2b474f623f4fe70db8b43b0aa69017d749
ndroid/internal/util/FileRotator.java
1d29a3064f20652416f81ea292adcc07566ba974 28-Feb-2012 Jeff Sharkey <jsharkey@android.com> Move NetworkStatsFactory to faster ProcFileReader.

Less GC overhead, and about 8x faster parse times. Verified that
tests pass.

Change-Id: Iff1d374f36103395a193176a88a57eebffa93c56
ndroid/internal/net/NetworkStatsFactory.java
453dafa66372308fd5200f1749a2ef8e3e1846e9 28-Feb-2012 Jeff Sharkey <jsharkey@android.com> Suppress StrictMode when reading /proc/ files.

Bug: 6077051
Change-Id: If4f23e947d8b91f9f124baa0460600a6b9353732
ndroid/internal/net/NetworkStatsFactory.java
2dc6c7fa48d749773e5ccbc98633d7cf9d35e7ac 28-Feb-2012 Tom Taylor <tomtaylor@google.com> Remove deleted pdu items from the updated cache

When pdu's are removed from the PduCache, make sure we remove
them from the list of pdu's currently being updated as well.

Change-Id: I45dde4a09d74019a344fca31e3926b1ece6c393d
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/util/PduCache.java
c4e57e23f99f4cea6fcca870a95f7f20a6edfaf2 25-Feb-2012 Adam Powell <adamp@google.com> Fix bug 6065890 - Correct callback sequence for action bar tab switching

Keep the callback behavior consistent when action bar tabs collapse
into a spinner.

Change-Id: Ia82e55d816a92b7ec746e1d25486bc9d2c0778f4
ndroid/internal/widget/ScrollingTabContainerView.java
b98a81f86ab87f1d718f329f03256111fdabd8d1 24-Feb-2012 Adam Powell <adamp@google.com> Add support for optional titles in action modes

Optional titles will only be displayed in the CAB if they entirely fit
instead of ellipsizing.

Fixes bug 5821883

Change-Id: I0cfd6d4fd34a4fa9f520499d577706da30606811
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
ndroid/internal/widget/ActionBarContextView.java
9d69ecbf61a4a142c3f4cbb9d5659faa6f85e832 25-Feb-2012 Gilles Debunne <debunne@google.com> InputConnection is warned when finished

As said in https://android-git.corp.google.com/g/#/c/155992
finishComposingText is indeed too broad of a method.

Introducing a new dedicated method to warn the InputConnection.

Should solve the problems with a negative counter value.

Change-Id: I5525d776916f0c42d5e6d4a4282aed590d7f0e9a
ndroid/internal/widget/EditableInputConnection.java
0aec3ea6defdee1ee4a9c0d6c4a3c13df3e7b812 25-Feb-2012 Dianne Hackborn <hackbod@google.com> am 911b505f: am dc5fa185: am 133dc2d7: Merge "Fix issue #6048808: sometimes auto-correct is inactive" into ics-mr1

* commit '911b505f11c719906985f169a4f45930bdec8695':
Fix issue #6048808: sometimes auto-correct is inactive
dc5fa1859d03ecca36fc6be2fed7bbd4ba70b51f 25-Feb-2012 Dianne Hackborn <hackbod@google.com> am 133dc2d7: Merge "Fix issue #6048808: sometimes auto-correct is inactive" into ics-mr1

* commit '133dc2d7aecc68990c363c861716b134910a4ced':
Fix issue #6048808: sometimes auto-correct is inactive
7663d80f6b6fd6ca7a736c3802013a09c0abdeb9 24-Feb-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6048808: sometimes auto-correct is inactive

My previous change to speed up the time the IME is dismissed was
fundamentally flawed. That change basically switched the order
the application called the input method manager service from doing
startInput() and then windowGainedFocus(), to first windowGainedFocus()
and then startInput().

The problem is that the service relies on startInput() being done
first, since this is the mechanism to set up the new input focus,
and windowGainedFocus() is just updating the IME visibility state
after that is done. However, by doing the startInput() first, that
means in the case where we are going to hide the IME we must first
wait for the IME to re-initialize editing on whatever input has
focus in the new window.

To address this, the change here tries to find a half-way point
between the two. We now do startInput() after windowGainedFocus()
only when this will result in the window being hidden.

It is not as easy as that, though, because these are calls on to
the system service from the application. So being able to do that
meant a fair amount of re-arranging of this part of the protocol
with the service. Now windowGainedFocus() is called with all of
the information also needed for startInput(), and takes care of
performing both operations. The client-side code is correspondingly
rearranged so that the guts of it where startInput() is called can
instead call the windowGainedFocus() entry if appropriate.

So... in theory this is safer than the previous change, since it
should not be impacting the behavior as much. In practice, however,
we are touching and re-arranging a lot more code, and "should" is
not a promise.

Change-Id: Icb58bef75ef4bf9979f3e2ba88cea20db2e2c3fb
ndroid/internal/view/IInputMethodManager.aidl
3f0c58eb708ca520e84396fe764147800395812f 24-Feb-2012 Daniel Sandler <dsandler@android.com> Merge "New notification priority and related APIs."
2561b0b10a55841a08e0e1d467e73e10b1bf256d 14-Feb-2012 Daniel Sandler <dsandler@android.com> New notification priority and related APIs.

This change introduces a few new bits of data on
Notification that will help the Notification Manager and
System UI route and display them more intelligently:

-> priority: an integer in a predefined range that
indicates the app's best guess as to the relative
importance (to the user, right now) of that information

-> kind: a tag (really, set of tags) indicating the general
type of notification (realtime, asynchronous, etc)

-> extras: a Bundle of additional key/value pairs
associated with this notification (currently @hidden)

The notification manager takes these data into account when
assigning to each notification a score which is passed with
the notification on to the system UI, where it can be used to
affect presentation. For example:

- Spammy apps (identified explicitly by the user or by
some other means) will have their notifications scored
very negatively by the notification manager, allowing
the UI to suppress them
- Notifications of higher score might be shown larger
or in a different way
- Very important notifications (indicated by a very high
score) might interrupt the user during an otherwise
important task (videochat, game, etc)

Implementation note: This replaces/extends the old internal
notion of "priority", which was mostly used to organize
ongoings and system notifications at the top of the panel.

Change-Id: Ie063dc75f198a68e2b5734a3aa0cacb5aba1ac39
ndroid/internal/statusbar/StatusBarNotification.java
1f0f9d28a18c6c21308f8e97e40b08846435fa44 23-Feb-2012 Adam Powell <adamp@google.com> am c0d0dddc: am fef000e3: am 482ae5f2: Bug 6021294 - Contextual action bar animation tweaks

* commit 'c0d0dddc20827846dcf3235f7307ad76d2893ba6':
Bug 6021294 - Contextual action bar animation tweaks
68e696b137868795119054a1f5c4034934f23a1c 23-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 058bd2ec: am 1d4c4d42: am 44c1f012: Merge "Return error code when composing PDU fails"

* commit '058bd2ecbcf8057511b00685eddc4ff5061bdbc1':
Return error code when composing PDU fails
d7170f32626451a4fbefdede60708414262b856e 23-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 4b3ec09b: am 99ccf407: am c2461eb3: Merge "Add support for bmp and wav content types in MMS"

* commit '4b3ec09b8199d3c70fbb025a73e8f0a46dcd22c9':
Add support for bmp and wav content types in MMS
00ef7e8f2f32b0c6f12d72ff819efe8e8691ce34 23-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 50ff08a2: am 8a33803d: am a1ee18f1: Merge "Increase PDU parts buffer size for performance reasons"

* commit '50ff08a24e7a94c196f9b5c0b5b9ebdc03064a36':
Increase PDU parts buffer size for performance reasons
5c9b4329f335b80ee3282b7ee1f1d27292173f24 22-Feb-2012 satok <satok@google.com> Merge "Refactor sentence level spell checking APIs"
d404fe110558bd2e1960b428db6a2ee8bfd040cd 21-Feb-2012 satok <satok@google.com> Refactor sentence level spell checking APIs

Support sentence level spell checking APIs: Step 1

Change-Id: I31c0b88e7885f33a0694ab60b8f2dbceeffe42f1
ndroid/internal/textservice/ISpellCheckerSession.aidl
ndroid/internal/textservice/ISpellCheckerSessionListener.aidl
f821819a88cb414c7f55db9a87e8cbfb7e20e7b6 22-Feb-2012 Adam Powell <adamp@google.com> Fix bug 5971117 - Action bar does not update icon used for collapsible
action views

Change-Id: Ib25cd40b046ab4b7dc382476345f95727fde3955
ndroid/internal/widget/ActionBarView.java
c0d0dddc20827846dcf3235f7307ad76d2893ba6 18-Feb-2012 Adam Powell <adamp@google.com> am fef000e3: am 482ae5f2: Bug 6021294 - Contextual action bar animation tweaks

* commit 'fef000e3fa968a8dd165753f16c1c4cd38d59f33':
Bug 6021294 - Contextual action bar animation tweaks
8035db11ef3da209432b50dc178883ce4683336a 18-Feb-2012 Adam Powell <adamp@google.com> am 482ae5f2: Bug 6021294 - Contextual action bar animation tweaks

* commit '482ae5f2388a07d60d7f3b54432120172af25eee':
Bug 6021294 - Contextual action bar animation tweaks
482ae5f2388a07d60d7f3b54432120172af25eee 18-Feb-2012 Adam Powell <adamp@google.com> Bug 6021294 - Contextual action bar animation tweaks

Remove the right-to-left cascade effect from action mode menu
items. Animation time is now fixed at 300ms for scaling in menu items.

Change-Id: I8eef2ed9f93c2af804663dd5e6b3f4915ed45cb1
ndroid/internal/widget/ActionBarContextView.java
1d4c4d42edb92a3dd82238eafef23a0bfa0267d3 17-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 44c1f012: Merge "Return error code when composing PDU fails"

* commit '44c1f012c4ffa75853a068963b212ee1c965b6ea':
Return error code when composing PDU fails
99ccf407bf7fc96eab9e1f747e0fa93391330438 17-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am c2461eb3: Merge "Add support for bmp and wav content types in MMS"

* commit 'c2461eb32ebad522a946e9fef9c31e886d98124a':
Add support for bmp and wav content types in MMS
44c1f012c4ffa75853a068963b212ee1c965b6ea 17-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Return error code when composing PDU fails"
c2461eb32ebad522a946e9fef9c31e886d98124a 17-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Add support for bmp and wav content types in MMS"
8a33803df5477bb9bd20bfae8c7a7d0833f6d2a9 17-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am a1ee18f1: Merge "Increase PDU parts buffer size for performance reasons"

* commit 'a1ee18f1413471813f36a1d05927f5513c8931f5':
Increase PDU parts buffer size for performance reasons
9962ca12fbafdf642a03ed047c496aae7a893b9a 15-Dec-2010 Matthias Thomae <matthias.thomae@teleca.com> Increase PDU parts buffer size for performance reasons

Changed the size of the temporary buffer used when storing a PDU part
to 8192 bytes instead of the previous 256 bytes. This greatly
decreases the time needed to store relatively large PDU parts. The
times to store PDU parts were so long that we frequently ended up with
an ANR. This change resulted in a total time usage of ~1000 ms instead
of ~10000 ms for ~500 kB worth of data.

Change-Id: Ia02cb28e4fd9dfe3aaa1fa30ff37659951cbed93
oogle/android/mms/pdu/PduPersister.java
50eb3b9bf9bf0b014ad19066951b6c1dffd4e3f3 17-Feb-2012 Jeff Brown <jeffbrown@google.com> Merge "Encapsulate the ViewRootImpl's handler."
54c3ce2f14b8aa8559150b75f85c89a17dfaeba8 04-Oct-2010 Matthias Thomae <matthias.thomae@teleca.com> Return error code when composing PDU fails

When the PduComposer fails to make the message body,
a successful result code was still returned.

Change-Id: I8a677afeeae8811c3b0fae61209c5348df1e39d9
oogle/android/mms/pdu/PduComposer.java
a175a5b7ea3682cb58cca7f9726d0b8171cd549d 16-Feb-2012 Jeff Brown <jeffbrown@google.com> Encapsulate the ViewRootImpl's handler.

This change makes it much easier to make sense of the messages that
get posted to the ViewRootImpl's handler by encapsulating their point
of dispatch within the ViewRootImpl itself.

As part of this change, the View.AttachInfo now carries a reference
to the ViewRootImpl itself, which simplifies some code that used
to try to find the ViewRootImpl by getting the root view's parent.

In principle, it might have been nice to hide the ViewRootImpl from
the View hierarchy but in practice the two were coupled in many ways.

Change-Id: I51ebccdf5f8c8c505cd6f17cdf594174d041dc54
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
c9237f41a414529b43cc92fdcb9e5887faed2d6f 14-Feb-2012 Steven Ross <stross@google.com> Removing dependence on enable_facelock

With this change, FaceUnlock is enabled by default when installed
fixes 5989485

Change-Id: Icbce3237ff533e8b7b88faf592ac4a1e143d5dc3
ndroid/internal/widget/LockPatternUtils.java
688bd47fccf1a1373e6287bc49b5b33fad12b7f3 09-Feb-2012 satok <satok@google.com> Add an api to switch to the next IME and subtype

Bug: 5975302

Change-Id: I48aa4220159c65f456d61a324efcdf0a1ceec91c
ndroid/internal/view/IInputMethodManager.aidl
3b259a09635f0670e416adb906f0ed69cd74f7fc 07-Feb-2012 Tom Taylor <tomtaylor@google.com> CrespoMMS appears after delay in the thread

Bug 5032682

Part A of several parts to speed up sending MMS's. In this change, don't
allow multiple threads to write out the same pdu at the same time. This
was causing problems between the thread sending the mms message and the
UI trying to refresh and display the in-progress-sending message.

Change-Id: I862081619e6b6808caaba86a3b48820e0ef75aba
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/util/PduCache.java
c7aab1a9f179e85580104cc76bdeda5474885ddd 03-Feb-2012 Jim Miller <jaggies@google.com> Merge "Fix 5907223: Fix lock screen glitch caused on devices with a system bar"
bf032650e3938f264091764a606a06a0d34bd15a 28-Jan-2012 Jim Miller <jaggies@google.com> Fix 5907223: Fix lock screen glitch caused on devices with a system bar

This fixes a regression caused by making the lock screen window slippery where
dragging the target over the system bar would incorrectly cause it to
snap to an invisible target. It now interprets MotionEvent.ACTION_CANCEL
the same as an "up" event and resets to the initial state.

Change-Id: I9a3c195371d64e1a4613f6f1fb0a043e9a47a601
ndroid/internal/widget/multiwaveview/MultiWaveView.java
74d7ca133a6db82abba5c0abe443fb001928e72c 31-Jan-2012 Romain Guy <romainguy@google.com> Proper equals/hashCode impls in Rect and RectF

Change-Id: Ief52d84f134018af4dfd19674de12736c056e3f8
ndroid/internal/util/FastMath.java
ce4a0c6f160241ea06e1f2000815094263dea70d 17-Nov-2011 Jim Miller <jaggies@google.com> Fix 5906830: Update the clock earlier when lock screen comes back from suspend.

This attempts to fix an issue where sometimes the time shown on lock
screen was really old. The code now sets the time immediately when the
screen turns on.

Change-Id: Ic4649ea342499aea82f997ba488bc2cb45987739
ndroid/internal/widget/DigitalClock.java
fb9e364380f91295490d1acbfc9a571cb6a4384b 26-Jan-2012 Jim Miller <jaggies@google.com> Merge "Fix 5620754: don't show pattern unlock after SIM unlock if not enabled."
93708af1329bb278d83c1fac6a623629cb42a3d4 26-Jan-2012 Jim Miller <jaggies@google.com> Fix 5620754: don't show pattern unlock after SIM unlock if not enabled.

This fixes a bug where the device would show pattern unlock after the user
entered the SIM PUK unlock code. The code now correctly determines that
the device isn't secure and thus shouldn't show the unlock screen.

Change-Id: I49fd749592154a4c5840038b92d54ca7ca086074
ndroid/internal/widget/LockPatternUtils.java
3f696b264e4a3dd28421e9e1a58fe2c6241f48e4 26-Jan-2012 Gilles Debunne <debunne@google.com> Merge "Unbalanced batch edit begin and end leave TextView unresponsive"
629c6765ca21b6ef23db893a35c62eef6a2a28b6 24-Jan-2012 Jeff Sharkey <jsharkey@android.com> Merge "Move network stats to FileRotator pattern."
63abc37356728c0575d6a62a203102ae6d97953b 12-Jan-2012 Jeff Sharkey <jsharkey@android.com> Move network stats to FileRotator pattern.

Split existing network stats into two separate classes: a recorder
which generates historical data based on periodic counter snapshots,
and a collection of historical data with persistance logic.

Recorder keeps a pending history in memory until outstanding data
crosses a specific threshold. Persisting is handled through a given
FileRotator. This pattern significantly reduces disk churn and
memory overhead. Separate UID data from UID tag data, enabling a
shorter rotation cycle. Migrate existing stats into new structure.

Remove "xt" stats until iptables hooks are ready. Avoid consuming
Entry values when recording into NetworkStatsHistory. Assign
operation counts to default route interface.

Introduce "Rewriter" interface in FileRotator with methods to enable
rewriteAll(). Introduce IndentingPrintWriter to handle indenting in
dump() methods.

Bug: 5386531
Change-Id: Ibe086230a17999a197206ca62d45f266225fdff1
ndroid/internal/util/ArrayUtils.java
ndroid/internal/util/FileRotator.java
ndroid/internal/util/IndentingPrintWriter.java
50aca29a0b00c3f8f09b0c246da022df482ca56d 24-Jan-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug # 5863709 API request: Change param names of deleteSurroundingText to "before" and "after""
0c95dd3f4f02564fab9b86a221bbcbb4aafc2981 24-Jan-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug # 5863709 API request: Change param names of deleteSurroundingText to "before" and "after"

Change-Id: I727fad9a59cda915899674569bfabd29b9f5da60
ndroid/internal/view/InputConnectionWrapper.java
dc7bf5d8bff86bed7947806c81a28aff5e9a8c3e 23-Jan-2012 Andy McFadden <fadden@android.com> Don't use bootstrap loader directly

The VM is allowed to use null to represent the bootstrap class
loader, so attempting to call methods on it is a bad idea. Use
the system class loader instead.

Change-Id: I9190848945f679d546d5fb30aba10fd27c7e5404
ndroid/internal/os/ZygoteInit.java
6de74ff2a45591455cbb5c21d78904065e89ec89 18-Jan-2012 Christopher Tate <ctate@google.com> Fix edge cases leading to backup hanging forever

Plug a couple of apparent code paths (one not obviously reachable, but
fixed here on general principles) that could lead to a backup pass
getting confused partway through and simply never properly completing.
In this state it would leave its wakelock held forever until next
reboot. Bug 5828859.

Those fixes are a total of two lines of code. The rest of the patch
adds a textual journal of the most recently completed (or ongoing!)
backup pass's progress, with an eye to being able to isolate any such
issues that may crop up in the future.

Change-Id: If8a5e8aba11db5a1e618d8b9c9ba3038dd5377a1
ndroid/internal/backup/BackupConstants.java
c478c171e92b2f255e9699d9c9306b001368ac20 20-Dec-2011 Gilles Debunne <debunne@google.com> Unbalanced batch edit begin and end leave TextView unresponsive

This is a fix for http://code.google.com/p/android/issues/detail?id=17508

Adding some logs and a forced GC, I'm now reliably able to reproduce it. Here is the scenario.

1. The IME handles an event. It retrieves the current InputConnection (IC) using
ic = getCurrentInputConnection() and calls ic.beginBatchEdit();
2. The call is propagated to the UI thread and TextView's mBatchEditNesting
is correctly increased through beginBatchEdit()
3. A listener calls setText(), which imm.restartInput(this);
4. As a result, the InputMethodManager creates a new ControlledInputConnectionWrapper
with a new InputConnection from the TextView
5. A GC happens at that point. The previous InputConnection is no longeri
referenced by the InputMethodManager's mServedInputConnection.
The weak reference in the previous ControlledInputConnectionWrapper is nulled.
6. The IME thread finishes its process and calls ic.endBatchEdit(); on its version
of the original InputConnection.
7. The message is passed through the InputConnect, but when the weak reference in the
original IInputConnectionWrapper is dereferenced, we get a null InputConnection in
executeMessage().
8. As a result, the TextView's endBatchEdit() method is not called, leaving this TextView
with a non zero mBatchEditNesting.
9. From now on, all edit actions on this TextView will be considered part of a nested edition
and no invalidation is performed, which is the visible manifestation of this bug.

The core problem is that the begin/end batch edit contract is broken when:
1. These are initiated by the IME thread (as opposed to the UI thread)
2. The input connection is reset between these calls
3. A GC happens in the mean time and the WeakReference is lost (otherwise
calling endBatchEdit on a no longer active InputConnection is fine

Solution to keep TextView's mBatchEditNesting balanced:

- The IMM should notify the IC when it is no longer used. We're using the
existing FINISH_INPUT_CONNECTION to do that.
- The InputConnection should keep track of its nesting contribution to the TextView.
When finished the IC makes sure its contribution is reset to 0.
Moreover, further asynchonous calls to begin/endBatchEdit that may arrive from the IME
should be ignored. This is achieved using a negative value as a flag.

Notes:

- finishComposingText may be too broad of a method to perform such a cleaning step
but is seems to only be called in cases where the IC will not be used anymore.
If that's too broad, we have to introduce a new method in the IC interface.

- This is has been implemented in EditableInputConnection and not in a more general
BaseInputConnection because this is where we have a notion of TextEdit, and the
nesting problem is here specific to TextView.
However, the same unbalanced begin/end problem will happen in these classes. They
should override finishComposingText as has been done here if that matters.

- We cannot re-use the TextView's mBatchEditNesting since it may take into account
batch edit from various sources and resetting it on InputConnection close could
then lead to an inconsistent negative count value.

Patch Set 2: added synchronized blocks around mBatchEditNesting

Change-Id: I1ec5518fdc16fb0551fbce9d13f5d92eb4bc78c0
ndroid/internal/widget/EditableInputConnection.java
a27a3e8ad7d20dea63ef2d5cb8b6ec7e56c20a89 09-Jan-2012 Jeff Sharkey <jsharkey@android.com> Introduce FileRotator.

Utility that rotates files over time, similar to logrotate. There is
a single "active" file, which is periodically rotated into historical
files, and eventually deleted entirely. Files are stored under a
specific directory with a well-known prefix.

Bug: 5386531
Change-Id: I29f821a881247e50ce0f6f73b20bbd020db39e43
ndroid/internal/util/FileRotator.java
2931d8ace9118bafe08090cd41e235048b6c2eb2 12-Jan-2012 Danielle Millett <dmillett@google.com> Merge "DO NOT MERGE - Cherry picking from master to MR1" into ics-mr1
5437c220e239dc6276942990bc81c1388cfb176c 10-Jan-2012 Jim Miller <jaggies@google.com> am d3872f55: am 62fad768: Merge "Fix 4560303: Add setting to lock later when power button pressed" into ics-mr1

* commit 'd3872f55045b7ce7be7dd7ae5fff37d7988bdcb2':
Fix 4560303: Add setting to lock later when power button pressed
de7a2f30548ac64d67e9ce8ac08090eb5458449d 21-Dec-2011 Danielle Millett <dmillett@google.com> DO NOT MERGE - Cherry picking from master to MR1

Fix 5783857: Device Policy Manager doesn't allow Face Unlock

This makes it so that if face unlock is enabled and then a device policy
manager that requires something more secure than face unlock is installed,
the user will be forced to choose a new acceptable lock type.

This was previously fixed for the case where the device had been reset, or
the shell was restarted after setting face unlock, but not for the case where the
device remained on between setting face unlock and setting up a device policy
manager.

Also changed the function ordering of saveLockPattern() so that the overloaded
wrapper function is next to the main function.

Change-Id: Ibed8c4ab137ebbc07fb143faef6f047bc6dc4474
ndroid/internal/widget/LockPatternUtils.java
a4edd151c5266a2c794c95444fed67d19740cee3 07-Jan-2012 Jim Miller <jaggies@google.com> Fix 4560303: Add setting to lock later when power button pressed

This adds a feature to delay locking the device when the power button
is pressed. This fixes a use case where the user wants to turn off
the display (e.g. to save power) but doesn't want to lock the device.

For the case of a secure device (user has a pin/password/pattern),
this will lock the device immediately or not based on the setting.

For the non-secure case, this always "locks" the device to provide easy
access to the camera while preventing unwanted input.

Change-Id: Ie328485c3f7559e26896d761cbf0e69d3f4df4e2
ndroid/internal/widget/LockPatternUtils.java
45b075dd5cef54ed3412115ee199df1db1c90528 10-Jan-2012 Adam Powell <adamp@google.com> Fix a bug where window progress bars had the wrong default visibility
on windows with action bars.

Change-Id: I5509d9a7c5f029b0471bd63e781f4756f5a319bc
ndroid/internal/widget/ActionBarView.java
3c673732ead2721c564c2bd46780e8ebf10e948b 03-Jan-2012 Danielle Millett <dmillett@google.com> Merge "Fix 5783857: Device Policy Manager doesn't allow Face Unlock"
52cd299eef703030f8fcf7a92f413791301771cc 27-Dec-2011 Jesse Wilson <jessewilson@google.com> Move the frameworks/base hostname verifier into libcore. Part 2/2

Bug: http://b/5619726
Change-Id: I165eb3befcef104ff56ffb466c87c60b632f3194
ndroid/internal/net/DNParser.java
ndroid/internal/net/DomainNameValidator.java
2364a222fcba233d66d0a9cde691d1d6e82227db 21-Dec-2011 Danielle Millett <dmillett@google.com> Fix 5783857: Device Policy Manager doesn't allow Face Unlock

This makes it so that if face unlock is enabled and then a device policy
manager that requires something more secure than face unlock is installed,
the user will be forced to choose a new acceptable lock type.

This was previously fixed for the case where the device had been reset, or
the shell was restarted after setting face unlock, but not for the case where the
device remained on between setting face unlock and setting up a device policy
manager.

Also changed the function ordering of saveLockPattern() so that the overloaded
wrapper function is next to the main function.

Change-Id: Ibed8c4ab137ebbc07fb143faef6f047bc6dc4474
ndroid/internal/widget/LockPatternUtils.java
e593ea103e78f144ac01b40fd818079d42f0827c 20-Dec-2011 Tom Taylor <tomtaylor@google.com> Merge "Received MMS is not displayed properly with 'Avea' SIM Card"
affa29ac50f49106882c4464ad63a68354cc4810 14-Dec-2011 Tom Taylor <tomtaylor@google.com> Received MMS is not displayed properly with 'Avea' SIM Card

Bug 5729514
Hand merge a patch from Samsung to fix:
"From Avea server the subject and length in MMS coming like as "...96 00...".
It means subject header present but subject length is zero.
As per accepted principles of MMS headers, if the header length is zero it should not be sent.
Android framework code does not handle this siutation and parsing fails always."

Change-Id: I930aa1e97f5e2e6eb69a94b7380c114272330232
oogle/android/mms/pdu/PduParser.java
418d12dc8f2c518b673ebc522de4af6f7dbf0bf3 14-Dec-2011 Jeff Sharkey <jsharkey@android.com> Avoid reading network stats when disabled.

Bug: 5518868
Change-Id: Idb5c588b018bf735597ad7ff904ecc69224dd0a0
ndroid/internal/os/BatteryStatsImpl.java
ndroid/server/NetworkManagementSocketTagger.java
07c2c9f03b9b3bdca89f4960380b6b714ea6b8b0 08-Dec-2011 Jaikumar Ganesh <jaikumar@google.com> am 38342c9d: am d426c338: Merge "Reduce likelihood of crash in state machine." into ics-mr1

* commit '38342c9d858d8b021bc5c616cfe6c0ab9f359b2b':
Reduce likelihood of crash in state machine.
d426c338a66f63f8e5528ac38ec5b61625f2c897 08-Dec-2011 Jaikumar Ganesh <jaikumar@google.com> Merge "Reduce likelihood of crash in state machine." into ics-mr1
a544d467f2a876f2ada2880214b3157cfaef769f 07-Dec-2011 Jaikumar Ganesh <jaikumar@google.com> Reduce likelihood of crash in state machine.

Reduce likelihood of crash when state machine has quit and someone
sends a message using one of the public functions.

Bug: 5724844

Change-Id: I6582a1d19113e6ed545c8ab20adb0a414d8784a7
ndroid/internal/util/StateMachine.java
1f45d25257f791ce031e7e5bc3c7806a8b82b2eb 07-Dec-2011 Winson Chung <winsonc@google.com> am a21ce1f1: am 0a361b10: Merge "Workaround for issue where the notifyDatasetChanged call chain is broken when Launcher is killed. (Bug 5703782)" into ics-mr1

* commit 'a21ce1f1107e1aad19335bebe4aed915158b5ca6':
Workaround for issue where the notifyDatasetChanged call chain is broken when Launcher is killed. (Bug 5703782)
c3f581b0474a216938810885f4f606e0db1f21ff 05-Dec-2011 Winson Chung <winsonc@google.com> Workaround for issue where the notifyDatasetChanged call chain is broken when Launcher is killed. (Bug 5703782)

Change-Id: Ic57a7ce85f41d58cd40b7d30eef4a1bf685182e5
ndroid/internal/widget/IRemoteViewsFactory.aidl
96e942dabeeaaa9ab6df3a870668c6fe53d930da 01-Dec-2011 Jeff Brown <jeffbrown@google.com> Use a Choreographer to schedule animation and drawing.

Both animations and drawing need to march to the beat of
the same drum, but the animation system doesn't know
abgout the view system and vice-versa so neither one
can drive the other.

We introduce the Choreographer as a drummer to keep
everyone in time and ensure a magnificent performance.

This patch enabled VSync based animations and drawing by
default. Two system properties are provided for testing
purposes to control the behavior.

"debug.choreographer.vsync": Enables vsync based animation
timing. Defaults to true. When false, animations are
timed by posting delayed messages to a message queue in
the same way they used to be before this patch.

"debug.choreographer.animdraw": Enables the use of the animation
timer to drive drawing such that drawing is synchronized with
animations (in other words, with vsync or the timing loop).
Defaults to true. When false, layout traversals and drawing
are posted to the message queue for execution without any delay or
synchronization in the same way they used to be before this patch.

Stubbed out part of the layoutlib animation code because it
depends on the old timing loop (opened bug 5712395)

Change-Id: I186d9518648e89bc3e809e393e9a9148bbbecc4d
ndroid/internal/util/ArrayUtils.java
4952dfd16a0f839559ffa78f5016394caf85294f 01-Dec-2011 Jeff Brown <jeffbrown@google.com> Ensure input events are processed in-order in the application.

As it turns out, it used to be possible for there to be multiple
input events simultaneously in flight in an application. Although
it worked, it made it hard to reason about what was going on.
The problem was somewhat exacerbated by the introduction of a
queue of "InputEventMessage" objects as part of an earlier latency
optimization.

This change restores order from chaos and greatly simplifies the
invariants related to input event dispatch within the application.

Change-Id: I6de5fe61c1fe2ac3dd33edf770d949044df8a019
ndroid/internal/view/BaseInputHandler.java
9ab5ef2741e2eaeb44218d802643de81ddb4b7a1 29-Nov-2011 Jaikumar Ganesh <jaikumar@google.com> am 910ae39f: am ff33b94e: Merge "Cleanup static references when quitting." into ics-mr1

* commit '910ae39f8a12bcb917b7eb1da3f701925da79509':
Cleanup static references when quitting.
6f9a61651e7949a5d63a4b44314d435c0105a51f 28-Nov-2011 Jaikumar Ganesh <jaikumar@google.com> Cleanup static references when quitting.

The State machine was leaking references when it was
getting created and destroyed.

Change-Id: I7904baf0482eef1617071d159d7b283566b4095c
ndroid/internal/util/StateMachine.java
468996c504f8bddd7c3f3b1aab89c6a561f951dc 22-Nov-2011 Amith Yamasani <yamasani@google.com> am d61b61d6: am 227a64fe: Merge "Fix an NPE on overflow in BatteryStats history." into ics-mr1

* commit 'd61b61d6f97f9f73b86e4a24a747c4451f2bc939':
Fix an NPE on overflow in BatteryStats history.
227a64fe23b4e6f05dc31e5f51b0f4c142e52b18 22-Nov-2011 Amith Yamasani <yamasani@google.com> Merge "Fix an NPE on overflow in BatteryStats history." into ics-mr1
79de26ea20ddd65e7c361e138a6f992fd3802c22 22-Nov-2011 Adam Powell <adamp@google.com> am 516035f0: am fb0784da: Merge "Fix bug 5521467 - Monkeys and ActionBar custom tab views" into ics-mr1

* commit '516035f0923aad612932327546e780c7c241ceda':
Fix bug 5521467 - Monkeys and ActionBar custom tab views
05c8277f3423fd57196b3878d27ac0f1995101a8 22-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5521467 - Monkeys and ActionBar custom tab views

Remove custom tab views from old parents if applicable.

Change-Id: I7892f0f271e91a4fc9e26694557e82b81f3fd31a
ndroid/internal/widget/ScrollingTabContainerView.java
0dc1f648a09b46c45190ba1ce7daecf7fada4347 18-Nov-2011 satok <satok@google.com> add sentence level spell checker hidden apis

Change-Id: If65c89044bed064fd01a554e33176f64f7c21c0f
ndroid/internal/textservice/ISpellCheckerSession.aidl
ndroid/internal/textservice/ISpellCheckerSessionListener.aidl
45f06460e9aeadadad27e6c87817940cd96128ef 22-Nov-2011 Amith Yamasani <yamasani@google.com> Fix an NPE on overflow in BatteryStats history.

When the battery stats buffer hits 128KB, it hits a code path
that causes an NPE. This can happen depending on usage and charging
patterns and manifest in bad ways, such as failure to boot up
or random crashes, or refusing to go to sleep.

Bug: 5645407
Change-Id: I21d5d189431f776f25bcb7d598c86e598ad8cb17
ndroid/internal/os/BatteryStatsImpl.java
6162960c1eda8cce32a236e7f805cc4fdf9cf656 15-Nov-2011 Jim Miller <jaggies@google.com> am 3dd55677: am ff95f657: Merge "Fix 5579440: Add transport control view to tablet unlock screens" into ics-mr1

* commit '3dd5567710168da330741cb4c4263cc03dd942f1':
Fix 5579440: Add transport control view to tablet unlock screens
faed16030df5221f790a4d6fd5bdfb592db977fa 09-Nov-2011 Jim Miller <jaggies@google.com> Fix 5579440: Add transport control view to tablet unlock screens

This updated tablet layouts to support showing album art and transport
control views in PIN, pattern and password screens of lock screen.

It also allows the addition of a background protect asset and
the ability to show the system wallpaper on layouts that define a
transport_bg_protect view.

Also updated layout to use new ICS-style buttons on lock screen and
fixed bug with "forgot pattern" button where we were showing the
emergency call icon.

To avoid problems with leading ones in the mono-space clock font,
we now right-justify status text on tablet and remove the AM/PM
indicator.

Status font size adjusted by UX.

Added background protection drop shadow to transport control.

Fixed portrait mode to be right-justified when transport is showing.

Change-Id: I790292fc39f4588f87adc9d9241706817ae6baab
ndroid/internal/widget/DigitalClock.java
cd6faca83678eaa8f66de2a082e1611e32ba3796 14-Nov-2011 Adam Powell <adamp@google.com> am b22eec57: am a8743f15: Fix bug 5425280 - Two ActionBar icons show up

* commit 'b22eec57d559fc9dd5663abdc37d6b6e6a4f641f':
Fix bug 5425280 - Two ActionBar icons show up
a8743f152aac4a8ef97c79bdad5232614453ce2a 12-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5425280 - Two ActionBar icons show up

Change-Id: Ic82f8ce648f9314a0800eeff326df7d8dfe5027b
ndroid/internal/widget/ActionBarView.java
56f73a149b38381e7e406defbf492138553013ba 10-Nov-2011 Peter Ng <petergng@google.com> am f52df796: am 15843aa5: Merge "lock pattern width spec set to max" into ics-mr1

* commit 'f52df7961f29a2f508fb7421f8cd9c95b9b409aa':
lock pattern width spec set to max
524a0adeb55885520a5fec1aa152d0049ec96345 10-Nov-2011 Jim Miller <jaggies@google.com> am 5943c1dc: am 270826a8: Merge "Fix 5555408: allow emergency button to be disabled on SIM/PUK unlock screen" into ics-mr1

* commit '5943c1dc406574b360e9cb1343a5dab00a84a8e2':
Fix 5555408: allow emergency button to be disabled on SIM/PUK unlock screen
7bc60abc97f77cc2478f5d19c391ebdb1433a893 10-Nov-2011 Peter Ng <petergng@google.com> lock pattern width spec set to max

Change-Id: If5853d3c7ee2d2330c06f5c802f66249ab3f2694
ndroid/internal/widget/LockPatternView.java
270826a8878b5470d48d93ca3d518ac93860870d 10-Nov-2011 Jim Miller <jaggies@google.com> Merge "Fix 5555408: allow emergency button to be disabled on SIM/PUK unlock screen" into ics-mr1
77c7b4ddebd20006be2d30b7906ac67efc4dc207 09-Nov-2011 Danielle Millett <dmillett@google.com> am b9b08257: Merge "Showing a congratulations screen after choosing face unlock backup lock" into ics-mr1

* commit 'b9b08257370d244b4bccc4e243dda3c4daf4b0af':
Showing a congratulations screen after choosing face unlock backup lock
1f56edc6cd377eab05d9816e93591a7139cdff96 08-Nov-2011 Jim Miller <jaggies@google.com> Fix 5555408: allow emergency button to be disabled on SIM/PUK unlock screen

Some carriers cannot process emergency calls when the IMSI is not available,
which happens when the SIM is locked. This allows the behavior to be overwritten
in an overlay. When the config variable is set to 'false', the emergency
button no longer appears on the SIM or PUK unlock screens.

Change-Id: I3127bfd5e7ebfabea997fbe048cc474e48b7a81c
ndroid/internal/widget/LockPatternUtils.java
763631cd247e21b167063023e7dd1395e05ebbf6 08-Nov-2011 Jeff Brown <jeffbrown@google.com> Improve JavaDoc on AtomicFile.

Change-Id: I042fa533ea5d4adca8ae6d42dbd8de32adb34cea
ndroid/internal/os/AtomicFile.java
044a0a76444b22bd4fe3718b110953bbcd3ee35d 07-Nov-2011 Danielle Millett <dmillett@google.com> Showing a congratulations screen after choosing face unlock backup lock

Once a backup lock has been chosen, it sends an intent to show a
congratulations screen. The moveTempGallery function has been moved
inside this new activity so it is no longer needed in LockPatternUtils.

Change-Id: I66868e6e3391b8b740f618fe633047ce388f55ca
ndroid/internal/widget/LockPatternUtils.java
cb1001b2829f7da86f66f2634bd40cbc51ba4998 03-Nov-2011 satok <satok@google.com> Merge "Fix a memory leak of a Binder in SpellCheckerService" into ics-mr1
163e6443f27884a9bfcb9a48ef606dc635852c23 01-Nov-2011 Jeff Sharkey <jsharkey@android.com> Correct proc file reader, optimizations.

Moved away from BufferedReader, which only reads the first 8KB of
some proc files because it aggresively fills its buffer. Optimized
proc parsing, now double the speed. Tests to cover.

Log when NetworkStats counters roll backwards when subtracting, and
optimizations around findIndex(). When system removes UID, also
remove from last stats snapshot to avoid xt counters from rolling
backwards.

Bug: 5472949, 5458380
Change-Id: I07c08fe5233156fac2b84450f6291868bf9bfaf2
ndroid/internal/net/NetworkStatsFactory.java
ndroid/internal/util/ProcFileReader.java
74061ff90453c79ddbde468f630a41425da07710 02-Nov-2011 satok <satok@google.com> Fix a memory leak of a Binder in SpellCheckerService

Bug: 5499490

Change-Id: I167a3e9dfdd6edd06c6ad993fbff3a535c81b09c
ndroid/internal/textservice/ISpellCheckerSession.aidl
24340afbab8ad4c191784fda8023407205bc0a75 01-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5534667 - Action bar icons need more space on tablet

Set a wider minimum width for the action button style on -sw600dp.

Fix an annoying bug where recycled ActionMenuItemViews would retain a
lingering pressed state, causing an unrelated button to glow briefly.

The home/up affordance should not be focusable when it is disabled.

Change-Id: Ia68f3d09f5d977f50e4e33c354d8133367187973
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/BaseMenuPresenter.java
ndroid/internal/widget/ActionBarView.java
678ed0c5a32bac1ea18a5ac99b0b814421ea79b4 28-Oct-2011 Adam Powell <adamp@google.com> Bug 5275928 - Don't try to open an overflow menu under invalid circumstances.

Change-Id: I62ea1e982f0d3c92cb504efbae95bce238b12f72
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/widget/ActionBarContextView.java
81bd76e4b33ea00d30bb2b2193ca5bd0cf445546 28-Oct-2011 Peter Ng <petergng@google.com> Merge "Removing 2nd background clock font display from statusbar and lock screen" into ics-mr1
ccff48b7cb4a1dd81ee90fb31d4dedf5dc71b8d0 24-Oct-2011 Jim Miller <jaggies@google.com> Removing 2nd background clock font display from statusbar and lock screen

Change-Id: If9edfed231cde6590b28fc2115d78bc97b74ae4e
ndroid/internal/widget/DigitalClock.java
1a3ad7d18f0e15611268347da7f1b5db8c3b558d 26-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding accessibility support to the tablet swipe unlock." into ics-mr1
6033c0817427386cd3e95a992d1f34dad4188f96 25-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the tablet swipe unlock.

1. Added handling for hover events that are transformed into
touch events and given to the touch event handling code
if accessibility is enabled.

2. Now swiping across the handle unlocks the device for both
cases - accessibility enabled or disabled.

bug:5513324

Change-Id: I7031690d69b1a2737e2ce4d1871d69d7dfbf3006
ndroid/internal/widget/WaveView.java
e49cf107e2533b7ca71c500bc20a0f6dcdf9efdc 25-Oct-2011 Ed Heyl <ed@google.com> merge ics-mr0

Change-Id: I4f0b2bb1b1136c9467e9d55f57f5333153cae65d
f8b9a4751e6d0721804931aa39545e3741ff5013 24-Oct-2011 Brian Colonna <bcolonna@google.com> Added callback to allow Face Unlock to hide black area

- Part of fix 5491362 (RelTeamHotIssue)

- Because the fix closes the camera early, this change is needed so
the black area isn't still hanging around while the camera fades
to the backup lock.

Change-Id: Iab7c264adab0fb05979fe2732048ccf2237e64c5
ndroid/internal/policy/IFaceLockCallback.aidl
53b5d17d08fa1d5fc63a9345691bf151a892fcaa 21-Oct-2011 Adam Powell <adamp@google.com> am a5c371bf: Merge "Bug 5275928 - Invasion of the monkeys" into ics-mr0

* commit 'a5c371bf1fc878f84c296a63839a5d031dea843f':
Bug 5275928 - Invasion of the monkeys
97e1836e1b07d91f18de9669c46b0c941b643a72 21-Oct-2011 Adam Powell <adamp@google.com> Bug 5275928 - Invasion of the monkeys

Fix a monkey bug where runnables set to open popup windows were being
left around.

Change-Id: I29f2c7763ab667c784b96b60ef0d7e04d358c4d9
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
1aa1c9bc68bee5a4cb57033ae26b3766702e2843 20-Oct-2011 Jim Miller <jaggies@google.com> am 2f35281a: Merge "Fix 5485925: Fix crash in transport control view" into ics-mr0

* commit '2f35281ae0ae4471527e9286f022cb960384044e':
Fix 5485925: Fix crash in transport control view
a5ff5b482ab74b327983652439bea58c0499bae0 20-Oct-2011 Jim Miller <jaggies@google.com> Fix 5485925: Fix crash in transport control view

This fixes a crash where we weren't hiding the view when there's
no registered media player. It now hides the view when AudioManager
tells it to clear the data.

It also avoids a possible race condition where a request can
come in from AudioManager before the callback is set.

Change-Id: I3360e775c75396e1eee11413d317df5b39ceb487
ndroid/internal/widget/TransportControlView.java
3585a3dfc6824581e8b4b46bfa1207bb18fad0cf 19-Oct-2011 Dianne Hackborn <hackbod@google.com> am 47f8367a: Merge "Work on issue #5465917: Wakelock *overflow* held for very long times" into ics-mr0

* commit '47f8367ab79247501d5d204632a7797fa8a888e5':
Work on issue #5465917: Wakelock *overflow* held for very long times
c24ab866b0d46685f6ddd340b9c84375cf8d6831 19-Oct-2011 Dianne Hackborn <hackbod@google.com> Work on issue #5465917: Wakelock *overflow* held for very long times

- Fix ordering problem in sync manager that would cause its wake
locks to slightly appear in the system process when they should
be fully accounted against the app.
- Allow the system process to have more wake lock names in its
battery stats.
- In the bug report output, print totals of the wake locks for each
process, to make it easier to parse what is being printed for things
like the system process with a huge number of individual wake locks.

Change-Id: I3cf39330f22f3c51c11e65e4124150d73a7da2dd
ndroid/internal/os/BatteryStatsImpl.java
7c3a18398f8cd8977079fad34a6bfc3fdab6378e 18-Oct-2011 Jim Miller <jaggies@google.com> am 8e6d75af: Merge "Fix 5473038: workaround for fd leak in lockscreen" into ics-mr0

* commit '8e6d75affa1a802b01aa38ad765d1ae9f998c0ab':
Fix 5473038: workaround for fd leak in lockscreen
a7f3a34313074a96b1cc2eb4bea0304d8375af75 18-Oct-2011 Jim Miller <jaggies@google.com> Fix 5473038: workaround for fd leak in lockscreen

This works around a file descriptor leak in Skia. It also improves
view creation time by avoiding re-loading the font every time a
DigitalClock is created.

Change-Id: I5c46445da36b1e6ba06c8ca340e436835d281180
ndroid/internal/widget/DigitalClock.java
eb4173ae298dc31bd27895c2b84125c95dbda093 17-Oct-2011 Jim Miller <jaggies@google.com> am 7b5dd873: Fix 5466793: Fix memory leak in system process when face lock is enabled.

* commit '7b5dd87351ac476dd872c51f9b819d2a3e572382':
Fix 5466793: Fix memory leak in system process when face lock is enabled.
af0aec584a824dbc772170038128755954dc12ac 17-Oct-2011 Uriel Rodriguez <urodriguez@google.com> am d814d4fa: Merge "going directly to backup after face unlock fails 15 times" into ics-mr0

* commit 'd814d4fa0c76a0384f7e32816e1ca36f237911c6':
going directly to backup after face unlock fails 15 times
7b5dd87351ac476dd872c51f9b819d2a3e572382 16-Oct-2011 Jim Miller <jaggies@google.com> Fix 5466793: Fix memory leak in system process when face lock is enabled.

Previously, the code was not unregistering the callback when we unlocked
the device, which kept a reference to LockPatternKeyguardView indirectly
by a reference to mFaceLockCallback.

It now correcly removes the callback when we unlock the device.

Change-Id: Ie592d007a1dfc2416b9e8956aba2c34e3d0120ee
ndroid/internal/policy/IFaceLockInterface.aidl
d814d4fa0c76a0384f7e32816e1ca36f237911c6 15-Oct-2011 Uriel Rodriguez <urodriguez@google.com> Merge "going directly to backup after face unlock fails 15 times" into ics-mr0
fd2ed6910f932ce43b621d6296eff112e137fbf9 14-Oct-2011 Uriel Rodriguez <urodriguez@google.com> going directly to backup after face unlock fails 15 times

- after 15 failed face unlock attempts, go to backup until the backup method is successful
- if the backup method times out (because too many unsuccessful unlocking attempts),
face unlock will not be launched until the backup method is used sucessfully
- fixes 5365919

Change-Id: I9aef7a4f1abcceefc5d6f1c0458ae5cbe8a902df
ndroid/internal/policy/IFaceLockCallback.aidl
eecd9ac0fbe0335916b8f72a89d479dd64341988 14-Oct-2011 Jim Miller <jaggies@google.com> am 83e160d3: Fix build.

* commit '83e160d3b3ad839b0c2faf40f4477a2468098995':
Fix build.
83e160d3b3ad839b0c2faf40f4477a2468098995 14-Oct-2011 Jim Miller <jaggies@google.com> Fix build.

Change-Id: Ifd5fe7933065f555f50ea91c4c301f87ca09dcdc
ndroid/internal/widget/TransportControlView.java
66d19b85b374fb32b22a2be2a435c42a6ad0f1f0 14-Oct-2011 Jim Miller <jaggies@google.com> am 1a59c7e3: Merge "Fix 5358124: Better transport control visibility management in lock screen" into ics-mr0

* commit '1a59c7e3973cd2de23e45afde1a5e8fdd8a2d30f':
Fix 5358124: Better transport control visibility management in lock screen
1a59c7e3973cd2de23e45afde1a5e8fdd8a2d30f 14-Oct-2011 Jim Miller <jaggies@google.com> Merge "Fix 5358124: Better transport control visibility management in lock screen" into ics-mr0
76842baa0f6d079bcb8933bb14a7a4dbb89db781 14-Oct-2011 Jean-Michel Trivi <jmtrivi@google.com> am 9ad680ca: Merge "Fix 5380695 Lockscreen transport control must reflect error state" into ics-mr0

* commit '9ad680ca2be19679c355de9526d79ded2887ea97':
Fix 5380695 Lockscreen transport control must reflect error state
4e6d35829ebf98ea37f77ea434550d51950c1119 14-Oct-2011 Jim Miller <jaggies@google.com> Fix 5358124: Better transport control visibility management in lock screen

This changes TransportControlView to be "sticky" on lockscreen. Basically, once it
appears on lockscreen, it stays there until unlocked and then locked again in paused state.

Tested basic design goals (using Music2):
- play then lock -> shows
- pause then lock -> not shown
- toggle pause to play while locked and not shown -> shows
- pause after played once while locked -> stays until we unlock and lock again while paused
- remote control play while paused & sleeping -> resume lockscreen -> shows

Also tested:
- configuration changes (orientation) to ensure widget continues to show after it once appears
- remote events while lock screen on -> keeps lockscreen on.
- remote events while sleeping -> doesn't wake.

Change-Id: I23418c5f7dfd1457c0844d2683772e8a3ed0abd1
ndroid/internal/widget/LockScreenWidgetCallback.java
ndroid/internal/widget/TransportControlView.java
261381cf9f52776f5f5fad8e6d2d31960c60c945 14-Oct-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix 5380695 Lockscreen transport control must reflect error state

When a RemoteControlClient reports an error for its playstate,
make the play/pause button display the warning platform icon.

Note that a specific image description is not available for this
state at this time, but the one being used (the same as for the
play icon) is valid as it correctly describes the action the
button performs.

Change-Id: I59aadab3fe5bcc09a2f7be0b9e4cffb0c500e865
ndroid/internal/widget/TransportControlView.java
4defcef1cb643e998b64c594b94af287de317a41 13-Oct-2011 Jim Miller <jaggies@google.com> am 207c6731: Merge "Fix 5444675: Fix vibrate regression on Pattern and PIN unlock screens." into ics-mr0

* commit '207c67315c8668b72cbb7bd370f1d6c8479eabd4':
Fix 5444675: Fix vibrate regression on Pattern and PIN unlock screens.
8eeb4d1a70faa4d5834de44bfa515742566c6ba3 13-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5394020 - Menus are pretty sluggish to bring up

Clear out some obsolete "optimizations" leftover from the old menu
system internals.

Change-Id: I325530c9fae434de2d95200e648c63149334f444
ndroid/internal/view/menu/ExpandedMenuView.java
ndroid/internal/view/menu/ListMenuItemView.java
aef555bcf26e770e37f2065913084588fb92c6fb 13-Oct-2011 Jim Miller <jaggies@google.com> Fix 5444675: Fix vibrate regression on Pattern and PIN unlock screens.

This fixes a regression caused by a resource change to the vibrate
pattern. It used to contain an array of delays and values. Now it has
another mode with just one value with an associated change to the vibrate
API.

Instead of using a custom vibration pattern, it now just follows the system
vibrate pattern for HapticFeedbackConstants.VIRTUAL_KEY, which is shared by the
home key, among other things.

Change-Id: Ib58493a96a42383955ae59f8ac3865bb46a86a31
ndroid/internal/widget/LockPatternView.java
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
fd8f6f2f7557c414466f7634391821e59c1ce040 12-Oct-2011 Daniel Sandler <dsandler@android.com> Merge "Fix obsolete Honeycomb platlogo." into ics-mr0
f2894659e8df625783afcd3fa17462ab23d29145 12-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5449931 - Wrong theme for icon menus

IconMenuPresenter should always use its own theme for the system
inflater.

Change-Id: Iacadce37d62a60cdf6220d82f1178098ed92d51e
ndroid/internal/view/menu/IconMenuPresenter.java
5f839f8ee426cc42af3ee0eaf5236f2f6930dd15 12-Oct-2011 Daniel Sandler <dsandler@android.com> Fix obsolete Honeycomb platlogo.

Bug: 5438131
Change-Id: I848bcc8e4d6cdd28c1ffaa08b7fcceb87242932a
ndroid/internal/app/PlatLogoActivity.java
538e565c06e915b91e7e3a901f872ccdd9bccdd3 11-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5396097 - menu theme consistency

Fix a bug where action bar menus were using the wrong context to
inflate stock views. This was causing them to use the action bar's
themed widget context instead of the current theme's specific action
bar items.

Note that action views in the menu will still be inflated using the
themed widget context. This can produce some weird side effects if
the action views use theme attributes relating to these action bar
item attributes.

Change-Id: Ied3614d1fedb10a0f5366bbe7b90cd5f2f1ff969
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/BaseMenuPresenter.java
ndroid/internal/view/menu/IconMenuPresenter.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
67e043db11b29f3c0c84529ae21a0fdd7ae11c6d 11-Oct-2011 Jim Miller <jaggies@google.com> Fix 5249234: Add contentDescription to buttons on transport control on lock screen.

Change-Id: Ie4e9139e01c37a0d9542ff9996a84db0083b35ef
ndroid/internal/widget/TransportControlView.java
f005a2c83b341647ea827e548cf506d37a8bf97e 11-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding accessibility support to the pattern lock."
04b81c713e88c056b430b326350359b4e8f1377f 11-Oct-2011 Amith Yamasani <yamasani@google.com> Don't show icon for power-off confirmation dialog.

Bug: 5380396
Change-Id: I57574b613d95885c829df729297b24be1c73b876
ndroid/internal/app/ShutdownThread.java
9dcd5afabe37872eab1b0bf2d4cab7f36b9f30a1 10-Oct-2011 Adam Powell <adamp@google.com> Merge "Bug 5430909 - Overlay action bar should consume hover events"
7d09f04363cdda6a3cf8b2ad1b67c9a07fa8975f 10-Oct-2011 Adam Powell <adamp@google.com> Bug 5430909 - Overlay action bar should consume hover events

Otherwise these will incorrectly fall through to the view below.

Change-Id: I97280c41b2080f3f156554c6eb111af246e140d0
ndroid/internal/widget/ActionBarContainer.java
530d9f10a6af8ff83a184582ca81608b29510b42 04-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the pattern lock.

The pattern lock fires accessibility eventa to announce start,
update, and end of a pattern. The pattern lock reacts to hover
events if touch exploration is enabled.

bug:5318807

Change-Id: I5a10c76338ca029f63f278c7e7d0aaba2386f73c
ndroid/internal/widget/LockPatternView.java
d78a38cae2f041629326d475333f43fd81ae4137 10-Oct-2011 Jeff Sharkey <jsharkey@android.com> Merge "Move battery stats to xt_qtaguid for data stats."
1059c3c30ad96a15695c1a92ae8896e078a6309f 05-Oct-2011 Jeff Sharkey <jsharkey@android.com> Move battery stats to xt_qtaguid for data stats.

Replace TrafficStats calls by reading values from xt_qtaguid kernel
module. To keep BatteryStatsImpl changes lightweight, cache recently
parsed stats. Tracks mobile ifaces from ConnectivityService.

Refactor xt_qtaguid parsing into factory outside of NMS. Add stats
grouping based on UID, and total based on limiting filters like iface
prefix and UID.

Bug: 4902271
Change-Id: I533f116c434b77f93355bf95b839e7478528505b
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/net/NetworkStatsFactory.java
ndroid/internal/os/BatteryStatsImpl.java
5c18ac651415ce71f8cb078a3ce9f5b5802d70ec 08-Oct-2011 Amith Yamasani <yamasani@google.com> Save the click position and restore it on orientation change.

Bug: 5417556
Change-Id: I817890a3ff2910aa49ec44a30edb1a39d0d97095
ndroid/internal/app/RingtonePickerActivity.java
df89e65bf0fcc651d20b208c8d8d0b848fb43418 07-Oct-2011 Dianne Hackborn <hackbod@google.com> Fix how we hide and show the nav bar.

The PhoneWindowManager is now responsible for hiding and showing
the nav bar.

For hiding, it just moves it off the screen (easy way to get a
nice slide animation on and off). At the same time, we use a
new WM facility to put up a fake input window to capture all
touch events.

When a touch event is received, we force the system UI to clear
the navigation hiding bit so it will be shown again.

This removes a bunch of code from the system UI for hiding and
showing the nav bar. Also removes the code calling from userActivity()
to the system UI, which was bad. (Also no longer using userActivity()
fixes bugs around re-showing the nav bar due to key presses and
other wrong things.)

Change-Id: I8c3174873b5bcaa36a92322a51e8f7993e88e551
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
9a230e01a1237749a8a19a5de8d46531b0c8ca6a 06-Oct-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately

This cleans up how ui flags are managed between the client and window manager.
It still reports the global UI mode state to the callback, but we now only clear
certain flags when the system goes out of a state (currently this just means the
hide nav bar mode), and don't corrupt other flags in the application when the
global state changes.

Also introduces a sequence number between the app and window manager, to avoid
using bad old data coming from the app during these transitions.

Change-Id: I40bbd12d9b7b69fc0ff1c7dc0cb58a933d4dfb23
ndroid/internal/view/BaseIWindow.java
0c422a72edbbb0e259a123bd028eb264f5e3cd2c 05-Oct-2011 Brian Colonna <bcolonna@google.com> Added callback for Face Unlock service to poke the wakelock

Change-Id: I76a4e0f8ac0fe17e39195f4593fac7e36d7281f0
ndroid/internal/policy/IFaceLockCallback.aidl
af1ef9ed034e68db9d6c25f8b174fabf60b779d9 05-Oct-2011 Danielle Millett <dmillett@google.com> Merge "Adding a flag for if biometric weak has ever been used"
7a07219a1fc8cb94ea2694025e26f70d652ad2a1 03-Oct-2011 Danielle Millett <dmillett@google.com> Adding a flag for if biometric weak has ever been used

This flag will be used to show a tutorial screen first time it is used.
The flag is set to true once facelock has been set (via the savePassword or
savePattern when in fallback mode)

Change-Id: I43e3f876810fd32d3d5a5a285201e8054c4b3098
ndroid/internal/widget/LockPatternUtils.java
a1aebdf787443413ba870fc9203639405a5ff7bf 04-Oct-2011 Ben Komalo <benkomalo@google.com> Merge "New PIN unlock screen layout."
c8fb532d456b009e61d38e919277e00939cf894a 04-Oct-2011 Danielle Millett <dmillett@google.com> Fix 5405210: DevicePolicyManager doesn't allow Face Unlock

If Face Unlock is currently enabled when the device policy manager is installed
it now forces the user to choose a new acceptable lock type

Change-Id: I725e923240538df3f706251670bf497857d2a25f
ndroid/internal/widget/LockPatternUtils.java
cb3521e3bb3615069f1c397219b934d200c59757 04-Oct-2011 Jim Miller <jaggies@google.com> Fix 5185505: allow facelock to be enabled by a setting.

This allows face recognition to be enabled through Settings.Secure,
so we can test on selected devices.

Change-Id: I7f832cafd6a98f4289d618bc8924cd467706b778
ndroid/internal/widget/LockPatternUtils.java
51ea88a86e5cf418e956b199de35658f0a5fd623 03-Oct-2011 Ben Komalo <benkomalo@google.com> New PIN unlock screen layout.

Moves "OK" to the right and moves backspace up to beside the text field.

Bug: 5255976
Change-Id: I1b97ee108c9f10f11e5feb361810150bd6dbc776
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
fee5cb54af9c86c045f1cb5d129c2cc395fe56db 04-Oct-2011 Danielle Millett <dmillett@google.com> Merge "Reworked biometric weak check functions"
58396984ef49080d5550919130fc0d869ccf840b 30-Sep-2011 Danielle Millett <dmillett@google.com> Reworked biometric weak check functions

Renamed isBiometricEnabled to isBiometricWeakInstalled. This function
now checks if the system property is set, the facelock package is
installed, and if the phone has a front facing camera. It no longer
checks if facelock is currently set as the unlock method.
Added isBiometricWeakInstalled checks to all cases where facelock is used
in LockPatternKeyguardView

Change-Id: Ia86a7ad6118101c6aab90ffb2ee9c42bf2548149
ndroid/internal/widget/LockPatternUtils.java
f8419a0299680ed580975b0fcb758990b4367db8 03-Oct-2011 Adam Powell <adamp@google.com> Fix bugs around overlay action modes.

Multiple focusable windows cause undesired behavior around selection
modes. TextView isn't sure how to behave when it loses window focus
with regard to selection handles and action modes need to be focusable
for WebView find on page since it uses an EditText as a custom view.

For now:

* Use a layered window decor for overlay action mode when there is no
action bar requested. This eliminates an extra window and avoids the
issue described for full-screen UIs.

* Disable WebView's find-on-page mode when the action mode's UI will
not be focusable. This only affects WebViews in floating windows.

Also remove the "Text Selection" title for WebView's selection mode at
UX's request, as it is inconsistent with TextView's selection mode and
the string does not fit on phones in portrait even on wide
devices. This now uses the same mechanism used in TextView to decide
whether to use title text.

Change-Id: I80caeecea9b47728cf26bb0a388153ca0bdeafe1
ndroid/internal/view/StandaloneActionMode.java
3553c296c0e0951a150f1783b2d0ff0d4bfe06cd 30-Sep-2011 Steven Ross <stross@google.com> Moving fallback check code to Settings

Change-Id: Ife924771d7bfedc6eccc6817172a699569560025
ndroid/internal/widget/LockPatternUtils.java
d42825f40e5a08a030a2f8f7ca2998e43d5d6f81 30-Sep-2011 Steven Ross <stross@google.com> Merge "calling back SetupFaceLock to clean up temporary gallery"
e29288629da1771f44623ada19963ca7c71199a7 30-Sep-2011 Owen Lin <owenlin@google.com> Convert content type "image/jpg" to "image/jpeg".

"image/jpg" is not a valid mimetype while "image/jpeg" is.
So change it to "image/jpeg" to increase the compatibillity with other
Apps in android. (e.g., Gallery)

bug: 5342561
Change-Id: Ia37433e35482492b7226c87a670bef3399ac4bb6
oogle/android/mms/pdu/PduPersister.java
329979c9e6cecbcec470ec6f3ac41da82ca58d3f 28-Sep-2011 Steven Ross <stross@google.com> calling back SetupFaceLock to clean up temporary gallery

This is done when the backup lock is complete or canceled.
If successful, the permanent gallery is replaced with the new one.
If canceled, the temporary gallery is deleted

Also deletes the main gallery if the lock type is changed from facial recognition

Change-Id: Id1ce804dec6b71b6410af53c050ad265c4cad5b0
ndroid/internal/widget/LockPatternUtils.java
8917838b533c97dfd391371bfe3eaa811c3cd3b7 29-Sep-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5386180 - Wire up action bar home/up for dialogs"
915ce0d917fecd14e9b8b0caa4b01e72f3e0db11 29-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5386180 - Wire up action bar home/up for dialogs

Action bars in dialogs are largely an undocumented "feature" but they
do work - with the exception of this since it previously relied on the
host being an Activity. Make it work.

Change-Id: I52ae24c3bfdd9766e4c0f035183e7f148a4e0162
ndroid/internal/widget/ActionBarView.java
267cb2b284626f910cf64352bfc494d0f8d3dc42 26-Sep-2011 Brian Colonna <bcolonna@google.com> Fix 5323545 - FaceLock no longer appears when taking a call

Prior to this fix if the screen was off and a call was received, the
onScreenTurnedOn() callback would bring up the FaceLock service,
which would cover the phone interface. It now requires the call state
to be CALL_STATE_IDLE to start FaceLock. When the phone interface
closes, the user is left at the backup lock screen. Bringing FaceLock
up after a call ends does not seem like the correct thing to do.

While working near the FaceLock callback code, the sleepDevice()
callback was removed because it is no longer used (Fix 5327896).

Some cleanup was also done with regards to KeyguardViewManager.
FaceLock calls were being made from the KeyguardViewManager in
onScreenTurnedOn() and onScreenTurnedOff() via an interface to
LockPatternKeyguardView. This level of indirection was removed
because it can just be handled inside of the corresponding calls
in LockPatternKeyguardView. Likewise the FaceLock functionality
inside of hide() in KeyguardViewManager is now in
onDetachedFromWindow() in LockPatternKeyguardView. Overall this
is much cleaner, especially considering interfacing through
KeyguardViewBase was a bit of a hack.

Patch Set 2:

- Now using KeyguardUpdateMonitor to get phone state

- Removed unnecessary wrapper functions for hiding / viewing
FaceLock area
- These were really only there because at one point I was calling
them from KeyguardViewManager and the naming was confusing

- Removed if(DEBUG) from a couple of log messages that are actually
warnings that shouldn't show up and I want to know if they happen
even if I don't have DEBUG set to true

Change-Id: Id7befc47dd421156ff6cdb3aaf62fc76fe9cfad2
ndroid/internal/policy/IFaceLockCallback.aidl
a2f00da374cd0d9776bc6c4e1cf3c3def990270b 27-Sep-2011 Jim Miller <jaggies@google.com> am b4f0a9f3: Merge "Fix 5326463: rework sim state handling in lockscreen" into ics-factoryrom

* commit 'b4f0a9f3894c1f039168ad672f4aa194999c7cdd':
Fix 5326463: rework sim state handling in lockscreen
3f5f83b54fad4c797f5dbd75f050e4980e839122 27-Sep-2011 Jim Miller <jaggies@google.com> Fix 5326463: rework sim state handling in lockscreen

Previously it was possible to get an inconsistent state because there
were two paths that updated the lock screen sim state. This reworks
the data flow to ensure the same path is always used to update the state.

KeyguardUpdateMonitor now correctly updates the entire state of the callee
whenever a new callback is registered.

In addition, KeyguardUpdateMonitor now caches the phone state in order
to avoid a round-trip binder call in updateEmergencyCallButtonState().
This avoids a condition that could make lockscreen unresponsive while
updating the emergency call button state.

KeyguardStatusViewManager also ensures the TransportControlView is
hidden when created to ensure we don't inappropriately update the carrier
line while waiting for the first callbacks to update the status lines.

Change-Id: I6b3975b703a7d90bac8d0fe29fbc0f1d9c5e0e7d
ndroid/internal/widget/LockPatternUtils.java
630a1712168f402653039e368259cb9480454fa8 26-Sep-2011 Jeff Sharkey <jsharkey@android.com> Overlay to configure data usage network types.

Specify which network types should be counted when computing data
usage totals.

Bug: 5361005
Change-Id: I830caed1a29199892d209a692b50f8b3e144cafe
ndroid/internal/util/ArrayUtils.java
296296caf65ef79218df473ad79d6f2185d3f0e4 25-Sep-2011 Brandon Keely <lbk@google.com> Merge "Avoid double-ping when tapping outside the handle."
72ec81441a9f2595774e3ea04616f8ff5bd6d7dd 24-Sep-2011 Brandon Keely <lbk@google.com> Avoid double-ping when tapping outside the handle.

Change-Id: Iccab649e075fc86a860c1ce6e8df173e9968bef2
ndroid/internal/widget/multiwaveview/MultiWaveView.java
275702c2f47ed87ab642462530092d9777f32ecd 24-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5355889 - Search action showing up in the menu dropdown in
spite of search actionview being expanded

Make sure that menu items with an expanded action view don't show up
in list menus presenting the rest of the menu.

Change-Id: I8c7b4e184a9d3ea2457543d0b8b36bc8e7068052
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ListMenuPresenter.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuPopupHelper.java
a05aba9c506cd12a753c53e060c289095c3477e9 23-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5341139 - bottom bar stays if app wants to handle orientation
change

Let action bars move between split/unsplit mode on configuration
changes if set to split when narrow.

Change-Id: I13f5115a65247cb1878ee823493ca8e2b6ba4cf6
ndroid/internal/widget/AbsActionBarView.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
c56c92013c0acfa4517ed5d36d8aa78bc21452ae 23-Sep-2011 Brandon Keely <lbk@google.com> Merge "Make LockScreen ping() on a miss."
b48ca1f1ab8cf77db337d6f2bc8586cc172ab6f8 23-Sep-2011 Peter Ng <petergng@google.com> am dd33bf0e: Merge "Fix 5355659: Minor tweak to wave ping radius in MultiWaveView." into ics-factoryrom

* commit 'dd33bf0ebbde9aa702d039b6b9d5f06ac0a69dfb':
Fix 5355659: Minor tweak to wave ping radius in MultiWaveView.
a0c7a5765dbbd255f9a122ba8829ca44032acde0 23-Sep-2011 Adam Cohen <adamcohen@google.com> am 08ee7fa4: Merge "Fixing emergency dialer flicker on lock screen (issue 5314293)" into ics-factoryrom

* commit '08ee7fa463aee5e83f77789e9a99f17a34ab68b4':
Fixing emergency dialer flicker on lock screen (issue 5314293)
83227a2d067abd4b276289f62dc126dc3174ee10 23-Sep-2011 Justin Ho <justinho@google.com> am 31b638d4: Merge "Fix 5355659: Change chevron visuals, timing, and animated positioning" into ics-factoryrom

* commit '31b638d40342fc9e3198f9e7f8dffaf55049c9e1':
Fix 5355659: Change chevron visuals, timing, and animated positioning
fb708a1a6cdca91375b5d8a21b0c7001763d6119 23-Sep-2011 Jim Miller <jaggies@google.com> Fix 5355659: Minor tweak to wave ping radius in MultiWaveView.

Change-Id: Ib85c9d375e26897ce87b41addfaba503d9430f18
ndroid/internal/widget/multiwaveview/MultiWaveView.java
08ee7fa463aee5e83f77789e9a99f17a34ab68b4 23-Sep-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing emergency dialer flicker on lock screen (issue 5314293)" into ics-factoryrom
ce6eb1f5f2b4dae3f4b487f6da579149f42a8b4b 21-Sep-2011 Jim Miller <jaggies@google.com> Fix 5355659: Change chevron visuals, timing, and animated positioning

Change-Id: I55e34496cc1eb4ace60b6d1ccbdb894035bca6e2
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ebcd6bb1b9ac5f898621ba25c37f2e3ccd2ff33b 22-Sep-2011 Adam Cohen <adamcohen@google.com> Fixing emergency dialer flicker on lock screen (issue 5314293)

Change-Id: Ia9bf4acb84923e200b89ee55fc53bc92877001cf
ndroid/internal/widget/LockPatternUtils.java
8dcd571b89580ada6b557fc5e72010fa9696cf4e 22-Sep-2011 Brandon Keely <lbk@google.com> Make LockScreen ping() on a miss.

Change-Id: Ib0cd12f40a6027e8c950dd4bdd3d5a5210b049ac
ndroid/internal/widget/multiwaveview/MultiWaveView.java
823f074a73cfc23c40a7b576c71daa096ee9ed6a 22-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5300621 - Share menu disappears in gallery

ActionProviders (or action views) unfortunately had no way to report
that they had opened a sub-UI that would affect menu visibility
listeners used to hide action bars when not in use. This caused the
Gallery UI to hide its action bar when the share popup was open.

Add hidden API (to be made public later) to ActionProvider that can be
used to inform the menu system that a sub UI has opened or
closed. Account for this in menu visibility callbacks. Fix
ShareActionProvider to use this when its popup windows open and close.

Fix a regression where submenus were not properly reporting visibility
changes.

Change-Id: Ia6f45fb463ad106105c40d01f141c2e5c8b96f78
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/IconMenuPresenter.java
eb060254a0b7aa42ab05ed6539156c3084ec1908 21-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> am 9c43016b: Merge "Bug 5045498 Keep track of RemoteControlClient play state change time" into ics-factoryrom

* commit '9c43016b52afa855156aac2dc81a2bbe1e4ab436':
Bug 5045498 Keep track of RemoteControlClient play state change time
68622396b62f9084781add1e12f4d513b633ab54 19-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> Bug 5045498 Keep track of RemoteControlClient play state change time

Store the time at which a RemoteControlClient changes it playback
state, and send that time to the IRemoteControlDisplay.
This change will enable displays to implement strategies such as
timeouts (e.g. to not display transport controls for clients which have
been paused or stopped for a certain amount of time).

Change-Id: I902882500565743d455d56f6000efaf612cbe0a9
ndroid/internal/widget/TransportControlView.java
dede70744ab53c81cd650a60c687150146d0ba6b 20-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> am 6c038506: Merge "Fix bug 5300223 Lockscreen should recycle bitmaps" into ics-factoryrom

* commit '6c03850616a6e87de3e1943e47605cc5ebb20e2b':
Fix bug 5300223 Lockscreen should recycle bitmaps
01d96bd2afdcff866e0e1010eb7c88e101d0f6fa 19-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 5300223 Lockscreen should recycle bitmaps

When receiving a new bitmap to display, the lockscreen should
recycle the old bitmap (if any).

Change-Id: Ic4f65a797dfe7e3cae7a0559f6333cc99e2ae1e7
ndroid/internal/widget/TransportControlView.java
b3e6eab16153c28a30525a7c26fb7a153a5548f4 19-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> am 2f153169: Merge "Bug 5300223 RemoteControlClient uses PendingIntent for media button events" into ics-factoryrom

* commit '2f153169594249738d63aa6e2897d257f6b7d71e':
Bug 5300223 RemoteControlClient uses PendingIntent for media button events
f0cff0456258478ba768097f73d4367ab67fd7a3 15-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> Bug 5300223 RemoteControlClient uses PendingIntent for media button events

Update the implementation of the RemoteControlClient / Display
feature rely on PendingIntent as provided in the construction
of the RemoteControlClient instance.
The ComponentName that describes the target of the media button
events is set as the target of the Intent from which
a PendingIntent is constructed.
This ComponentName is still saved in the stack for persisting
the last media button event receiver.

This CL also updates the lockscreen IRemoteControlDisplay
implementation to use the PendingIntent supplied by the
application when sending transport control events. A (good)
side effect of doing this is that intent will be directly
targeted at the application.

Restoration of the media button event receiver
after reboot is not fully functional yet.

Change-Id: I2be82f2839e9dee1de02512437b3fb41cc386cde
ndroid/internal/widget/TransportControlView.java
fd4d90b8204d9a4e2ab8ce4974019b8d81287ad8 16-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> am 4e3bee76: Merge "MiltiWaveView accessibility improvement." into ics-factoryrom

* commit '4e3bee760a7f00e6ef3c89b937558df1ee6fcda0':
MiltiWaveView accessibility improvement.
2a671ac905e97d108e53e11856b01356f9248cc8 16-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> MiltiWaveView accessibility improvement.

Now hover events behave s motion events in touch exploration mode.
The use no longer needs to find the handle and tap + hold to engage.
It is enough to move on top of it.

Now the handle is engaged, i.e. can be dragged, when the user passes
on top of it for both accessibility enabled and disabled.

bug:5253968

Change-Id: If70b44cb6db8a38432216b46ecddefb3e2bc3825
ndroid/internal/widget/multiwaveview/MultiWaveView.java
247d8b08b2618c33a4ec1be974829c033c9b909f 15-Sep-2011 Danielle Millett <dmillett@google.com> Merge "isPasswordEnabled and isPatternEnabled return true if used as backup method"
98a4f7e7e12effb78b3d1035e5a670ccbbf5bca1 03-Sep-2011 JP Abgrall <jpa@google.com> NetworkManagement SocketTagger: Migrate QTagUid support to JNI.

* Instead of javaland trying to write commands to
/proc/net/xt_qtaguid/ctrl
use the libcutils/qtaguid.c support via JNI.
* Get rid of tagToKernel() handled by qtaguid library.

Requires libcutils changes from c/132538/

Change-Id: I9de5b3fa4a596c56835024c6d376769a0eea7db1
ndroid/server/NetworkManagementSocketTagger.java
93578af23ecfb8f5b6001346d63c6214cdec5d17 15-Sep-2011 Jeff Brown <jeffbrown@google.com> Merge "Velocity Tracker II: The Revenge of Velocity Tracker Bug: 5265529"
b59ab9f41faafb358afb4f951de96f34a656e0b4 14-Sep-2011 Jeff Brown <jeffbrown@google.com> Velocity Tracker II: The Revenge of Velocity Tracker
Bug: 5265529

Rewrote the velocity tracker to fit a polynomial curve
to pointer movements using least squares linear regression.
The velocity is simply the first derivative of this polynomial.

Clients can also obtain an Estimator that describes the
complete terms of the estimating polynomial including
the coefficient of determination which provides a measure
of the quality of the fit (confidence).

Enhanced PointerLocation to display the movement curve predicted
by the estimator in addition to the velocity vector.

By default, the algorithm computes a 2nd degree (quadratic)
polynomial based on a 100ms recent history horizon.

Change-Id: Id377bef44117fce68fee2c41f90134ce3224d3a1
ndroid/internal/widget/PointerLocationView.java
86ed436b83d6b71ff00d1c3db910f2952018489e 15-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5237737 - ActionBar should fire an accessibility event when
action mode is turned on/off

Fire AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED when action modes
come and go to give an indication of UI change on the level of a menu
or dialog opening/closing.

Change-Id: Id36c6153b0722b4b6927c8d36503e8ac57c2d2b2
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
ndroid/internal/widget/ActionBarContextView.java
bc835039994f8fe70e37041a29d21335a2e22479 14-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5307916 - legacy menu theming

Let list_menu_item_layout and legacy dialog themes tie into new list
item theming internals.

Change-Id: Ic9253a2217148df72bf22b725b32512673c3bb80
ndroid/internal/view/menu/ListMenuPresenter.java
73da5fe0feda040b200aa60fff15024ec38d7edc 13-Sep-2011 Danielle Millett <dmillett@google.com> isPasswordEnabled and isPatternEnabled return true if used as backup method

When facelock is enabled, isPasswordEnabled or isPatternEnabled will return true depending
on which one is set as the backup method. This is a cleaner way to handle things, rather than
specific cases for facelock in all the methods that call these functions.

Change-Id: Iacb802b89626dfc13f2306de1a2e622ca9b69427
ndroid/internal/widget/LockPatternUtils.java
b8440110465cf2c0071e3b838cdb02d5a21fd2a9 13-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5296851 - Silly monkeys.

Change-Id: Idae81d426051c2e1b00a1d1b62b505effd0a2a68
ndroid/internal/widget/ActionBarView.java
13c7197da8a16f77f6398708a6314c80cb01e0d1 08-Sep-2011 Ben Komalo <benkomalo@google.com> Revert encryption mapping for device wipes.

External storage volumes that were emulated+encrypted needed to have
their encryption mapping removed so that it doesn't try to encrypt the
volume after formatting them.

This just wires through an argument through vold, and assumes that vold
will do the right thing even if there is no encryption mapping set.

Bug: 5017638
Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad
ndroid/internal/os/storage/ExternalStorageFormatter.java
4f4ed38a8852bcf45fbec460ab61256fe98b2b40 09-Sep-2011 Jim Miller <jaggies@google.com> Merge "Fix 5185505: Add support for weak biometric sensors to lockscreen."
6edf2637e96139735df83907c221cce16d4d7eaa 06-Sep-2011 Jim Miller <jaggies@google.com> Fix 5185505: Add support for weak biometric sensors to lockscreen.

Added binder interfaces to the framework.

Change-Id: I7d55b45baa4d1600ebd2a3828e85c3357cfcfb58
ndroid/internal/policy/IFaceLockCallback.aidl
ndroid/internal/policy/IFaceLockInterface.aidl
ndroid/internal/widget/LockPatternUtils.java
425689eea2f4f208f29b944b4973981bdbeda9f5 09-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5279075 - Handle action bar config changes when action mode is active

Change-Id: I83d40d2d555b01a9e678231c4f3c5278fab959d7
ndroid/internal/widget/AbsActionBarView.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
65d570447641d1575aa59d511591402e431fdd2e 08-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5249855 - put content descriptions for action bar tabs on images

Change-Id: Iddf13e310237cffe517697b3c3ca429a1555dcbc
ndroid/internal/widget/ScrollingTabContainerView.java
156900c48b7758e57c995eaaea1479c10756ce38 08-Sep-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5174277 - Trouble with Menus"
905577f6345c014fc2489a8068ea967ba8c18012 08-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5263361: Browser instance not created in application picker

The resolver activity was hiding the following activity from recents.

Also some other fixes: a little better memory use debugging, removed
some unneeded code from window manager, moved some system activities
into their own process, added some more running process information for
manage apps.

Change-Id: I66687d16989ff965d524b92dc360f37c19199717
ndroid/internal/app/ResolverActivity.java
1d07e16c9d9ecaaaf8994ad5691c4063ab31f265 08-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5174277 - Trouble with Menus

Make sure that options menu panel presenters associated with a PhoneWindow
get re-wired properly when a new menu is generated.

Change-Id: Ic06130019aec8b8edc372054c348f147d164fc5f
ndroid/internal/view/menu/ListMenuPresenter.java
35b38c044fea0d07fd062dd027ae9d4675e8dd54 08-Sep-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5258435 - ActionBar.setBackgroundDrawable"
f88b915567a37c481c4c50a6cc57e1ec0e7cf50d 07-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5258435 - ActionBar.setBackgroundDrawable

Fix this call to work properly and add methods for setting
split/stacked bar backgrounds to match existing styleable elements.

Change-Id: I8c6b1c598af1110f84a9098683d8e0226daf2e27
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContainer.java
da7caf0a3c5076203ac21092c9ea4b7215277517 07-Sep-2011 Christopher Tate <ctate@google.com> Merge "Fix backup-agent timeouts"
94e56ef3b8de6ed485546b462559ac862c10eabf 07-Sep-2011 Adam Powell <adamp@google.com> Bug 5249855 - Add support for content descriptions on action bar tabs

Add API support for supplying content descriptions on action bar tabs.
This helps accessibility in cases where no title text is shown.

Change-Id: I8fdc4c2f2b279871b9f24b0b16e5167879b22741
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ScrollingTabContainerView.java
2f8dbf5722a5d18fe6c2050b2351f6dd18ea6ffc 06-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Increasing the tap radius for the handle in MultiWaveView to improve accessibility"
66b191dad09a7552d1579a4a1d57a84e27a9ddb1 03-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Increasing the tap radius for the handle in MultiWaveView to improve accessibility

bug:5253968

Change-Id: Ibe5a3a2453db1bbeaf8e818430685b48460ab06c
ndroid/internal/widget/multiwaveview/MultiWaveView.java
8e294d45570b62a39ae972b146f0023c6beb00cb 01-Sep-2011 Christopher Tate <ctate@google.com> Fix backup-agent timeouts

Away in the misty span of very-long-ago, it was suggested that spinning
a separate thread to run the backup process was wasteful, and that it
could just run it inline on the dedicated HandlerThread that the
backup manager uses for its own operations. That was indeed true,
except that the timeout management was also using delayed messages
to that handler. You see where this is going: timeouts were never
actually being processed, with the effect that a badly-behaving
app's backup agent could lock up the entire backup / restore system
until the device was rebooted.

This is bad.

Backup operations are now driven as an asynchronous state machine:
each step (init, call one agent to obtain data, send resulting
data to the transport, finalize the backup) is handled as a formal
state transition on-looper. No synchronous wait-for-completion
or -timeout is performed on any thread.

As an additional effect this greatly tightens up the serialization
and locking semantics. We no longer have to worry about an in-
flight operation involving a standalone thread spinning off on
its own; everything is on the HandlerThread and can be coherently
manipulated from that perspective.

Along the way, this CL tightens up the per-agent error handling
logic. Previously a single failed agent would abort the entire
backup process, tantamount to a transport-level failure. This could
mean that the aforesaid badly-behaving app's agent could in effect
starve out other apps whose agents were routinely showing up later
in the queue. There's some nondeterminism involved, but in practice
it could and did happen. Furthermore, the failure case would
reschedule *immediately* in this case, because the transport itself
would see that all is well and sure, why not run a backup soon?
This, as you might imagine, causes battery-life issues.

Now we note that the single agent has failed, mark it for a future
repeat attempt, and process the rest of the queue normally, pretending
success at the transport level even though we didn't actually send
any data for that app. This means that (a) we now finish running
backups for everything in the queue, (b) reschedule backups only for
those apps whose agents individually failed during this run, and
(c) perform the retry after the normal interval [typically on the
order of an hour] rather than immediately.

NOTE: this CL does not retool the restore code path, just backup.
Restore is similarly vulnerable to misbehaving apps, though, so a
future CL will address that bug vector.

Addresses bug 5074923

Change-Id: I67e3f8d06f322607881eaa4093de6d675b85ff2c
ndroid/internal/backup/BackupConstants.java
054340d0a3f242efeaf898cca38625bdcb3b4b5a 02-Sep-2011 Jeff Sharkey <jsharkey@android.com> Show statusbar clock based on lockscreen status.

Keep track of lockscreen clock visibility, and only hide statusbar
clock when one is provided by lockscreen. This fixes bug where widget
would hide all clocks.

Bug: 5242065
Change-Id: I48de98ecb956c7f22bd40b54d771c78c1a80c14c
ndroid/internal/widget/LockScreenWidgetInterface.java
ndroid/internal/widget/TransportControlView.java
ee5e77cafec2eae70890abdcc1646ed39b06eddd 02-Sep-2011 satok <satok@google.com> Make setAdditionalInputMethodSubtypes async

Bug: 5120261
Change-Id: Ic7869cfaa5361531e08d58d7dfa5ba0feab0613e
ndroid/internal/view/IInputMethodManager.aidl
94444fc56121d704bbb5a6f02954af62e3e57a94 01-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Cleaning up the accessibility of MultiWaveView"
07a047fdd632e10d29a513bf7f175e1edbbb65ab 31-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5220390 - action bar title metrics

Adjust action bar title layout metrics to match UX specs.

Refresh new metrics properly after a config change.

Change-Id: If19fad837ca2919193d4a3a8eb01c1caff68ca67
ndroid/internal/widget/ActionBarView.java
57df88bc94f9aa06450e158b5a59ec29e3fe8874 31-Aug-2011 Svetoslav Ganov <svetoslavganov@google.com> Cleaning up the accessibility of MultiWaveView

Change-Id: I13bd71670b38a917d62118ddef5ed6982c9eba99
ndroid/internal/widget/multiwaveview/MultiWaveView.java
f058340b2f1c3d8114c48581680b4294122fe371 27-Aug-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the slide lock screen

bug:5210233

Change-Id: I93e876524ae6aaf75aadbe6a21c5c17d41a705f0
ndroid/internal/widget/multiwaveview/MultiWaveView.java
1c18828d20807342d37000746b18a3c1696f3b2e 09-Aug-2011 Jim Miller <jaggies@google.com> Fix 5044158: Integrate music transport control into LockScreen

This integrates a new version of TransportControlView into LockScreen
and adds plumbing to handle new AudioService events to show/hide the view
and updates the required assets for all devices.

Updated to use new AudioManager API. Since the current API only supports
one RCD, the handler now lives in TransportControlView.

Change-Id: I220d4dd760bef35bd84209adc3c5829bf5bc9a2c
ndroid/internal/widget/TransportControlView.java
9a5cc2810bbbcb0eab4579aa4131039820d92101 29-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5124021 - Menu visibility incorrect when restoring ListView
selection mode

Fix visibility of menus when action modes are initiailized early.

Fix ListView problems persisting check states.

Change-Id: Idc21036dc39259e72f0e6831a0ccb4695f8858ef
ndroid/internal/widget/AbsActionBarView.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
7bc3ca0dc52be52ecad1c0de8c62a6a4bf8141ca 27-Aug-2011 Adam Powell <adamp@google.com> Accessibility fixes for action bars

Fix bug 5220543 - fix accessibility events for action buttons

Fix bug 5224260 - fix accessibility events for home/up

Change-Id: I7d55b4819862e1eda0809da92c52ec2d97f36af0
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/widget/ActionBarView.java
4bc554b37165dbee8d805a6f73ac5e946f2769ae 26-Aug-2011 satok <satok@google.com> Merge "Fix setCurrentSpellCheckerSubtype"
3cb5b39a0e63d98c4e7b47e9a5b5758e9d4024bd 26-Aug-2011 satok <satok@google.com> Fix setCurrentSpellCheckerSubtype

Change-Id: Ib42a3b4377b8700ceaf4b7e13150848464d073c1
ndroid/internal/textservice/ITextServicesManager.aidl
aa8e509ba2d22b9ba105faad3349db8d5218ee32 25-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5091886 - action bar measurement

Change the measurement order of elements in the action bar. Custom
views are now deemed more important and may truncate title/subtitle.

Change-Id: I150862f8e48b36bcbd892f49d78c2962c5001ab1
ndroid/internal/widget/ActionBarView.java
a33c4fc5bed76727f1e06e522e0136101a2304cd 25-Aug-2011 satok <satok@google.com> Add functions to enable / disable spell checker

Bug: 5057977

Change-Id: I2b27bd5f55feb305368034d7e95f83257ac4b3e6
ndroid/internal/textservice/ITextServicesManager.aidl
be3c329ebec083e5ff933bab6b6c501519ad2bff 24-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5191728 - Specialized formatting in the split action bar

Visually center a single text menu item in the split action bar even
when an overflow button is present.

Fix a bug in allocating space in the split action bar.

Change-Id: I54eff86bf35197030c9c1656ebd71297e3c8b62b
ndroid/internal/view/menu/ActionMenuView.java
ada8c4e6a3da96a795f39a1028d448eb7aebfab3 23-Aug-2011 satok <satok@google.com> Add functions to set / get SpellCheckerSubtype

Change-Id: I977326879fe201c4dee4a87da361217175eb6041
ndroid/internal/textservice/ITextServicesManager.aidl
29aae6f36e565b8f2a99f2193597b964bb800ee8 19-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4279860: previous UI flashes before showing lock screen...

...(when turning display on after recently turning it off)

Also clean up when we decide to turn the screen on to improve that
transition. There are still problems here with turning it on
before the wallpaper gets dispayed.

Change-Id: I2bc56c12e5ad75a1ce5a0546f43a845bf0823e66
ndroid/internal/widget/multiwaveview/TargetDrawable.java
67403e096e6f59b7cd18a90d0d3f5c3d17c31407 23-Aug-2011 Mathias Agopian <mathias@google.com> BLUR_BEHIND flag is not supported anymore

Bug: 5185650
Change-Id: I56541d4967b90b150a734be1bbeff696eb6a4fb3
ndroid/internal/app/ShutdownThread.java
e20c279d9a6719a7c0d8c6606c7ba1bd207db8d3 23-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5198868 - Showing previous hidden options menu doesn't work"
04dc06f52a68299c0ad70fa0a9f204d99983ba2b 23-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5198868 - Showing previous hidden options menu doesn't work

Fix bad assumption in flagging action items.

Change-Id: Ic67b56195bc308e73d1564cbf1b77e41eaa4ecab
ndroid/internal/view/menu/MenuBuilder.java
76a05fefbd401b386cd8ae264037bc3c8219bb0a 23-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5143392 - Add padding to left of action bar app icon to prevent icon from moving when drilling into hierarchy"
b1e2f25b7e6d20caa233113b892ec46685f08bb6 23-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5143392 - Add padding to left of action bar app icon to
prevent icon from moving when drilling into hierarchy

Fix up the layout of home/up/titles in the action bar such that showing/hiding
the "up" indicator never changes the position of the icon, logo, or title.

Change-Id: Ic2117babe3a54619a4b787d5374295955a58fb34
ndroid/internal/widget/ActionBarView.java
70e9f4bd2c044858f3c1c040ffce973351a2383a 23-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5189070 - Don't try to show overflow popups for nonexistant menus

Change-Id: I9db43211cdece81063fc1d3c3324f1e166f27b0c
ndroid/internal/view/menu/ActionMenuPresenter.java
4f36995777a4136e8e63ea51cef2ff61df48790d 20-Aug-2011 Jim Miller <jaggies@google.com> Fix 5026428: Rework unlock attempt logic with active DPM to show better messages

Prior to this change, we didn't have a mechanism to warn the user when
they were approaching the wipe data threshold dictated by active DPMs.

Here's the new flow:

- If a device policy manager is installed and sets the max
password attempts, we start warning the user when they are within
a grace period of hitting the max (currently hard-wired to 5).

- We continue to show a dialog after each continued attempt
until the user reaches 0 remaining attempts.

- We now show a message when they hit 0 so they know why their device is
being reset. The device will reboot and wipe data shortly after this final
dialog is shown.

Also increased the criteria for a pattern attempt from 3 dots to 4 dots
since the user can never set a pattern less than 4 in length. This will
greatly reduce the likelihood of a false wipe on the pattern unlock screens
without compromising security.

Change-Id: I28825ef21dfa2e2b6540e743252c6d50c41e5ad7
ndroid/internal/widget/LockPatternUtils.java
65fd251c3913fc921468a3dad190810db19eb9df 18-Aug-2011 Jeff Brown <jeffbrown@google.com> Input system bug fixes, particularly for stylus.
Bug: 5049148

Finished stylus support, including support for indirect stylus
and mouse tools.

Added TILT axis. When stylus tilt X/Y is available, it is transformed
into an orientation and tilt inclination which is a more convenient
representation and a simpler extension to the exiting API.

Touch devices now only report touch data using a single input
source. Previously touch devices in pointer mode would report
both absolute touch pad data and cooked pointer gestures.
Now we just pick one. The touch device switches modes as needed
when the focused application enables/disables pointer gestures.
This change greatly simplifies the code and reduces the load
on the input dispatcher.

Fixed an incorrect assumption that the value of ABS_(MT_)DISTANCE
would be zero whenever the stylus was in direct contact. It appears
that the correct way to determine whether the stylus is in direct
contact (rather than hovering) is by checking for a non-zero
reported pressure.

Added code to read the initial state of tool buttons and axis values
when the input devices are initialized or reset. This fixes
problems where the input mapper state might have the wrong initial
state.

Moved responsibility for cancelling pending inputs (keys down,
touches, etc.) to the InputDispatcher by sending it a device reset
notification. This frees the InputReader from having to synthesize
events during reset, which was cumbersome and somewhat brittle
to begin with.

Consolidated more of the common accumulator logic from
SingleTouchInputMapper and MultiTouchInputMapper into
TouchInputMapper.

Improved the PointerLocation output.

Change-Id: I595d3647f7fd7cb1e3eff8b3c76b85043b5fe2f0
ndroid/internal/widget/PointerLocationView.java
bfcdfaf919cdb67897a6e24afc8f14b2c810596a 19-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items

Fix a bug where action menus were not updating after configuration
changes.

Change-Id: Iaeed7d924a7b8b40849fd8e1826ed1c8f4079c94
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
82f24e82e125d9dfbed072d0d9329b90e6d9cb12 19-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5186341 - Double Action bar when displayOptions is 0

What does it mean??

Change-Id: I7978b8fb6877da6178f8db89ec085f1402acf743
ndroid/internal/widget/ActionBarView.java
2f5485587bfe99a56ab8d7b65ead3deb404d178e 19-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5186160 - ActionBar.hide() doesn't hide the split ActionBar if called before onResume()"
993a63abb9ffa95de16f2788fccb440805d1ecb7 19-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5186160 - ActionBar.hide() doesn't hide the split ActionBar if
called before onResume()

Change-Id: I2c21f2bfb3314426d9dfd3b874f593f375c7838a
ndroid/internal/app/ActionBarImpl.java
23f4cc0353615107cc9c19fda9cf96ddd43266e2 18-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5099037 - No delete option when multiple videos are selected

Fix some bugs related to how action item slots are allocated in menus.

Fix some padding/margins in ActivityChooserView.

Change-Id: I12096b0165daca902c5bc8e24c1e8d54a35e9557
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuItemImpl.java
7a2424d0412584798f6de60217f7c873bc1cef5b 18-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5183775 - Action bar custom layouts with default gravity misbehave

Change-Id: I314822ed9617d2c1de55e1f3238f1ca8899393f3
ndroid/internal/widget/ActionBarView.java
0197d825f15844e51b91a0006d411ecb06350641 18-Aug-2011 JP Abgrall <jpa@google.com> Merge "core/java NetworkManagement: Don't untag sockets willy-nilly"
e8c88e6f764a77d94b0051ea169a82a61fcc0d0e 18-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5163456: logspam/tight loop in BatteryStatsImpl

No longer use the old history code.

Change-Id: I878ffe16e0014453c46db6a4f7228a81468d8cb9
ndroid/internal/os/BatteryStatsImpl.java
aad47fd78a86dd1279fa555716e252685837ac50 18-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5179524 - ActionBar custom view inflation doesn't catch layout_gravity

Change-Id: Ice5fd9da268cff64fc14acca384b249c252db5c9
ndroid/internal/widget/ActionBarView.java
f35d049b9953fbd1cd24887bac57b5e148c97846 17-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5168889 - action bar not respecting return codes of onCreate/Prepare menu

Change-Id: If28630cb21e74bde7a2474ce060078ea30170b9d
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/BaseMenuPresenter.java
ndroid/internal/widget/ActionBarView.java
36bd9844f88cd0eb90e94b45bf5b4aa27d4d5628 17-Aug-2011 JP Abgrall <jpa@google.com> core/java NetworkManagement: Don't untag sockets willy-nilly

Tagging is conditional on having some useful info to tag.
But untagging had not such restriction leading to unnecessary kernel
calls that just fail with EINVAL.

b/5165619

Change-Id: Idd4b1dc45db04429f85e3ba37656640a8d33046a
ndroid/server/NetworkManagementSocketTagger.java
3bb421d5b85a8a99c408d16e4f80163a53bc0505 17-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5165771 - Gmail: crash on launch from notifier

Change-Id: Iec9c189bd3fa5e62bc8eb520ca2a1dd4db106036
ndroid/internal/view/menu/ActionMenuView.java
64414d14a2e0c953774c154cfb4764c632f58e9e 16-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5167078 - Show a 'cheat sheet' popup for icon-only action buttons"
7b5e9e6c1c7098b6d7b2c6f9ab0c316f0f66109e 16-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5167078 - Show a 'cheat sheet' popup for icon-only action buttons

Action buttons: now less confusing!

Change-Id: I5c96effa64a2cdde22b71523b99ab489869fc245
ndroid/internal/view/menu/ActionMenuItemView.java
b51645ee2c7608f0b1a50d09f203cf5323b0b02d 16-Aug-2011 Jeff Sharkey <jsharkey@android.com> Merge "Foreground/background network stats using sets."
9e58df5d40e345a3b5ade8bebae6bc61421ca06a 16-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5049406 - ActionBar UP with no home icon, tap highlight looks broken

Measure the action bar title layout to consume the full height of the bar.

Change-Id: Iaf0521c5c80b5bd7ceb7f756e50248f6a27fc1fc
ndroid/internal/widget/ActionBarView.java
b5d55e302d2253e4bfb233ea705caf258cdc4cb9 11-Aug-2011 Jeff Sharkey <jsharkey@android.com> Foreground/background network stats using sets.

Teach NetworkStats about "counter sets" coming from kernel, and use
them to track usage in foreground/background. Add AID_NET_BW_ACCT to
system_server so it can control counter sets.

Move to composite key of NetworkIdentitySet, UID, set, and tag when
recording historical usage. Persisting still clusters by identity,
since that is heaviest object.

Request async stats poll during systemReady() to bootstrap later
delta calculations. Reset kernel counters when UID removed. Update
various tests.

Bug: 5105592, 5146067
Change-Id: Idabec9e3ffcaf212879821515602ecde0a03de8c
ndroid/internal/os/ZygoteInit.java
ndroid/server/NetworkManagementSocketTagger.java
14b7e2c1688914ba8b6854738981337d7c0653be 12-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5078498 - Icons jump around on split action bar

Revise measurement and layout code for the lower menu on a split
action bar.

Fix some metrics in the action mode close button and in button bars.

Change-Id: I76215e28ae3b0199162dedd32794b25c9e38a346
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ActionMenuView.java
7c0d8472d003334fafd14f7c1e7d95dbd213088b 13-Aug-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix some crashes that are happening in the system process."
f2b096194483c614b0f427b13412b614ccc40070 12-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5095223 - ICS action bar incorrectly resizing app icons

Remove experimental auto-mipmapping of icons.

Change-Id: I326ca396331a050985200b2ecf0d892474262916
ndroid/internal/widget/ActionBarView.java
8e8d65ff5fdef12c6af3d003dfef19aadc39bea9 12-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix some crashes that are happening in the system process.

- When shutting down, if the screen goes to sleep there is code
that tries to do a notifyAll without holding the lock:

java.lang.IllegalMonitorStateException: object not locked by thread before notifyAll()
at java.lang.Object.notifyAll(Native Method)
at com.android.server.am.ActivityStack.checkReadyForSleepLocked(ActivityStack.java:776)
at com.android.server.am.ActivityStack$1.handleMessage(ActivityStack.java:282)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at com.android.server.ServerThread.run(SystemServer.java:603)

- If an invalid Uri object is sent to the system process it can crash because
the Uri class throws an assertion while unmarshalling. Change this to an
IllegalArgumentException so it gets sent back to the caller:

java.lang.AssertionError
at android.net.Uri$PathPart.readFrom(Uri.java:2224)
at android.net.Uri$HierarchicalUri.readFrom(Uri.java:1106)
at android.net.Uri$1.createFromParcel(Uri.java:1689)
at android.net.Uri$1.createFromParcel(Uri.java:1681)
at android.content.IContentService$Stub.onTransact(IContentService.java:53)
at android.content.ContentService.onTransact(ContentService.java:120)
at android.os.Binder.execTransact(Binder.java:338)
at dalvik.system.NativeStart.run(Native Method)

- StrictMode can try to access the first index in the stack crawl of a stack crawl
array of length 0. Not sure why this happens, but make the code more robust:

java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at android.app.ApplicationErrorReport$CrashInfo.<init>(ApplicationErrorReport.java:341)
at android.os.StrictMode$ViolationInfo.<init>(StrictMode.java:1978)
at android.os.StrictMode$AndroidBlockGuardPolicy.startHandlingViolationException(StrictMode.java:1097)
at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1068)
at libcore.io.BlockGuardOs.read(BlockGuardOs.java:137)
at libcore.io.IoBridge.read(IoBridge.java:426)
at java.io.FileInputStream.read(FileInputStream.java:179)
at java.io.InputStream.read(InputStream.java:148)
at com.android.internal.os.ProcessStats.readFile(ProcessStats.java:804)
at com.android.internal.os.ProcessStats.getCpuSpeedTimes(ProcessStats.java:564)
at com.android.internal.os.ProcessStats.getLastCpuSpeedTimes(ProcessStats.java:545)
at com.android.server.am.ActivityManagerService.updateCpuStatsNow(ActivityManagerService.java:1470)
at com.android.server.am.ActivityManagerService.batteryNeedsCpuUpdate(ActivityManagerService.java:1522)
at com.android.internal.os.BatteryStatsImpl$MyHandler.handleMessage(BatteryStatsImpl.java:110)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1302)

(Also fix this code to not cause strict mode to trigger at all, because there is
no need, because this is just reading stuff from /proc.)

- The system seems to crash during boot if it thinks it needs to rotate
the screen, when it is trying to take the freeze snapshot way too early.
There is no need to freeze the screen during boot or if the screen is off:

java.lang.NullPointerException
at android.view.Surface.init(Native Method)
at android.view.Surface.<init>(Surface.java:256)
at com.android.server.wm.ScreenRotationAnimation.<init>(ScreenRotationAnimation.java:91)
at com.android.server.wm.WindowManagerService.startFreezingDisplayLocked(WindowManagerService.java:8758)
at com.android.server.wm.WindowManagerService.startAppFreezingScreenLocked(WindowManagerService.java:3971)
at com.android.server.wm.WindowManagerService.startAppFreezingScreen(WindowManagerService.java:4003)
at com.android.server.am.ActivityRecord.startFreezingScreenLocked(ActivityRecord.java:515)
at com.android.server.am.ActivityStack.ensureActivityConfigurationLocked(ActivityStack.java:3997)
at com.android.server.am.ActivityManagerService.updateConfigurationLocked(ActivityManagerService.java:12535)
at com.android.server.am.ActivityManagerService.updateConfiguration(ActivityManagerService.java:12439)
at com.android.server.wm.WindowManagerService.systemReady(WindowManagerService.java:6161)
at com.android.server.ServerThread.run(SystemServer.java:521)

Change-Id: I85062bb5f6b0909a0f52feedaa75e7611d9d7fbd
ndroid/internal/os/ProcessStats.java
b0e217eacb11b6225d6156cf930a9599d2ba6b41 12-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5159073 - actionbar titles don't seem to be drawing anymore

Change-Id: I2e617438134f1ff9f192d861655b69e4790593fe
ndroid/internal/widget/ActionBarView.java
0642fed2a226c2ccc85ca1058bb875d3077a41ef 12-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5075761 - Visual assets: CAB states"
9ca705e323cb737a07a667c1e86bac702f11a29c 12-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5075761 - Visual assets: CAB states

Integrate new assets for the contextual action bar (action modes).

Change-Id: I8439196f8b7466ce862e1c21a34b7ae1abf88f36
ndroid/internal/widget/ActionBarContextView.java
71f34174e977bac7283696d45c17baaa4f1f1503 12-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5156213 - Fix title visibility states wrt expanded action views.

Change-Id: I20b5c5ad8112bec17e4cb5d6e568f47005a4e731
ndroid/internal/widget/ActionBarView.java
af6b97ebe0e6a67d1691c4d7789c7bc312c1e13e 12-Aug-2011 Adam Powell <adamp@google.com> Fix action bar tabs collapsing when they shouldn't.

Change-Id: Ib0a91722b580802d2b5e3b07c4e57397665a3394
ndroid/internal/widget/ActionBarContainer.java
ndroid/internal/widget/ScrollingTabContainerView.java
9cc07c3939581909bf7de42df0215a65fab7b472 11-Aug-2011 Adam Powell <adamp@google.com> Merge "More fun with action bars and themes!"
f242368f38b21479763d6e07174547c610a51c5c 11-Aug-2011 Adam Powell <adamp@google.com> More fun with action bars and themes!

Fix bug 5144738 - Allow user to define pressed state asset for action
bar. Added android:actionBarItemBackground theme attribute. This
allows themes to define item pressed states for the action bar
independent of the standard selectableItemBackground.

Fix bug 5145416 - Custom view in action bar should use themed context
when inflating resource ID. Also applies to tab custom views.

Fix bug 5135550 - Tab divider height / Color should match spec. Added
actionBarDivider theme attribute. Similar to actionBarItemBackground
above, this allows apps to maintain proper contrast when the bar has a
different contrast profile than the rest of the activity.

Fix bug 5154778 - Theme.Holo.Light.DarkActionBar in themes.xml and
search_bar.xml are still referencing the deprecated title_bar_shadow
when we should be pointing to ab_solid_shadow_holo

Change-Id: I5ef0084de28a7c2d2fa02ae1752884feab0f8523
ndroid/internal/app/ActionBarImpl.java
e342551e56e422a4409caaa51d225e750eb7c7b0 11-Aug-2011 Kenny Root <kroot@google.com> Merge "Better errors from copyResource"
f5645cbafe7eed33452d888f16726bee8a0cd9fe 11-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5122319 - When action bar tabs run out of space they should
collapse in to a spinner.

When tabs are not given the option of dropping to their own row,
collapse them into a spinner when they would measure too large to be
visible all at once.

Fix bug 5095167 - zombie tabs return when they shouldn't when activity
handles its own orientation changes

Change-Id: I074419d99a22aa5dd1cbc00a66e600ec5cb0b54a
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContainer.java
ndroid/internal/widget/ActionBarView.java
ndroid/internal/widget/ScrollingTabContainerView.java
f5121a9b802c6ddd3661ed5cae602380dbe67090 11-Aug-2011 Kenny Root <kroot@google.com> Better errors from copyResource

Copy resource would fail without a good error code when the file
couldn't be found during copy.

Also destroy the target container ID during move operations since it
might exist. If the copy failed due to it existing, it would get
destroyed anyway. This way the user has a chance to have a good outcome
the first time.

Bug: 3375299
Bug: 5113898
Change-Id: I00559833f0801bc50e7cc031b462495e37a6b4ab
ndroid/internal/app/IMediaContainerService.aidl
faa6ffa484f6f2a334c8bf2c7a9dc693a61608f3 08-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5116434 - Bookmark label is not highlighted.

Let the action bar tab strip handle its own height changes.

Change-Id: I9b79702c757c736ef7872a43316965cea1a5cc97
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ScrollingTabContainerView.java
7d608423b721e0153f37bfd5eba78fcd2489562d 08-Aug-2011 Dianne Hackborn <hackbod@google.com> Move OOM kernel settings to activity manager.

The activity manager now take care of plugging the correct settings
into the OOM killer in the kernel. This is a lot cleaner because
it is really central to how the activity manager works, and nobody
else cares about them.

Taking advantage of this, the activity manager computes what it
thinks are appropriate OOM levels based on the RAM and display
size of the device.

Also a small optization to the package manager to keep a binding
to the package install helper for a bit after done using it, to
avoid thrashing on it.

And some new APIs that are now needed by Settings.

Change-Id: I2b2d379194445d8305bde331c19bde91c8f24751
ndroid/internal/util/MemInfoReader.java
0dc8bb25d21963528bfd0fc05ccbc01663b9fc5a 05-Aug-2011 satok <satok@google.com> Merge "API cleanup for the spell checker framework"
f1eaf7f4394fa0dc3d788f3f7816f686f514fca5 05-Aug-2011 Jim Miller <jaggies@google.com> Merge "Fix 5045008: replace "ring/silence" target in LockScreen with camera app"
be8d1cf1ac9fc514fb0cc2e8ef4a85beb0197fa0 05-Aug-2011 Jim Miller <jaggies@google.com> Fix 5045008: replace "ring/silence" target in LockScreen with camera app

This change replaces the ring/silence target with a camera target. It
is disabled and falls back to the old behavior when any device policy
disables the camera.

Updated with latest icons.

Change-Id: I2374eba08f85ff1d1b0bad2859efa30bb166fb60
ndroid/internal/widget/multiwaveview/MultiWaveView.java
d6d0628051f259d03367fe4e71af7137f9184142 05-Aug-2011 Irfan Sheriff <isheriff@google.com> Merge "Rewrote DnsPinger - now is async and concurrant"
b491877331cab95b8d2f9191a674476f826f92a5 04-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5121406 - ActionBar.setLogo"
29764eab44e195ac6c2641add74b2c44c008e5c4 04-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5121406 - ActionBar.setLogo

Make the resource ID version of setLogo work.

Change-Id: I0a710b714c9fd10bc3063a8ec95e59391ba4d4e0
ndroid/internal/widget/ActionBarView.java
b234636105317942bdf2daf4f5581c2218847084 04-Aug-2011 Chia-chi Yeh <chiachi@android.com> Merge "VPN: move away from the VPN permission."
d2fe04b71a89a0608eb7c67065dead2a1f540122 22-Jul-2011 Isaac Levy <ilevy@google.com> Rewrote DnsPinger - now is async and concurrant

Change-Id: I93e1374ae857832935202614e34ce18f040fcfc7
ndroid/internal/util/Protocol.java
ndroid/internal/util/StateMachine.java
5357806980269d846a15c845a6fcc0384fb18860 03-Aug-2011 satok <satok@google.com> API cleanup for the spell checker framework

Bug: 5110151

- Add a bundle to an argment of newSpellCheckerSession
- Expose SpellCheckerSessionImpl in SpellCheckerService
- Fix function names
- etc

Change-Id: Ia8ec783b7b4d5fcd18389854b445fc10fc502297
ndroid/internal/textservice/ISpellCheckerService.aidl
ndroid/internal/textservice/ISpellCheckerSession.aidl
ndroid/internal/textservice/ITextServicesManager.aidl
cf27a3ecc6782b6c86f720b1df2459a160fde81a 04-Aug-2011 Jim Miller <jaggies@google.com> Merge "Fix 5044158: layout and asset work on lockscreen PIN mode"
01704e76fa52805f6e739fc0d8e63f403e74bfa8 04-Aug-2011 Kenny Root <kroot@google.com> Merge "Better error codes for missing files"
1ebd74acf9977daa42133507e970dab88e08f0ef 04-Aug-2011 Kenny Root <kroot@google.com> Better error codes for missing files

Make sure that files that don't exist aren't returning bogus 'out of
space' error codes.

Add some Javadoc so I can remember what each thing does in an IDE.

Add copyright header to NativeLibraryHelper

Bug: 3375299
Change-Id: Iac46019160921daca65b21d38897e5165063316e
ndroid/internal/content/NativeLibraryHelper.java
ndroid/internal/content/PackageHelper.java
fcc1b41b663c1a0cb551344c4a16a5ad9ce36d60 04-Aug-2011 Chia-chi Yeh <chiachi@android.com> VPN: move away from the VPN permission.

VpnBuilder will be replaced by VpnService in the next change.

Change-Id: I2dea67a1616b74d17b372f7b214d207f1617198e
ndroid/internal/net/VpnConfig.java
79a02b15850347a2e932272b21b14c0c2b3faf50 30-Jul-2011 Jim Miller <jaggies@google.com> Fix 5044158: layout and asset work on lockscreen PIN mode

Fix PIN entry layout issues on hdpi, large-mdpi and xhdpi devices where emergencyCallButton was partially off-screen.

Copy button assets from latinIME for PIN screen.

Make PIN keyboard horizontal and vertical gaps configurable.

Change-Id: I415fcd83f02971b987c3df418d4114b8e1ab3945
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
6b0e97c7c48cf9446c7d4bc1b37d4c37d78433b0 03-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5093394 - Double SearchView!! What does it mean!?

It means we should collapse any expanded action items when we
clear out all items from a MenuBuilder.

Change-Id: I59cacd862a89b3a50c61b02c64b1ea71907af83f
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/widget/ActionBarView.java
c3afd39c6722cd57307fd90aee405179aea77f6b 30-Jun-2011 Jeff Hamilton <jham@android.com> Remove the binder interface for LLCP.

Change-Id: Idc9631cdbcac1435e285c656948a37315e32515d
ndroid/internal/nfc/LlcpConnectionlessSocket.java
ndroid/internal/nfc/LlcpException.java
ndroid/internal/nfc/LlcpServiceSocket.java
ndroid/internal/nfc/LlcpSocket.java
ndroid/internal/nfc/NfcException.java
ndroid/internal/nfc/P2pDevice.java
ndroid/internal/nfc/P2pInitiator.java
ndroid/internal/nfc/P2pTarget.java
5b9b5a9553a0276dc6b7f1f458c8d4ed03227988 01-Aug-2011 satok <satok@google.com> Change SpellCheckerInfo IPC inputs to String

Change-Id: I4c3f3c7aa7587e3f2582b43702108fa78f37ec54
ndroid/internal/textservice/ITextServicesManager.aidl
ba39839444532af0ed3766f736582413f6d7a40b 02-Aug-2011 Dianne Hackborn <hackbod@google.com> Move ImageWallpaper to SystemUI process.

Nice to not load 4MB bitmaps in the system process.

Also, hey, with how we are now scrolling the surface instead of
the bitmap, there is no reason to keep that 4MB bitmap loaded in
to memory. So don't.

Unfortunately it looks like for some reason the VM is still
holding on to the bitmap. I'll need to figure out why. Later.

Change-Id: Ib3503756144502fc5c8d5e294248c2417c4fe8c8
ndroid/internal/service/wallpaper/ImageWallpaper.java
a63ba59260cd1bb3f5c16e395ace45a61f1d4461 20-Jul-2011 Jeff Sharkey <jsharkey@android.com> Add operation counts to network statistics.

Provide API to increment "operation counts" for a UID and tag, used
to eventually derive bytes/operation stats. Internally is stored at
network layer, but should belong at data layer. Switch profiling
to use data layer stats, which are emulated by summarizing network
layer details.

Read packet counts from new /proc/ columns and collect them into
NetworkStatsHistory. Prevent double-counting by ignoring values from
first snapshot. Watch for duplicate /proc/ entries. Update tests
to verify packet and operation counters.

Bug: 5052136, 5097392
Change-Id: I1832f65a2b8a9188f8088f253474a667c21a2f09
ndroid/server/NetworkManagementSocketTagger.java
53f2531ba7bc72489d03fd17b6ce29c811fad8b5 29-Jul-2011 Daniel Sandler <dsandler@google.com> Merge "The fullest of fullscreen modes."
6d9a14c08398c58305e831d394280830bb798ee4 29-Jul-2011 satok <satok@google.com> Merge "Fix issues in TextServicesManagerService"
df5659d3d317b5cf351baffe3e0d4876e89678bf 29-Jul-2011 satok <satok@google.com> Fix issues in TextServicesManagerService

Change-Id: I48c81226d824e8aad42e01e87fcf9a5b466d2321
ndroid/internal/textservice/ITextServicesManager.aidl
ae5a9d4a92f18b1e2888c4ae4585f9480311c8bc 29-Jul-2011 Jim Miller <jaggies@google.com> Merge "Fix 5044158: Initial pass: add music transport controls to LockScreen"
6b05d58018c2806459c121e507c005639b74aee9 18-Jul-2011 Jim Miller <jaggies@google.com> Fix 5044158: Initial pass: add music transport controls to LockScreen

Refactored all lockscreen notifications to go through new KeyguardStatusViewManager.
This is required to intercept messages originally intended for separate TextViews that
are now shown in a single view when showing the transport control view.

Refactor EmergencyCallButton to be handled by common code in KeyguardStatusViewManager.

First pass at LockScreenWidgetCallback for LockScreen "widgets" to send events back to LockScreen.

First pass at LockScreenWidgetInterface, which will be required of Views that want to be rendered on
LockScreen.

Added place-holder TransportControlView until the real one is ready and integrated it into GridLayouts.

Ensured emergencyCallButton is in all views, even if not shown since some devices may lock the user
out if certain criteria isn't met (missing SIM, etc).

Refactored layouts and removed keyguard_screen_status*.xml since layouts are all over the map and
no longer make good use of a shared layout for this.

Minor tweak to MultiWaveView to fix layout issues when placed in GridLayout where the measurement
was being calculated improperly.

Moved EmergencyCallButton to bottom of view where we can.

Removed unused Alpha keyboards from tablet password unlock layouts.

Removed unused views (status2, emergencyCallText screenLocked) from layouts and made common views have common names.

Fixed bug with MultiWave layout in landscape where array was shown in wrong orientation.

Separated clock colors for phones/tablets since they're now different.

Converted remaining phone layouts to use GridLayout.

Start routing audiomanager events to lockscreen views.

Move emergency call button handling to KeyguardStatusViewManager.

Change-Id: I480b0346cfe19aad316fea0c0aaabf8862693636
ndroid/internal/widget/LockPatternUtils.java
ndroid/internal/widget/LockScreenWidgetCallback.java
ndroid/internal/widget/LockScreenWidgetInterface.java
ndroid/internal/widget/TransportControlView.java
ndroid/internal/widget/multiwaveview/MultiWaveView.java
80df829e35d0a97f92e599d36b0b16dcc956130b 29-Jul-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5079507 - ICS (phone) : ActionBar tabs don't correctly resize if activity handles orientation change"
45c0b1954d7dfa6e2590ed76b915a98ae971414c 29-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5079507 - ICS (phone) : ActionBar tabs don't correctly resize
if activity handles orientation change

Make sure that bar content height and sizing/layout parameters are
properly updated after a configuration change.

Change-Id: I886df5cd9a655ba1bd34fab2b48e8b5be67fcc32
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContainer.java
ndroid/internal/widget/ActionBarView.java
ndroid/internal/widget/ScrollingTabContainerView.java
c07cc99ebb86787fd6006d4121b67d91d28dffe0 28-Jul-2011 Jeff Sharkey <jsharkey@android.com> Merge "Keep original DialogTitle color when resizing."
60ee25643e0a7b8841063a4e97b0f18c51807e91 22-Jul-2011 Daniel Sandler <dsandler@google.com> The fullest of fullscreen modes.

View.setSystemUiVisibility() now properly accepts a
bitfield, including:

* SYSTEM_UI_FLAG_LOW_PROFILE: "lights out mode"
(previously known, erroneously, as STATUS_BAR_HIDDEN)

* SYSTEM_UI_FLAG_HIDE_NAVIGATION: for when you need every
single pixel on a device that also has a navigation bar

These flags are painstakingly aggregated across the entire
view hierarchy and carefully delivered to the status bar
service, which in turn gently passes them along to the bar
implementation.

To really get access to the whole screen, you need to use
HIDE_NAVIGATION in conjunction with FLAG_FULLSCREEN and
FLAG_LAYOUT_IN_SCREEN. See development/samples/Overscan for
an example of how to do this.

Change-Id: I5fbfe009d9ceebbbf71db73f14a7008ea7c1d4da
ndroid/internal/statusbar/IStatusBar.aidl
88ab69780f58e4b32d497266b2ad646a4d74827b 28-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5087752 - Maintain correct contrast against action bars in
inverse-bar themes

Add the actionBarWidgetTheme theme attribute. This lets a theme
specify a wrapper theme that can be used to create views that will
end up in the action bar so that the rest of the code can ignore
differences in contrast. (e.g. the inverse action bar themes.)

Apps can use ActionBar#getThemedContext() to obtain a Context with a
proper theme for views that will end up in the action
bar. MenuInflaters generated by Activities will automatically use this
to properly theme inflated action views.

Change-Id: Ib28c82bf47c25d446cca2a63f617b8a4a0afa6b2
ndroid/internal/app/ActionBarImpl.java
5c848ce793f259f38ba8c9ce52dc3bcb360040b6 28-Jul-2011 Jeff Sharkey <jsharkey@android.com> Keep original DialogTitle color when resizing.

Change-Id: Id9d3bf565cc5660ab37037e74be63221cd638ba6
ndroid/internal/widget/DialogTitle.java
ccdd4ee44f8cfbb45b2989cca833895fcc4c4225 28-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5087980 - MenuItem#expandActionView should work from within
onCreateOptionsMenu

Initialize menu presenters early enough to respond to expanding an
action view within onCreateOptionsMenu.

Have SearchView show the IME as an async post to handle attempts to
show it while the UI is still in initial setup.

Change-Id: I77f3a94ed4397737edb5a7a15bf54993b6723f5e
ndroid/internal/view/menu/MenuBuilder.java
06a2895b58d6d8ecc3fc5dffa8c5d8c4f95216a5 28-Jul-2011 Jeff Sharkey <jsharkey@android.com> Merge "Grant AID_NET_BW_STATS to system service."
e5168930975618a2b2b3f556c6c162a8cf6c9e34 28-Jul-2011 Jeff Sharkey <jsharkey@android.com> Grant AID_NET_BW_STATS to system service.

NetworkManagementService is reading stats /proc/ files, which are now
being protected by GID.

Bug: 5087530
Change-Id: I29b35a97ab621999544b6acc8ad4cf72ee053b79
ndroid/internal/os/ZygoteInit.java
4f35092af55d569975e6931ee6e8c0343f749d1e 28-Jul-2011 Kenny Root <kroot@google.com> Merge "Move extract native libraries to JNI code"
257466d4e24bd405204cb21a1663eb1cc99f6137 28-Jul-2011 Adam Powell <adamp@google.com> Merge "Bug 5076788 - Optimize the building and invalidation of menus"
89b09da7b3b1e69264d9ec710c66eb2f891b313e 27-Jul-2011 Adam Powell <adamp@google.com> Bug 5076788 - Optimize the building and invalidation of menus

Fix cases that weren't batching menu presenter changes correctly.

Have FragmentManager invalidate the options menu less often.

Change-Id: Ia66fcd09ada8b0a084ad6b08d4340a8fa0c8fc5d
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuBuilder.java
377fe393298039e4ea8407451b9afe0475d136a0 27-Jul-2011 Amith Yamasani <yamasani@google.com> Merge "Handle callbacks to CollapsibleActionViews that are in an actionLayout."
10da590839e264735de8a4582021aca0dab81037 27-Jul-2011 Amith Yamasani <yamasani@google.com> Handle callbacks to CollapsibleActionViews that are in an actionLayout.

Also, the onActionViewCollapsed needs to be called before detaching
the action view, so that the action view can dismiss the keyboard properly.

Fixes the Gmail search case where the keyboard doesn't disappear on hitting
the "up" affordance after a search.

Change-Id: I3c2f3f90f0edf6473404e6ceae3fa08866cad736
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/widget/ActionBarView.java
e20414f37a9aa0c5add34253033a2847905687d7 27-Jul-2011 Jim Miller <jaggies@google.com> Fix 5044158: Turn off debugging in MultiWaveView.

Change-Id: I501e4dbdfff9dc6fbe4ab92f6b15652814480642
ndroid/internal/widget/multiwaveview/MultiWaveView.java
66269ea6f68f2f25888ce1080c94ac782742fafc 12-Jul-2011 Kenny Root <kroot@google.com> Move extract native libraries to JNI code

The built-in ZipFile class was quite a long time to find an unpack
libraries. Move everything to using the libutils ZipFileRO class that
goes quite a bit faster. Initial measurements are 6 times faster than
the Java code.

Also, read files off the disk and compare their CRC against the APK's
CRC to see if we need to write the new file to disk. This also cuts down
the bootup time by up to a second per APK that has native files.

Change-Id: Ic464a7969a17368fb6a6b81d026888c4136c7603
ndroid/internal/content/NativeLibraryHelper.java
54e677ffb026eb838237b8a5e6581833f616e32a 25-Jul-2011 satok <satok@google.com> Merge "[Step 2] Add apis for spell checker settings"
562ab585f9e413d9696ee250e5ec02f95889a157 25-Jul-2011 satok <satok@google.com> [Step 2] Add apis for spell checker settings

Bug: 5057977

Change-Id: I4617b7f1487349c5de385e7392dbc39c69fa2ebc
ndroid/internal/textservice/ITextServicesManager.aidl
55bc5f3e0408bcb5a39a6732de0b2d1aa99a55be 24-Jun-2011 repo sync <isheriff@google.com> Updated: Wi-Fi p2p framework

First stage. Get the bones in right now even though
we are not ready on the native side.

Once, we have things underneath working - we will further update the
framework

Change-Id: I4a7dab5cd4267373dc5f8989ae4122f91c384ed5
ndroid/internal/util/Protocol.java
894bf54c0f50dbbaeb737842a89516a3029e233a 22-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5027071 - Action menu parent consistency

Make sure that action menus can tolerate moving around in the bar.

Change-Id: I2dfb4ea7e647a6c4e84ec78865af6fd858e3f59f
ndroid/internal/widget/ActionBarView.java
7793719ca97571f5b3636d5a89cb067c71d627bd 22-Jul-2011 satok <satok@google.com> Merge "Create TextServiceManager and SpellCheckerService"
988323c57bd25a58f05dfa492d9b9c8ab62c5153 22-Jun-2011 satok <satok@google.com> Create TextServiceManager and SpellCheckerService

Bug: 4176026

This CL inherits https://android-git.corp.google.com/g/112600

Spec of TextServiceManager
- Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..)
for each locale

Spec of SpellCheckerService
- Returns whether the given string is a correct word or not
- Returns Suggestions for the given string

Change-Id: Iaa425c7915fe70767ad0b17bf6c6fbcd2a1200b2
ndroid/internal/textservice/ISpellCheckerService.aidl
ndroid/internal/textservice/ISpellCheckerSession.aidl
ndroid/internal/textservice/ISpellCheckerSessionListener.aidl
ndroid/internal/textservice/ITextServicesManager.aidl
ndroid/internal/textservice/ITextServicesSessionListener.aidl
038f1c80af06da55056120e121d43e3ee89ec726 21-Jul-2011 Adam Powell <adamp@google.com> Bug 5061529 - Save/restore action view state for menu items across
invalidations.

This includes expand/collapse state.

Add CollapsibleActionView interface. Views can implement this to have
special behavior when they are presented as an expanding/collapsing
action view. This lets SearchView and others take care of fiddly
behavior (focus stealing; opening the IME) automatically without apps
needing to implement this themselves.

Change-Id: Ibbd1eb5fcf3e3a862419e9344ad50f896bd05e36
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/view/menu/SubMenuBuilder.java
ndroid/internal/widget/ActionBarView.java
d24cd90486821535fb058531fac54aa5b9360693 21-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding accessibility support to the Status Bar."
5ea0bc1abccea067875d00dc9b9dde7c17c1efff 21-Jul-2011 Adam Powell <adamp@google.com> Bug 4948805 - fix custom title divider for dialogs

Change-Id: I1b4fc8da71deb6450b21def15570a18a6b7200e2
ndroid/internal/app/AlertController.java
6179ea3196e9306d3f14361fe9ef14191b1edba6 28-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the Status Bar.

1. Added content description to pretty much all animals
in the zoo including buttons in the navigation bar,
notifications and status icons for battery, signal,
data, etc.

2. Rectored to avoid ovelaying views since they block
touch exploratino. In general overlaying views
cause trouble for touch exploration and accessibility
in general.

3. Avoid sending accessibility events in case the user is
touching outside of the StatauBAr panels to avoid
confusion.

4. Added records to accessibility events in the places where
this would help the presentation. So the event comes from
a given "leaf" view and its predecessor is adding a record
to the event for itself to provide more cotext. It is up
to the accessiiblity service to choose how to present that.

bug:4686943

Change-Id: I1c1bd123d828fb10911bca92130e9a05c1f020b3
ndroid/internal/statusbar/IStatusBarService.aidl
ndroid/internal/statusbar/StatusBarIcon.java
b187cd9c54f0100c0fb47c354cdecad29ca7c0ae 20-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5038368 - Rules for collapsing action views.

Make collapsing action views exclusive on small screens with unsplit
action bars.

Change-Id: I11cc220acc7b6acddd25f2500404b47bfb405d5c
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/widget/ActionBarView.java
5a8ca580b078c7335d8ee384dd93dc86663d8d53 20-Jul-2011 Alon Albert <aalbert@google.com> Merge "Add a getter for the active tag"
eaef351afcd586d5a84e80455f12f72fd12213ef 19-Jul-2011 Alon Albert <aalbert@google.com> Add a getter for the active tag

Change-Id: I597e041867fba7efae41feea63fa196bc10e4aa2
ndroid/server/NetworkManagementSocketTagger.java
060e3cad11541bc534ead73dae5c23ef242060cd 20-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5045004 - onActionModeFinished happens well before the
ActionBar is actually gone

Defer calling onDestroyActionMode until the action bar UI has fully
transitioned out of the mode and any bar-hiding layout change is ready
to happen. This helps apps better respond to layout changes resulting
from action mode UI.

Change-Id: I8e560ec566f4c3fa4a701c4b3aeb531c16169168
ndroid/internal/app/ActionBarImpl.java
4273ed652ae9ea2af0a77b6d59a183ebce53a680 19-Jul-2011 satok <satok@google.com> Merge "Enable IMEs to set additional subtypes in background"
6dd005b48138708762bfade0081d031a2a4a3822 18-Jul-2011 Dianne Hackborn <hackbod@google.com> I. Can. Not. Stand. ViewAncestor.

It was done so we would have the name "ViewRoot" available for a
public API. However, the name "ViewAncestor" just makes no sense.
So instead, change it to ViewRootImpl.

Change-Id: If9599ca67896f339f6fefa7d1dde121201171d97
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
91e88122cf28a48fd2e2260da7d3d87dd437227a 18-Jul-2011 satok <satok@google.com> Enable IMEs to set additional subtypes in background

Bug: 4591792

Change-Id: I7e61a576c56d1a3a56001bdf2fd51ad3801add01
ndroid/internal/view/IInputMethodManager.aidl
7adcdecf808fce832b8711aeeeb30b73371ee4ae 18-Jul-2011 Alexy Shin <alexy.shin@samsung.com> NetInitiatedActivity: support AUTO response feature for SUPL IOT

Change-Id: I38a9ed0b03cb7f9ce2b81e0742ef48508d8392af
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/app/NetInitiatedActivity.java
066836fce9a612fe58ed52ee980c56d809910e5b 17-Jul-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix a couple static leaks."
de4c26fa1a5adf3efa8995cbf69e45aa10111b8f 17-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix a couple static leaks.

Change-Id: If2564dc822fbcb3bb3baf270ad2b3c29c78bf421
ndroid/internal/widget/LockPatternUtils.java
b80d332e7421e0b8cff12569c2f1b450d769e782 16-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5037642 - Refine back button behavior for action bar modes.

Action modes for the action bar used to aggressively hijack the back
button before the view hierarchy got a chance to respond to it. Loosen
this. New ordering is: view hierarchy => window feature-level modes
(action bar modes e.g. CAB/search) => Activity/window callback
behavior.

Change-Id: Iac1b22997713be968a94f77f9fa6cebaf6f923f0
ndroid/internal/widget/ActionBarView.java
28fa07e15f7a7ee83be9e5555bbfdd25711b3517 16-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5021359 - show app icon for collapsible action views.

Also fix a bug with initial enabled state of the app-home button.

Change-Id: I7eac4932deeced3ac209ad899922ac90f40c87e6
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
75683d59db7d2c34093081ed6ca1f269192c550f 15-Jul-2011 Irfan Sheriff <isheriff@google.com> Merge "WifiWatchdog rewrite to formal statemachine"
654f5090754e4e1bf4c1736d0a24769a15a6037e 14-Jul-2011 Isaac Levy <ilevy@google.com> WifiWatchdog rewrite to formal statemachine

Rewrote wifiwatchdog service to use net.statemachine

Change-Id: Id6fd42b13192ac2e99f842ff50e9edff1696675d
ndroid/internal/util/Protocol.java
58c5dc1bd6e0600fab0c4e80ae1f4c4f8426ad6d 15-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5030341 - ActionBar.getHeight is inaccurate in 2-row mode

Measure the shared container instead.

Change-Id: Ib851f773a36add19c227b3ad64a8497f1b5ff9dd
ndroid/internal/app/ActionBarImpl.java
45ce864ef41ce90938cc34d42a8e1075f69e7a61 15-Jul-2011 Dianne Hackborn <hackbod@google.com> Move LoadAverageService to the SystemUI apk.

Change-Id: I442e264802d1e35cd7d27bae121ae75f932595b6
ndroid/internal/os/ProcessStats.java
c29f4e52c3377924df26910cce3ff26278d1f484 14-Jul-2011 Adam Powell <adamp@google.com> Nicer API for disabling/enabling the home/up button in action bars.

Have an explicit call for enabling the home/up button. Auto-enable it
if the app targets < ICS to preserve Honeycomb behavior. Auto-enable
it if the app shows home as up.

This prevents unwanted touch/focus feedback on the home button when
the app hasn't wired it up to do anything useful.

Change-Id: Icfe95ab5a11b3998bca08b0fbbfe1bf6c3c89b5d
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
9837d6d02fc0968614efe5260a176e0c406fe93c 14-Jul-2011 Adam Powell <adamp@google.com> Fix bug in submenus opened from icon menus

Change-Id: I8b60ceefbccb5cad78d1b5c55702a2685a5f5382
ndroid/internal/view/menu/IconMenuPresenter.java
648b36bc3011437aeb1991dd355c83be7e5f0db5 14-Jul-2011 Adam Powell <adamp@google.com> Merge "Preserve spacing for icons in menus"
9151103ff20d28e8db2a2cc0386d57b8dad4b5d5 13-Jul-2011 Adam Powell <adamp@google.com> Preserve spacing for icons in menus

Change-Id: I3269fcffb98a84b6a5c5f9198afd2b2eae7d5f02
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ListMenuItemView.java
ndroid/internal/view/menu/MenuPopupHelper.java
19d2c0b0c0f7e010b885492c83cd76cb90d2416a 14-Jul-2011 Jeff Sharkey <jsharkey@android.com> Merge "Control socket tagging through Settings.Secure."
62a2c8fed9cc74e9fa03871e0022205560a681a1 14-Jul-2011 Jeff Sharkey <jsharkey@android.com> Control socket tagging through Settings.Secure.

When NetworkManagementService starts, it determines if qtaguid
should be enabled. The changes pushes the enabled state to a system
property to control socket tagging.

Change-Id: I5697a990dbaad4b220a2fb055931b18077d07a74
ndroid/server/NetworkManagementSocketTagger.java
76559a65ad9d644f10beacf8895ceb217fdd0aeb 07-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Polish of the ActivityChooserView and ShareActionProvider.

1. Addressed the UX comments: ActivityChooserView's default selection
popup no longer shows a message, rather hightlights the default
action which now it displays. Alignemnt of the UI.

2. The ShareActionProvider shows a sub-menu if the host item goes
on the overflow menu.

3. Now the heade layout of the activity chooser view is not needed hence
dropped and the item and footer ones are merged.

Change-Id: I0b3de623e4c0a805be9ed73a8541e66b8c00e2d2
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuItemImpl.java
961dd11895ce72e59bca124ef5bea4e4c1183099 12-Jul-2011 Adam Powell <adamp@google.com> Update ActionProvider to support dynamically building submenus.

Stub out ShareActionProvider for building a submenu of activities to
choose from.

Change-Id: Ibd9ada77a455ed1a296c87b6d967073ca0f676c2
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuItemImpl.java
11ed1d6cae9214335c92ac38498a4e6c7d1c8324 12-Jul-2011 Adam Powell <adamp@google.com> Fix bugs around restoring submenu state after activity teardown/restore

Change-Id: I6cb5b3cad39b141dff84b8e0ca62f8f0a76a03b1
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/BaseMenuPresenter.java
ndroid/internal/view/menu/IconMenuPresenter.java
ndroid/internal/view/menu/ListMenuPresenter.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuPopupHelper.java
ndroid/internal/view/menu/MenuPresenter.java
ndroid/internal/widget/ActionBarView.java
622c03e6cfdd37c05f225434e5b07f8db7d4521e 12-Jul-2011 Mark Brophy <mbrophy@google.com> Merge "Expose app resume times to the ApplicationProvider."
3f9dd287b99340efaaa257759e71a8f81b2ed113 09-Jul-2011 Jeff Brown <jeffbrown@google.com> Increase activity timeouts when using a wrapper process.

This patch enables the Zygote to tell the ActivityManager when
it has started a process with a wrapper attached so that the
ActivityManager can allow it extra time to start up or process
events.

This is useful when wrapping an app with Valgrind or other tools
which add significant runtime overhead.

Bug: 4584468
Change-Id: I5db6f2f15cd30b0ec40f547d2fadfa216de2926d
ndroid/internal/os/ZygoteConnection.java
d44e1b6033eed29718f2e7e3540e4884929941a5 11-Jul-2011 Elliott Hughes <enh@google.com> Merge "SDK_INT is not "current" on unreleased builds."
2455efebcc1e3d1e19d5de4287ac99818718029e 11-Jul-2011 Elliott Hughes <enh@google.com> SDK_INT is not "current" on unreleased builds.

This change (in combination with a dalvik change) ensures that system_server
doesn't run with JNI app workarounds turned on.

Bug: 4772166
Change-Id: Ia015aa56b5684a176de3c123e8aec7f35e7ecac5
ndroid/internal/os/ZygoteConnection.java
9fc033083267d0c7f01e083400721b6cddb3a398 01-Jul-2011 Mark Brophy <mbrophy@google.com> Expose app resume times to the ApplicationProvider.

Add ActivityManager.getAllPackageUsageStats which returns
the PkgUsageStats object for all packages.

In UsageStatsService, remember the last resume time of each component, and
add that info to PkgUsageStats instances.

ApplicationProvider will use getAllPackageUsageStats and the new field
in PkgUsageStats to set the new SearchManager column
SUGGEST_COLUMN_LAST_USAGE_HINT for requests with the GLOBAL_SEARCH
permission.

Change-Id: I80e9b127410ed0d528515d2256787f30a953e9b0
ndroid/internal/os/PkgUsageStats.java
b7440a140b650932bf31cf51d3b87c3249e3b682 09-Jul-2011 Elliott Hughes <enh@google.com> Merge "Pass the targetSdkVersion through to the zygote-forked dalvik."
e1dfcb7ab01fb991079ec1f70f75281a0ca9073e 08-Jul-2011 Elliott Hughes <enh@google.com> Pass the targetSdkVersion through to the zygote-forked dalvik.

This will let dalvik implement backwards-compatibile behaviors based on
an app's targetSdkVersion.

Bug: 4772166
Change-Id: I935c5ea9144e8b4e6e21089547287486e2234b7f
ndroid/internal/os/RuntimeInit.java
ndroid/internal/os/WrapperInit.java
ndroid/internal/os/ZygoteConnection.java
ndroid/internal/os/ZygoteInit.java
d5cabff96af60d90e197007737ff04e4087f1010 08-Jul-2011 Wink Saville <wink@google.com> am a736cd54: am 848aa3ab: Merge "No need to have BASE_DATA_CONNECTION_TRACKER start at 50000." into honeycomb-LTE

* commit 'a736cd54e1de62e84a7a49a3c68c56fc6d9bfc00':
No need to have BASE_DATA_CONNECTION_TRACKER start at 50000.
a736cd54e1de62e84a7a49a3c68c56fc6d9bfc00 08-Jul-2011 Wink Saville <wink@google.com> am 848aa3ab: Merge "No need to have BASE_DATA_CONNECTION_TRACKER start at 50000." into honeycomb-LTE

* commit '848aa3ab8a00835c5af2ead954c7736e507249b5':
No need to have BASE_DATA_CONNECTION_TRACKER start at 50000.
7f8f79a1ff086c04a3ad2a442b1d39a8186e3e50 08-Jul-2011 Adam Powell <adamp@google.com> Add ALL CAPS style to TextView/TextAppearance

Switch out ugly hack in action menu items for the new style.

Change-Id: I68a0ed62a352b14d499e6478b82bbc12dcb5a030
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/widget/ScrollingTabContainerView.java
8735a07a64b8891998402ac0e16d142399ecceaf 07-Jul-2011 Wink Saville <wink@google.com> No need to have BASE_DATA_CONNECTION_TRACKER start at 50000.

Update comment that values should be changed after releasing.

Change-Id: I10ed6a0238e4f5be866dd97cfb56c5e7c84ddb52
ndroid/internal/util/Protocol.java
160bb7fa60e8ece654e6ce999b6c16af50ee7357 07-Jul-2011 Adam Powell <adamp@google.com> Action bar layout tweaks

Fix a Spinner issue that reported odd baselines

Fix detection of expandable items for action menus and allocation of cells

Use the right asset for home-as-up in Theme.Holo.Light.SolidActionBar.Inverse

Add TextAppearance.Holo.Widget.ActionBar.Menu as a basis for further
menu item styling

Sync with design for tab/menu text appearance

Change-Id: I32026bbde1cd4e15b6cda30d78d3d48250c84c94
ndroid/internal/view/menu/ActionMenuView.java
d0d2517d52fedcc7f85e0d661eecdb861f85c66e 07-Jul-2011 Jeff Sharkey <jsharkey@android.com> Temporarily disable socket tagging.

Change-Id: Ib4a8babdbbe3ea05057dc930b67c2cac89ac5e42
ndroid/server/NetworkManagementSocketTagger.java
2c742c2aebf20a0534c822eb8a36da99d9df79fe 07-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5000009 - NPE in Phone UI

Change-Id: I9c5c2c73b340192d754949865b6e4ee4a9a324ff
ndroid/internal/view/menu/ActionMenuItemView.java
a72ef62e5c329a19eab9935acba816fc1369c637 07-Jul-2011 Adam Powell <adamp@google.com> Add style/theme definitions for solid action bar configurations.

Change-Id: I540e12ad3d8fc779dac24402286d995f542b5d25
ndroid/internal/widget/ActionBarContainer.java
ed61ee1fae260011ebfdb4e61e5edd319debb6c2 07-Jul-2011 Elliott Hughes <enh@google.com> Merge "Add the "debug.jni.logging" property so third-party developers can debug their JNI problems."
ae07ecf3766c38af1c12822458b98036b28bd4c0 07-Jul-2011 Elliott Hughes <enh@google.com> Add the "debug.jni.logging" property so third-party developers can debug their JNI problems.

This turns on the super-verbose but indispensible logging of all native method
calls and all calls to JNI functions (for third-party code only). In particular,
if you have a local reference bug, you can search for the reference given in
the crash and see exactly where it came from. In every case I've seen so far,
that's pinpointed the bug exactly.

Change-Id: Ifb7ba02ae637bdd53cd8500febdcb9d4d7799bda
ndroid/internal/os/ZygoteConnection.java
35aecd5884a5ccfe380903e39f30f468315e8f92 01-Jul-2011 Adam Powell <adamp@google.com> Updates for action menus

Sync with UX designs for action menus in split action bar mode.
Layout is now based on a grid cell scheme.

Tweak action menu item layouts.

Fix some bugs with drawing LinearLayout dividers.

Rename config resources to follow convention.

Action bar menu items now show text in ALL CAPS. This is done in a
locale-dependent manner, but if it produces problems in specific
locales the config resource config_actionMenuItemAllCaps should be set
to false for that locale.

Change-Id: I064c2dd85e012e89551f29153efcfc17f9106333
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuItemImpl.java
2e46764a707bd14cad22bc179669eeecb2d7c647 04-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: implement status report for legacy VPN.

Change-Id: I81c28dafd9588572df76cbc303b0d6a0f41f9bc6
ndroid/internal/net/LegacyVpnInfo.aidl
ndroid/internal/net/LegacyVpnInfo.java
ndroid/internal/net/VpnConfig.java
34e7813e962de99df9813014678ef5901227c5f1 03-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: minor refinement.

Change-Id: I2b59cbe8554b6c6f8da48c465252489394f32653
ndroid/internal/net/VpnConfig.java
d6315c0ebb6ebbc67f0c669e92f92be70b49ba2c 02-Jul-2011 Chia-chi Yeh <chiachi@android.com> Merge "VPN: give legacy VPN a fake package name."
e9107901ae264de4ff5603d3cfc63a03ca4117d4 02-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: give legacy VPN a fake package name.

And add more comments.

Change-Id: I0cbc495fcb2c8dd105e16a841619b3b9bd227eae
ndroid/internal/net/VpnConfig.java
51ac0e94a83cfccb5105aa14df1077729a5b4ccc 17-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding a ShareView and ActionProvider for menus.

1. Adding a widget for sharing contenet with other applications.
The widget orders the share targets based on previous shares.
It displays the share target list as either a popup anchored to
itslef or as a dialog.

2. Added a ShareDataModel that will back widgets or other classes
that are interested in share targets for a given intent ordered
according to share history. This class is backing the ShareView

3. Added ActionProvider mechanism for the MenuItems. The action
provider of a menu creates the action view as well as performs
a default action if the menu item is on the overflow menu and
is triggered but none of the menu callback has handled that.

bug:4590827

Change-Id: Iaa4add2df2538b8c6c7edbeaf2880486d4fd75c5
ndroid/internal/view/menu/ActionMenuItem.java
ndroid/internal/view/menu/MenuItemImpl.java
41d1685a22ba8038517d6fdb57006023e03f12e1 01-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: integrate legacy VPN.

Change-Id: I00e77664354c05e0edfcd5fb2e3da2ca434ed521
ndroid/internal/net/VpnConfig.java
8909b10175303bd5e2ca82b7ba12cd0017050ef3 01-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: Use List<String> instead for dnsServers and searchDomains.

Change-Id: I5d72c182ad47f59121a04b68ec6c2d164e2d00a8
ndroid/internal/net/VpnConfig.java
5db03df1fff4900eb485304d4fd185110bea1a0c 01-Jul-2011 Chia-chi Yeh <chiachi@android.com> VpnDialogs: prepare for the usages of legacy VPN.

- Use PendingIntent to start activities.
- Handle configs without package names.
- Switch to system UID.

Change-Id: Ia78112a97e3628b603d9e059705e32694ebe142b
ndroid/internal/net/VpnConfig.java
8c4706252228755ed181d19532b7e0cfec270ba4 01-Jul-2011 Adam Powell <adamp@google.com> Add API to report the presence of a permanent menu key on the device.

Action bar now uses this to determine whether to show an overflow menu.

Change-Id: Ife4f724d02bbc0d9d86d94740c85299f6dacae91
ndroid/internal/view/menu/ActionMenuPresenter.java
1c8d207201150c29ac92c424e1320c715a64b5bc 30-Jun-2011 Jim Miller <jaggies@google.com> Fix 4691563: Polish MultiWaveView experience in LockScreen and InCall screen
Better activation experience:
- Hold off on switching out targets until current animation has finished.
- Hide unselected targets when a target is selected.
Code simplification:
- Use explicit callback objects to handle animation updates instead of having MWV implement the interface.
- More compact chevron-loading code.
- Don't use animations for properties that need to change immediately.

Other minor timing tweaks.

Change-Id: I328533e8ab7b4c69c7ba51c8c55002765dcbbd46
ndroid/internal/widget/multiwaveview/MultiWaveView.java
f6ce6a9bacbb220c6ea7b552c481237f23e64ae7 29-Jun-2011 Adam Powell <adamp@google.com> Fix some issues with the action bar and action modes.

Fix bug 4976004 - bad title measurement for split action modes

Fix bug 4902960 - action modes leaving a hidden action bar in a bad state

Sync with design for the behavior of various permutations of action
bar configuration + modes.

Change-Id: Id75f6b5911b761fabc5fef2cc2600ce197cf9a92
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContainer.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
ndroid/internal/widget/ScrollingTabContainerView.java
2c22882181e867c9ba4e74ee973b87a71db3389f 29-Jun-2011 Dianne Hackborn <hackbod@google.com> Merge "Plumb information from the framework about asec container size."
fe41366e3a92d622c9bc016f91c8294f072d9548 29-Jun-2011 satok <satok@google.com> Merge "Add onClickView to InputMethodService"
863fcd62171e55bc9f2105d9fb5877df982454d8 21-Jun-2011 satok <satok@google.com> Add onClickView to InputMethodService

Bug: 4697141

- onClickView is called everytime the user taps EditText

Change-Id: Ia71ad325e50a20e9e1001def662ef992bb50a9d0
ndroid/internal/view/IInputMethodSession.aidl
8568db534118fc14cc28100306d51626464ff319 29-Jun-2011 Jesse Wilson <jessewilson@google.com> Move socket tagging from libcore.

Change-Id: I7515896936c5bbd212c88e2801b831914219a925
ndroid/internal/os/RuntimeInit.java
ndroid/server/NetworkManagementSocketTagger.java
292f8bc9d1b790ab975a87a842c7fabc908b97e0 28-Jun-2011 Dianne Hackborn <hackbod@google.com> Plumb information from the framework about asec container size.

Change-Id: Ie0ec3cb6d463aefa341a8cbea80be790451ba5e3
ndroid/internal/content/PackageHelper.java
61b9fae046bd766dc951262f728a12784e5ec6ff 28-Jun-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix battery history management."
bf591ff682f14db7ba7b3554897e9cdcf245da59 28-Jun-2011 Jim Miller <jaggies@google.com> Fix 4691563: Fix memory leak caused by Tweeners hanging onto references.

This fixes a bug where the animations in MultiWaveView were keeping references
to bitmaps and preventing them from being reclaimed during GC. The solution
is two-fold:
1. When any given animation completes, it is now removed from the list of running
animators objects.
2. When the client explicitly calls reset(), we release all references to
animators and objects.

Change-Id: Ice434ed1720fe4c253b9607ef61699d41f87f777
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ndroid/internal/widget/multiwaveview/Tweener.java
ae3844527a305cef8bbd1c895b79be45a6c51dbc 28-Jun-2011 Dianne Hackborn <hackbod@google.com> Fix battery history management.

When rebooting the history time offset was not being handled
correctly, causing garbage data.

Change-Id: Ieca5a72c4c7c374bfe7f8673eed87354af148ef0
ndroid/internal/os/BatteryStatsImpl.java
6556c074ee84d0e56aca9ae267e330db73dfb236 25-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4903822 - vertical gravity bugs in action bar custom views

Change-Id: I20a319bf8fd5b5acf823a2651639f94d6efac5e4
ndroid/internal/widget/ActionBarView.java
c8b0b005cb616deb9646f2c2b995890fa9530f94 23-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4771354 - Phone landscape action bar subtitle slightly cut off
on the bottom

Let action bar title sizes adapt for restricted space in landscape.

Fix home spacing for tablets to eliminate redundant layout.

Change-Id: If38a43d87ca1aebf96b5d7adfdb1cf36c41ec07e
ndroid/internal/widget/ActionBarView.java
0d5d1b7e8cc06b4c62a863314debbb8b24554f1f 23-Jun-2011 Adam Powell <adamp@google.com> Tweak action bar metrics.

Free up some more pixels in the action bar and better define how icons
within it resize.

Change-Id: I0768180e595ee7b23190a26607e8989fa1bac38f
ndroid/internal/widget/ActionBarView.java
08a975ef86200a73db51bfbcca6bea8ad2a63cbd 22-Jun-2011 Jim Miller <jaggies@google.com> Update LockScreen layouts to latest UX spec.

- better placement and consistent handling of emergency button.
- use new GridLayout for landscape modes.
- add dimensionable parameters for time and status line fonts.
- fix assets and emergencyCallButton resource references when building for tablets.

Change-Id: I5f4c9cfb6a88ce3ccd8ab4fdafede8e6e59f9407
ndroid/internal/widget/LockPatternView.java
0edc52970f82b6a42324ebec9458b3098112e499 22-Jun-2011 Philip Milne <pmilne@google.com> Merge "Minor tweaks to GridLayout for KeyGuardScreenUnlock."
8969d9924c662ab4cdacc342bbdc33756db730be 22-Jun-2011 satok <satok@google.com> Revert "Create TextServiceManager and SpellCheckerService"

This reverts commit eaddb894865a804279659b4aad6364a34ab50beb.
ndroid/internal/view/ITextServiceManager.aidl
f86ee14f6a53d409489261415901c6397877ce3d 22-Jun-2011 satok <satok@google.com> Merge "Create TextServiceManager and SpellCheckerService"
42b91bbcdaf64b2f19d0a9ce168964b31a5dc139 22-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4818050 - Need a way to get notified when a PopupMenu gets
dismissed/canceled

Add an OnDismissListener to PopupMenu.

Change-Id: I7abe1b9c9bea5e758a9c32631185e50cd7eb1ed0
ndroid/internal/view/menu/MenuPopupHelper.java
45d061656aab9f13dc1bb0e5d9378dd661a25f8e 22-Jun-2011 Adam Powell <adamp@google.com> Merge "Fix bug 4725323 - 'More' shows the icons which are already available in settings"
51195b56ff6d3d589abefde27f0a99b5a9a04ff8 22-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4725323 - 'More' shows the icons which are already available
in settings

Change-Id: I161787710fbadaa19b93de3e69f3c60db2be73a6
ndroid/internal/view/menu/ListMenuPresenter.java
1fd16378812792913a6aa6923acbec20037e09ff 21-Jun-2011 Philip Milne <pmilne@google.com> Minor tweaks to GridLayout for KeyGuardScreenUnlock.

Also:

. Swapped order of args in internal getMargins() methods.
. Stopped implying row/col weight = 1 when size = MATCH_PARENT.

Change-Id: I657fb3e54867eb9735f9509878968941bf6a6a49
ndroid/internal/widget/LockPatternView.java
ea1ca952c625d51dc71e1cc3d955b239921888c7 21-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4108953 - Old-style menus do not show menu items marked as
showAsAction="always"

Change-Id: I63299143ea780abeed6dcdece6934f0e704b46a2
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/MenuItemImpl.java
b35e372bf4080f3b1940a371f1e39fb5dccde990 20-Jun-2011 Jim Miller <jaggies@google.com> Handle dropped motion events in MultiWaveView due to high system activity

This change causes MultWaveView to look at historical motion events to make
unlocking easier during high system load.

Updated after review.

Change-Id: Ibfc3cb513936e3b8488aa4390164bf5e214c982f
ndroid/internal/widget/multiwaveview/MultiWaveView.java
15a16a835ef07d484e0ae11666cef9231c2f8184 20-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4729242 - Crash while launching browser app.

Change-Id: Id049bcc53943b0cbe17e9f345af67adc2b10bdef
ndroid/internal/widget/ActionBarView.java
eaddb894865a804279659b4aad6364a34ab50beb 01-Jun-2011 satok <satok@google.com> Create TextServiceManager and SpellCheckerService

Bug: 4176026

Spec of TextServiceManager
- Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..)
for each locale

Spec of SpellCheckerService
- Returns whether the given string is a correct word or not
- Returns Suggestions for the given string

Change-Id: Ia25e7b4f308778891929e31b8cbd741f6848cce4
ndroid/internal/view/ITextServiceManager.aidl
b3721b9f7dec8575bf3b2fe04496bdd201f277bc 18-Jun-2011 Adam Powell <adamp@google.com> Merge "Allow the action bar title to take on the role of "up" in the absence of a standard "home" icon."
54c7d7e61cd975d73b7eb0a5a0c75d21b6a7a12b 18-Jun-2011 Adam Powell <adamp@google.com> Allow the action bar title to take on the role of "up" in the absence
of a standard "home" icon.

Change-Id: Ie1a9adca674500a29da36956455667bbb55a616f
ndroid/internal/widget/ActionBarView.java
94c9f39ece18183c3ad2ad224ddb4690e3dd5045 18-Jun-2011 Jim Miller <jaggies@google.com> Merge "Handle dropped motion events in Pattern Unlock due to high system activity"
9c8e735817b8ff57070a035d2463f22eea50b8d4 18-Jun-2011 Jim Miller <jaggies@google.com> Merge "Update pattern unlock and assets to match new UX design spec."
0d244193bed0c995e2beaff5e217200457b28b9d 17-Jun-2011 Jim Miller <jaggies@google.com> Update pattern unlock and assets to match new UX design spec.

Fix bug with LockPatternView measurement.
Clean up forgotPassword/emergencyCall button code.
Lots of layout tweaks. Now uses new GridLayout for many of them.
New assets.

Updated after review.

Change-Id: I52d4ce65c6b6c644ac60eb55bb8eaff8bfeb1071
ndroid/internal/widget/DigitalClock.java
ndroid/internal/widget/LockPatternView.java
aced12fd2276ed7664af6bf70ff03ce2acaf6545 18-Jun-2011 Jim Miller <jaggies@google.com> Handle dropped motion events in Pattern Unlock due to high system activity

This enables the pattern unlock screen to look at historical motion
events to make unlocking easier during high system load.

Change-Id: I74a9c2d0833e8bb6745b89e8d397116baebb24a1
ndroid/internal/widget/LockPatternView.java
ec08cacd78c4b746ac385c874f41833fc06ebc2f 18-Jun-2011 Adam Powell <adamp@google.com> Merge "Fix bug 4689431 - PopupMenus too narrow on phones"
38639b1d75933bfb720db79fce26f09478709614 18-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4689431 - PopupMenus too narrow on phones

Change-Id: I624b46d17c1d964fd6cb04abf96333c7a8474d75
ndroid/internal/view/menu/MenuPopupHelper.java
72fba1caea8778d4e0a5693b188873c6faab4dbb 17-Jun-2011 Chia-chi Yeh <chiachi@android.com> Merge "VPN: move VpnDialogs related methods into VpnConfig."
cd0385bf8c571484a15f2d2d3182a6340950270f 17-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Remove HanziToPinin.java"
7b0b834c3d12564c44ac134879a6dbc70e74be6e 17-Jun-2011 Chia-chi Yeh <chiachi@android.com> VPN: move VpnDialogs related methods into VpnConfig.

This might not be the best place for the glue code, but it is
known that choosing VpnBuilder will introduce a dependency
cycle of VpnBuilder, ConnectivityService, and the Vpn class.

Change-Id: I3f03617d1fe1a0b8fb3705c23265676fff51a75c
ndroid/internal/net/VpnConfig.java
f1a4549604639e3d9eafc406426ddc252d427b57 17-Jun-2011 Adam Powell <adamp@google.com> Bug 4726236 - NPE at dispatchRestoreInstanceState

Change-Id: Ib7eba6ead85fa4daa8046bbc2d4d3fcc1d4223c3
ndroid/internal/view/menu/ListMenuPresenter.java
a93347a62ec9887862abb9d6f216906c533a8562 14-Jun-2011 Adam Powell <adamp@google.com> Dialog-o-rama!

New styling for Holo dialogs. Now 76% easier for apps to create
dialog-based layouts! (Less tricky padding and margin rules)

Cancelable AlertDialogs now are canceled when the user touches
outside.

Dialogs in landscape mode will try not to fill the width of the
screen.

Change-Id: I621b5a19780883ee703a8492510451b480a0b8cc
ndroid/internal/app/AlertController.java
ndroid/internal/widget/DialogTitle.java
1515c0b5192996fdaf49c6ab8841a0d5b8ea9ca9 17-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Remove HanziToPinin.java

Those files are moved to ContactsProvider package.

Must be after If786dd286dab47ca1b2ccab38c5fa43ae390c0f7

Bug: 4645142
Change-Id: I774426347e8331fc1c203d5d8e6887e83baffc9f
ndroid/internal/util/HanziToPinyin.java
d6f69d0e5235a5adce5226d2144ef08d05b1889c 16-Jun-2011 Chia-chi Yeh <chiachi@android.com> Merge "VPN: migrate from generic Bundle to our own Parcelable VpnConfig."
04ba25c418bc4538e9dc0f047cfb9608d358f679 16-Jun-2011 Chia-chi Yeh <chiachi@android.com> VPN: migrate from generic Bundle to our own Parcelable VpnConfig.

Note that VpnConfig is for internal use only.
Also remove hidden methods from ConnectivityManager.

Change-Id: Ic298c4dc9a2c6c452bd8f4be6fa84e7ac489c0c4
ndroid/internal/net/VpnConfig.aidl
ndroid/internal/net/VpnConfig.java
3b1fc47d004f6b29af8f40d181baa3460b1e3b15 13-Jun-2011 Michael Jurka <mikejurka@google.com> Port recent apps from tablet to phone

- wire up to long press on home
- remove unused recents activity
- remove duplicate recents resources in -large directories (using -sw600dp instead)
- fix issue with zoom/scale translation when recents was brought up

Change-Id: I45538ccaff49b46ac3659c4828f9e2b0cd075241
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
938ef7aeb75268c0b092727fb76e999ffb744b56 15-Jun-2011 Dianne Hackborn <hackbod@google.com> Merge "resolved conflicts for merge of e95c07bd to master"
c391a9888c6c3038a53fd53c330a65f68ff09a28 15-Jun-2011 Adam Powell <adamp@google.com> Merge "Fix bug 4521549 - Crash in ScrollingTabContainerView, when using a tab with null text"
251df77861525cca79d38bcee7c45c16c6752e40 15-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4521549 - Crash in ScrollingTabContainerView, when using a tab
with null text

Change-Id: I6c287c95bafa732018048c11933ddba82fa26d9f
ndroid/internal/widget/ScrollingTabContainerView.java
e460e6d7181282937fc79119e3271bb8a80cffcf 15-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add View.getResolvedLayoutDirection()"
c0053223bedf33581b0830fb87be32c1f26e5372 13-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add View.getResolvedLayoutDirection()

- update Callback2 interface
- update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic
by changing "boolean isRtl" parameter to "int layoutDirection"
- fix BiDiTests for RTL FrameLayout

Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
ndroid/internal/view/menu/IconMenuItemView.java
3fe9cc5ea6a9e1acd52144c8ae6cb0492dba34ba 15-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of e95c07bd to master

Change-Id: I9af0c08a9f1c1f68661efe051a66835e850b76f6
e95c07bd8a4f658e035ba0ed2079357961af011b 15-Jun-2011 Dianne Hackborn <hackbod@google.com> am 7c7f8e18: am 0a8a2324: Merge "Fix issue #4603422: Compatibility mode button doesn\'t always update" into honeycomb-mr2

* commit '7c7f8e18dee8b582ec8e30a1412903ceec2ef5f5':
Fix issue #4603422: Compatibility mode button doesn't always update
7c7f8e18dee8b582ec8e30a1412903ceec2ef5f5 15-Jun-2011 Dianne Hackborn <hackbod@google.com> am 0a8a2324: Merge "Fix issue #4603422: Compatibility mode button doesn\'t always update" into honeycomb-mr2

* commit '0a8a2324239d7604e2a68349585aa67b59b25f4c':
Fix issue #4603422: Compatibility mode button doesn't always update
7d04932ef5c001769ccef244f551b75773f1666b 15-Jun-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4603422: Compatibility mode button doesn't always update

We now tell the system bar every time the top activity has changed for
it to re-evaluate its UI state.

Also fix issue #: 4607102 Low rider notifications. It turns out this
was due to the change in the dialog asset; the notification UI was relying
on this having a lot of padding to make it sit above the status bar.
Now we have an explicitly mechanism to set how much it overlaps (or doesn't)
the status bar.

Change-Id: Iab5ebd86e620ff4fc4cd77206e18af962ec2830e
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
e0adac0e72312048c3d874b24bc35d8c43253306 14-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4551701 - com.android.browser: java.lang.IllegalStateException

Fix a bug with split action bars and orientation changes.

Change-Id: If067803281c6ac23b51da5bf075fdf1be28afdc2
ndroid/internal/widget/ActionBarView.java
70832a3d77d90f09fb7ba27612c9cbec6a92abe6 14-Jun-2011 Jim Miller <jaggies@google.com> Some tuning for MultiWaveView animations and assets:
- allow individual chevrons to be specified for (top, bottom, left, right).
- move ring to pressed position (currently w/o animation)
- add top/bottom chevron handling and refactor code accordingly.
- constrain drag handle to the ring

Change-Id: I859b2d03d8f0397c68b87a8ee15df20d55c9552c
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ndroid/internal/widget/multiwaveview/Tweener.java
0c2313dc4f4bfaf6aa0506df4c54f25591a9e4c7 11-Jun-2011 Jeff Brown <jeffbrown@google.com> Mimic Zygote preload steps when using wrappers.

Change-Id: I45f182a952920f328d092e5ac86fc0f1c35eb6c1
ndroid/internal/os/WrapperInit.java
ndroid/internal/os/ZygoteInit.java
bc38d3e44e698f4db749c2feed34e13a94c54a1b 11-Jun-2011 Jeff Brown <jeffbrown@google.com> Merge "Optimize orientation changes."
24572375323dee79e3b456af07640ca194fd40bf 10-Jun-2011 Jeff Brown <jeffbrown@google.com> Optimize orientation changes.

Modified setRotation to allow it to restart a rotation in
progress as long as the rotation animation has not yet started.
This enables the system to recover more quickly from mispredicted
orientation changes.

Removed the call to System.gc() when freezing the display, which
added 60-80ms before we even started the orientation change.
We used to need this to make it less likely that an upcoming GC
would cause a pause during the window animation, but this is
not longer a concern with the concurrent GC in place.

Changed the wallpaper surface to be 32bit. This accelerates
drawing and improves the overall appearance slightly.

Reduced code duplication in the WallpaperManager.

Change-Id: Ic6e5e8bdce4b970b11badddd0355baaed40df88a
ndroid/internal/service/wallpaper/ImageWallpaper.java
b505074e8273887fbcd1e933738a42e770085fb8 09-Jun-2011 Jim Miller <jaggies@google.com> Add new MultiWaveView widget and integrate it into LockScreen

This adds a new multi-target widget to the framework and integrates
it into LockScreen.

Now with updated assets.

Change-Id: Ib41595b9e80a7be6d647f44c803a77f9e5bfeca9
ndroid/internal/widget/multiwaveview/Ease.java
ndroid/internal/widget/multiwaveview/MultiWaveView.java
ndroid/internal/widget/multiwaveview/TargetDrawable.java
ndroid/internal/widget/multiwaveview/Tweener.java
cc2e5bea7da9339a9c03a9616f22348978e8909c 10-Jun-2011 Adam Powell <adamp@google.com> Fix some measurement/sizing with split action bars

Change-Id: I5fded370d214eb0a50d06fd6a14446227d3b30ac
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
21e2f1b4a0877ee38f7ba89eb32f585fb34431f3 10-Jun-2011 satok <satok@google.com> Merge "API to set additional subtypes"
e7c6998e0a953ae55487d4fe122739646f9280aa 03-Jun-2011 satok <satok@google.com> API to set additional subtypes

Bug: 4321667

- Due to the voice team's strong request

Change-Id: Ia8bbc277c0987bde996e6f65541877cec96a3ca1
ndroid/internal/view/IInputMethodManager.aidl
81cf3ecadefb8fd6c05771b0b9947babaa9c8eaf 17-May-2011 Adam Powell <adamp@google.com> Action buttons now use themable style.

Obey action view layoutparams.

Change-Id: Ia466008465b57659615fbf9d450ce3fdb3c06379
ndroid/internal/view/menu/MenuItemImpl.java
fdac5ea9715a3bd2a3ceed847b60551a28e956bb 10-Jun-2011 Adam Powell <adamp@google.com> Merge "Refine the behavior of split action bars."
1ab418a222e1834c4b1312fde355e41a1947af0d 10-Jun-2011 Adam Powell <adamp@google.com> Refine the behavior of split action bars.

Change-Id: I27212c7554025433ee366f0766971f0092b26d67
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
924b7c74960c88660d0d4bae84433c1592a81834 10-Jun-2011 John Wang <johnwang@google.com> am 4d042048: am 08a8f3f9: Merge "Set emergency call text visibility." into honeycomb-LTE

* commit '4d042048243f38d3062ab4719ac26c9154380115':
Set emergency call text visibility.
310849abb1a0763ea9912b59187f0a4271efaa2e 09-Jun-2011 Adam Powell <adamp@google.com> Bug 4563099 - Action bar tabs - place second row tabs on top in the
absence of home/up

Change-Id: I9d656962161f0cb26cecbc85991b347d2e951c76
ndroid/internal/widget/ActionBarContainer.java
dde8d112e4bc0077da8d8f50b5ef8d1153aec7c8 15-Dec-2010 Matthias Thomae <matthias.thomae@teleca.com> Add support for bmp and wav content types in MMS

This change adds support for bitmap images (.bmp) and wave audio
(.wav) formats for MMS. This is a must-have requirement for some
operators.
oogle/android/mms/ContentType.java
4d042048243f38d3062ab4719ac26c9154380115 09-Jun-2011 John Wang <johnwang@google.com> am 08a8f3f9: Merge "Set emergency call text visibility." into honeycomb-LTE

* commit '08a8f3f9dc035bc462061ae87090a8da59c6713a':
Set emergency call text visibility.
5328bf0b2e62c2719daf9154edbe81fd819974a6 09-Jun-2011 John Wang <johnwang@google.com> Set emergency call text visibility.

Set emergency call text visibility based on
emergencyCallCapable config for sim missing
and networklock screens.

bug:4392059
Change-Id: Ibfe92405ada7b452927940295c090d88ecd79519
ndroid/internal/widget/LockPatternUtils.java
de13001f765e30bc29a3a74bfa751cc42e426a93 08-Jun-2011 John Wang <johnwang@google.com> am 1f866589: am 71030e53: Merge "Add SIM PUK unlockscreen." into honeycomb-LTE

* commit '1f8665895f71904b9d757854277cb637841356c3':
Add SIM PUK unlockscreen.
d2a458750e5a3d490af09cecb5c28370baf0a913 29-May-2011 Jeff Sharkey <jsharkey@android.com> Map network identity using ConnectivityService.

Instead of deriving network identity based on raw subsystem broadcasts,
listen for updates from ConnectivityService. Added atomic view of all
active NetworkState, and build map from "iface" to NetworkIdentity set
for stats tracking.

To avoid exposing internal complexity, INetworkStatsService calls use
general templates. Added TelephonyManager mapping to classify network
types using broad labels like "3G" or "4G", used to drive templates.

Cleaned up Objects and Preconditions.

Change-Id: I1d4c1403f0503bc3635a59bb378841ba42239a91
ndroid/internal/util/Objects.java
ndroid/internal/util/Preconditions.java
1f8665895f71904b9d757854277cb637841356c3 07-Jun-2011 John Wang <johnwang@google.com> am 71030e53: Merge "Add SIM PUK unlockscreen." into honeycomb-LTE

* commit '71030e536522449f34dc584fda94f34e7be6ee19':
Add SIM PUK unlockscreen.
0f7b3f8ba5c2f0b8f96e072bd866c9fb374ebdeb 31-May-2011 John Wang <johnwang@google.com> Add SIM PUK unlockscreen.

Puk unlockscreen is implemented as SimPukUnlockScreen.

Added config_enable_puk_unlock_screen to control the display of puk unlock screen.

Using config_voice_capable to control the display of emergency call button.

bug:4384956

Change-Id: I2b8256b4ecdf3d4f1e85c4e868fac1810cfd29be
ndroid/internal/widget/LockPatternUtils.java
8643aa0179e598e78d938c59035389054535a229 20-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Interrogation of the view hierarchy from an AccessibilityService.

1. Views are represented as AccessibilityNodeInfos to AccessibilityServices.

2. An accessibility service receives AccessibilityEvents and can ask
for its source and gets an AccessibilityNodeInfo which can be used
to get its parent and children infos and so on.

3. AccessibilityNodeInfo contains some attributes and actions that
can be performed on the source.

4. AccessibilityService can request the system to preform an action
on the source of an AccessibilityNodeInfo.

5. ViewAncestor provides an interaction connection to the
AccessibiltyManagerService and an accessibility service uses
its connection to the latter to interact with screen content.

6. AccessibilityService can interact ONLY with the focused window
and all calls are routed through the AccessibilityManagerService
which imposes security.

7. Hidden APIs on AccessibilityService can find AccessibilityNodeInfos
based on some criteria. These API go through the AccessibilityManagerServcie
for security check.

8. Some actions are hidden and are exposes only to eng builds for UI testing.

Change-Id: Ie34fa4219f350eb3f4f6f9f45b24f709bd98783c
ndroid/internal/view/BaseIWindow.java
eefaf27d55cb51f5d3986ec73b07f80e545338c5 03-Jun-2011 Brian Carlstrom <bdc@google.com> Merge "KeyStore.reset changes"
e2afc2420d29c2d3d04a05ed5839c12f3b267b23 03-Jun-2011 Brian Carlstrom <bdc@google.com> KeyStore.reset changes

restore keystore reset behavior of removing master key.
otherwise after reboot keystore has is LOCKED and not UNINITIALIZED
cmds/keystore/keystore.cpp

when removing password, reset the keystore, so it doesn't remain
locked with a now bogus password.

core/java/com/android/internal/widget/LockPatternUtils.java

Change-Id: If5e0bb50b42599e9ca27a8b91d6cec12528419a1
ndroid/internal/widget/LockPatternUtils.java
c6f1f4ac3b3f19222cb72c44e19d5251a3b46831 02-Jun-2011 Gilles Debunne <debunne@google.com> am ca6c3a2b: am 4ce6822b: am 24de44a1: Merge "ExternalStorageFormatter takes an optional StorageVolume target." into honeycomb-mr2

* commit 'ca6c3a2bba4445f492117697cb304a014a185159':
ExternalStorageFormatter takes an optional StorageVolume target.
5ee36c48be8d36c5f4025202e8ede561c9ad3aba 02-Jun-2011 Adam Powell <adamp@google.com> Handle action modes in the IME extract mode view.

This presents action modes (such as the one for text editing) in a
less screen-consuming way in the IME extract mode layout. The submit
button is replaced by an "Edit..." button that shows the action mode
menu when clicked.

Still needs UX design and tweaking.

Change-Id: Ia7b3f3446edced0ee5a9abc5e2f0ff16f4fa3ab1
ndroid/internal/app/ActionBarImpl.java
c3076425bba5c129408338be4e138f8be16855a6 02-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4520517 - IllegalStateException entering tab mode

Change-Id: I0ebf3aea98060e27e9687f48dff05f7310046ce5
ndroid/internal/widget/ActionBarView.java
8d02deabac62c4a68a335a7b3141795466362b89 01-Jun-2011 Adam Powell <adamp@google.com> Implement bug 4500971 - Collapsable action views

Action views may now be flagged as 'collapsable'. This means that the
action menu will always show them in the collapsed state by
default. When selected, the action view will "take over" the
navigation/view side of an action bar until dismissed via the home/up
button.

This feature allows for more long-term exclusive modes akin to
ActionModes but less intrusive. The action menu itself remains
unaffected. Collapsable action views are ideal for things such as
search or categories of tool palettes.

Change-Id: Ibafce5631befbfe67c5d834c2e2617d3d7f6da7a
ndroid/internal/view/menu/ActionMenuItem.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/BaseMenuPresenter.java
ndroid/internal/view/menu/ListMenuPresenter.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/view/menu/MenuPopupHelper.java
ndroid/internal/view/menu/MenuPresenter.java
ndroid/internal/view/menu/SubMenuBuilder.java
ndroid/internal/widget/AbsActionBarView.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
7ae03cda10eddbde0d992ec82b2d5dacaf6eb10f 01-Jun-2011 Brian Carlstrom <bdc@google.com> Merge "Integrating keystore with keyguard (Part 1 of 4)"
5cfee3fabb3482c6a6df1c8b6f21e843cf214527 31-May-2011 Brian Carlstrom <bdc@google.com> Integrating keystore with keyguard (Part 1 of 4)

Summary:

frameworks/base
keystore rewrite
keyguard integration with keystore on keyguard entry or keyguard change
KeyStore API simplification

packages/apps/Settings
Removed com.android.credentials.SET_PASSWORD intent support
Added keyguard requirement for keystore use

packages/apps/CertInstaller
Tracking KeyStore API changes
Fix for NPE in CertInstaller when certificate lacks basic constraints

packages/apps/KeyChain
Tracking KeyStore API changes

Details:

frameworks/base

Move keystore from C to C++ while rewriting password
implementation. Removed global variables. Added many comments.

cmds/keystore/Android.mk
cmds/keystore/keystore.h
cmds/keystore/keystore.c => cmds/keystore/keystore.cpp
cmds/keystore/keystore_cli.c => cmds/keystore/keystore_cli.cpp

Changed saveLockPattern and saveLockPassword to notify the keystore
on changes so that the keystore master key can be reencrypted when
the keyguard changes.

core/java/com/android/internal/widget/LockPatternUtils.java

Changed unlock screens to pass values for keystore unlock or initialization

policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java
policy/src/com/android/internal/policy/impl/PatternUnlockScreen.java

KeyStore API changes
- renamed test() to state(), which now return a State enum
- made APIs with byte[] key arguments private
- added new KeyStore.isEmpty used to determine if a keyguard is required

keystore/java/android/security/KeyStore.java

In addition to tracking KeyStore API changes, added new testIsEmpty
and improved some existing tests to validate expect values.

keystore/tests/src/android/security/KeyStoreTest.java

packages/apps/Settings

Removing com.android.credentials.SET_PASSWORD intent with the
removal of the ability to set an explicit keystore password now
that the keyguard value is used. Changed to ensure keyguard is
enabled for keystore install or unlock. Cleaned up interwoven
dialog handing into discrete dialog helper classes.

AndroidManifest.xml
src/com/android/settings/CredentialStorage.java

Remove layout for entering new password

res/layout/credentials_dialog.xml

Remove enable credentials checkbox

res/xml/security_settings_misc.xml
src/com/android/settings/SecuritySettings.java

Added ability to specify minimum quality key to ChooseLockGeneric
Activity. Used by CredentialStorage, but could also be used by
CryptKeeperSettings. Changed ChooseLockGeneric to understand
minimum quality for keystore in addition to DPM and device
encryption.

src/com/android/settings/ChooseLockGeneric.java

Changed to use getActivePasswordQuality from
getKeyguardStoredPasswordQuality based on experience in
CredentialStorage. Removed bogus class javadoc.

src/com/android/settings/CryptKeeperSettings.java

Tracking KeyStore API changes

src/com/android/settings/vpn/VpnSettings.java
src/com/android/settings/wifi/WifiSettings.java

Removing now unused string resources

res/values-af/strings.xml
res/values-am/strings.xml
res/values-ar/strings.xml
res/values-bg/strings.xml
res/values-ca/strings.xml
res/values-cs/strings.xml
res/values-da/strings.xml
res/values-de/strings.xml
res/values-el/strings.xml
res/values-en-rGB/strings.xml
res/values-es-rUS/strings.xml
res/values-es/strings.xml
res/values-fa/strings.xml
res/values-fi/strings.xml
res/values-fr/strings.xml
res/values-hr/strings.xml
res/values-hu/strings.xml
res/values-in/strings.xml
res/values-it/strings.xml
res/values-iw/strings.xml
res/values-ja/strings.xml
res/values-ko/strings.xml
res/values-lt/strings.xml
res/values-lv/strings.xml
res/values-ms/strings.xml
res/values-nb/strings.xml
res/values-nl/strings.xml
res/values-pl/strings.xml
res/values-pt-rPT/strings.xml
res/values-pt/strings.xml
res/values-rm/strings.xml
res/values-ro/strings.xml
res/values-ru/strings.xml
res/values-sk/strings.xml
res/values-sl/strings.xml
res/values-sr/strings.xml
res/values-sv/strings.xml
res/values-sw/strings.xml
res/values-th/strings.xml
res/values-tl/strings.xml
res/values-tr/strings.xml
res/values-uk/strings.xml
res/values-vi/strings.xml
res/values-zh-rCN/strings.xml
res/values-zh-rTW/strings.xml
res/values-zu/strings.xml
res/values/strings.xml

packages/apps/CertInstaller

Tracking KeyStore API changes
src/com/android/certinstaller/CertInstaller.java

Fix for NPE in CertInstaller when certificate lacks basic constraints
src/com/android/certinstaller/CredentialHelper.java

packages/apps/KeyChain

Tracking KeyStore API changes
src/com/android/keychain/KeyChainActivity.java
src/com/android/keychain/KeyChainService.java
support/src/com/android/keychain/tests/support/IKeyChainServiceTestSupport.aidl
support/src/com/android/keychain/tests/support/KeyChainServiceTestSupport.java
tests/src/com/android/keychain/tests/KeyChainServiceTest.java

Change-Id: Ic141fb5d4b43d12fe62cb1e29c7cbd891b4be35d
ndroid/internal/widget/LockPatternUtils.java
c619e74cc62678cef09b5f92e87e762a1f02aab7 01-Jun-2011 Gilles Debunne <debunne@google.com> ActionBar makes room for icons when no title is provided

Change-Id: I5bd09e00b50496032deda40ea22367d727230611
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/widget/ActionBarContextView.java
39a8dc4aaf6b8ff63b3168a8f7e3b8153d3891d8 28-May-2011 Adam Powell <adamp@google.com> Fix bug 4499292 - ActionBar tabs don't show the first time

Fix an order of operations issue with actionbar tab initialization.

Change-Id: Ie1b1c76614eafc68e0069985b93683b44699b958
ndroid/internal/widget/ActionBarView.java
3526556135e433504742c2ae4fcaada3525a6464 28-May-2011 Adam Powell <adamp@google.com> Fix bug 4399686 - missing menu after returning from fullscreen video
playback in browser

Change-Id: I992c6b1b4db738f937646e0dcac1c83fa5ab4e35
ndroid/internal/widget/ActionBarView.java
098f5bd427574b2d80912d683a2d4c0ca23e998f 27-May-2011 Adam Powell <adamp@google.com> Merge "Action bar tab layout tweaks."
d21aa12e8eb9d46ee92bf408b4b48386c6bf062d 27-May-2011 Adam Powell <adamp@google.com> Action bar tab layout tweaks.

Let tabs consume the full action bar when the menu is empty and other
elements are disabled when the tab bar would normally split onto a
second row..

Fix bug 4489724 - bug in ActionBarImpl#cleanupTabs.

Change-Id: I28a235d339137add0b106c6e733a6767fa547810
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContainer.java
ndroid/internal/widget/ActionBarView.java
5ff0f99b23da389f59fe736c4c670c60f13be8ea 27-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add support for Gravity BEFORE and AFTER"
6a03640539405afbdefe72894759281b98aa6e6f 23-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Add support for Gravity BEFORE and AFTER

- update layouts
- add Callback2 for RTL aware Drawable
- add unit tests

Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/widget/TextProgressBar.java
ca6c3a2bba4445f492117697cb304a014a185159 27-May-2011 Gilles Debunne <debunne@google.com> am 4ce6822b: am 24de44a1: Merge "ExternalStorageFormatter takes an optional StorageVolume target." into honeycomb-mr2

* commit '4ce6822bc63665ca3e9d9984766f367ce4f4d3a7':
ExternalStorageFormatter takes an optional StorageVolume target.
4ce6822bc63665ca3e9d9984766f367ce4f4d3a7 27-May-2011 Gilles Debunne <debunne@google.com> am 24de44a1: Merge "ExternalStorageFormatter takes an optional StorageVolume target." into honeycomb-mr2

* commit '24de44a1877be3e5d63697f90c98a87a4d88b1fb':
ExternalStorageFormatter takes an optional StorageVolume target.
25151e4792e9be8dbb892b7eba7349773b8127af 27-May-2011 Adam Powell <adamp@google.com> Fix bug 4487948 - action bar tabs + configuration change = :(

Change-Id: If7f622865ae5597cd9fb664a2952481da5c7e09a
ndroid/internal/widget/ActionBarContainer.java
37051cdd8624c4821bb68169be427061c48ad837 26-May-2011 Gilles Debunne <debunne@google.com> ExternalStorageFormatter takes an optional StorageVolume target.

Change-Id: Ic85689659dbf49a7fcc1b7aaf25e4a94e62848b9
ndroid/internal/os/storage/ExternalStorageFormatter.java
f9f01008624e2d28c15a90d942fa36f98c8c967d 19-May-2011 satok <satok@google.com> Add Apis to send notifications when the suggestion was picked

- Due to a strong request from VoiceIME

Bug: 4443922

Change-Id: Ia539de0acf66053e0349daec459d75e36805f6bf
ndroid/internal/view/IInputMethodManager.aidl
ndroid/internal/widget/EditableInputConnection.java
f8ac6b7394cfd37f01471bb35475ff2930eee140 24-May-2011 Adam Powell <adamp@google.com> Action bar tab layout

Sync with UX on action bar tab layout behavior.

Make action bar tabs behave better with configuration changes.

LinearLayout now supports largest child measurement in unspecified
mode.

Change-Id: Id520641715a61c07e64124a0c5a70912996c98a0
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
ndroid/internal/widget/ScrollingTabContainerView.java
c1eb82373a89cff9ed04e581a8fb39eee1f739ab 24-May-2011 Jeff Brown <jeffbrown@google.com> Merge "Input device protocol enhancements."
80fd47ce75253dcdc2cfa85d7a3f42634b923a47 24-May-2011 Jeff Brown <jeffbrown@google.com> Input device protocol enhancements.

Added support for Linux multitouch protocol B (slots).

Added support for using the device's input properties as a hint
to determine the intended usage of a touch device.

Added support for the ABS_MT_DISTANCE axis.

Fixed a bug reporting the presence of the orientation axis.

Change-Id: Icf7b5a5a0f1a9cdf6ad2b35be8ea0c1a35815d48
ndroid/internal/widget/PointerLocationView.java
b5b1fb25853eb2e00f981d3b0bb52acd50684c4f 24-May-2011 Jeff Brown <jeffbrown@google.com> Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"
ebed7d6e35f7f960e6e6add2b8ab7c7a31a511c3 17-May-2011 Jeff Brown <jeffbrown@google.com> Support wrapping app processes to inject debug instrumentation.
Bug: 4437846

Change-Id: I4552501c693716b14714afb5c5248edaca9547ab
ndroid/internal/os/RuntimeInit.java
ndroid/internal/os/WrapperInit.java
ndroid/internal/os/ZygoteConnection.java
ndroid/internal/os/ZygoteInit.java
f4232e0097ffb672f5d1559b20c7230081efe34f 23-May-2011 Adam Powell <adamp@google.com> Change action button layout for split action bars

Change-Id: Ie1427ae6b0334bf0a8afd5cae968c286c82a3837
ndroid/internal/view/menu/ActionMenuView.java
f746fc9e45c2bc80d8af2eb10d849c5807ebe1c7 21-May-2011 Adam Powell <adamp@google.com> Fix bug 4450805 - item selection dispatching in submenus.

Change-Id: I6c56c9c8c6bd6c719250df4a21bda7d0ef463de4
ndroid/internal/view/menu/SubMenuBuilder.java
90177e59e5211dd9ab33761ce800e8a86a49d1e2 20-May-2011 Adam Powell <adamp@google.com> am d40575eb: am b9537db8: Merge "DO NOT MERGE Action bar config changes" into honeycomb-mr2

* commit 'd40575eb983eb7a1d383acc1f30f467374acd085':
DO NOT MERGE Action bar config changes
d40575eb983eb7a1d383acc1f30f467374acd085 20-May-2011 Adam Powell <adamp@google.com> am b9537db8: Merge "DO NOT MERGE Action bar config changes" into honeycomb-mr2

* commit 'b9537db8d9ee27efb4a98415ad2d6b50c1806e5d':
DO NOT MERGE Action bar config changes
dacbb746c99bd80bd618f1ba14eaa5a969e3b148 20-May-2011 Adam Powell <adamp@google.com> DO NOT MERGE Action bar config changes

Handle action bar padding on configuration changes when the app
handles these changes itself.

Change-Id: I044da9253a0be6b4bbabdc12891b6d4786725afa
ndroid/internal/widget/ActionBarView.java
961f8bef185389f81f33e091f108e2f313a43e5a 18-May-2011 Adam Powell <adamp@google.com> am 98603eed: am 30a76196: Merge "Fix bug 4416126 - orientation change bug with action bar overflow menu" into honeycomb-mr2

* commit '98603eed2ff95d1d0dcb7fc1ecf3c35f3b447f55':
Fix bug 4416126 - orientation change bug with action bar overflow menu
98603eed2ff95d1d0dcb7fc1ecf3c35f3b447f55 18-May-2011 Adam Powell <adamp@google.com> am 30a76196: Merge "Fix bug 4416126 - orientation change bug with action bar overflow menu" into honeycomb-mr2

* commit '30a76196c8f426b530a80166817d3280acb2b100':
Fix bug 4416126 - orientation change bug with action bar overflow menu
5d6c990b7fa1f83a7d96fbdcd6b056275e091878 18-May-2011 Adam Powell <adamp@google.com> Fix bug 4416126 - orientation change bug with action bar overflow menu

Change-Id: I8e327bd41e610c792db4eed36ed46b58e94c0ea0
ndroid/internal/view/menu/ActionMenuView.java
5d4034a37e5ac3832b91388024f6eddf343cf3f6 17-May-2011 Adam Powell <adamp@google.com> resolved conflicts for merge of 2b6ace58 to master

Change-Id: Icaff26a56c3e467317ca16d71e61fe8c5e60dfda
2b6ace5811c17e5fe5e4cf0b215395b7fb4c250d 17-May-2011 Adam Powell <adamp@google.com> am bd32a79e: am f721b398: Merge "Prevent cases of bogus action bar measurement." into honeycomb-mr2

* commit 'bd32a79ecb1109c71f80510c927f6dbc131ae563':
Prevent cases of bogus action bar measurement.
bd32a79ecb1109c71f80510c927f6dbc131ae563 17-May-2011 Adam Powell <adamp@google.com> am f721b398: Merge "Prevent cases of bogus action bar measurement." into honeycomb-mr2

* commit 'f721b398ad69503e1212e5fe8a44d176d25f135a':
Prevent cases of bogus action bar measurement.
1b4a1628f3c6deb5f3ce9027c4e5aaf98dab4d75 17-May-2011 Adam Powell <adamp@google.com> Prevent cases of bogus action bar measurement.

Change-Id: I92d3bc41aa82835e1aa23f208ab61e943266f186
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
143c529f28bd49e077e4bc36ff30ed2ff7ffb838 17-May-2011 Adam Powell <adamp@google.com> am 21f1d49f: am a7f52d46: Merge "DO NOT MERGE Use action bar overflow menus on large configurations as well as xlarge." into honeycomb-mr2

* commit '21f1d49f0eac47c1ebbabf82f145dc60f988d069':
DO NOT MERGE Use action bar overflow menus on large configurations as well as xlarge.
21f1d49f0eac47c1ebbabf82f145dc60f988d069 17-May-2011 Adam Powell <adamp@google.com> am a7f52d46: Merge "DO NOT MERGE Use action bar overflow menus on large configurations as well as xlarge." into honeycomb-mr2

* commit 'a7f52d4665967b4331d38408ba81af37ec589cb4':
DO NOT MERGE Use action bar overflow menus on large configurations as well as xlarge.
b07f943273a06383b4ab81793cbb6292f3d1586a 16-May-2011 Adam Powell <adamp@google.com> DO NOT MERGE Use action bar overflow menus on large configurations as
well as xlarge.

ICS will have a more intelligent way of determining this.

Change-Id: I1ba6460dec09b8259db858c78a9157bb7742c85d
ndroid/internal/view/menu/ActionMenuView.java
fe9f8ab03a63b1037f07dd85799fbea80ec6adaa 07-May-2011 Jeff Brown <jeffbrown@google.com> Add initial API for stylus and mouse buttons.

Added the concept of pointer properties in a MotionEvent.
This is currently used to track the pointer tool type to enable
applications to distinguish finger touches from a stylus.

Button states are also reported to application as part of touch events.

There are no new actions for detecting changes in button states.
The application should instead query the button state from the
MotionEvent and take appropriate action as needed.

A good time to check the button state is on ACTION_DOWN.

As a side-effect, applications that do not support multiple buttons
will treat primary, secondary and tertiary buttons identically
for all touch events.

The back button on the mouse is mapped to KEYCODE_BACK
and the forward button is mapped to KEYCODE_FORWARD.

Added basic plumbing for the secondary mouse button to invoke
the context menu, particularly in lists.

Added clamp and split methods on MotionEvent to take care of
common filtering operations so we don't have them scattered
in multiple places across the framework.

Bug: 4260011
Change-Id: Ie992b4d4e00c8f2e76b961da0a902145b27f6d83
ndroid/internal/widget/PointerLocationView.java
1d4d30aebd2c22627131819cabfe95f97def2c83 28-Apr-2011 Daniel Sandler <dsandler@google.com> It's lights out for you, navigation bar!

Views requesting lights out mode will cause the navbar to
disappear (this is useful for viewing videos/photos/etc
using every pixel of the screen).

But there's a catch: any user activity at all will cause the
lights to come back on and the navbar to return.

Change-Id: I535ed3ba9ae7fab3282c402be256add765395b6f
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
fba19ff5e8135878a1d87ed696e0a89cc776f37e 28-Apr-2011 Irfan Sheriff <isheriff@google.com> DO NOT MERGE Define Protocol class

Adds a common namespace for communication across
different state machines

Change-Id: Ib6a29715c651371f91a950348a8525275b6026a0
ndroid/internal/util/Protocol.java
5c1cb19f4075b3c4ab895a30ab5f2469aff5b553 06-May-2011 Adam Powell <adamp@google.com> Fix bug 4383987 - animate action modes with split action bars

Change-Id: I6aa800ae12ef51d1ba79f059ede7413d662a7d1a
ndroid/internal/widget/AbsActionBarView.java
b51cc1dd63808da505cd8beb7300f57dc98ff1d3 05-May-2011 Patrick Dubroy <dubroy@google.com> Merge "Only delay pressed feedback for Views inside a scrolling parent"
e0a799a2ac1ca78e30fbac9e4e12a063425c08d3 05-May-2011 Patrick Dubroy <dubroy@google.com> Only delay pressed feedback for Views inside a scrolling parent

Add a method on ViewGroup to determine whether it supports scrolling.
This allows us to show the pressed feedback immediately in many cases,
improving responsiveness of buttons, etc.

This patch also lengthens the timeout in order to reduce flashes
when the user is scrolling.

Change-Id: Ieb91ae7a1f8e8f7e87448f2a730381a53947996f
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
c6cc0f8c19d9eccf408a443fa2bf668af261dcd0 12-Apr-2011 Joe Onorato <joeo@google.com> Rename ViewRoot to ViewAncestor.

ViewRoot is about to be a new public class for poking at ViewAncestor.

Change-Id: Ie95d707c6d8bbb48f78d093d7b2667851812a7d5
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
f3cd1d957c0d709a4704722b6397c934c1a770b8 27-Apr-2011 Adam Powell <adamp@google.com> Bug 4269063 - Populate contentdescription in action bar

home/up and action menu

Change-Id: Ia09d78d9d37848621e025b9af93a92cfd3bb8dc7
ndroid/internal/widget/ActionBarView.java
d1f4207ba577e2ac3f39a719f8ee4bb9f4940dc1 04-May-2011 Adam Powell <adamp@google.com> Fix bug 4355335 - android.app.cts.DialogTest.testContextMenu failing on IRJ28

Change-Id: Icfcd8c2aadd0fb9e49296b8318858317407e1b7f
ndroid/internal/view/menu/MenuDialogHelper.java
0d42f17f5ef034314ed65c3df47ed8ca24d38a12 03-May-2011 Adam Powell <adamp@google.com> Merge "Fix bug 4345702 - update action bar tab views when the Tab object is updated"
0d8ec1d739e15c232c58a5a5de605685830c287e 03-May-2011 Adam Powell <adamp@google.com> Fix bug 4345702 - update action bar tab views when the Tab object is
updated

Also fix a bug with visibility of split action bar views.

Change-Id: Iadd63d5e9b6cb9debab0f7a777e424e4c4807a13
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
f45f13bd152ce2743b3da06b83e9d25abe8b0917 03-May-2011 Wink Saville <wink@google.com> am 3165f1a8: am d0d44c4e: Merge "Make DataConnection asynchronous." into honeycomb-LTE

* commit '3165f1a8eb707b36a6b2c66379c3fde85d9cc2fd':
Make DataConnection asynchronous.
3165f1a8eb707b36a6b2c66379c3fde85d9cc2fd 03-May-2011 Wink Saville <wink@google.com> am d0d44c4e: Merge "Make DataConnection asynchronous." into honeycomb-LTE

* commit 'd0d44c4e988ecdea86c2bb04e29d8f6d20c1c631':
Make DataConnection asynchronous.
e42b189f369b6b0cb35095bc5386ba82b5ce39a5 03-May-2011 Adam Powell <adamp@google.com> Remove debug logging

Change-Id: If1a8ef5461b98239d8f55f842e1043b6b3d0f070
ndroid/internal/view/menu/ActionMenuPresenter.java
04748befb89768cdd2f0a3560d4951ff94c2b0af 03-May-2011 Adam Powell <adamp@google.com> Merge "Refactoring of action bar internals"
640a66eac612b850b5dabd3b93bd94f83ed2d567 29-Apr-2011 Adam Powell <adamp@google.com> Refactoring of action bar internals

Split action bar implementation details. Factor out common components
into AbsActionBar. Layout rules for the lower half of split action
bars.

Change-Id: I6bc39ba6c343055597880a7d4663dd8f30aa4999
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/widget/AbsActionBarView.java
ndroid/internal/widget/ActionBarContainer.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
0b80114a2d80c359a1b462c388247995ef653c00 03-May-2011 Wink Saville <wink@google.com> Make DataConnection asynchronous.

Change-Id: Ic0e01dded25ba1fdb3b2c6d0f95a1193f608a0e0
ndroid/internal/util/Protocol.java
a0449f03eb12462189f7a75f55e4751e1e2bcbcd 02-May-2011 Wink Saville <wink@google.com> Resolve merge conflicts for merge of 21083066 to master.

Change-Id: Ief83f7abdd3396af965fb86ad6815e16ce36ff5c
210830664d8525b6913a349b067ce11245f3536b 02-May-2011 Wink Saville <wink@google.com> am 7e74c60d: Merge "Enhance AsyncChannel." into honeycomb-LTE

* commit '7e74c60db5261ea137c8f6672f8573873eb5814e':
Enhance AsyncChannel.
0246bbc8d7b646a2344d04d5af41580fa9e17a98 02-May-2011 Wink Saville <wink@google.com> Enhance AsyncChannel.

- Use Protocol for BASE of CMD's.
- Add synchronous connect methods.
- Back port sha1 c23971b3e4f92ac31996d4f9f32eef3cb4ef65fd from master

Change-Id: If0b3f6cbbb8d4268cad6ca19d26ab2ee42390d86
ndroid/internal/util/AsyncChannel.java
ndroid/internal/util/Protocol.java
5e3357fcee2a23a08434873a89e8ada4c6e6d893 02-May-2011 Conley Owens <cco3@android.com> Merge commit '5eb49e0f' into m

Conflicts:
core/java/com/android/internal/os/BatteryStatsImpl.java

Change-Id: Idc9c84c2ca7dec2540ceccead7927fddb912ff12
5eb49e0f1e8e03e8808d8d7da6d5ffb761400e0b 30-Apr-2011 Conley Owens <cco3@android.com> am e321d064: am 2f463ef1: Merge "Adding a sanity test in the while loop in readHistory()"

* commit 'e321d06430304fa93282c765aa6070c908121a16':
Adding a sanity test in the while loop in readHistory()
2f463ef18bb235be57b39cbda536bcd2df2d0908 29-Apr-2011 Conley Owens <cco3@android.com> Merge "Adding a sanity test in the while loop in readHistory()"
9b4bee0f14bbd137b0797127aff2df46a6321ec5 28-Apr-2011 Adam Powell <adamp@google.com> Introducing the split action bar.

Apply (or extend) the theme Theme.Holo.SplitActionBarWhenNarrow or
Theme.Holo.Light.SplitActionBarWhenNarrow to enable splitting the
action bar across both the top and bottom of the screen. This places
the action menu along the bottom, leaving more room at the top for
titles, navigation, and custom views and more room at the bottom for
menu items.

TODO: Refine layout of the action menu when placed at the bottom of
the screen. Make action modes split as well.

Change-Id: I92c91f99c533f26aecf6b828ed041386c4f16922
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/widget/ActionBarView.java
2dbf683b61cd2e6389fed2c028a18928234e315f 28-Apr-2011 Irfan Sheriff <isheriff@google.com> am c1f39396: am 8f87f838: Merge "Define Protocol class for use with StateMachine" into honeycomb-LTE

* commit 'c1f39396b94837f728c56b4c3e2f5c37e1d0eef7':
Define Protocol class for use with StateMachine
3fc75e9267a585101a06edc13d141b58efb9691f 28-Apr-2011 Irfan Sheriff <isheriff@google.com> Define Protocol class for use with StateMachine

Adds a common namespace for communication across
different state machines

Change-Id: I0a9ae872112567afd35a1dc95ac9283170f3f459
ndroid/internal/util/Protocol.java
dae7824c4b78d02159c6ad0896f246942d7b3d8c 26-Apr-2011 Adam Powell <adamp@google.com> Action bar work for phones

Drop tabs to a second row at < w480dp

Make 9-patches for the cab's "done" button thinner

Add a "disable home" display option to the action bar to turn off
focus and touch feedback when tapping home would do nothing

Change-Id: Ib2eedf311655f02055357321e2e9ad5b9037fed1
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContainer.java
ndroid/internal/widget/ActionBarView.java
d0f650c6c3a123c856bb0adb138ae7cd0deed3d1 23-Apr-2011 Adam Powell <adamp@google.com> Fix mipmap selection for action bar icons

Change-Id: I6d34dabb5289284fd5821695ad14d8bdeb97e50d
ndroid/internal/widget/ActionBarView.java
45c515b0e962ee8ffc901872bcc9f25599ea0e78 22-Apr-2011 Adam Powell <adamp@google.com> Action bar work for phones

Tweak sizing and layouts for action bar on smaller devices. The action
bar's size is now partially dependent on form factor and orientation
to conserve screen space, especially in landscape mode.

Alter the max action menu items for smaller devices. Disallow text on
action menu items with a horizontal width of less than 480dp when an
icon is available.

Remove the "Done" text on the action mode close button. (TODO: get a
properly sized 9-patch resource for this - the current one has an
intrinsic width that is too large.)

When setting an action bar icon as a resource ID, the bar will attempt
to load a mipmapped resource that is the closest available for the
target size.

Change-Id: I2498c640666ade310fdd1d3a2078bd4000b392a2
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/menu/BaseMenuPresenter.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/widget/ActionBarView.java
a86b350977be53146d568bc0736d0f2b4aef8de5 21-Apr-2011 Adam Powell <adamp@google.com> Fix bug 4329016 - Refresh menus properly while in batch update mode

Change-Id: Ia4a4feffb0a77a99e0b241c9cf1d737577d9154d
ndroid/internal/view/menu/MenuBuilder.java
696cba573e651b0e4f18a4718627c8ccecb3bda0 29-Mar-2011 Adam Powell <adamp@google.com> Refactor menu internals.

In the old world, MenuBuilder and MenuItemImpl were responsible for
generating views for any presentation of a menu. MenuBuilder needed to
know any types and resources involved, and the implied caching
semantics did not work well for menus presented within AdapterViews.

In the new world, the MenuPresenter interface takes over the
responsibility of generating views or adapters for menu
items. MenuBuilder/MenuItemImpl still provide extra metadata tracking
used by these presenters. Mutiple presenters may be active for a
single menu at a time. All of this remains internal framework
implementation details.

BaseMenuPresenter provides a simple base for presenters that treats
the host MenuView more like an AdapterView. This allows for less
rebuilding of views when items are added/removed.

Callbacks have been restructured. Calls that relate to the menu itself
are still handled by MenuBuilder.Callback, but calls related to a
specific presentation of a menu are handled by MenuPresenter.Callback
objects attached to a MenuPresenter.

Also add API to programmatically set divider options for LinearLayout
and hidden API so that ActionBarView can have finer-grained control
over divider placement.

Change-Id: I2265b86a084279822908021aec20dfbadc1bb56b
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/ActionMenuPresenter.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/BaseMenuPresenter.java
ndroid/internal/view/menu/ExpandedMenuView.java
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/view/menu/IconMenuPresenter.java
ndroid/internal/view/menu/IconMenuView.java
ndroid/internal/view/menu/ListMenuItemView.java
ndroid/internal/view/menu/ListMenuPresenter.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuDialogHelper.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/view/menu/MenuPopupHelper.java
ndroid/internal/view/menu/MenuPresenter.java
ndroid/internal/view/menu/MenuView.java
ndroid/internal/view/menu/SubMenuBuilder.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
343c1ad7200619230a55caa6aa8a9d041e62b29d 19-Apr-2011 Wink Saville <wink@google.com> am 37677849: am 64c42cae: Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.

* commit '37677849998e6c9a39afe0a730b2f0131a371f3b':
Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.
64c42cae4482fe0157e977b8ddd0f2c2436b3f31 18-Apr-2011 Wink Saville <wink@google.com> Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.

Change-Id: Ib4b33894da75f5f156066092fb145b478e52f7d7
ndroid/internal/util/HierarchicalState.java
ndroid/internal/util/HierarchicalStateMachine.java
ndroid/internal/util/IState.java
ndroid/internal/util/State.java
ndroid/internal/util/StateMachine.java
230c323231c0de13a473fd35ecad7dd478487fc9 15-Apr-2011 Dianne Hackborn <hackbod@google.com> Merge "More battery stats improvements."
68f1b78b7b9139a0e34285ff641a664e664a14b8 11-Apr-2011 satok <satok@google.com> Add an API to get the last used input method subtype

Bug: 4075039

- Voice input requires to know the last used input method subtype.

Change-Id: I603a4fb88a2af5195e52188adfa6585ad80304fa
ndroid/internal/view/IInputMethodManager.aidl
1fadab5c36445bb9f0997904dbce44f8e234f847 15-Apr-2011 Dianne Hackborn <hackbod@google.com> More battery stats improvements.

We now write to the parcel using deltas. For common situations,
it only takes 4 bytes to write a delta (new command, time delta,
significant state changes, flags indicating additional state that
follows).

Increasing the buffer size to 128K, this give us 32,768 samples
if they all fit in the smallest delta. A device that is doing
something every minute (like acquiring a wake lock or doing a
wifi scan) for our max target battery life of 30 days would
generate 43,200 samples.

Also some turning to the maximum time between samples at which
we decide to completely collapse two samples.

Change-Id: I074a698d27ccf9389f9585abfc983af2f5ba7a54
ndroid/internal/os/BatteryStatsImpl.java
0ffc988a7f47013805d5abeed1c20f159b3bd799 14-Apr-2011 Dianne Hackborn <hackbod@google.com> Rewrite battery history storage.

We now write battery history directly into a buffer, instead of
creating objects. This allows for more efficient storage; later
it can be even better because we can only write deltas.

The old code is still there temporarily for validation.

Change-Id: I9707d4d8ff30855be8ebdc93bc078911040d8e0b
ndroid/internal/os/BatteryStatsImpl.java
37e344cbe277e8f4da944c19cffaf34f38f6396e 11-Apr-2011 Wink Saville <wink@google.com> am 1b00dc66: am 3156a8c1: Merge "Move ProcessedMessage into HierarchicalStateMachine." into honeycomb-LTE

* commit '1b00dc66d4b61b9a2bf44f76a9d3f54be91a2dbf':
Move ProcessedMessage into HierarchicalStateMachine.
d3059487abd526b91b912f70939c1c6994eecf52 11-Apr-2011 Wink Saville <wink@google.com> Move ProcessedMessage into HierarchicalStateMachine.

ProcessedMessage is really private to HSM and so moving
it into the HSM class.

Change-Id: Ida476fc7aae5e9bfb6ac632dac979e11f489b6fc
ndroid/internal/util/HierarchicalStateMachine.java
ndroid/internal/util/ProcessedMessages.java
ceb889711ff182aa0635f0776fdeeb7185f3a105 08-Apr-2011 Brian Carlstrom <bdc@google.com> Merge "Tolerate missing AccountManager resource, not just missing resource name"
b3fc1a5b8b8f88eaf00b05957523cbdc0944b24b 06-Apr-2011 satok <satok@google.com> Rename CorrectionSpan to SuggestionSpan

Change-Id: I004b2e012b2de4de959a31da1f55b63ca7c14199
ndroid/internal/widget/EditableInputConnection.java
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 07-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These haven't been working since before 1.0.

Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
ndroid/internal/app/ResolverActivity.java
ndroid/internal/content/NativeLibraryHelper.java
ndroid/internal/net/DomainNameValidator.java
ndroid/internal/os/BinderInternal.java
ndroid/internal/os/RuntimeInit.java
ndroid/internal/os/ZygoteInit.java
oogle/android/mms/pdu/EncodedStringValue.java
oogle/android/mms/pdu/PduParser.java
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/util/AbstractCache.java
oogle/android/mms/util/PduCache.java
46703b099516c383a6882815bcf9cd4df0ec538d 07-Apr-2011 Brian Carlstrom <bdc@google.com> Tolerate missing AccountManager resource, not just missing resource name

In addition to the primary change in the subject, also some minor cleanup of javadoc, typos, CloseGuard warning, etc found while working on a new AbstractAccountAuthenticator.

Change-Id: I73f3408773a43a0021a15f8d051fd3dbbdf898a5
ndroid/internal/os/ZygoteInit.java
08065b9f09ead8895d97b2971622af8c179e1768 02-Apr-2011 Brian Carlstrom <bdc@google.com> Tracking merge of dalvik-dev to master

git cherry-pick --no-commit a80febd83c8bf0b6717da2a7136179bdc906a5b7

git cherry-pick --no-commit 5e642b41cf44c5da7afdd95ab3d5e2bdbf7b31dd

git cherry-pick --no-commit 4886db14c9eee4b6fee69bd54c57c5af04709c4c

git cherry-pick --no-commit 560c685e448769904047507b9484ce8111967d7e

git cherry-pick --no-commit 63dde7a2fcfa53dc531558635b64cea613d3cdb4

git cherry-pick --no-commit 74e5cb91060a379d98dd3a333b5f231bfb4f502e

git cherry-pick --no-commit 1cc8c9708b555e2e338b7798d38887a2fefcfea6

git cherry-pick --no-commit 09625a21f5abe0c0db15757f58585d552d62c3d7

git cherry-pick --no-commit fcb02dfe0f5a2bb7c07e6d6fc69f756a484b5458

git cherry-pick --no-commit a68cb7fa3ab42854768b8145ff85231663770292

git cherry-pick --no-commit 716beb1c131dd2c6b805d4f681debaa20075010c

git cherry-pick --no-commit 8c29b1097a7afe3a77e27546a56e396f3620a4ec

git cherry-pick --no-commit 9c6a1a55d1c8086c1cc57464eea43725694ff70c

git cherry-pick --no-commit b14f5ea5c57acdd009ba5b51f1bbe430f3d353b8

Change-Id: I8cc94175441b009e23549762d6baee1dbace4881
ndroid/internal/os/ZygoteInit.java
07fe4097872d6716f5303686da882e363c41d086 30-Mar-2011 Brian Carlstrom <bdc@google.com> Merge "SamplingProfilerIntegration and SamplingProfiler improvements (3/3)"
ed7e00729f78d11107f0e9a7f0559dfe4be6b560 24-Mar-2011 Brian Carlstrom <bdc@google.com> SamplingProfilerIntegration and SamplingProfiler improvements (3/3)

Summary:

frameworks/base
- fix profiling to collect data beyond the first snapshot
- avoid many small files, accumulate data over process lifetime

libcore:
- add support for VM specific sampling, trying to cut down overhead
- added support for converting snapshot files to text format
- fixed race in profiler when stopping

dalvik
- added VMStack.setThreadStackTrace interface for filling a stack
trace into an existing StackTraceElement[]

Details:

frameworks/base

Changed snapshots from text to binary hprof format (bumping version to 3)
Changed from one file per snapshot to one file per process lifetime.
Restart profiling after snapshot.

core/java/com/android/internal/os/SamplingProfilerIntegration.java

Add quick test in maybeSnapshot to avoid doing work when the
SamplingProfilerIntegration is disabled. Make maybeSnapshot
private. Remove unneeded memory allocation in handleLowMemory.

core/java/android/app/ActivityThread.java

libcore

Added ThreadSampler interface. This allows VM specific thread
sampling optimizations. The portable version continues to use
Thread.getStackTrace().

dalvik/src/main/java/dalvik/system/profiler/ThreadSampler.java
dalvik/src/main/java/dalvik/system/profiler/PortableThreadSampler.java
dalvik/src/main/java/dalvik/system/profiler/SamplingProfiler.java

Add VMStack.setThreadStackTrace and use in new DalvikThreadSampler
to avoid allocating a full stack trace when only a limited depth
is desired.

dalvik/src/main/java/dalvik/system/profiler/DalvikThreadSampler.java
dalvik/src/main/java/dalvik/system/VMStack.java

Refactored BinaryHprof.readMagic out of BinaryHprofReader so it
can be used by HprofBinaryToAscii converter to probing file
types. Added magic number constant to be shared between readMagic
and BinaryHprofWriter.

dalvik/src/main/java/dalvik/system/profiler/BinaryHprof.java
dalvik/src/main/java/dalvik/system/profiler/BinaryHprofReader.java
dalvik/src/main/java/dalvik/system/profiler/BinaryHprofWriter.java
dalvik/src/main/java/dalvik/system/profiler/HprofBinaryToAscii.java

Removed unneeded HprofWriter interface. Changed to simpler static
interface to write HprofData to binary and text formats.

dalvik/src/main/java/dalvik/system/profiler/HprofWriter.java
dalvik/src/main/java/dalvik/system/profiler/AsciiHprofWriter.java
dalvik/src/main/java/dalvik/system/profiler/BinaryHprofWriter.java
dalvik/src/test/java/dalvik/system/profiler/SamplingProfilerTest.java

Added support for reading snapshot files created by
SamplingProfilerIntegration by stripping the text header to allow
easier conversion to the text format.

dalvik/src/main/java/dalvik/system/profiler/HprofBinaryToAscii.java

Fixed race between Sampler and
SamplingProfiler.stop. SamplingProfiler.stop previously simply
called the Sampler's TimerTask.cancel method, but this does not
wait for a currently running Sampler to finish. The TimerTask
documentation says the only reliable way to do this is to have the
run() cancel itself, so that is what is now done, with new code to
ensure that SamplingProfiler.stop does not return until the
Sampler has been terminated.

dalvik/src/main/java/dalvik/system/profiler/SamplingProfiler.java

dalvik

Refactored VMStack_getThreadStackTrace to create helper getTraceBuf
used to implement new VMStack_setThreadStackTrace. The new version
interface fills an existing StackTraceElement[], avoid allocating
unnecessary StackTraceElements.

vm/native/dalvik_system_VMStack.c

Refactor dvmGetStackTraceRaw to create dvmSetStackTraceRaw which
fills in an existing, potentially smaller, StackTraceElement[].

vm/Exception.c
vm/Exception.h

Change stack depths to be unsigned to avoid signed/unsigned comparison warnings.

vm/Ddm.c
vm/Exception.c
vm/Exception.h

Change-Id: I4b90255e4e1d33ea2b569321c4968b0f3369f251
ndroid/internal/os/SamplingProfilerIntegration.java
e3797a15fbf769a0abcbe121cfd33b4b658aea1e 21-Mar-2011 satok <satok@google.com> Removed APIs for setCorrectionSpan from InputConnection

("setCorrectionSpan" was added in Id3abc9ea4d11753cd )

Also..
- Added a class java doc for CorrectionSpan
- Removed FLAG_DEFAULT
- Changed the return type of getSuggestions from Array<CharSequence> to String[]

Change-Id: If5eb091e307a7a40c5b4a70ec1fe6059ecd9fb2d
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/widget/EditableInputConnection.java
ba08462ebe766204089c68b346dd3dcf9ddd5fbb 25-Mar-2011 Adam Cohen <adamcohen@google.com> Merge "Modifying RemoteViewsFactory interface"
4ad06c32bda3d95382ab6ef29b1b5777e8516de3 25-Mar-2011 Brian Carlstrom <bdc@google.com> Merge "Tracking SamplingProfiler change in libcore"
2625feae79ab418355c2a4dafe8b162bba3cc1cf 24-Mar-2011 Adam Cohen <adamcohen@google.com> Modifying RemoteViewsFactory interface

-made onDestroy() one way
-moved uncaught exception handling to the application process

Change-Id: I958571a34eaa48b27e441e3a117c109fb2d2c644
ndroid/internal/widget/IRemoteViewsFactory.aidl
a9602db3d5a6c9bc5a7a31b4fe3cc141235ad332 24-Mar-2011 Brian Carlstrom <bdc@google.com> Tracking SamplingProfiler change in libcore

Change-Id: Ic45a1570c01340a5406468a9d0f2a5357175fd80
ndroid/internal/os/SamplingProfilerIntegration.java
1147bb698908156cf26615af0bd7e4d1180f1f20 24-Mar-2011 Adam Powell <adamp@google.com> Merge "Fix bug 4084399 - with usb keyboard, actionbar menuitems with icon+text take dpad focus twice in row"
6bddd8771d05889024778caa78fb1eaae68a0802 24-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4084399 - with usb keyboard, actionbar menuitems with
icon+text take dpad focus twice in row

Fix action menu item layout focusability so that only the full item is
focusable. Fix up listeners appropriately.

Change-Id: I127c36404894869a08c5f4472491e3e596563c5c
ndroid/internal/view/menu/ActionMenuItemView.java
b7c25ce3aef3c6e930fc3f31436f52aed8ebed14 24-Mar-2011 Jeff Brown <jeffbrown@google.com> Merge "Add MotionEvent.HOVER_ENTER and HOVER_EXIT."
a032cc008618b83ecbbede537517d1e7998e3264 08-Mar-2011 Jeff Brown <jeffbrown@google.com> Add MotionEvent.HOVER_ENTER and HOVER_EXIT.

The input dispatcher sends a HOVER_ENTER to a window before dispatching
it any HOVER_MOVE events. For compatibility reasons, the window will
*also* receive the HOVER_MOVE. When the pointer moves into a different
window or the pointer goes down or when events are canceled for some reason,
the input dispatcher sends a HOVER_EXIT to the previously hovered window.

The view hierarchy behavior is similar. All views under the pointer
receive onHoverEvent with HOVER_ENTER followed by any number of HOVER_MOVE
events. When the pointer leaves a view, the view receives HOVER_EXIT.
Similarly, if a parent view decides to capture hover by returning true
from onHoverEvent, the hovered descendants will receive HOVER_EXIT.

The default behavior of onHoverEvent is to update the view's hovered
state by calling setHovered(true/false). Views can query their current
hovered state using isHovered().

For testing purposes, the hovered state is mapped to the pressed
drawable state. This will change in a subsequent commit with the
introduction of a new hovered drawable state.

Change-Id: Ib76a7a90236c8f2c7336e55773acade6346cacbe
ndroid/internal/widget/PointerLocationView.java
d814504979c989915888a777606c3c68c0bab316 24-Mar-2011 Adam Powell <adamp@google.com> Fix bug 3484000 - ActionBar visibility issue

Fix up action bar visibility state when shown without animation.

Change-Id: I51e56e2c983d7bb608bb6834d39ac2c5d926d63c
ndroid/internal/app/ActionBarImpl.java
07e1f988c053e37dcde2479052d8bedb9db5bec2 24-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4136071 - CAB causes the action bar to be shown, regardless of
previous state

Hide the action bar upon finishing a mode if it was hidden when the
mode started. If show() is called while the mode is active, the bar
will not hide when the mode finishes.

Change-Id: I7d9b593b9ecd9fa633251abebcdca0d85405252a
ndroid/internal/app/ActionBarImpl.java
1969b8799085322f9ef6e75b78c2c9a5d5944801 22-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4142917 - Add support for specifying a custom home icon in action bar

Add ActionBar methods for setting icon and logo.

Change-Id: I6151689138c734b7212c3469b8ba8f28f0fd5ec4
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
8f4c49d86e38f423ffeccd3ccc0c493246be30d0 22-Mar-2011 Carl Shapiro <cshapiro@google.com> Merge "Remove dead code from the Zygote initialization."
f973eaae0841988e9ea8d51a3e28418d03e2be1c 22-Mar-2011 Carl Shapiro <cshapiro@google.com> Remove dead code from the Zygote initialization.

Change-Id: Iad66437d6dae01ab94cfade86f3f7416a2896728
ndroid/internal/os/ZygoteInit.java
21c83b4d9f8b19a39f12dded617e727b0cb89e33 18-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> am f15b3db3: am 10221a22: am b02d3956: am e16a1bfa: Use system locale list.

* commit 'f15b3db3eb69683d23f379697cf86f8487845847':
Use system locale list.
10221a22ddb8f9ffaed52dfb4e0e30bc9d2f75b0 18-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> am b02d3956: am e16a1bfa: Use system locale list.

* commit 'b02d395650a9a5fb13812cefa0ada1501f5b6d62':
Use system locale list.
b02d395650a9a5fb13812cefa0ada1501f5b6d62 18-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> am e16a1bfa: Use system locale list.

* commit 'e16a1bfa9cd9a9a0430e2fe890586ae451f0faaf':
Use system locale list.
e16a1bfa9cd9a9a0430e2fe890586ae451f0faaf 18-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> Use system locale list.

Context's assets may be different from system's. We should
prefer system's to reflect PRODUCT_LOCALE.

Bug: 4104675
Change-Id: I968c3baf6bfeb945f1b71ec709d5088332482319
ndroid/internal/app/LocalePicker.java
adb435835fb9a5f2bb74d29930b239dde18504a7 09-Mar-2011 satok <satok@google.com> Add CorrectionSpan and APIs to pass a secure CorrectionSpan to TextView

- CorrectionSpan is a span which has suggestions made by IME.
This has a function to change the current IME to other IME specified
in this span. For security reasons, only the current IME
is allowed to use this function through InputConnection.
(IME token is used for checking the validity of it.).

- CorrectionSpan stores following information:

flags, subtype Id, InputMethodInfo Id, suggests, locale, original string

Change-Id: Id3abc9ea4d11753cdc4f483a2bb3128f49ba198a
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/widget/EditableInputConnection.java
d022c23aed0d022057c0074a158b522c83e906e4 15-Mar-2011 Kenny Root <kroot@google.com> Merge "Revise free space checks for package installs"
e196481d59982664247bc18d5743727965362dfa 15-Mar-2011 Adam Powell <adamp@google.com> am fbe9ca72: am 1d233d97: Merge "Fix bug 4088936 - Tabs in the action bar don\'t seem to have a fading edge" into honeycomb-mr1

* commit 'fbe9ca72625e9789f334e96b731a6ce0e4153ada':
Fix bug 4088936 - Tabs in the action bar don't seem to have a fading edge
fbe9ca72625e9789f334e96b731a6ce0e4153ada 15-Mar-2011 Adam Powell <adamp@google.com> am 1d233d97: Merge "Fix bug 4088936 - Tabs in the action bar don\'t seem to have a fading edge" into honeycomb-mr1

* commit '1d233d9708e39f5b57b231746df658567b153484':
Fix bug 4088936 - Tabs in the action bar don't seem to have a fading edge
c18c38f36eb04707a7995d69db17e1f0915c6d94 15-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4088936 - Tabs in the action bar don't seem to have a fading edge

Change-Id: I23c736ad458c721dfa86563f66b42dd5d6ca708e
ndroid/internal/widget/ActionBarView.java
7fa77d8b234172f891a7cffbc0891ca5c4d7388f 15-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> am b81d7f83: am 33dd1bae: am 29d75c9a: Merge "Fixing improper boxing to Integer instead of Long."

* commit 'b81d7f833890498b6d5db9c16f32564cc88a4042':
Fixing improper boxing to Integer instead of Long.
b81d7f833890498b6d5db9c16f32564cc88a4042 15-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> am 33dd1bae: am 29d75c9a: Merge "Fixing improper boxing to Integer instead of Long."

* commit '33dd1bae6ef16ed1cdc4d9f82f0c608cc7601af6':
Fixing improper boxing to Integer instead of Long.
33dd1bae6ef16ed1cdc4d9f82f0c608cc7601af6 15-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> am 29d75c9a: Merge "Fixing improper boxing to Integer instead of Long."

* commit '29d75c9a10a1ff6d60e85a1931d042d3e24d9549':
Fixing improper boxing to Integer instead of Long.
29d75c9a10a1ff6d60e85a1931d042d3e24d9549 15-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> Merge "Fixing improper boxing to Integer instead of Long."
62e1b4e9d41a01db423b5e4684ecf529ed46106d 15-Mar-2011 Kenny Root <kroot@google.com> Revise free space checks for package installs

Change-Id: Ie72bbab77aa89a50ec096edc1f471eab74829e67
ndroid/internal/app/IMediaContainerService.aidl
ndroid/internal/content/PackageHelper.java
0c5820ad8eafd3828ab0dea4794945b4f0637e13 14-Mar-2011 Mike Lockwood <lockwood@android.com> am 151c74b3: am e976ff4a: Merge "Add a dialog to ask user to start an application for a USB device or accessory" into honeycomb-mr1

* commit '151c74b3c679a1799d01f210a2a3f4a658154320':
Add a dialog to ask user to start an application for a USB device or accessory
151c74b3c679a1799d01f210a2a3f4a658154320 14-Mar-2011 Mike Lockwood <lockwood@android.com> am e976ff4a: Merge "Add a dialog to ask user to start an application for a USB device or accessory" into honeycomb-mr1

* commit 'e976ff4a2203e5a01c9a1c1a018ba9e5ab7777f7':
Add a dialog to ask user to start an application for a USB device or accessory
bce6f8f249ff2b65df9ed790cc460053ab8eccec 13-Mar-2011 Mike Lockwood <lockwood@android.com> Add a dialog to ask user to start an application for a USB device or accessory

This is used when there is only one application available and the user has
not chosen to start it by default.
If more than one application is available we continue to use UsbResolverActivity

Bug: 4074719

Change-Id: Id61f2ccc6de5b9ac70fb4670006ff1fee2028d55
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/app/ResolverActivity.java
7b7a8ca615723ea2a8075962775ef753918ea3f1 11-Mar-2011 Jim Miller <jaggies@google.com> am 352987e0: Merge "Fix 3201849: Enable hardware acceleration in LockScreen WaveView [DO NOT MERGE]" into honeycomb-mr1

* commit '352987e0889b6fa8862f489bc31ba7e9de8d1cbe':
Fix 3201849: Enable hardware acceleration in LockScreen WaveView [DO NOT MERGE]
1b365921e88b14857d8e0826e221c371d25f6cb2 10-Mar-2011 Jim Miller <jaggies@google.com> Fix 3201849: Enable hardware acceleration in LockScreen WaveView [DO NOT MERGE]

Change-Id: I07bbed7843857158cd2c1ffd9b184bde7fd5860d
ndroid/internal/widget/WaveView.java
3fa8a454f61c772036f5f38661d1a077fd3d8388 10-Mar-2011 Jim Miller <jaggies@google.com> Fix 3201849: Enable hardware acceleration in LockScreen WaveView

Change-Id: Id64e82fe2e09ac231736d7867cd47b504d79b81b
ndroid/internal/widget/WaveView.java
e2296212194a74438d80f77bc3d68d88b1f2be09 10-Mar-2011 Jeff Brown <jeffbrown@google.com> am 06a0c9f5: Merge "Make PointerLocationView also log generic motions and some keys. (DO NOT MERGE)" into honeycomb-mr1

* commit '06a0c9f5ee1f1c51607446f29ffb9697fa95e549':
Make PointerLocationView also log generic motions and some keys. (DO NOT MERGE)
06a0c9f5ee1f1c51607446f29ffb9697fa95e549 10-Mar-2011 Jeff Brown <jeffbrown@google.com> Merge "Make PointerLocationView also log generic motions and some keys. (DO NOT MERGE)" into honeycomb-mr1
460d2c18860dfaeb1d9b36db012f340d0b79e1be 10-Mar-2011 Dianne Hackborn <hackbod@google.com> am de478eca: am 7b5cb3c0: Merge "Fix issue #4068088: NPE at com.android.internal.os.BatteryStatsImpl..." into honeycomb-mr1

* commit 'de478eca19adc263c033d777b0e6a33c8113fd24':
Fix issue #4068088: NPE at com.android.internal.os.BatteryStatsImpl...
de478eca19adc263c033d777b0e6a33c8113fd24 10-Mar-2011 Dianne Hackborn <hackbod@google.com> am 7b5cb3c0: Merge "Fix issue #4068088: NPE at com.android.internal.os.BatteryStatsImpl..." into honeycomb-mr1

* commit '7b5cb3c033f758368580664a8bdad43b47f3682d':
Fix issue #4068088: NPE at com.android.internal.os.BatteryStatsImpl...
7b5cb3c033f758368580664a8bdad43b47f3682d 10-Mar-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #4068088: NPE at com.android.internal.os.BatteryStatsImpl..." into honeycomb-mr1
32de2f67ea8276086ae91cbda1d0ef06caf4b3cb 09-Mar-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4068088: NPE at com.android.internal.os.BatteryStatsImpl...

...addHistoryRecordLocked(BatteryStatsImpl.java:1210)

It was doing a bunch of stuff without holding a lock!

Change-Id: Ie5b56514370e0bfc87ba7737d75e01df0859817e
ndroid/internal/os/BatteryStatsImpl.java
696e66e44b89ca812137a31a1eab09bb8e84aa95 07-Mar-2011 Jeff Brown <jeffbrown@google.com> Make PointerLocationView also log generic motions and some keys. (DO NOT MERGE)

Change-Id: I657588ae08fa462a6ad79326bcd8a199885ff28b
ndroid/internal/widget/PointerLocationView.java
27230862b1185a76255e4ff541c657dc63108057 09-Mar-2011 Adam Powell <adamp@google.com> am 529eb76b: am 12230eaa: Merge "Fix bug 4065021 - Adjust spacing of the "home" action bar item to be consistent with the "up" indicator" into honeycomb-mr1

* commit '529eb76b8add903c67ecf0178b6b4603edd64ebb':
Fix bug 4065021 - Adjust spacing of the "home" action bar item to be consistent with the "up" indicator
529eb76b8add903c67ecf0178b6b4603edd64ebb 09-Mar-2011 Adam Powell <adamp@google.com> am 12230eaa: Merge "Fix bug 4065021 - Adjust spacing of the "home" action bar item to be consistent with the "up" indicator" into honeycomb-mr1

* commit '12230eaa5f446cb22032d6645074a1aaca146df9':
Fix bug 4065021 - Adjust spacing of the "home" action bar item to be consistent with the "up" indicator
2b0952b197470a457f4f436911f1d07f553d15da 09-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4065021 - Adjust spacing of the "home" action bar item to be
consistent with the "up" indicator

Make sure that the "home" affordance in the action bar always occupies
the same amount of space regardless of whether or not the "up"
indicator is visible. This means centering the application icon/logo
in the remaining space after the "up" indicator has been added.

Change-Id: I3c81cfe8255546d4dd676af913895713baba4f13
ndroid/internal/widget/ActionBarView.java
e6320d0b177016e0fe23c11c75a3cd35b55170d0 08-Mar-2011 Irfan Sheriff <isheriff@google.com> Merge "Handle client loss for a full connection"
c23971b3e4f92ac31996d4f9f32eef3cb4ef65fd 05-Mar-2011 Irfan Sheriff <isheriff@google.com> Handle client loss for a full connection

Bug: 3513246
Change-Id: I928544a05702bb004457e2b0d2eeb3c34f98edf9
ndroid/internal/util/AsyncChannel.java
5281cc81762421e3e106288e3aeea638cd58228f 08-Mar-2011 Jeff Brown <jeffbrown@google.com> Merge "Make PointerLocationView also log generic motions and some keys."
6fd61629b34881bf5c454ca4aaa7dacfe1656679 08-Mar-2011 Adam Powell <adamp@google.com> am 43a81197: Merge "Fix bug 3501766 - Make the action bar "up" visual more prominent" into honeycomb-mr1

* commit '43a811979d55587e014134f6050dc90ca918f9ce':
Fix bug 3501766 - Make the action bar "up" visual more prominent
8fca37ce308e45f58220752ef9776c55ef44491d 05-Mar-2011 Adam Powell <adamp@google.com> Fix bug 3501766 - Make the action bar "up" visual more prominent

Change-Id: Id4b104dd6ca1df662479ab54f045e119585f990f
ndroid/internal/widget/ActionBarView.java
c3fe7669d6276b43e82c802743a7e8974bae52a5 07-Mar-2011 Jeff Brown <jeffbrown@google.com> Make PointerLocationView also log generic motions and some keys.

Change-Id: Ia7ec0f1a98e9eaf1c59db90b8f77a3cd4cf69625
ndroid/internal/widget/PointerLocationView.java
3fe49d8168ab7344d495ea5ee8ed6b9ef3145495 07-Mar-2011 Soojung Shin <sj46.shin@samsung.com> am fa680a18: am ff5a0990: Added to check for supporting mms content-disposition, utf8 decoding.

* commit 'fa680a18f617de202912b8a9fe3fc0890a9fe09e':
Added to check for supporting mms content-disposition, utf8 decoding.
fa680a18f617de202912b8a9fe3fc0890a9fe09e 05-Mar-2011 Soojung Shin <sj46.shin@samsung.com> am ff5a0990: Added to check for supporting mms content-disposition, utf8 decoding.

* commit 'ff5a09904fb05f2776f1bbf1dd3915f38031190c':
Added to check for supporting mms content-disposition, utf8 decoding.
ff5a09904fb05f2776f1bbf1dd3915f38031190c 02-Mar-2011 Soojung Shin <sj46.shin@samsung.com> Added to check for supporting mms content-disposition, utf8 decoding.

Change-Id: Ieae1bb2ac36675f569fb21285ca6ef289c367bf7
Signed-off-by: Soojung Shin <sj46.shin@samsung.com>
oogle/android/mms/pdu/PduParser.java
0dbe721d0aa231f790ead6f7b62de5531239fc7e 21-Feb-2011 Jozef BABJAK <jozef.babjak@gmail.com> Fixing improper boxing to Integer instead of Long.

This is tricky: entry.getMessageBox() returns int, so it is
by default boxed to Integer. Map.get() however accepts Objects,
so it ignores the difference, but nothing is find during lookup,
just because Long and Integer objects are compared using equals(),
which has to lead to 'false' result. So, explicit boxning to Long
is unnecessary here.

Change-Id: I967a7829a8926410a00274c6b5e312e1af567299
oogle/android/mms/util/PduCache.java
7866be2b76e421ca28e5dcbd3e7d362baf279dd9 03-Mar-2011 Mike Lockwood <lockwood@android.com> am 40bbf929: DO NOT MERGE: Backport USB accessory support to gingerbread

* commit '40bbf9295d5245d3917629ce15f7b37670aef1ac':
DO NOT MERGE: Backport USB accessory support to gingerbread
7e48e76cab10377367b925790cf3a840651009fa 02-Mar-2011 Robert Greenwalt <rgreenwalt@google.com> Merge "Start using NetworkUtils.numericToInetAddress."
e590373ea71251cfffc8f22f011e2e6335dce716 23-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Start using NetworkUtils.numericToInetAddress.

Generates InetAddresses without risking an accidental dns lookup. For use with supposedly
numeric-only ip address strings.

Change-Id: I694f3976ce1c6382854706f6557ea88a289add3a
ndroid/internal/net/DomainNameValidator.java
40bbf9295d5245d3917629ce15f7b37670aef1ac 01-Mar-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE: Backport USB accessory support to gingerbread

Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/app/ResolverActivity.java
02eb8746de2d60563ec2751a34d20923192e4293 27-Feb-2011 Mike Lockwood <lockwood@android.com> UsbManager: Enhancements for managing USB devices and accessories

When a USB device or accessory is connected, the UsbService now asks the
user which application to associate with the device or accessory.
Applications interested in devices or accessories must specify the
devices they work with via meta-data attached to their manifest.
Permission to communicate with the device is assigned when the user chooses
the activity to use for the device.
The user has the option of clicking the "always use this application" checkbox
to make the assignment automatic in the future.
The user may later clear this preference and revoke permission for an application
to have permission to communicate with the device by clicking the "Clear defaults"
button for the activity in the Manage Applications panel in Settings.

Added class UsbResolveActivity (a subclass or ResolveActivity for choosing
an activity for a USB device or accessory)

Added UsbDeviceManager, which manages the mapping between USB devices/accessories
and applications, including default applications for devices and accessories,
and manages application permissions.

Add interface to allow Settings to clear device and accessory
preferences and permissions for an application.

Remove obsolete ACCESS_USB permission.

Add new signatureOrSystem MANAGE_USB permission to allow administrating
preferences and permissions.

Moved UsbService.java to a "usb" subdirectory, along with new classes
UsbResolveActivity and UsbDeviceManager.

Change-Id: I92554381e9779e68ce380daaee4e1401fb875703
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/app/ResolverActivity.java
f41768c5837a078239e92d8fa1d2155394e4b6ac 28-Feb-2011 Mike Lockwood <lockwood@android.com> am f7b99b32: Merge "Give system server permission to access USB. DO NOT MERGE" into gingerbread

* commit 'f7b99b32ad7a4872376355acabb5984142ba5e75':
Give system server permission to access USB. DO NOT MERGE
89e7f9fd70689e08bbaf8ea29e58ece3002414a1 28-Jul-2010 Mike Lockwood <lockwood@android.com> Give system server permission to access USB. DO NOT MERGE

Change-Id: I8d64bcaf2483eaa8690aef7ee2d1bb8ed9453fbe
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/os/ZygoteInit.java
33bbfd2232ea9eaae9a9d87a05a95a430f09bd83 25-Feb-2011 Jeff Brown <jeffbrown@google.com> Add support for mouse hover and scroll wheel.

Dispatch ACTION_HOVER_MOVE and ACTION_SCROLL through the View
hierarchy as onGenericTouchEvent. Pointer events dispatched
this way are delivered to the view under the pointer. Non-pointer
events continue to be delivered to the focused view.

Added scroll wheel support to AbsListView, ScrollView,
HorizontalScrollView and WebView. Shift+VSCROLL is translated
to HSCROLL as appropriate.

Added logging of new pointer events in PointerLocationView.

Fixed a problem in EventHub when a USB device is removed that
resulted in a long stream of ENODEV errors being logged until INotify
noticed the device was gone.

Note that the new events are not supported by wallpapers at this time
because the wallpaper engine only delivers touch events.

Make all mouse buttons behave identically. (Effectively we only
support one button.)

Change-Id: I9ab445ffb63c813fcb07db6693987b02475f3756
ndroid/internal/widget/PointerLocationView.java
84bbb020217adcdfe0694c44ccab57e208ffde16 21-Feb-2011 Winson Chung <winsonc@google.com> Fixing issue where RemoteViewsService.onDestroy() was never being called.

Change-Id: I15ad04eee18bc3e09d4846c7f2f2d2d8d168e518
ndroid/internal/widget/IRemoteViewsFactory.aidl
22577b8d3a39c1373594ba3e4427212eee4cd6d4 24-Feb-2011 Jason Chen <jasonchen@google.com> am 5ff79c3b: Merge "DO NOT MERGE Cherry-pick of Ie4026a7c back to GB" into gingerbread

* commit '5ff79c3b06d7087153617dc973491fc890700af5':
DO NOT MERGE Cherry-pick of Ie4026a7c back to GB
9248e95a2f03afe4cded90f0209ab825f253dd37 06-Jan-2011 Dianne Hackborn <hackbod@google.com> DO NOT MERGE Cherry-pick of Ie4026a7c back to GB

Original change description follows:
-----------------------------------

Implement issue #3326435: Battery stats improvements

Keep track of discharge while screen is on vs. off.

Checkin looks like:

5,0,u,dc,1,1,1,0

The last four numbers are, from left:

- Maximum battery drain over time period.
- Minimum battery drain over time period.
- Battery drain while screen was on.
- Battery drain while screen was off.

Change-Id: Ie3cfe52df29b3f28ba8dc3350abe6cc967c76324
ndroid/internal/os/BatteryStatsImpl.java
3d865240e776374ced4ea50e6cb7f8ac92a32640 21-Feb-2011 Per Andersson <per.andersson3@sonyericsson.com> Adding a sanity test in the while loop in readHistory()

Adding a sanity test in the while loop in readHistory() which
is useful in case the file read (batterystats.bin), is corrupt.
The file can get corrupt (missing end of file marker -1) if
writeHistory fails for some reason. Without this change
readHistory will continue looping untill an OutOfMemory is
thrown.

Change-Id: I3418d258e7cb99aa2f9d934c9449a19806499ce4
ndroid/internal/os/BatteryStatsImpl.java
cc0c159e9b3dd4e0f48da0ce3e33d2c68a651413 19-Feb-2011 Jeff Brown <jeffbrown@google.com> Add new hover move action and scroll wheel plumbing.

Added support for tracking the mouse position even when the mouse button
is not pressed. To avoid confusing existing applications, mouse movements
are reported using the new ACTION_HOVER_MOVE action when the mouse button
is not pressed.

Added some more plumbing for the scroll wheel axes. The values are
reported to Views but they are not yet handled by the framework.

Change-Id: I1706be850d25cf34e5adf880bbed5cc3265cf4b1
ndroid/internal/widget/PointerLocationView.java
6f2fba428ca5e77a26d991ad728e346cc47609ee 19-Feb-2011 Jeff Brown <jeffbrown@google.com> Add new axes for joysticks and mouse wheels.

Added API on InputDevice to query the set of axes available.
Added API on KeyEvent and MotionEvent to convert keycodes and axes
to symbolic name strings for diagnostic purposes.
Added API on KeyEvent to query if a given key code is a gamepad button.
Added a new "axis" element to key layout files to specify the
mapping between raw absolute axis values and motion axis ids.
Expanded the axis bitfield to 64bits to allow for future growth.
Modified the Makefile for keyboard prebuilts to run the keymap
validation tool during the build.
Added layouts for two game controllers.
Added default actions for game pad button keys.
Added more tests.
Fixed a bunch of bugs.

Change-Id: I73f9166c3b3c5bcf4970845b58088ad467525525
ndroid/internal/widget/PointerLocationView.java
e7c943926db892d479ba4a0a9b9b314db8abaaee 19-Feb-2011 Adam Powell <adamp@google.com> Merge "Add an API to listen for window attach/detach events on a View."
4afd62b18c52a55371ab923d54f93615ad68fd7a 19-Feb-2011 Adam Powell <adamp@google.com> Add an API to listen for window attach/detach events on a View.

Fix bug 3312949 - inconsistent state in MenuPopupHelper

Change-Id: Ie802ada3f8de4cf71c92fcc7c6abce9ba85e7b75
ndroid/internal/view/menu/MenuPopupHelper.java
5284090631e638b916d9a453212e9dc802656a67 18-Feb-2011 Wink Saville <wink@google.com> Changes for ril.h version 6.

Change-Id: Iacd9d362c4836546ac277cf3571227d426a721aa
ndroid/internal/os/BatteryStatsImpl.java
ca51e8788a58f2af3525b7214a675f2d0233e5da 15-Feb-2011 Adam Powell <adamp@google.com> Fix some bugs with MenuPopupHelper and ListPopupWindow

Clean up handling of a few conditions in MenuPopupHelper that the
monkeys manage to trigger around the use of ViewTreeObserver. (bug
3443819, bug 3312949)

Fix a bug where a stale handler message could cause a ListPopupWindow
to reopen itself after being dismissed. (bug 3453607)

Change-Id: I488014767ccee785500862a2572beb35901d173b
ndroid/internal/view/menu/MenuPopupHelper.java
01feaee3d9767ef1185783877e92244f14d7d4ba 11-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3372468 - ActionBar menu shouldn't be clickable after
ActionBar.hide() is called

Action bar will capture touch events and prevent focus from passing to
its children while animating out.

Change-Id: I4501f785ead2afa34f020f9bc1a1121932f3c047
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContainer.java
50efbed668a9410cdec51f7c8604fa44ed267fed 09-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3345948 - ActionBar.show()/hide() shouldn't animate if called
before first layout

Enable/disable the action bar show/hide animation as part of the
activity/dialog lifecycle. This allows apps to set action bar
visibility state as the activity first becomes visible or returns to
visibility without the associated animation.

Change-Id: I85ff9268d2cb2c8fcd3364dd275597fe90529224
ndroid/internal/app/ActionBarImpl.java
326a23a38172a2552dcc33169db5e67c85a8080a 08-Feb-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3426162 - Overflow menu closes on its own"
f2d7a5d8312b78f84e6cc63277ec7ec874722015 08-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3426162 - Overflow menu closes on its own

Makes populating action menus smarter, doesn't completely empty and
repopulate. Fixes issues where changing menus can leave popups without
an anchor.

Change-Id: I03cc266f0952123c5704a78cdcfc69b77af1915b
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/widget/ActionBarView.java
9ac50056ddf8ad44a04cdfe60bf0716f8a227008 07-Feb-2011 Mike Cleron <mcleron@google.com> am c1467908: am b8578741: Merge "Fix issue #3424823: 4-corner trick causes runtime restart" into honeycomb

* commit 'c14679089376fb7df28eb0a829518b33abb1d794':
Fix issue #3424823: 4-corner trick causes runtime restart
32cd1d5053fdca49463adc83adb7b7dad13904e0 07-Feb-2011 Daniel Sandler <dsandler@google.com> resolved conflicts for merge of 31796297 to master

Change-Id: Ice632b3378f8f67c186245fdb63b022ade864ba1
7da70821f7a2c22dfed4a2c2afc3c9e73427babc 07-Feb-2011 Dianne Hackborn <hackbod@google.com> am 94baff47: am 1b1962f3: Merge "Fix issue #3420898: More wallpaper issues" into honeycomb

* commit '94baff47975fb3ae1380333f23fc2de2dc65eb86':
Fix issue #3420898: More wallpaper issues
b85787411085bbea0ac725135cae02a4167b7aa7 04-Feb-2011 Mike Cleron <mcleron@google.com> Merge "Fix issue #3424823: 4-corner trick causes runtime restart" into honeycomb
912d9d13698693709991b76f83a8d64179e97e83 04-Feb-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3424823: 4-corner trick causes runtime restart

Change-Id: Ibd3fc63d0ab975a2b74765a00023c7f783b24216
ndroid/internal/service/wallpaper/ImageWallpaper.java
4ad2547fe08bab430d7d9f9cc4b789410856c9c3 04-Feb-2011 Daniel Sandler <dsandler@google.com> Merge "Ongoing notification for GPS use." into honeycomb
e40451a89dc91dfd636af7cb32a23b4a4cc93fdc 03-Feb-2011 Daniel Sandler <dsandler@google.com> Ongoing notification for GPS use.

This change improves upon the notification priority API
introduced in change I9e738cc4, allowing privileged clients
to set the priority of a notification when posting it
directly to INotificationManager. StatusBarTest is updated
to test this new feature.

The new LocationController in SystemUI uses this facility to
post a high-priority ongoing notification whenever GPS is in
use (replacing the functionality of the legacy GPS status
bar icon).

Also happens to fix http://b/3325472 (adding a log message
when notifications are dropped because of a missing icon).

Bug: 3412807

Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
ndroid/internal/statusbar/StatusBarNotification.java
4dce4fc8ea8c5c6df9db33b24b5733d5d9ef0f6b 04-Feb-2011 Daniel Sandler <dsandler@google.com> am a2e82d4c: am 6f922cbe: Merge "Implement priority ordering in notifications." into honeycomb

* commit 'a2e82d4c69bc25eb9f262be0efb4bd38695c4f86':
Implement priority ordering in notifications.
ac1471a4fff660710f88afc679c4119fdf8dc417 03-Feb-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3420898: More wallpaper issues

- The ImageWallpaper wasn't watching for the desired dimensions to
change, at which point it needs to resize its surface.
- The system process has been running with the small dalvik heap
limit, which is too tight with these huge wallpapers; this would
cause switching wallpapers to eventually stop working as it
couldn't get the memory it needed to load the new one.
- The compatibility mode background surface had a bunch of issues,
such as moving its windows to the right by the window size to
make them disappear. This of course doesn't play well with the
now super-sized wallpaper surface. This code is re-worked to
not require such shenanigans.

Change-Id: I64fde4059645d8507f1c4761ba6c17b89877a5c0
ndroid/internal/service/wallpaper/ImageWallpaper.java
a31e4190cb44eaa51bb8dee7d715fcd72d6c0b03 03-Feb-2011 Daniel Sandler <dsandler@google.com> Implement priority ordering in notifications.

Ongoings are the only notifications currently given higher
priority (and it's in an internal data structure, not a
public API, so fear not about abuse---this will be no worse
than on the phone where ongoings floated to the top).

The only thing left is to give privileged customers a way to
alter the priority of their notifications.

Bug: 3412807
Bug: 3146719
Change-Id: I9e738cc413982845cf4858faa8ccd0a7dbf3187c
ndroid/internal/statusbar/StatusBarNotification.java
929a1c219248b62778807cac8ea256c7ac0fda6a 02-Feb-2011 Brian Carlstrom <bdc@google.com> Removing android.security.MessageDigest

Bug: 3392028
Change-Id: I6b9732da17d086ba00c846c3ad1c7fb39baf9502
ndroid/internal/widget/LockPatternUtils.java
f185552f63fe4a4a1a8de602bc6fc6e57d3ff7fe 02-Feb-2011 Dianne Hackborn <hackbod@google.com> Make image wallpaper use a big surface.

Change-Id: I119f2bfee5fde08040520bd0da8574194a893ab5
ndroid/internal/service/wallpaper/ImageWallpaper.java
d76cee2b09866c5a22c1de45becc03677be52e95 01-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3408834 - actionbar stays gone when leaving reader in
lightsout mode

Fix an opportunity for race conditions when the action bar is
shown/hidden rapidly.

Change-Id: I91c0666cad3afd8a4d870d642f971949fba0d333
ndroid/internal/app/ActionBarImpl.java
b2abd8c424a68eb6a5e3615a99f66c0bd46e6063 30-Jan-2011 The Android Open Source Project <initial-contribution@android.com> Mass merge from gingerbread - do not merge

Change-Id: I45dc3596bf4211d8f91c64f2d1d00588878df629
3c89f6d1bd0821d0ae0205a5b48176156735aaac 30-Jan-2011 Jeff Brown <jeffbrown@google.com> Merge "Add "Use physical keyboard" option to system bar IME button." into honeycomb
a2e765ef1ad2cb907a4ae0a93bb15e4764ebb59a 29-Jan-2011 Jason parks <jparks@google.com> Merge "Update the encryption password when the device password is changed." into honeycomb
962d556a12b60b04f3c8b0bdfda84165bb4ba062 29-Jan-2011 Jean-Baptiste Queru <jbq@google.com> Merge f126ad3b from gingerbread

Change-Id: I13a79033239d306fcf9291ca7fad7445f2cd1f47
c5e35fd24652725f8cf8a182572800aeca3fd108 29-Jan-2011 Arnaud Ferir <arnaud.ferir@trusted-logic.com> am 5e81a6e2: Fix trace mismatch.

* commit '5e81a6e21e9977acd9dfafaf030bf51c8572a98f':
Fix trace mismatch.
4485edce05aecd5a8fd9bdb215e2a4386c520fe4 29-Jan-2011 Jim Miller <jaggies@google.com> am 42a46157: Fix 3379239: Catch exceptions from workaround for OOM.

* commit '42a461570b9c5502959e429c4f16ca5ca860c4f2':
Fix 3379239: Catch exceptions from workaround for OOM.
2992ea782fa61780d8e0de7a36a2a84622f8694b 29-Jan-2011 Jeff Brown <jeffbrown@google.com> Add "Use physical keyboard" option to system bar IME button.

Bug: 3391067
Change-Id: I136087ca4f726d0068d5983d7d3686787ba60c55
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
d11f5d2c5e41b4f2f5bda5ecca793efd2ab2300b 28-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Fix for TextView's error popup behavior when using soft keyboard." into honeycomb
f7b3cd4efd40b7631f36ea014407a850f7dc637e 27-Jan-2011 Jason parks <jparks@google.com> Update the encryption password when the device password is changed.

* Added changeEncryptionPassword() to the MountService.
* Update LockPatternUtils to call changeEncryptionPassword()
when the password is changed.

Note we only require the new password to change the
encryption password.

Bug: 3382129
Change-Id: I26a7e919e325e75e22fa4290da0a8b1b57b55a80
ndroid/internal/widget/LockPatternUtils.java
857fd9b8562c29913e03ed29288bd1802d37dc60 28-Jan-2011 Joe Onorato <joeo@google.com> Plumb whether an input view is actually visible or not through from the IME
to the status bar.

Bug: 3391067
Change-Id: I049531155bf7ee0b29874916c0b5b0a45b73c09e
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
ndroid/internal/view/IInputMethodManager.aidl
b7fc63f7aac3689696f7f84953009b5928ac3db3 28-Jan-2011 Gilles Debunne <debunne@google.com> Fix for TextView's error popup behavior when using soft keyboard.

Bug 3370191

The documented behavior is to hide the error when the text changes.
However, this should not be the case if the error was reset by a text watcher.

Comparing errorBefore and errorAfter as was done before is not sufficient in the
case where the error is reset to the same value. String pool optimization will re-use
the same Object and it will look like the error has not been modified (hence the
blinking behavior reported in the bug).

For this reason, TextView has a mErrorWasChanged flag. The fix is to export methods
that can use this flag as in done inside TextView when a physical keyboard is used.

These methods are hidden.

Change-Id: Ie3ec59a368f3b1588b81242890b971ac48e8ff7e
ndroid/internal/widget/EditableInputConnection.java
992f75bcd0ca37147df832c0cfc41995422df6db 27-Jan-2011 Jeff Hamilton <jham@android.com> resolved conflicts for merge of 6687ecb4 to honeycomb-merge

Change-Id: Id9677d2ef1c03191cf73a7d90e80b57ea686afec
8996cf071abf5e6a6458da258a1d59bcaafc3c2c 27-Jan-2011 Jim Miller <jaggies@google.com> Fix 3381324: Restart ripples when the user moves away from the edge.

This changes the behavior of WaveView to start waves again when
the user moves the halo back towards the center.

Change-Id: Ia3b8fbd091e90e83e0c34b98a3060d3236191d7a
ndroid/internal/widget/WaveView.java
2c070bae4493cd1976c5086ec4cbf6ce10482742 26-Jan-2011 Winson Chung <winsonc@google.com> Merge "Re-enabling queued unbinding of services after requests to the service. (3394210)" into honeycomb
16c8d8a558f94ec14ef52bb5ac11044e2d0d902c 21-Jan-2011 Winson Chung <winsonc@google.com> Re-enabling queued unbinding of services after requests to the service. (3394210)

- Fix for crash when detaching from window
- Potential fix for occasional IllegalStateException when updating List based widgets

Change-Id: I3d3f2bb691552a1136111043db686c4926b510c6
ndroid/internal/widget/IRemoteViewsFactory.aidl
644f9c3ad93f6674abff4143b78404cd222b5e30 25-Jan-2011 Joe Onorato <joeo@google.com> Make FLAG_FULLSCREEN not go into lights out mode anymore.

Change-Id: I4a0aa8789f537717f82df4efb6a35108e1ab1784
ndroid/internal/statusbar/IStatusBarService.aidl
5dcc9bd7261d6b19135bf972cf603b355b5316f4 25-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3387855 - Menu flashes on left side of screen" into honeycomb
eb645a15b95ba917ce360b135f92cbcb6df56104 25-Jan-2011 Jeff Hamilton <jham@android.com> am f126ad3b: Merge "Use classnames instead of ints for NFC techs." into gingerbread

* commit 'f126ad3b6484ef62eed202f1f49cc4557c0a3848':
Use classnames instead of ints for NFC techs.
e2b03a62e5014ea60e24a989544fa549b493a520 25-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3387855 - Menu flashes on left side of screen

Post popup menu click events rather than executing inline so that the
popup can close undisturbed.

Change-Id: I01481bd37d7921c10c6b8b484eab33f0d25447ff
ndroid/internal/view/menu/MenuPopupHelper.java
d88e9aa575eb3a9d20cdb0e8918d54993e1ce1e0 24-Jan-2011 Jeff Hamilton <jham@android.com> Use classnames instead of ints for NFC techs.

This makes the system more flexible and allows
adding new technology types without having to
update the API.

Change-Id: Iaee6b633965e501a70e8afc3f1d54d9d94a4d05a
ndroid/internal/app/ChooserActivity.java
ndroid/internal/app/ResolverActivity.java
30bc34f191ca8a009af313fc751e5b4bff6e39a1 25-Jan-2011 Jeff Brown <jeffbrown@google.com> Fix surface frame size reporting.

The SurfaceHolder provided by the wallpaper service was not reporting
the correct size in getSurfaceFrame(). This broke an optimization in
the ImageWallpaper. The old code happened to work because calling
lockCanvas on the SurfaceHolder with a null dirty rectangle happened
to have the side-effect of updating the SurfaceHolder's surface frame
size field because it passed mSurfaceFrame as the dirty rect, causing
mSurfaceFrame to be set to the size of the region to be drawn.

However, relying on this side-effect is wrong. Among other things,
the dirty region could actually be smaller than the surface frame.

This patch fixes WallpaperService, SurfaceView and ViewRoot to ensure
that the surface frame size is always set explicitly and is not modified
by calls to lockCanvas.

Change-Id: I10948f5ec269409ceaf0f7d32b3f6731e9499ebc
ndroid/internal/service/wallpaper/ImageWallpaper.java
ndroid/internal/view/BaseSurfaceHolder.java
8d37c4efeb853fdc6626f89b5bc0ec79eb451162 25-Jan-2011 Brian Carlstrom <bdc@google.com> Merge "Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle" into honeycomb
93dd6a6ad1825b3c0296aa1b1afc8f3c8d90206f 25-Jan-2011 Dianne Hackborn <hackbod@google.com> am 3ea5728e: Tweak level at which we reset battery stats to 90%.

* commit '3ea5728e703554f8ba0bb3aa1367d6dc45d704bb':
Tweak level at which we reset battery stats to 90%.
1821ff9022f0ea5f5c5d82a96a05f46192d50c26 25-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3178934 - Make MenuBuilder notify its adapters of changes

Change-Id: I28603afbdfdd913aa06f3a07065e27aff1dc524b
ndroid/internal/view/menu/MenuBuilder.java
4140faeebbfa23d56068c1862b2913fb62145f4f 25-Jan-2011 Brian Carlstrom <bdc@google.com> Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle

Bug: 3086427
Change-Id: I7af99fe4c36d9a519777f0499ccab65646313879
ndroid/internal/backup/LocalTransport.java
85d3ef337bdd21109e9c29356a6df96aacb3f849 25-Jan-2011 Jim Miller <jaggies@google.com> Merge "Fix 3381304: disable key preview in LockScreen's qwerty keyboard" into honeycomb
c831e3192ccd9b2cf69ec7c973005e578631da3b 24-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3382994 - android.view.WindowManager$BadTokenException" into honeycomb
55767443adaf31c377ff1d7abf2d3fe7f01bfbaa 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3382994 - android.view.WindowManager$BadTokenException

Remove pending callbacks when ActionMenuView is detached.

Change-Id: Ia61e446f60f10dd82476c00b4c11177182e7db60
ndroid/internal/view/menu/ActionMenuView.java
abbcc241c0db3d9167b5e6baeac1a07f009a05a5 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3237638 - make it easy to change a "refresh" AB button/icon
into the indeterminate progress icon

This fixes a bug that caused ActionViews to not be updated properly
after a pass through invalidateOptionsMenu/onPrepareOptionsMenu. Apps
can now set/clear action views to display progress spinner widgets or
anything else on demand.

Change-Id: I138eceb504177c6bb5b86d40a68a82973aa841a5
ndroid/internal/view/menu/MenuItemImpl.java
10ab8617e85c9a675ff8251cd328beb4e047777c 24-Jan-2011 Arnaud Ferir <arnaud.ferir@trusted-logic.com> am 5e81a6e2: Fix trace mismatch.

* commit '5e81a6e21e9977acd9dfafaf030bf51c8572a98f':
Fix trace mismatch.
5e81a6e21e9977acd9dfafaf030bf51c8572a98f 24-Jan-2011 Arnaud Ferir <arnaud.ferir@trusted-logic.com> Fix trace mismatch.

Change-Id: Ie6e9a2baef63d2b5621593203742c2ffeaafc4ba
ndroid/internal/nfc/LlcpSocket.java
033f63a1a5e8f768a72a11561fe70957eb44fa3e 24-Jan-2011 Jeff Brown <jeffbrown@google.com> Fix a regression in the wallpaper drawing.

We should not lock and post the surface if we don't intend to
draw anything into it.

Change-Id: Idfd1cf127bdc1f5e1f5e783a8991d44de90878da
ndroid/internal/service/wallpaper/ImageWallpaper.java
a6ce081970a78233ba6b9792149ee5f1390cba7b 24-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3381275 - Too much padding on the left of a custom nav bar" into honeycomb
2a7ea67a03f3e53f59129fdea98c42c1ea02097f 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3381275 - Too much padding on the left of a custom nav bar

Hide the title layout if it's empty to omit any included padding.

Change-Id: I01d287c8e214ed3648a47f5ca00b50f78d1659ad
ndroid/internal/widget/ActionBarView.java
4c541b1303b0ee2b9b0d19bee85d3780c5c4c110 24-Jan-2011 Joe Onorato <joeo@google.com> Merge "visibility ("lights out") API." into honeycomb
664644d9e012aa2a28ac96f305b1ce6499ec8806 24-Jan-2011 Joe Onorato <joeo@google.com> visibility ("lights out") API.

1. Views may setSystemUiVisibility() to recommend that
the system chrome (status bar or other UI) show or hide
itself. (This functionality was previously available only
via the FLAG_FULLSCREEN window flag for some SystemUI
implementations.)

2. Views may register a OnSystemUiVisibilityChangedListener
on a view, and find out when the system UI actually
appears or disappears, allowing apps to coordinate the
appearance of their own UI if desired.

Bug: 3241144
Change-Id: Ia1758d94099182d49a1e3688ea2738ae4995b829
ndroid/internal/statusbar/IStatusBarService.aidl
ndroid/internal/view/BaseIWindow.java
7ed3d005ac5ed26221ccc3596c0b81522909ca76 24-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge" into honeycomb
b0ff6f995553a5deb1f22e43e44715b316d33a88 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge

Also adjust default web text selection menu to allow overflow, preventing items
from being cut off in portrait or on smaller screens.

Change-Id: I686c9a8daab31a38c2fcb75ee1402f09f568c238
ndroid/internal/widget/ActionBarContextView.java
e2be3416f2851a5bc482ad103c771f212e88ef20 24-Jan-2011 Jesse Wilson <jessewilson@google.com> Merge "Don't call broken+deprecated SamplingProfiler.writeHprofData" into honeycomb
7dd879a6a7efe4726007a7c0a0e6553398789017 24-Jan-2011 Jim Miller <jaggies@google.com> Fix 3381304: disable key preview in LockScreen's qwerty keyboard

Change-Id: I679dc9306a95b02bd7319e100c9f8871848fb134
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
1323ab83e4be088fd66ad73ea9da617e46382987 23-Jan-2011 Jim Miller <jaggies@google.com> am 42a46157: Fix 3379239: Catch exceptions from workaround for OOM.

* commit '42a461570b9c5502959e429c4f16ca5ca860c4f2':
Fix 3379239: Catch exceptions from workaround for OOM.
42a461570b9c5502959e429c4f16ca5ca860c4f2 23-Jan-2011 Jim Miller <jaggies@google.com> Fix 3379239: Catch exceptions from workaround for OOM.

This catches possible exceptions caused by attempting to
unregister a receiver that may have already been unregistered.
This is related to the OOM issue workaround in Change I99a7e0c3.

Change-Id: Ib69a8acc6b12659125c958a03efac0a8a68a3859
ndroid/internal/widget/DigitalClock.java
fa2e504087362989e5dd7fe6e65b6481cef59495 23-Jan-2011 Jeff Brown <jeffbrown@google.com> Avoid unnecessarily redrawing the wallpaper.

Added some logic to ImageWallpaper to avoid redrawing the wallpaper
when it is not necessary. Even with the resize fixes, we were still
redrawing the wallpaper an extra 5 times due to visibility and
offset changes which had no real effect.

Change-Id: Ifa39b7bb8c0f7a6a41bc81e00cc2159440f529c5
ndroid/internal/service/wallpaper/ImageWallpaper.java
db35269ae4e6a6572156e39557a993d5b730c167 23-Jan-2011 Jesse Wilson <jessewilson@google.com> Don't call broken+deprecated SamplingProfiler.writeHprofData

http://b/3381260
Change-Id: I5cf5ef8fbac2ada3669a0f7eff42f834db6573d7
ndroid/internal/os/SamplingProfilerIntegration.java
b3312b88c1f10cd29f9b55b03d5b41fc429ebfb5 22-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3360851 - actionbar overflow menu button doesn't trigger "audible selection"

Change-Id: I768d35f9752d5f6466708fd191781aa26aefd121
ndroid/internal/view/menu/ActionMenuView.java
6465f7753783a614948fb3ffbd8c072345b4eea1 20-Jan-2011 Jim Miller <jaggies@google.com> Fix 3374446: Allow multiple shift keys in Keyboard.

This fixes a bug introduced in 3c6dd8f9 because we now
have two shift keys. The code now tracks a global state
and looks for up to two shift keys.

Update after review and added code to handle extra
invalidate required by additional shift key.

Change-Id: Ic1728dd0ceec089089cd1beca1b0b30565d6e658
ndroid/internal/widget/PasswordEntryKeyboard.java
ndroid/internal/widget/PasswordEntryKeyboardView.java
1264c33163146d6088675d197551a63b3f9d360b 20-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3362375 - API REVIEW: remove unused public 'up' id

Fix bug 3362453 - API REVIEW: android.app.ActionBar

Change-Id: I4e0233cd9355a47682bfe7b4a7fda39801586f1a
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
a85467bc8da8d4cecd47ed30da04c72c4f7bd842 20-Jan-2011 Gilles Debunne <debunne@google.com> Error popup no longer flickers in TextViews.

The removed lines were committed by the Android Open Source Project.
Their intent was probably: the message was there before, it is identical
after a text change, let's remove it to not annoy the user who already saw it.

The behavior however is that the message is displayed then hidden, then displayed
as the user types.

Bug 3365016

Change-Id: Ie820f8e5465ad8ab5890272c42627686e0d7961b
ndroid/internal/widget/EditableInputConnection.java
7666ebd9f29df718f57354e0317db2ccbe6369b0 19-Jan-2011 Dianne Hackborn <hackbod@google.com> Merge "Bee seeing you..." into honeycomb
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
ndroid/internal/appwidget/IAppWidgetService.aidl
ndroid/internal/widget/IRemoteViewsAdapterConnection.aidl
3023afefd4cedcd7a8994b059c7d4d04a45edd44 19-Jan-2011 Dianne Hackborn <hackbod@google.com> Bee seeing you...

Change-Id: I023425e1752b91fed36e6b005b7b03816f779d9c
ndroid/internal/app/PlatLogoActivity.java
661b6cfb2bcecdd335540db7059e5d8e22c2e79a 19-Jan-2011 Dianne Hackborn <hackbod@google.com> Merge "Okay, new plan for dialogs." into honeycomb
ef57575887bde74ef09e9f21aae6b02f9c8163c7 19-Jan-2011 Dianne Hackborn <hackbod@google.com> Okay, new plan for dialogs.

Don't dismiss by default when tapping outside, even for AlertDialog.

If AlertDialog doesn't have any buttons, tapping outside will dismiss it.

Applications can make their own dialogs (or activities looking like
dialogs) can use the existing and new APIs to control this behavior
themselves so that it does the right thing.

Change-Id: I02bfb9161e169de0033200211b3a7ec80080bd83
ndroid/internal/app/AlertController.java
ndroid/internal/app/ChooserActivity.java
a1e6358a4c62c8b6de1f2428901e45b688bd9e9f 19-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing

Change-Id: I9e7ec4ab14c6008397d26c499ccf478f8875f918
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContextView.java
c6d2a767ce26014fee85ecbe81e1c439898f2ebc 18-Jan-2011 Jim Miller <jaggies@google.com> Merge "Fix 3303606: invalidate WaveView after resetting state" into honeycomb
607d320c9d18a57350bef72cc74017366ffd04ec 17-Jan-2011 Jim Miller <jaggies@google.com> Fix 3303606: invalidate WaveView after resetting state

This fixes a bug where the unlock state machine was in the
reset state when it awakes which caused it to ignore
the first unlock attempt. The reason for this is the state
machine didn't run again until the next user input.

We now invalidate the drawing area to ensure the unlock state
machine runs and is ready when LockScreen shows again.

Change-Id: I9f2b279d432ff634ba0b29e606cdc954718a2ad2
ndroid/internal/widget/WaveView.java
a1487347f5ba24648303bf8c9e455ca2ef0de7ea 17-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3362446 - NPE in legacy menus" into honeycomb
4192e38827b27416410516d4bb0d545c36f4660e 17-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3362446 - NPE in legacy menus

Change-Id: Icf9a0bec46c74ace3acbc85eea45d1d769b699d1
ndroid/internal/view/menu/MenuBuilder.java
db7f38673c33ba55801019007ff18fa4c57f75e0 17-Jan-2011 Dianne Hackborn <hackbod@google.com> Merge "Start renaming FragmentTransaction.openTransaction() to beginTransaction()." into honeycomb
48e7b458694acdf3a4fc58e62437f1dbc4f29d83 17-Jan-2011 Dianne Hackborn <hackbod@google.com> Start renaming FragmentTransaction.openTransaction() to beginTransaction().

Change-Id: Ib4a6d824b33cca699b7b25159c491fb610d5f5da
ndroid/internal/app/ActionBarImpl.java
77769c7a9130afa48e46dbd79da8271c271ab1e9 17-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3360954 - Text overlaid on menu icons

Change-Id: Ie59a325b7037d93aeec01c862646f900d52e1d7c
ndroid/internal/widget/ActionBarContextView.java
36fced9b211255e2137014e21fb3259042d8da85 17-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3050138 - Action bar does not display correctly when many
action items are added

Rules for action bar overflow:

Items are considered for inclusion in the order specified within the
menu. There is a limit of a total count, optionally including the
overflow menu button itself. This is a soft limit; if an item shares a
group ID with an item previously included as an action item, the new
item will stay with its group and become an action item itself even if
it breaks the max item count limit. This is done to limit the
conceptual complexity of the items presented within an action
bar. Only a few unrelated concepts should be presented to the user in
this space, and groups are treated as a single concept.

There is also a hard limit of consumed measurable space. This limit
may be broken by a single item that exceeds the remaining space, but
no further items may be added. If an item that is part of a group
cannot fit within the remaining measured width, the entire group will
be demoted to overflow. This is done to ensure room for navigation and
other affordances in the action bar as well as reduce general UI
clutter.

The space freed by demoting a full group cannot be consumed by future
menu items. Once items begin to overflow, all future items become
overflow items as well. This is to avoid inadvertent reordering that
may break the app's intended design.

Change-Id: I878f6b15619059258c91c01f4fe838feac161d6d
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuBuilder.java
578e73dac8ba6cd27d3a708f691aefd8a1e33bbb 17-Jan-2011 Jim Miller <jaggies@google.com> am 6687ecb4: Merge "Fix 3106227: use WeakReferences for receivers in DigitalClock class" into gingerbread

* commit '6687ecb447025a1c56253d0fd67ad30af070db17':
Fix 3106227: use WeakReferences for receivers in DigitalClock class
7a1c32e719725787acda4885ad7bd8031975e8c7 15-Jan-2011 Jeff Brown <jeffbrown@google.com> Merge "Add support for detecting finger orientation." into honeycomb
517bb4c859a2bb8d30316204f39bf5b6c89c3e4d 15-Jan-2011 Jeff Brown <jeffbrown@google.com> Add support for detecting finger orientation.

Change-Id: I901fc61f7705fcd7950190dc8782bad616032ee2
ndroid/internal/widget/PointerLocationView.java
8b886fab5496b0b1f5193f21855220176deddc37 14-Jan-2011 Jim Miller <jaggies@google.com> Fix 3106227: use WeakReferences for receivers in DigitalClock class

This works around a bug in the framework where LockScreen wouldn't
get GC'd under certain circumstances which would lead to an OOM
crash. It now uses WeakReferences for observers inside the
DigitalClock container class and unregisters them if the containing
DigitalClock goes away.

Also removed mLive variable which was unused and could potentially
leak the receivers.

Left mAttached for debugging so we can use it to determine if the
calls to onAttachToWindow() and onDetachFromWindow() are grossly
unbalanced which may be the root cause of the original problem.

Have cleanUp() explicitly clear unused references to make
tracing through hprof references easier.

Change-Id: I99a7e0c356001b05eab5aa729564553666febfea
ndroid/internal/widget/DigitalClock.java
06bc9721d8f5db053b51e1c536e746833ad46036 15-Jan-2011 Jeff Brown <jeffbrown@google.com> Merge "Disable soft keyboard when keyboard attached." into honeycomb
4aed78b5056560f499e5953f659fa90a06ecc38a 15-Jan-2011 Jeff Brown <jeffbrown@google.com> Disable soft keyboard when keyboard attached.

Also hide menu shortcuts everywhere until we can get around to
redesigning the menu UI to be more consistent.

Bug: 3306545
Bug: 3330748
Change-Id: I4d4e19525cdfc93d9aae0dcaa1e6266fb552c5bc
ndroid/internal/view/menu/MenuBuilder.java
9f125d341521efc8535e32e35a641be50d405c36 15-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3339039 - Preserve proper behavior for action button text when
updated.

Change-Id: If3529616d5a2b69638b2b0c4070d5ebbb418410c
ndroid/internal/view/menu/ActionMenuItemView.java
946137520d67d3c18ceaba058e622f24b7fbf04d 14-Jan-2011 Adam Powell <adamp@google.com> Merge "Rework action bar menus." into honeycomb
e7d468410b3a783560d5158a5798cef1b4b67702 14-Jan-2011 Adam Powell <adamp@google.com> Rework action bar menus.

Fix bug 3328810 - remove icons from action bar overflow menu. Popup
menus now will not show icons. Give popup menu items a minimum width.
Alter the sizing of popup menus.

Fix bug 3192635 - revise rules for action menu dividers. Dividers now
appear between the overflow button and any other items next to it, and
anywhere they disambiguate touch targets between text and other
content. Action views are on their own and should include their own
dividers if needed.

Remove dividers from around action bar spinners and tabs.

Change-Id: I935b48b473606ac2adde5e2b251bf30ebe2a3da9
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/ListMenuItemView.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/widget/ActionBarView.java
48e8ac311bdb50a62717b95b40e556b3506068a3 14-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3347747 - Use a better context when fetching resources for
action modes

Change-Id: I0c6595c290a9d41f673944c127d2e9aaf7dc84ce
ndroid/internal/app/ActionBarImpl.java
32aa2c90ee6e12f6c53c7d572d5c02f1d795b8f7 12-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3338079 - Dialog styled activity decor

Fixed a bug in FastScroller that could cause a crash on an empty list
in always-show mode.

Fix holo light button text color

Change-Id: I7b50043d715b9b870eb34808017d743ba64d2e08
ndroid/internal/app/AlertController.java
f0ad6e6eaf48ac8f4007232ad0a8511a7b5cfc0e 11-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3333015 - Overflow menu item submenus do not open

Submenus of action bar menus will open as new menus.

Change-Id: I924b87bbea91b0df5e3608ec894530302c0e1d8d
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuPopupHelper.java
81f9b286d1308ba72c0d4a12668311e37b8b4ddd 10-Jan-2011 Jim Miller <jaggies@google.com> Fix 3299611: Use system font for AM/PM indicator

This fixes a bug where translations wouldn't pick up the proper
AM/PM indicator because AndroidClock.ttf doesn't contain the
full Android character set for translations.

Change-Id: I61737bae7383946906a4e6b776afa7463da9355d
ndroid/internal/widget/DigitalClock.java
00bba682efedbe121f31c98697f91101b1c22b82 09-Jan-2011 Adam Powell <adamp@google.com> Amendment to fix for bug 3332414

Change-Id: Id3047f6ea6f8f5c68318057798e285cc1e06d094
ndroid/internal/widget/ActionBarContextView.java
dd10b66601ed0b288dc93b43e14cd9fd71355728 09-Jan-2011 Adam Powell <adamp@google.com> Bug 3332414 - UI glitch in CAB options

Change-Id: Ic066f968b0125276c315f31adbd96420e528362f
ndroid/internal/widget/ActionBarContextView.java
947f7824118f0e9b642df8760a8725a7eda59318 08-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3245465 - Themed dialog icons

Added light/dark versions of holo dialog icons. Apps using
AlertDialogs that wish to use the system dialog icon should use
setIconAttribute(android.R.attr.alertDialogIcon) instead of
setIcon(android.R.drawable.ic_alert_dialog).

Change-Id: I40793a3164478be5ffa045ededfcab8210753a4b
ndroid/internal/app/HeavyWeightSwitcherActivity.java
ndroid/internal/app/ShutdownThread.java
5e3f284baa271cb0fbf90e504d19fdd2e385382e 08-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor"

Add protection against views disappearing before previously posted
Runnables attempt to show a menu anchored to them.

Change-Id: Ia2a322e76665e61feb5bdb92377d5066cb6d5b04
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuPopupHelper.java
d16c9884bb0bd06f9d7aa1be649226a5df6591ee 07-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3330223 - onCreateOptionsMenu() unable to getActionView()
immediately after orientation change

Inflate action view layout resource earlier so that calls to
getActionView are valid immediately after menu inflation.

Change-Id: I8023328b1a77670ac42a783f6e4b46aa5c2a798e
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuItemImpl.java
97b0b7bbd41bf3bc6095a513c329e1143300ec3a 07-Jan-2011 Dianne Hackborn <hackbod@google.com> am 3ea5728e: Tweak level at which we reset battery stats to 90%.

* commit '3ea5728e703554f8ba0bb3aa1367d6dc45d704bb':
Tweak level at which we reset battery stats to 90%.
345a9f4e6d0a1b60664b010385f36456a5fef25d 07-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3212471 - Widget.Holo.ActionButton style and friends now 76% more useful

Change-Id: Ideb37c8a31e37df8fcfc549d12b4b6cafc983ca1
ndroid/internal/view/menu/ActionMenuView.java
c1b40e361c6cd3bdc53499f17ac09f45e6873059 06-Jan-2011 Dianne Hackborn <hackbod@google.com> Implement issue #3326435: Battery stats improvements

Keep track of discharge while screen is on vs. off.

Checkin looks like:

5,0,u,dc,1,1,1,0

The last four numbers are, from left:

- Maximum battery drain over time period.
- Minimum battery drain over time period.
- Battery drain while screen was on.
- Battery drain while screen was off.

Change-Id: Ie4026a7cc8aabb2a6d47d03d2e278aa51c2d5ddf
ndroid/internal/os/BatteryStatsImpl.java
3ea5728e703554f8ba0bb3aa1367d6dc45d704bb 06-Jan-2011 Dianne Hackborn <hackbod@google.com> Tweak level at which we reset battery stats to 90%.

Change-Id: I81151809100912c7956536d5d47279d2c2fea8c4
ndroid/internal/os/BatteryStatsImpl.java
3f476b34049d062942eafcf48396f593e00bd324 04-Jan-2011 Adam Powell <adamp@google.com> Revisiting ActionBar API and layout.

Fix several bugs where ActionBar was ignoring LayoutParams in action
views.

Add convenience methods for toggling display options flags.

Add layout resource version of ActionBar#setCustomView

Fix a bug preventing actionViewClasses from being loaded properly in
menu xml.

Change-Id: I0d9a0b635fd9cfc020bac69369c0c7749c226349
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/menu/ActionMenuItem.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuItemImpl.java
a5fd28f7eb639ae61dc8ca10fcf28e1f9b9ebb91 04-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3300456 - Prevent duplicate action bar backgrounds in shared container"
654e4e41615b4d10cf09ccf1b89ac7b14057a604 04-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3300456 - Prevent duplicate action bar backgrounds in shared
container

Change-Id: I8edb99739be43c7ee82eb4dc4b82a9be17f92d0c
ndroid/internal/widget/ActionBarView.java
7179dfd663cff9a4e885fcd59bdfd0154c6054cc 03-Jan-2011 Amith Yamasani <yamasani@google.com> Merge "Fix a layout alignment issue in RingtonePickerActivity."
fe7630e64828499a3566ea8030036e2b9555f815 29-Dec-2010 Amith Yamasani <yamasani@google.com> Fix a layout alignment issue in RingtonePickerActivity.

Bug: 3307324
ndroid/internal/app/RingtonePickerActivity.java
4105f1e9459854b57810cd1446c41d8a1c52b118 28-Dec-2010 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Let callers replace layout for LocalePicker adapter."
16331c8a1d33defccc5cbb18694def79196c921b 20-Dec-2010 satok <satok@google.com> Add a parameter to InputMethodManagerService.getEnabledSubtype for allowing to select subtypes implicitly if no subtype is enabled.

Bug: 3142286

Change-Id: I92d019d0648c552e6d7695c3530aa81ae054d702
ndroid/internal/view/IInputMethodManager.aidl
f890fab5a6715548e520a6f010a3bfe7607ce56e 20-Dec-2010 Patrick Dubroy <dubroy@google.com> Ensure bitmaps aren't freed while referenced from a display list

Also removes the reference queue finalizers. They aren't necessary
anymore now that Bitmaps are allocated in the heap.
ndroid/internal/os/RuntimeInit.java
2b133574bbfd076ff7f8bfac27a0f1226e47abeb 20-Dec-2010 Daisuke Miyakawa <dmiyakawa@google.com> Let callers replace layout for LocalePicker adapter.

Bug: 3298275
Change-Id: I9be5f4677ba553bfd2f35348d14d99e68fdd60f1
ndroid/internal/app/LocalePicker.java
1700ae0aef4e6a3f412b758389955abd049060db 20-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3295495 - Wrong menu item selection in PopupMenu

Change-Id: I17ec55f09dbed9797cb702a7252f6c89e861cc6a
ndroid/internal/view/menu/MenuPopupHelper.java
50f784cf2dc2dea8061153ac3a843f60a9d88781 20-Dec-2010 Adam Powell <adamp@google.com> Measure spinner items for sizing the dropdown view.

Only a limited window of items will be measured around the currently
selected item.

Change-Id: Ie0431948fdd564fa4bbeb82dede9e2abebbaee55
ndroid/internal/view/menu/MenuPopupHelper.java
6ecf3d1690789ace1a667093ad6bbdd6cd35bda7 19-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3292288 - Make Action Bar trap taps

Change-Id: I517855fb6cc50171dc247ede4537ed8ec58d7c91
ndroid/internal/widget/ActionBarContainer.java
ae115191cb9844cc994985b33ececd4599772b6b 18-Dec-2010 Jim Miller <jaggies@google.com> Merge "Fix 3148496: Update LockScreen clock to use new font."
4e659135fdb50dce83a3f26f61f410a65a8ff584 18-Dec-2010 Jim Miller <jaggies@google.com> Fix 3148496: Update LockScreen clock to use new font.

Change-Id: I8a4133f633bd3927de75010099e29ad847f3f671
ndroid/internal/widget/DigitalClock.java
73e371ff7a23d814c0da10edf40a5a4f31b26b33 18-Dec-2010 Adam Powell <adamp@google.com> Tweak action bar show/hide animations

Change-Id: I69a7b0f84b36ef6f22cc03036daab7e54e1ab74e
ndroid/internal/app/ActionBarImpl.java
1108306b369ad64c75c097fe6d4eb1e7ea669ab2 15-Dec-2010 Jim Miller <jaggies@google.com> Merge "Fix 3148496: Update LockScreen assets & layouts"
936236c01d052727c11d6d4e9251746af3fad28e 15-Dec-2010 Jim Miller <jaggies@google.com> Merge "Fix 3201849: Tweak WaveView animation; update resource."
0a0753808ea27955472c2283413fc230bc85595b 15-Dec-2010 Jim Miller <jaggies@google.com> Fix 3148496: Update LockScreen assets & layouts

This adds new assets for LockScreen on large devices and
fixes a layout bug in LockPatternView where the size was
not being computed correctly.

Change-Id: Ibaa0543502914010261389ef6e524654f4f87dc4
ndroid/internal/widget/LockPatternView.java
aa0b92ce2b51987e9c864164234fe968ab5b9311 14-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3210201 - Popup window wrong size/position when IME hidden

Fixes a case where ViewRoot does not recompute its size properly.
This caused various offsets to get out of sync and the window would
draw improperly.

Change-Id: Id0abb37bbf27b60de2dca4077c21040ec84ef163
ndroid/internal/view/menu/MenuPopupHelper.java
128b6ba93d0549fd2beff4482678e1229dc1cf3d 13-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3280187 - ActionMode menu content not getting cleared properly when finishing

Fix bug 3279956 - FastScroller resource loading errors

Change-Id: I224b2b820636f88b09740a511aa0a9c480e54a2f
ndroid/internal/widget/ActionBarContextView.java
ccc714131359eb1022d8c6702b7d82ab9e93f27c 13-Dec-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 78e9f4cb to master

Change-Id: I1135361e6d66f524c3f349e2bf1f31bd4191c634
78e9f4cbaece783b7b87ce3fb0a157dae766012a 13-Dec-2010 Dianne Hackborn <hackbod@google.com> am e4a59519: Fix issue #3154576: battery stats checkin should include UID -> packages+ map

* commit 'e4a5951925f16f18dae91ed65567e96528f17fee':
Fix issue #3154576: battery stats checkin should include UID -> packages+ map
e4a5951925f16f18dae91ed65567e96528f17fee 07-Dec-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3154576: battery stats checkin should include UID -> packages+ map

Includes some other small fixes to battery collection and a few
other things.

Output of package info looks like this:

5,0,i,uid,1000,com.android.settings
5,0,i,uid,1000,com.android.providers.subscribedfeeds
5,0,i,uid,1000,com.android.providers.settings
5,0,i,uid,1000,com.android.server.vpn
5,0,i,uid,1000,android
5,0,i,uid,1000,com.android.systemui
5,0,i,uid,1000,com.google.android.backup
5,0,i,uid,1001,com.android.phone
5,0,i,uid,1001,com.android.providers.telephony
5,0,i,uid,1022,com.android.nfc
5,0,i,uid,10021,com.google.android.location
5,0,i,uid,10021,com.google.android.syncadapters.calendar
5,0,i,uid,10021,com.google.android.gsf
5,0,i,uid,10021,com.google.android.syncadapters.contacts
5,0,i,uid,10026,com.android.providers.downloads.ui
5,0,i,uid,10026,com.android.providers.media
5,0,i,uid,10026,com.android.providers.drm
5,0,i,uid,10026,com.android.providers.downloads
5,0,i,uid,10032,com.android.launcher
5,0,i,uid,10039,com.google.android.gm
5,0,i,uid,10041,com.google.android.gallery3d
5,0,i,uid,10049,com.android.providers.calendar

Change-Id: I9e38f254eef146339113ad270f5c6e8b60fb7a1d
ndroid/internal/os/BatteryStatsImpl.java
e8c1e5c02d565aad7f8a8b14c9e351c26a3c8731 13-Dec-2010 Adam Powell <adamp@google.com> Update bg drawable properly on ActionBars based on earlier changes

Change-Id: I5e24ffb030d2c29620948114b9015c0c028a133e
ndroid/internal/app/ActionBarImpl.java
45f1e08c348ccb129bcc25e438c05421f7123f41 10-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3259354 - Handle ActionBar backgrounds better for interacting
with action modes.

Tweak ActionBar/mode transition animation to look better with a
variety of action bar styles.

Fix bug 3273773 - ActionBar disappearing while displaying
popupwindow. Some SurfaceFlinger optimizations require a relayout to
recalculate the bounds of overlaid views.

Fix bug 3266010 - Cancel animations properly when switching between
modes.

Change-Id: Ic431176b11115a2211bd0a46d09c8998aefe58d6
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContainer.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
3262a51a91655659741b3b02071ccaed258fc01f 11-Dec-2010 Jim Miller <jaggies@google.com> Fix 3201849: Tweak WaveView animation; update resource.

This is a minor tweak to the WaveView animation and updates
the unlock ring asset.

Change-Id: I763a1b25c30f20a0e78b0a6872f2dd5d2d790d59
ndroid/internal/widget/WaveView.java
cf9cf2f40efc4ccf3f73e6fdb07725d9c00c4f91 09-Dec-2010 Gilles Debunne <debunne@google.com> New API in InputConnection to signal IME's text correction.

Scafolding so that the IME team can start working on this feature.

The animation part in the TextView is missing.

Change-Id: I8225538564370fba1500e3539742a8ab79bdd199
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/widget/EditableInputConnection.java
d9c17cc1178bc09d30eead05bf5be7ec5a05cbe7 09-Dec-2010 Jean-Baptiste Queru <jbq@google.com> merge from gingerbread

Change-Id: I12d6ef65986db41e658bf8d476a8e18c4dd89917
e59e0309a1301908eae0075db02413fda90848d5 07-Dec-2010 Dianne Hackborn <hackbod@google.com> Add more checks for bad values to protect from corrupt files.

Change-Id: I5e282099e7c6fcc8756146fc7282eec31937af1f
ndroid/internal/os/BatteryStatsImpl.java
3fa82a9fe89c55e4217307e06cc185812ad5a8f5 08-Dec-2010 Dianne Hackborn <hackbod@google.com> am c4b7088f: am 42a23783: Merge "Add more checks for bad values to protect from corrupt files." into gingerbread

* commit 'c4b7088f19f8111ea5f34fba41da4a93899708cd':
Add more checks for bad values to protect from corrupt files.
c4b7088f19f8111ea5f34fba41da4a93899708cd 08-Dec-2010 Dianne Hackborn <hackbod@google.com> am 42a23783: Merge "Add more checks for bad values to protect from corrupt files." into gingerbread

* commit '42a23783aaabdb4e6f37ccd822d8c85f31ba8519':
Add more checks for bad values to protect from corrupt files.
7b9c56fe0fb99207218827a569eb12fd24901193 07-Dec-2010 Dianne Hackborn <hackbod@google.com> Add more checks for bad values to protect from corrupt files.

Change-Id: I4174c358c49b93e74920b00fcfd6c68659bf7d08
ndroid/internal/os/BatteryStatsImpl.java
d00e116293589fb258f8d153d65ffdea38e0b5ec 08-Dec-2010 Adam Powell <adamp@google.com> Merge "Add hide/show animations for action bar"
e6ec7329b9ee23eaa1183071c9660d66651f2404 08-Dec-2010 Adam Powell <adamp@google.com> Add hide/show animations for action bar

Change-Id: I204cc744573fe040b4d37791a8eef1a65c88ee88
ndroid/internal/app/ActionBarImpl.java
b7929d654e2a204dac95225913407deeecaecdd7 08-Dec-2010 Carl Shapiro <cshapiro@google.com> Do not attempt to set the minimize heap size in the Zygote.

This parameter is now specified by the product configuration files.

Change-Id: Ia04e4393b778580c206e3122078c999ac8b326a8
ndroid/internal/os/ZygoteInit.java
65dd62a306b733b4891aa455b2e099d9c15fffa8 07-Dec-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of ee27dd35 to master

Change-Id: Ia9f4ea86b8554ff04a3aa6b9e065239ae73740e7
12902d687fa1bd4bff3c2dfc079c71eacb00eedd 07-Dec-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 78742e01 to stage-korg-master

Change-Id: I0ce429afeb26184f075b4ed326fc4e1c0833e905
e2ab7ccd385cdb6517955c719e1d2b49771bedb6 07-Dec-2010 Chet Haase <chet@google.com> Change cancel/end behavior of animations to be synchronous

Previously, cancel() and end() calls would simply log a message to
be handled later by the animation handler. This caused problems with
coordinating complex animations, where some start() events for
future animations would occur before end() events for animations already
completed.
The change is to make these events synchronous (and require them to be
called from the appropriate thread), simplifying the code and the usage.

Also, fixed various timing and event bugs in AnimatorSet, and removed
the getter/setter properties from ObjectAnimator, since an earlier change
makes these properties undesirable (because the code will use a faster
JNI approach instead of reflection when it can).

Change-Id: I05c16645c2a31a92048a6031ddb126eb4312a946
ndroid/internal/widget/DrawableHolder.java
cf0357639e952a87f0d535c82691919af81f058b 06-Dec-2010 Adam Powell <adamp@google.com> Clean up button bar styles

Change-Id: I65b6600f72b92db024f83b63d3ea91abc1cbb96c
ndroid/internal/view/menu/ActionMenuView.java
0d7128048eaa14362ec0194a91c34fc5551cd6ca 06-Dec-2010 Kenny Root <kroot@google.com> Merge "Add measurement API to DefaultContainerService"
3f7f7ac30af6ea572aca44df91363cff7fcd9fef 06-Dec-2010 Adam Powell <adamp@google.com> Add dividers to action bar navigation. Lighter dividers for holo themes.

Change-Id: I879dbd815a891fe5db20678b674a9cee63a5e1ae
ndroid/internal/widget/ActionBarView.java
aa183e2c9a279cb6aef7dc77855facfae795b6f8 03-Dec-2010 Kenny Root <kroot@google.com> Add measurement API to DefaultContainerService

System applications that don't have "media_rw" access need some way to
measure the size of directories on the SD card and other internal media.
Add this API to DefaultContainerService so they can simply bind to the
service and make an RPC.

Bug: 3203974
Change-Id: I4e1bcd7a1b702b156c011ecc04f6915022cb258a
ndroid/internal/app/IMediaContainerService.aidl
d8b3f2e8eee5f24de6653a918613674e9495f751 02-Dec-2010 Adam Powell <adamp@google.com> Action mode animations

Change-Id: I132791217a38257e4fe730f2dd364cf48069c75d
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContextView.java
848024f744729a131a461f3d13151b2d0393de17 03-Dec-2010 Jim Miller <jaggies@google.com> Merge "Fix 3201849: Remove builder pattern from DrawableHolder setters"
189ee18d6c6483ad63cc864267328259e2e00b95 03-Dec-2010 Dianne Hackborn <hackbod@google.com> Implement smarter sizing of WRAP_CONTENT windows.

This extends the view hierarchy's measure pass to allow view to
propagate up to their parent additional information besides just
their measured size. They can now report that their measured width
and/or height should be larger than the size their parent is
limiting them to (even though by definition they need to contrain
their reported measurements to the limits imposed by the parent).

ViewRoot uses this information to determine if it should remeasure
the window with a larger size limit to try to make it fit.

Change-Id: I90af3b7a8ec45d0a5c003fb009857025209d83eb
ndroid/internal/view/menu/IconMenuView.java
dea74b0285ef946cceb4f56e576800cbedbc3a95 22-Nov-2010 Hakan Gustavsson <hakan.gustavsson@sonyericsson.com> Strings for NI position request are moved to resources

The strings used by the framework for network initiated position
requests are now string resources that can be properly localized.

Change-Id: If1cba89adb1bfcb9c8fdb59b9c5aa1107b11279e
ndroid/internal/app/NetInitiatedActivity.java
c002fab06d5f6d3c83bb2b89c8ee9a14f6580af3 03-Dec-2010 Jim Miller <jaggies@google.com> Fix 3201849: Remove builder pattern from DrawableHolder setters

This removes the builder pattern from DrawableHolder setters
to avoid reflection and unnecessary GCs in Animators.

Change-Id: I8e3485823f30f10d768d0ab447a5ee3281a363f0
ndroid/internal/widget/DrawableHolder.java
ndroid/internal/widget/WaveView.java
d66c63e56e6b89d117bc4ff6dff9d70dec92e427 02-Dec-2010 Wink Saville <wink@google.com> Merge "Remove the need for a token parameter from AsyncChannel."
fcca00accb923d3cbda4e0d6f5540b10e8279cd2 01-Dec-2010 Adam Powell <adamp@google.com> Update themes; dialogs, metrics

Add divider attributes to LinearLayout, plus styles for borderless
buttons. Update text field assets.

Change-Id: I673acab1692cc028a0327e8c154069253a4d52e8
ndroid/internal/app/AlertController.java
cfce303cbdd59a3883957e4bc96a0476ceeb86ac 02-Dec-2010 Wink Saville <wink@google.com> Remove the need for a token parameter from AsyncChannel.

By returning the channel object it self it is unnecessary
to have a token. Also, no current code needed it, if its
needed in the future it can be added back.

Change-Id: Ie1d2a1e885f9cd74e95663711ccefb760811bf16
ndroid/internal/util/AsyncChannel.java
db1a3ba21904ac9d0babe3da83a7d00c3d9b96a0 02-Dec-2010 Brian Carlstrom <bdc@google.com> Merge "Resurrect SamplingProfilerIntegration"
def41ec2e88a70e63590117c93476276f8d0bf4c 02-Dec-2010 Brian Carlstrom <bdc@google.com> Resurrect SamplingProfilerIntegration

1.) Change from samples per second (persist.sys.profiler_hz) to
interval between samples (persist.sys.profiler_ms) to match
underlying SamplingProfiler API. This allows samples to be taken
less often than a second, which allows lower overhead for always
on profiling.

2.) Add persist.sys.profiler_depth to control the number of frames
kept. Currently defaults to 4 which is the default hprof depth,
but often 12 is necessary even in benchmarks to get a good idea
where time is being spent.

3.) Moved SNAPSHOT_DIR creation to initialization time instead of
checking it on every sample.

4.) Used ThreadFactory to provide human readable name to writeSnapshot
Executor thread.

5.) Fixed bug where writeZygoteSnapshot was calling wrong variant of
writeSnapshot causing profiling to prevent zygote startup. Renamed
underling private writeSnapshot to writeSnapshotFile to try to
prevent future confusion.

Change-Id: Ifcfc343816b19f13a6eef2cbf25cde334d8adc3b
ndroid/internal/os/SamplingProfilerIntegration.java
8515ee846bd76aee86ec5ddfcc4dd1e626dd999c 30-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3240444 - add OnMenuVisibilityListener for action bar.

Fix bug 3180015 - leaking window handles on configuration change for
action bar dropdown menus

Rename ActionBar.NavigationCallback to something more consistent with
the rest of the API.

Change-Id: Ic1fb4c07484c57a72649b30e27d220b18cda6cdf
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuPopupHelper.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
2a98a4cbaaf3300036434dd1d44b891ea8a8c932 20-Nov-2010 Jim Miller <jaggies@google.com> Fix 3024522: Add "no lock screen" support to the framework.

This adds a new feature where LockScreen can be disabled to
allow the device to go straight to the home screen when
powered on.

Change-Id: I288e8d5359442c042ae7911340885877a864faff
ndroid/internal/widget/LockPatternUtils.java
440aab54cab106030f1edafea4dec1f9d8624f9b 25-Nov-2010 satok <satok@google.com> Removed InputMethodSubtypePicker

Change-Id: I08abac5d65a30c02cc671f4f70e93df25b6c8a92
ndroid/internal/view/IInputMethodManager.aidl
cd7cd2969f545ad061a9b4ecd0044f15eb1b4abb 20-Nov-2010 satok <satok@google.com> Store the current IME's token in the system bar for changing the current IME to a shortcut IME from the system bar

Bug: 3212206
Bug: 3201828

- Added a shortcut IME button. This will be used for calling a shortcut IME (e.g. Voice input)
- Made the positions of IME buttons left aligned
- IME token is required to change IME because of the security reasons.

Change-Id: I48ba5e2509b3aa1bfd2394f9201427fa6b93c6d3
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
2820351489537698ad153c6397edf3270455edc5 24-Nov-2010 satok <satok@google.com> Add an API to set InputMethodAndSubtype

Change-Id: I66f1a4c8e0d98705614f12a737e7efcd0263b72a
ndroid/internal/view/IInputMethodManager.aidl
621e17de87f18003aba2dedb719a2941020a7902 23-Nov-2010 Dianne Hackborn <hackbod@google.com> Implement issue #3221502: New APIs to support new back stack / task navigation

What this adds:

- A new Intent activity flag to completely replace an existing task.
- A new Intent activity flag to bring the current home task up behind
a new task being started/brought to the foreground.
- New versions of startActivity() that take an array of Intents to be
started, allowing applications to start a task in a specific state.
- A public moveTaskToFront() method on ActivityManager, with a new flag
that allows the caller to have the task moved to the front with the
current home task immediately behind it.

Change-Id: Ie8028d09acffb5349d98043c67676daba09f75c8
ndroid/internal/app/HeavyWeightSwitcherActivity.java
4e4569dab5c75804b01a19b2d6e6101b445c1c68 19-Nov-2010 satok <satok@google.com> Add an API to get shortcut IMEs

- If there are no selected shortcut IMEs, the most applicable voice input will be selected as a shortcut IME

Change-Id: Ibd0f7ef5101013569c303820a3adc9038a97356d
ndroid/internal/view/IInputMethodManager.aidl
dd4e4603efef2c3df0e26835935f74e1e0e7deb2 18-Nov-2010 Jeff Brown <jeffbrown@google.com> Merge "Added support for full PC-style keyboards."
b33be1c672f459d94b151b3b2e3859a7655a7fa3 18-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3208911 - apps not getting default ActionBar style values

Change-Id: Ie2855d6ebbaf49d187dc8bd63fda7f1b397325b5
ndroid/internal/widget/ActionBarView.java
1c60300129e431ccf1cf258291eac5acdb3a2fe4 18-Nov-2010 Ed Heyl <edheyl@google.com> Revert "Temp fix; Revert "Fix bug 3167081 - Action Bar redesign to support "up"""

This reverts commit 8b8914b50d36734305d582485fa839b7d04b8872.

Change-Id: Ib3ee99257ed10af5f729f3d29af37b5b48a8e139
ndroid/internal/widget/ActionBarView.java
8b8914b50d36734305d582485fa839b7d04b8872 18-Nov-2010 android-build SharedAccount <android-build@google.com> Temp fix; Revert "Fix bug 3167081 - Action Bar redesign to support "up""

This reverts commit 432e5f9f167e622d03fee0e10215b6e2234c1a3c.

Conflicts:

core/res/res/values/public.xml

Change-Id: I7212626479da7aef80b9bcb4c2144435364dafae
ndroid/internal/widget/ActionBarView.java
6b53e8daa69cba1a2a5a7c95a01e37ce9c53226c 11-Nov-2010 Jeff Brown <jeffbrown@google.com> Added support for full PC-style keyboards.

BREAKING CHANGE: Redesigned the key character map format to
accomodate full keyboards with more comprehensive suite of modifiers.
Old key character maps will not work anymore and must be updated.
The new format is plain text only and it not compiled to a binary
file (so the "kcm" tool will be removed in a subsequent check-in).

Added FULL keyboard type to support full PC-style keyboards.

Added SPECIAL_FUNCTION keyboard type to support special function
keypads that do not have any printable keys suitable for typing
and only have keys like HOME and POWER

Added a special VIRTUAL_KEYBOARD device id convention that maps
to a virtual keyboard with a fixed known layout. This is designed
to work around issues injecting input events on devices whose
built-in keyboard does not have a useful key character map (ie.
when the built-in keyboard is a special function keyboard only.)

Modified several places where events were being synthesized
to use the virtual keyboard.

Removed support for the "qwerty" default layout.
The new default layout is "Generic". For the most part "qwerty"
was being used as a backstop in case the built-in keyboard did
not have a key character map (probably because it was a special
function keypad) and the framework needed to be able to inject
key events anyways. The latter issue is resolved by using the
special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD.

Added the concept of a key modifier behavior so that
MetaKeyKeyListener can distinguish between keyboards that use
chorded vs. toggled modifiers.

Wrote more robust key layout and key character map parsers
to enable support for new keyboard features and user installable
key maps.

Fixed a bug in InputReader generating key ups when keys
are released out of sequence.

Updated tons of documentation.

Currently QwertyKeyListener is being used for full keyboards
with autotext and capitalization disabled. This mostly works
but causes some problems with character pickers, etc.
These issues will be resolved in subsequent changes.

Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
432e5f9f167e622d03fee0e10215b6e2234c1a3c 18-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3167081 - Action Bar redesign to support "up"

Integrate new assets for action bar "up" and menu. Restructure action
bar layout to support the new design. First pass at metrics.

Change-Id: Iefc502bf398905208129ef41072bdf4a0225bfe0
ndroid/internal/widget/ActionBarView.java
32555f347974711aac1f0c9acc0f06e8676d9362 17-Nov-2010 Adam Powell <adamp@google.com> Add resource ID variants of ActionBar tab setters

Bugs 3204153 and 2901235

Change-Id: Ib430f96da77f8e7647b22d190243a2fcd766d842
ndroid/internal/app/ActionBarImpl.java
67ddf9cbd5d7133c7f443cd3c55841ed1109c3a0 17-Nov-2010 satok <satok@google.com> Add a function to get enabledInputMethodAndSubtype

Change-Id: Ie97635343249aa63e33028c2843cab103125ca92
ndroid/internal/view/IInputMethodManager.aidl
ef704447689cb991049d31e67be41e66e8a44b6d 16-Nov-2010 Adam Powell <adamp@google.com> Improve docs around ActionBar as noted in bug 3111444.

Rename method that was missed in previous ActionBar
refactoring. Deprecated previous version for compatibility for apps in
development.

Change-Id: I2c466aed8ed620aec5056026257e131fadf8843e
ndroid/internal/app/ActionBarImpl.java
ed8b403cc8066bf76cdf98f8d9906ff810defc5b 16-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3198503 - NPE at MenuPopupHelper.dismiss

Make sure dismiss() can be called even when the popup is not currently
showing.

Change-Id: I48077d8b3bfe0df04bceeb056ed54cbd79a6e660
ndroid/internal/view/menu/MenuPopupHelper.java
c028a5ee7e6998f8ab0239baf91634eadad021e8 16-Nov-2010 Adam Powell <adamp@google.com> Merge "Fix a couple interactions between action bar and options menus"
8d12e201626239291fe2c4b31f97f2a14f01dea9 16-Nov-2010 Adam Powell <adamp@google.com> Fix a couple interactions between action bar and options menus

Fix bug 3129937 - Activity.openOptionsMenu not calling onPrepareOptionsMenu

Fix bug 3070720 - actionbar android.R.id.home isn't dispatched to fragments

Change-Id: I4a154941595583cdec7d1dffbeac9c8340781fa0
ndroid/internal/widget/ActionBarView.java
33c54e3365d621fcc5b9f7564f18b33dc1e300df 15-Nov-2010 Wink Saville <wink@google.com> Add html formatting to AsyncChannel & Hsm class comments.

Change-Id: Ic42fdb4e8970166a92f173317210353ab8a2fa6a
ndroid/internal/util/AsyncChannel.java
ndroid/internal/util/HierarchicalStateMachine.java
6af97e1c20df4d7010fafd7059c95d9b4113e4a6 12-Nov-2010 Adam Powell <adamp@google.com> Revised assets for progress bars and indeterminate progress spinners.

Add support in ActionBar for activity-wide progress APIs.

Add ability for progress bars to set a target framerate rather than
the 5fps previously used.

Clean up some more dialog layouts using hardcoded styles rather than
theme attributes.

Change-Id: I8e88c7595e27c0b6f7829b598f2b084ac8501ae3
ndroid/internal/widget/ActionBarView.java
b66d287e3003a0934d5714fbf15e554b3c814906 09-Nov-2010 satok <satok@google.com> Add a setter of InputMethodSubtype to InputMethodManager

- Public API: void setCurrentInputMethodSubtype(int pos)

Change-Id: I55daa19ba924999def544bf841f00bf54852f3e1
ndroid/internal/view/IInputMethodManager.aidl
735cf38b8c7f8f91ad087511e44fe79018fa61d6 11-Nov-2010 satok <satok@google.com> Add a function to switch back to the last used IME

Change-Id: Iac7bcc2ee16dd04d91a3e75b160622d246788c9a
ndroid/internal/view/IInputMethodManager.aidl
9feaa0fb4450c8575400659c95d86d1fc43523eb 12-Nov-2010 Brad Fitzpatrick <bradfitz@android.com> Merge "Disable SamplingProfilerIntegration until it's fixed."
0b91729b8d75668c5593dda1e9f2e79aa7b30c81 12-Nov-2010 Brad Fitzpatrick <bradfitz@android.com> Disable SamplingProfilerIntegration until it's fixed.

Change-Id: I685e0600414836d0caae8e37ee7e97cabeb555ce
ndroid/internal/os/SamplingProfilerIntegration.java
0458796f1401732b38660794148f4c5e5602f432 12-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3146938 - Menus spawned by ActionBar should hide when action
bar is hidden

Any popup spawned by the private class MenuPopupHelper will be hidden
if its anchor becomes hidden. ("hidden" == !View#isShown())

Fix a bug where ActionBar subtitle views were not going away when
subtitle text was set to null.

Fix a bug when switching out of ActionBar tabbed nav mode with no
active tabs.

Change-Id: I1f30c067156221f96905ac69ab876418ad2e94f8
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/menu/MenuPopupHelper.java
ndroid/internal/widget/ActionBarView.java
c60072063823ceeba61889da511a6ae599904752 11-Nov-2010 Dianne Hackborn <hackbod@google.com> am 63f40387: am 34594e75: Merge "Fix issue #3177284: Account for wake lock power usage on Crespo" into gingerbread

* commit '63f40387d931b5cd555b4743a4d8ff4f1ccf9558':
Fix issue #3177284: Account for wake lock power usage on Crespo
63f40387d931b5cd555b4743a4d8ff4f1ccf9558 11-Nov-2010 Dianne Hackborn <hackbod@google.com> am 34594e75: Merge "Fix issue #3177284: Account for wake lock power usage on Crespo" into gingerbread

* commit '34594e75e4a7962840f34c0b57116ecf1497f118':
Fix issue #3177284: Account for wake lock power usage on Crespo
a8ddef346cece1ad229e270ac4deebbd41ba6721 10-Nov-2010 Chris Tate <ctate@google.com> Add description and configuration methods to the transport interface

It's now possible for the transport to supply a descriptive string to inform
the user about the nature of the backup destination (e.g. telling the user
what account the data is being stored under), and to supply an Intent with
which the system can initiate a configuration Activity supplied by the
transport (e.g. allowing the user to select which account their data is
being stored under).

The transport interface is not public.

Part of bug 2753632 and bug 2987804

Change-Id: I911f70a3ea440daf2a7a04710e9d7e65b61a58db
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
30693374e8497c83b40592893160a95b428e0c22 09-Nov-2010 Joe Onorato <joeo@google.com> If the image wallpaper fails to load, including via an OutOfMemoryError because of a big bitmap, reset to the default.

Bug: 3139118
Change-Id: Iff02e7440019598cce0cc87e4031a157e3feb641
ndroid/internal/service/wallpaper/ImageWallpaper.java
0c8b4d3f7e280da5d981651be13b8966b36bc45c 09-Nov-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3177284: Account for wake lock power usage on Crespo

Change-Id: I5e3d6c4772f08277ee775dba191a5054dd5a4ca2
ndroid/internal/os/PowerProfile.java
3915bb845b032dc184dba5e60970b803390ca3ed 05-Nov-2010 Jeff Brown <jeffbrown@google.com> Tell system server whether the app handled input events.

Refactored ViewRoot, NativeActivity and related classes to tell the
dispatcher whether an input event was actually handled by the application.

This will be used to move more of the global default key processing
into the system server instead of the application.

Change-Id: If06b98b6f45c543e5ac5b1eae2b3baf9371fba28
ndroid/internal/view/BaseInputHandler.java
51387974f0914a12dcf758938bbd4ffe120bdab4 08-Nov-2010 Joe Onorato <joeo@google.com> Merge "Move the volume, media, call, camera and search key handling from PhoneWindow to a new PhoneFallbackEventHandler class that is used for all windows, not just ones with decors."
3320dcd049700481c744d499feeecd1454afd4d7 06-Nov-2010 Adam Powell <adamp@google.com> Fixed several dialog theming issues

Change-Id: I8e83e5a35acaae63a70bef48f543e3fd82ced354
ndroid/internal/app/AlertController.java
86f6786032b1a0380cf089aeeceef7e9d8982ef8 06-Nov-2010 Joe Onorato <joeo@google.com> Move the volume, media, call, camera and search key handling from
PhoneWindow to a new PhoneFallbackEventHandler class that is used
for all windows, not just ones with decors.

Bug: 3155146
Change-Id: Ib070fa3e523e3564b225bca576c08012fef4f416
ndroid/internal/policy/IPolicy.java
ndroid/internal/policy/PolicyManager.java
ec6ac82a295b80a39f12ff7951ec254ba45809fd 05-Nov-2010 Jim Miller <jaggies@google.com> Fix 3165868: Fix stall in state machine logic in WaveView

It was possible for the state machine to get stuck when
user interaction and animations both completed before success
was detected. This fixes the problem by explicitly advancing
the state machine when an up event is detected.

Change-Id: I802e3f1bb35aeab7a0d6f64e85acaa6980b9d65a
ndroid/internal/widget/WaveView.java
a4f03f98f16dca51ac5630b4f41bec08a7da1091 04-Nov-2010 Brian Carlstrom <bdc@google.com> Merge "Integrate StrictMode with CloseGuard"
fd9ddd1a40efc801dc7512950cb9336967b6f775 04-Nov-2010 Brian Carlstrom <bdc@google.com> Integrate StrictMode with CloseGuard

In additional to adding the StringMode API for controling CloseGuard,
this checkin fixes several CloseGuard issues found booting a device.

Bug: 3041575
Change-Id: I4dffd184f49438d6d477ed81a1c2a2a5b56cc76b
ndroid/internal/content/NativeLibraryHelper.java
f786805acc4e188e22c9a569f44506c40636e883 04-Nov-2010 Jeff Sharkey <jsharkey@android.com> Respect padding when positioning custom view.

Fixes http://b/3164071

Change-Id: I74700fecf7e9f4785e8e944b2660724b3d270b0d
ndroid/internal/widget/ActionBarView.java
0c91a8ee9321da4dee17f0aeffbc20b0c5bb0644 02-Nov-2010 Jim Miller <jaggies@google.com> Minor tweaks to lockscreen animation:

Remove transition delay to show home.
Add new constants to allow finer tuning of "success" animation.
Transition all items to transparent on successful unlock.

Change-Id: Id9f57b9bfc08be840d9282f987925617d2b42ea1
ndroid/internal/widget/WaveView.java
0c24a5514c1ff143a223720a090b19a86a75945f 04-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3156280 - Fix several issues with tab navigation in action bars.

Add the ability to restrict a FragmentTransaction's ability to be
added to the back stack. (It doesn't make sense for tabs or other
scenarios to allow this.)

Change-Id: I8fa2edb5f35c365e2483010ad13eb9993f5e6570
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
26ba12490347f34a0aa3a2ee2370d60d24f5f7d0 04-Nov-2010 Robert Greenwalt <rgreenwalt@google.com> Merge "Add some network/phone type constants."
962a990a45a2a9f9c3002064e71f9c2fed86acf1 02-Nov-2010 Robert Greenwalt <rgreenwalt@google.com> Add some network/phone type constants.

Support for LTE (and SIP-based voice) and the stepping-stone eHPRD.

bug:3125398
Change-Id: Ied3d96fa09d9c758a82a2fd1817f55db711d1a4f
ndroid/internal/os/BatteryStatsImpl.java
ad199ecc441649f0ad816f7b139ab5ddffad98dd 01-Nov-2010 Ben Komalo <benkomalo@google.com> Fix issue where home layout click listener was being attached
before it was initialized.

Change-Id: I25641ca7c2db18d423dcafebc9bdf42d608a7a31
ndroid/internal/widget/ActionBarView.java
cc82f3ae3cef7e5dac7992a10aeb8e147e12eb27 03-Nov-2010 Nick Pelly <npelly@google.com> am 6fb9316f: am 38e561dd: Merge "Remove timeout support." into gingerbread

* commit '6fb9316f6bd72b406bbfc61bd210281744eea9c1':
Remove timeout support.
81b8944131946e451b31665652de8cc71d81ea07 03-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3093591 - add richer control over default tab selection in ActionBar

Added overloads to ActionBar#addTab with control over whether the added tab
will become selected or not. Old versions implemented in terms of the new.

Change-Id: I810c64652bb7e755b81151ce8a2c765266d78a66
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
5b3b35296e8b2c8d3f07d32bb645d5414db41a1d 28-Oct-2010 Romain Guy <romainguy@google.com> Optimize FBO drawing with regions.
This optimization is currently disabled until Launcher is
modified to take advantage of it. The optimization can be
enabled by turning on RENDER_LAYERS_AS_REGIONS in the
OpenGLRenderer.h file.

Change-Id: I2fdf59d0f4dc690a3d7f712173ab8db3848b27b1
ndroid/internal/widget/LockPatternView.java
6fb9316f6bd72b406bbfc61bd210281744eea9c1 02-Nov-2010 Nick Pelly <npelly@google.com> am 38e561dd: Merge "Remove timeout support." into gingerbread

* commit '38e561dd3cd72160035d8b3002fc9bbaf3071374':
Remove timeout support.
275708c82cad1119d645b4be533b1ad0088e148c 02-Nov-2010 Nick Pelly <npelly@google.com> Remove timeout support.

The implementation was guarenteed to cause deadlock when a timeout was set.

Change-Id: I59444ea784eb9057c6c4c9e9123f558b3ef5eef6
Signed-off-by: Nick Pelly <npelly@google.com>
ndroid/internal/nfc/LlcpServiceSocket.java
ndroid/internal/nfc/LlcpSocket.java
504d5e0d1fe5cec7c0398064657dab18196a7427 01-Nov-2010 Brian Carlstrom <bdc@google.com> Change SamplingProfiler to use a sampling interval instead of Hz

Change-Id: I15654f1c080215575347559a16ba40e9630371ba
ndroid/internal/os/SamplingProfilerIntegration.java
e4c7b3f25ee3cb8d3fba4d15a8fbb97bc83d8dd1 30-Oct-2010 Joe Onorato <joeo@google.com> Status bar: Forward the disabled state to the status bar process when it comes up.

Bug: 3108996
Change-Id: I92c2ff645dc64ca2610e3de814e0cfef6cde88c3
ndroid/internal/statusbar/IStatusBarService.aidl
9ab978713ce86fdaefed2407f4f3c998ab0e3178 27-Oct-2010 Adam Powell <adamp@google.com> Action bar API updates - new display options

Change-Id: I55e56cd7aafa53994990079e88ef85e4eb1a0b3f
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
4c5585d8af8961e32dbbbb687c594c67dc03dbcc 29-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Expose Adapter."
06487a58be22b100daf3f950b9a1d25c3ea42aa2 29-Oct-2010 satok <satok@google.com> Add a functionarity for showing / hiding IME button on the system bar

Bug: 3077030

- IME communicates with status bar directly.

Change-Id: Ic5b6b5b7a2b8ea62372dcc9b9c36d81b9f2db651
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
ndroid/internal/view/IInputMethodManager.aidl
9d9f0c20a6a8e2693b8534cc0a5c314bdb3a0090 28-Oct-2010 Wink Saville <wink@google.com> Remove an @Override that is not needed.

Change-Id: I23d216c387ea44073eed1e3acb05d07104784e16
ndroid/internal/util/AsyncChannel.java
04d50204705c9da52b218f11972da4e7d7a9cb84 25-Oct-2010 satok <satok@google.com> Show Subtype Icon properly in the system status bar

- Added API for getting the current subtype
- Added functions for show/hide status icon

Change-Id: Ifcaad00f7f4c658cdb3af367387476bbf316eb19
ndroid/internal/view/IInputMethodManager.aidl
091511b41ba1469bea46e9e56cc8e9c0c16c3a6f 27-Oct-2010 Andy McFadden <fadden@android.com> am e3e8642c: am 001c7d12: Merge "Set capabilities sooner." into gingerbread
e3e8642ce41278cf7b76424faf4c3fb69ca91e4d 27-Oct-2010 Andy McFadden <fadden@android.com> am 001c7d12: Merge "Set capabilities sooner." into gingerbread
1b4c7966b15382e9ffb2bfe6468dcef0b6d090b6 27-Oct-2010 Andy McFadden <fadden@android.com> Set capabilities sooner.

Bug 3135433.

Change-Id: I4e34b60c0a01b85ce0d80eb96ff3510604a68c71
ndroid/internal/os/ZygoteConnection.java
ndroid/internal/os/ZygoteInit.java
86417ea3f8041481a085823a1aa9f66d747231e8 27-Oct-2010 satok <satok@google.com> Remove InputMethodAndSubtypeEnabler and call intent of Settings.ACTION_INPUT_METHOD_AND_SUBTYPE_ENABLER

Change-Id: I467cfba9644ec266f6a98f7aec0886ad205fef4f
ndroid/internal/view/InputMethodAndSubtypeEnabler.java
53daead5718a95953fc009782299bd5e544bf4e5 27-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Expose Adapter.

We sometimes want just an adapter object instead of Fragment,
so that it can be available from not-Fragment UI
(like Spinner and ListView).

See I5e3d7ee721d1f0ec81dc9825b0d05f8faa731b80 for example usage.

Bug: 3133251
Change-Id: Ief6f25e9bc51c739b5cd2f2ba0afec5d2c16dc5b
ndroid/internal/app/LocalePicker.java
858825c54d382c24dcfbb9b85bea87ac4eee39ee 26-Oct-2010 Jeff Hamilton <jham@android.com> am 6a49bff5: am 79fb6449: Merge "Make some contructors public but hidden." into gingerbread
6a49bff5694439b3f892cfcfd90b814884f8d44f 26-Oct-2010 Jeff Hamilton <jham@android.com> am 79fb6449: Merge "Make some contructors public but hidden." into gingerbread
d6c052a8ec5a874289567a637bf7411bd24f9e05 26-Oct-2010 Jeff Hamilton <jham@android.com> Make some contructors public but hidden.

This allows them to be used from within the
NFC stack process internally.

Change-Id: I7f81759da63d451efe86550a57a400fb224b2064
ndroid/internal/nfc/LlcpServiceSocket.java
ndroid/internal/nfc/LlcpSocket.java
a139f102d8b3111383c2c978953663e0aa554600 23-Oct-2010 Adam Powell <adamp@google.com> Merge "Fix bug 3105695 - Action modes in dialogs or other small windows"
85446e95afa480cee2247bb96795fccc8cf812af 23-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3105695 - Action modes in dialogs or other small windows

Overlay action modes now show in their own windows aligned to the top
of the screen.

Change-Id: I81600bbd1bcaeb59fdcf0a959bd35f82165baa2c
ndroid/internal/view/StandaloneActionMode.java
ndroid/internal/widget/ActionBarContextView.java
5a1e4cf83f5be1b5d79e2643fa791aa269b6a4bc 19-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Update BT APIs return type from Set to List.

Change-Id: Ia27220dd26cde13007f6938c830517ee7f6968ce
ndroid/internal/os/BatteryStatsImpl.java
c981465aac939399eb597f62efe42ce701c0310a 22-Oct-2010 Dianne Hackborn <hackbod@google.com> am 2f1eee34: am e9dbf208: Merge "Fix issue #3117472: Format storage dialog still broken" into gingerbread

Merge commit '2f1eee34706cf42855541def5737c37a071d7293'

* commit '2f1eee34706cf42855541def5737c37a071d7293':
Fix issue #3117472: Format storage dialog still broken
2f1eee34706cf42855541def5737c37a071d7293 22-Oct-2010 Dianne Hackborn <hackbod@google.com> am e9dbf208: Merge "Fix issue #3117472: Format storage dialog still broken" into gingerbread

Merge commit 'e9dbf208e4f72b41dc3961d9d4570d5b69126307' into gingerbread-plus-aosp

* commit 'e9dbf208e4f72b41dc3961d9d4570d5b69126307':
Fix issue #3117472: Format storage dialog still broken
4f6ee254bc53cb7e609205794f197e275f50030f 22-Oct-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3117472: Format storage dialog still broken

Change-Id: I19b3a04e33785a56cb14457e4e3cd9232f585bb1
ndroid/internal/app/ExternalMediaFormatActivity.java
6dcab2099bbf1351934a53c05be7e4634b0ae2fd 21-Oct-2010 Dianne Hackborn <hackbod@google.com> am 153bf6c8: am e9e23405: Merge "Fix issue #3113424: Battery stats don\'t reset on Crespo" into gingerbread

Merge commit '153bf6c8d7579abca63909424a8602a0f3b8bcd4'

* commit '153bf6c8d7579abca63909424a8602a0f3b8bcd4':
Fix issue #3113424: Battery stats don't reset on Crespo
385a753dead6ef15f2e30eae47f73e642b3ef7ed 21-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of 368fdba4 to master

Change-Id: I42b7b433c86a71a5da5db67109f056a280077c9d
d20a5d6b5a821e28d73eba6502a2135134014a84 21-Oct-2010 Wink Saville <wink@google.com> Add AsyncChannel and AsyncService.

Change-Id: Ie6f9aed58f49defcd1c051611ce791e2e62a9474
ndroid/internal/util/AsyncChannel.java
ndroid/internal/util/AsyncService.java
153bf6c8d7579abca63909424a8602a0f3b8bcd4 20-Oct-2010 Dianne Hackborn <hackbod@google.com> am e9e23405: Merge "Fix issue #3113424: Battery stats don\'t reset on Crespo" into gingerbread

Merge commit 'e9e23405833a5fedb6a1c2dcec87d84e39d1d13d' into gingerbread-plus-aosp

* commit 'e9e23405833a5fedb6a1c2dcec87d84e39d1d13d':
Fix issue #3113424: Battery stats don't reset on Crespo
266e607bde58aa6ee78ada6e61715c3047568b28 20-Oct-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3113424: Battery stats don't reset on Crespo

Change-Id: I38cc3cdfa9cb1466fe3659f001ee57aecf9df179
ndroid/internal/os/BatteryStatsImpl.java
7f9b90542e05b350d14bd63c16446c8ce2baf407 20-Oct-2010 Adam Powell <adamp@google.com> Add ActionBar tab callback method onTabReselected

onTabReselected is called if an already-selected tab is chosen again.
For many apps this will be a no-op, but some may treat it as a signal
to return to the top level of a given navigation category.

Change-Id: Ic51fbe477b979562f2d848c4070b2016b217a90f
ndroid/internal/app/ActionBarImpl.java
6be063d8a998f1c529f69e4c1649bcdaf514562c 19-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> am 5a67749a: am 987e8d7f: Merge "Fix Vibrator permission CTS test broken earlier." into gingerbread

Merge commit '5a67749a35bcbb70bfcc5f4c18da6a196bda33c1'

* commit '5a67749a35bcbb70bfcc5f4c18da6a196bda33c1':
Fix Vibrator permission CTS test broken earlier.
368fdba47a49f249aa4346edaf3f45291ca6a7ff 19-Oct-2010 Joe Onorato <joeo@google.com> am bdf1706a: Merge "Reduce logging." into gingerbread

Merge commit 'bdf1706ac680c0fe74765b8d6d34823b8ac05306' into gingerbread-plus-aosp

* commit 'bdf1706ac680c0fe74765b8d6d34823b8ac05306':
Reduce logging.
5a67749a35bcbb70bfcc5f4c18da6a196bda33c1 19-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> am 987e8d7f: Merge "Fix Vibrator permission CTS test broken earlier." into gingerbread

Merge commit '987e8d7f9748018d3fee5778645b267a9ee06ff6' into gingerbread-plus-aosp

* commit '987e8d7f9748018d3fee5778645b267a9ee06ff6':
Fix Vibrator permission CTS test broken earlier.
bdf1706ac680c0fe74765b8d6d34823b8ac05306 19-Oct-2010 Joe Onorato <joeo@google.com> Merge "Reduce logging." into gingerbread
431bb2269532f2514861b908d5fafda8fa64da79 19-Oct-2010 Joe Onorato <joeo@google.com> Reduce logging.

Remember, the system and main logs are
- Shared resources
- Primarily for recording problems
- To be used only for large grained events during normal operation

Bug: 3104855
Change-Id: I136fbd101917dcbc8ebc3f96f276426b48bde7b7
ndroid/internal/util/HierarchicalStateMachine.java
26e9cf38b229b738b4e56c3e08be82a9c0f11e64 19-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> Fix Vibrator permission CTS test broken earlier.

Bug: 3106964
Change-Id: I76138780ac64f761fe09ef8ba74382c7ee05d794
ndroid/internal/app/ShutdownThread.java
c5469bd67abb13321ed0e1a8a08d0f8478fd4c43 19-Oct-2010 Nick Pelly <npelly@google.com> am 774b943f: am d1f7f4a6: Move hidden API\'s Llcp* and P2p* to f/b/c/j/com/android/internal/nfc.

Merge commit '774b943fc6baa7d3e2880382d4dc7ab085d54b65'

* commit '774b943fc6baa7d3e2880382d4dc7ab085d54b65':
Move hidden API's Llcp* and P2p* to f/b/c/j/com/android/internal/nfc.
027610a76e67f39e3a435d68ec785a1cf09dcf9c 18-Oct-2010 Kenny Root <kroot@google.com> resolved conflicts for merge of 964eb438 to master

Change-Id: I0c54d6b88356d8734d7f51234b0114434414502e
65202242defad10eb33a3b3277af49eb238a3f33 18-Oct-2010 Romain Guy <romainguy@google.com> am 157fa0ac: am 77c011ba: Set default heap size to 5MB.

Merge commit '157fa0aca55b8e4747f00d2b729e5e361dea7ddb'

* commit '157fa0aca55b8e4747f00d2b729e5e361dea7ddb':
Set default heap size to 5MB.
875ecaa511ce36c8044ccdf48ee2a3e69dd633fe 18-Oct-2010 Dianne Hackborn <hackbod@google.com> am 13e46665: am 736f5ec4: Merge "Work on issue #3101415: Crespo apps seem to have their UID changed over time." into gingerbread

Merge commit '13e46665ff69c1a37880762d7d611aacdf02dac7'

* commit '13e46665ff69c1a37880762d7d611aacdf02dac7':
Work on issue #3101415: Crespo apps seem to have their UID changed over time.
cd0e839a2448deea50f79bddeba782c546b33893 14-Oct-2010 Nick Pelly <npelly@google.com> NFC: Move NFC service implementation out of system_server.

NFC service is now an application service in packages/apps/Nfc.

NFC service is registered through ServiceManager.addService(), and the proxy
object NfcAdapter obtains a handle to it through ServiceManager.getService().

**Important** Had to add new symbols AID_NFC / NFC_UID / android.uid.nfc and
modify service_manager.c, Process.java and PackageManagerService.java in order
to force the com.android.nfc process to take a fixed uid, so that it can use
ServiceManager.addService().

Most of the JNI has moved to packages/apps/Nfc/jni. However NdefRecord and
NdefMessage require some in-process native code, so android_com_NdefMessage.cpp
and android_com_NdefRecord.cpp stay in frameworks/base/core/jni. They link to
a very small library libnfc_ndef.so that implements NDEF message parsing. This
has been added to core.mk so all devices (even without NFC hardware) can work
with NDEF data.

Bug: 3041259
Bug: 3097445
Change-Id: If7f00cd8f2053acfc9319ca366d4a9c02bd396e6
Signed-off-by: Nick Pelly <npelly@google.com>
rustedlogic/trustednfc/android/internal/NativeLlcpConnectionlessSocket.java
rustedlogic/trustednfc/android/internal/NativeLlcpServiceSocket.java
rustedlogic/trustednfc/android/internal/NativeLlcpSocket.java
rustedlogic/trustednfc/android/internal/NativeNdefTag.java
rustedlogic/trustednfc/android/internal/NativeNfcManager.java
rustedlogic/trustednfc/android/internal/NativeNfcTag.java
rustedlogic/trustednfc/android/internal/NativeP2pDevice.java
774b943fc6baa7d3e2880382d4dc7ab085d54b65 18-Oct-2010 Nick Pelly <npelly@google.com> am d1f7f4a6: Move hidden API\'s Llcp* and P2p* to f/b/c/j/com/android/internal/nfc.

Merge commit 'd1f7f4a68375f879671d300510f23d3ee78a500e' into gingerbread-plus-aosp

* commit 'd1f7f4a68375f879671d300510f23d3ee78a500e':
Move hidden API's Llcp* and P2p* to f/b/c/j/com/android/internal/nfc.
d1f7f4a68375f879671d300510f23d3ee78a500e 18-Oct-2010 Nick Pelly <npelly@google.com> Move hidden API's Llcp* and P2p* to f/b/c/j/com/android/internal/nfc.

Change-Id: I9bb67de2956b1ecb765ca4ac142ed9455060bec4
Signed-off-by: Nick Pelly <npelly@google.com>
ndroid/internal/nfc/LlcpConnectionlessSocket.java
ndroid/internal/nfc/LlcpException.java
ndroid/internal/nfc/LlcpServiceSocket.java
ndroid/internal/nfc/LlcpSocket.java
ndroid/internal/nfc/NfcException.java
ndroid/internal/nfc/P2pDevice.java
ndroid/internal/nfc/P2pInitiator.java
ndroid/internal/nfc/P2pTarget.java
rustedlogic/trustednfc/android/LlcpConnectionlessSocket.java
rustedlogic/trustednfc/android/LlcpException.java
rustedlogic/trustednfc/android/LlcpServiceSocket.java
rustedlogic/trustednfc/android/LlcpSocket.java
rustedlogic/trustednfc/android/NfcException.java
rustedlogic/trustednfc/android/P2pDevice.java
rustedlogic/trustednfc/android/P2pInitiator.java
rustedlogic/trustednfc/android/P2pTarget.java
rustedlogic/trustednfc/android/package.html
964eb4389bb62e4e9e7f65ef7b9307e052053679 17-Oct-2010 Dianne Hackborn <hackbod@google.com> am 42499170: Implement issue #3094621 and #3094609 - wipe sd card

Merge commit '424991704b5fb7a64f6cf0fcc3f4b1aabbf2a2e0' into gingerbread-plus-aosp

* commit '424991704b5fb7a64f6cf0fcc3f4b1aabbf2a2e0':
Implement issue #3094621 and #3094609 - wipe sd card
424991704b5fb7a64f6cf0fcc3f4b1aabbf2a2e0 16-Oct-2010 Dianne Hackborn <hackbod@google.com> Implement issue #3094621 and #3094609 - wipe sd card

3094621: add "wipe sd card" option to factory data reset
3094609: collapse unmount/format into one command

Also since we have decided that it is important to consider
the Crespo storage as internal storage, DevicePolicyManager
gets a new API to be able to wipe it. (No big deal, since
all of the work for this is now done in the implementation
of the new UI.)

Change-Id: I32a77c410f710a87dcdcbf6586c09bd2e48a8807
ndroid/internal/os/storage/ExternalStorageFormatter.java
da3fe88b2dbc1f731760162d1d9420afca9c19e6 16-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> am 33476b2d: am feebaf35: Merge "Don\'t crash on null Vibrator during reboot." into gingerbread

Merge commit '33476b2db82b5a7f025eb9625fa56f94290e97f4'

* commit '33476b2db82b5a7f025eb9625fa56f94290e97f4':
Don't crash on null Vibrator during reboot.
157fa0aca55b8e4747f00d2b729e5e361dea7ddb 16-Oct-2010 Romain Guy <romainguy@google.com> am 77c011ba: Set default heap size to 5MB.

Merge commit '77c011ba75ee1403c9b7626e4676cd3c8746605b' into gingerbread-plus-aosp

* commit '77c011ba75ee1403c9b7626e4676cd3c8746605b':
Set default heap size to 5MB.
77c011ba75ee1403c9b7626e4676cd3c8746605b 16-Oct-2010 Romain Guy <romainguy@google.com> Set default heap size to 5MB.

Change-Id: Iac8ae3cbe6b431767776653c9f430983172cfb6f
ndroid/internal/os/ZygoteInit.java
13e46665ff69c1a37880762d7d611aacdf02dac7 16-Oct-2010 Dianne Hackborn <hackbod@google.com> am 736f5ec4: Merge "Work on issue #3101415: Crespo apps seem to have their UID changed over time." into gingerbread

Merge commit '736f5ec476526f3431d81dec5fb695bdee27e21a' into gingerbread-plus-aosp

* commit '736f5ec476526f3431d81dec5fb695bdee27e21a':
Work on issue #3101415: Crespo apps seem to have their UID changed over time.
36e7790b6b3c2c36c67fbe5dc2e2313cdd537349 16-Oct-2010 Jean-Baptiste Queru <jbq@google.com> Merge a851d8d0 from gingerbread

Change-Id: Iea0e3fa1662d6326ab337821fe52a65a9dfd989a
8718a51a5b6daab57fd55f5a6c083aa51c9f0f94 15-Oct-2010 Jesse Wilson <jessewilson@google.com> Close System.out and System.err streams when they are made unreachable.

Change-Id: I295a9b2e5eb2d4e94b042f3a51e2f39b58a47d49
http://b/3072844
ndroid/internal/os/RuntimeInit.java
8bdf5935c0db4a66ab33a10b43398d2523cfa15d 15-Oct-2010 Dianne Hackborn <hackbod@google.com> Work on issue #3101415: Crespo apps seem to have their UID changed over time.

fsync!

Change-Id: Ie6c5397202579935ac69bf61d3e7b3081ecf269c
ndroid/internal/os/AtomicFile.java
ndroid/internal/os/BatteryStatsImpl.java
a851d8d0cfec45e33ee884114548a4f2890d1f06 15-Oct-2010 Nick Pelly <npelly@google.com> Merge "NFC: Move NFC service implementation out of system_server." into gingerbread
33476b2db82b5a7f025eb9625fa56f94290e97f4 15-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> am feebaf35: Merge "Don\'t crash on null Vibrator during reboot." into gingerbread

Merge commit 'feebaf35c0edaed87edc6eb33a33ad9df1a209d6' into gingerbread-plus-aosp

* commit 'feebaf35c0edaed87edc6eb33a33ad9df1a209d6':
Don't crash on null Vibrator during reboot.
bc21fdefdfbeba1754c6cd339c7dd8e8f1d6fd48 14-Oct-2010 Nick Pelly <npelly@google.com> NFC: Move NFC service implementation out of system_server.

NFC service is now an application service in packages/apps/Nfc.

NFC service is registered through ServiceManager.addService(), and the proxy
object NfcAdapter obtains a handle to it through ServiceManager.getService().

**Important** Had to add new symbols AID_NFC / NFC_UID / android.uid.nfc and
modify service_manager.c, Process.java and PackageManagerService.java in order
to force the com.android.nfc process to take a fixed uid, so that it can use
ServiceManager.addService().

Most of the JNI has moved to packages/apps/Nfc/jni. However NdefRecord and
NdefMessage require some in-process native code, so android_com_NdefMessage.cpp
and android_com_NdefRecord.cpp stay in frameworks/base/core/jni. They link to
a very small library libnfc_ndef.so that implements NDEF message parsing. This
has been added to core.mk so all devices (even without NFC hardware) can work
with NDEF data.

Bug: 3041259
Bug: 3097445
Change-Id: If8f00ce8f2053acfc9319ca366d4a9c02bd396e6
Signed-off-by: Nick Pelly <npelly@google.com>
rustedlogic/trustednfc/android/internal/NativeLlcpConnectionlessSocket.java
rustedlogic/trustednfc/android/internal/NativeLlcpServiceSocket.java
rustedlogic/trustednfc/android/internal/NativeLlcpSocket.java
rustedlogic/trustednfc/android/internal/NativeNdefTag.java
rustedlogic/trustednfc/android/internal/NativeNfcManager.java
rustedlogic/trustednfc/android/internal/NativeNfcTag.java
rustedlogic/trustednfc/android/internal/NativeP2pDevice.java
9456714cfb9eb5ba4882fdcc922b787d77ed4da4 15-Oct-2010 Kenny Root <kroot@google.com> am b4f26a9d: am e6ae5c39: Merge "Add shutdown assurance" into gingerbread

Merge commit 'b4f26a9d37caf7762b66b68d50825c5b075b42bd'

* commit 'b4f26a9d37caf7762b66b68d50825c5b075b42bd':
Add shutdown assurance
e331644cb570e74a8739cb21ffcc5875663ffa58 15-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> Don't crash on null Vibrator during reboot.

Bug: 3099305
Change-Id: I9af126f7a719f36ae544f517a2fccd0d33339389
ndroid/internal/app/ShutdownThread.java
f36c6db108364dea89b1e3c27c0b15103e560d87 15-Oct-2010 Nick Pelly <npelly@google.com> NFC API revision round 2.

- Add the second half of the new NFC API: NfcAdapter, Tag, NdefTag,
RawTagConnection, NdefTagConnection.
- Add implementations for all of the new NFC API.

Change-Id: I8da9fd1d2971ed2c8b76f2a93f207fa9e305b0f6
Signed-off-by: Nick Pelly <npelly@google.com>

Conflicts:

Android.mk
CleanSpec.mk
core/java/android/app/ContextImpl.java
rustedlogic/trustednfc/android/ILlcpConnectionlessSocket.aidl
rustedlogic/trustednfc/android/ILlcpServiceSocket.aidl
rustedlogic/trustednfc/android/ILlcpSocket.aidl
rustedlogic/trustednfc/android/INdefTag.aidl
rustedlogic/trustednfc/android/INfcManager.aidl
rustedlogic/trustednfc/android/INfcTag.aidl
rustedlogic/trustednfc/android/IP2pInitiator.aidl
rustedlogic/trustednfc/android/IP2pTarget.aidl
rustedlogic/trustednfc/android/LlcpConnectionlessSocket.java
rustedlogic/trustednfc/android/LlcpPacket.aidl
rustedlogic/trustednfc/android/LlcpPacket.java
rustedlogic/trustednfc/android/LlcpServiceSocket.java
rustedlogic/trustednfc/android/LlcpSocket.java
rustedlogic/trustednfc/android/NdefMessage.aidl
rustedlogic/trustednfc/android/NdefMessage.java
rustedlogic/trustednfc/android/NdefRecord.aidl
rustedlogic/trustednfc/android/NdefRecord.java
rustedlogic/trustednfc/android/NdefTag.java
rustedlogic/trustednfc/android/NfcManager.java
rustedlogic/trustednfc/android/NfcTag.java
rustedlogic/trustednfc/android/P2pInitiator.java
rustedlogic/trustednfc/android/P2pTarget.java
rustedlogic/trustednfc/android/internal/ErrorCodes.java
rustedlogic/trustednfc/android/internal/NativeLlcpConnectionlessSocket.java
rustedlogic/trustednfc/android/internal/NativeLlcpServiceSocket.java
rustedlogic/trustednfc/android/internal/NativeLlcpSocket.java
rustedlogic/trustednfc/android/internal/NativeNdefTag.java
rustedlogic/trustednfc/android/internal/NativeNfcManager.java
rustedlogic/trustednfc/android/internal/NativeNfcTag.java
rustedlogic/trustednfc/android/internal/NativeP2pDevice.java
c61c98fdba0f705e29d6d1e9fc81e33d4cb07ff9 15-Oct-2010 Daniel Lehmann <lehmannd@google.com> am d16f7588: Merge "DO NOT MERGE: Private API to pass the selected tab through QuickContacts" into gingerbread

Merge commit 'd16f7588a88ba98c6c466ee31bb96bc1f9562a98' into gingerbread-plus-aosp

* commit 'd16f7588a88ba98c6c466ee31bb96bc1f9562a98':
DO NOT MERGE: Private API to pass the selected tab through QuickContacts
89edde3efad66063ff6108475976352c0c4e5fdb 14-Oct-2010 Adam Powell <adamp@google.com> Holo styling and metrics; holo spinners

Change-Id: Ib6d80e5e1a79b7a4ff208df8dbc097e7b9228d13
ndroid/internal/widget/ActionBarView.java
2794eb3b02e2404d453d3ad22a8a85a138130a07 13-Oct-2010 Chet Haase <chet@google.com> Remove generics from Animator APIs

Change the manner of constructing Animator-related objects from constructors
via generics to factory methods with type-specific method names. Should
improve the proliferation of warnings due to generics issues and make the
code more readable (less irrelevant angle brackets Floating around).

Change-Id: Ib59a7dd72a95d438022e409ddeac48853082b943
ndroid/internal/widget/DrawableHolder.java
2f14c621256e9eac1f958b1a19e41b2a47b7011e 14-Oct-2010 Daniel Lehmann <lehmannd@google.com> DO NOT MERGE: Private API to pass the selected tab through QuickContacts

Bug:3082932

Change-Id: I28dbb21a30fbe22e6e58a8dda534fc9110621c85
ndroid/internal/widget/ContactHeaderWidget.java
83d6e8213230fb0805aa019d266842253baeb114 14-Oct-2010 Romain Guy <romainguy@google.com> Revert "Remove generics from Animator APIs"

This reverts commit 41f041d9986f8a5d45b6cb0b86e881c81a412168.
ndroid/internal/widget/DrawableHolder.java
70ea25fa8ac1f2005ec4e69023e05af4a8d9bd4a 14-Oct-2010 Romain Guy <romainguy@google.com> Merge "Remove generics from Animator APIs"
aa4b235dd720d1f2861681cdfabf3b5fabc61fb0 14-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> resolved conflicts for merge of 79a5307a to master

Change-Id: I5a524fe53e74df722db003cec6ab62451fe0f899
41f041d9986f8a5d45b6cb0b86e881c81a412168 13-Oct-2010 Chet Haase <chet@google.com> Remove generics from Animator APIs

Change the manner of constructing Animator-related objects from constructors
via generics to factory methods with type-specific method names. Should
improve the proliferation of warnings due to generics issues and make the
code more readable (less irrelevant angle brackets Floating around).

Change-Id: I7c1776b15f3c9f245c09fb7de6dc005fdba58fe2
ndroid/internal/widget/DrawableHolder.java
db6303e51ef2779b2b6b8b6dc557b5de9b7fdcf0 14-Oct-2010 Daniel Sandler <dsandler@google.com> Merge "Dynamically show the menu button on the system bar."
d8404b23739b135060ab9a04317a9f8b990cf8ca 13-Oct-2010 Adam Powell <adamp@google.com> Allow icon+text action buttons

Change-Id: I96d1f3958de3ac13cadbab108b87d6bae96e9473
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/MenuItemImpl.java
b4f26a9d37caf7762b66b68d50825c5b075b42bd 13-Oct-2010 Kenny Root <kroot@google.com> am e6ae5c39: Merge "Add shutdown assurance" into gingerbread

Merge commit 'e6ae5c39848d2a3a6f3fb750811550969799e410' into gingerbread-plus-aosp

* commit 'e6ae5c39848d2a3a6f3fb750811550969799e410':
Add shutdown assurance
e02d808abf370965c3c4e4d38af11bc69110fde2 08-Oct-2010 Daniel Sandler <dsandler@google.com> Dynamically show the menu button on the system bar.

Windows with FLAG_NEEDS_MENU_KEY (or windowNeedsMenuKey=true
in their theme) will cause the system bar to show a menu
icon. (Note that the phone's status bar currently ignores
this, but phones tend to have hardware menu keys anyway.)

Additionally, all windows whose package's SDK version is
pre-Honeycomb will have FLAG_NEEDS_MENU_KEY set by default.

Bug: 3003728

Change-Id: I2d983763a726ea4f32cd1af9b0390e30478b11d1
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
e6ae5c39848d2a3a6f3fb750811550969799e410 13-Oct-2010 Kenny Root <kroot@google.com> Merge "Add shutdown assurance" into gingerbread
f547d679c058ed00de78a32146d04b75254df7ec 22-Sep-2010 Kenny Root <kroot@google.com> Add shutdown assurance

If something kills system_server before it completes its shutdown
action, the runtime will just restart giving the illusion that a reboot
for an OTA or something else has happened.

To prevent this, write a system property containing the reboot reason
before initiating the shutdown with all the services. If the
system_server is killed before it completes, the next time the main
thread of system_server starts up, it will immediately execute the
shutdown action.

Bug: 3022556
Change-Id: I81723bac333430f04205e7a7b799914d96f170eb
ndroid/internal/app/ShutdownThread.java
67fc4af9765d15c4e011c8127f9c06dfd0368bbe 13-Oct-2010 Nick Pelly <npelly@google.com> am 527d8bbd: Merge "Add missing native methods to fix boot." into gingerbread

Merge commit '527d8bbd79c1ff2b6e24d19fe9e7a1ecdb72891a' into gingerbread-plus-aosp

* commit '527d8bbd79c1ff2b6e24d19fe9e7a1ecdb72891a':
Add missing native methods to fix boot.
aa29f86505f5955fbe37efeceb7bf507df55b45e 13-Oct-2010 Nick Pelly <npelly@google.com> Add missing native methods to fix boot.

Change-Id: I02e158d7c287c886e218b7a57edd708f9e570695
rustedlogic/trustednfc/android/internal/NativeNfcManager.java
6066da89a464d2bd5f002f5e687d40876ed5ce21 13-Oct-2010 Nick Pelly <npelly@google.com> am 590b73bc: NFC API revision round 2.

Merge commit '590b73bc5b8e5f7b59bff1d9264a52388a5162e6' into gingerbread-plus-aosp

* commit '590b73bc5b8e5f7b59bff1d9264a52388a5162e6':
NFC API revision round 2.
590b73bc5b8e5f7b59bff1d9264a52388a5162e6 12-Oct-2010 Nick Pelly <npelly@google.com> NFC API revision round 2.

- Add the second half of the new NFC API: NfcAdapter, Tag, NdefTag,
RawTagConnection, NdefTagConnection.
- Add implementations for all of the new NFC API.

Change-Id: I8da9fd1d2971ed2c8b76f2a93f207fa9e305b0f6
Signed-off-by: Nick Pelly <npelly@google.com>
rustedlogic/trustednfc/android/ILlcpConnectionlessSocket.aidl
rustedlogic/trustednfc/android/ILlcpServiceSocket.aidl
rustedlogic/trustednfc/android/ILlcpSocket.aidl
rustedlogic/trustednfc/android/INdefTag.aidl
rustedlogic/trustednfc/android/INfcManager.aidl
rustedlogic/trustednfc/android/INfcTag.aidl
rustedlogic/trustednfc/android/IP2pInitiator.aidl
rustedlogic/trustednfc/android/IP2pTarget.aidl
rustedlogic/trustednfc/android/LlcpConnectionlessSocket.java
rustedlogic/trustednfc/android/LlcpPacket.aidl
rustedlogic/trustednfc/android/LlcpPacket.java
rustedlogic/trustednfc/android/LlcpServiceSocket.java
rustedlogic/trustednfc/android/LlcpSocket.java
rustedlogic/trustednfc/android/NdefMessage.aidl
rustedlogic/trustednfc/android/NdefMessage.java
rustedlogic/trustednfc/android/NdefRecord.aidl
rustedlogic/trustednfc/android/NdefRecord.java
rustedlogic/trustednfc/android/NdefTag.java
rustedlogic/trustednfc/android/NfcManager.java
rustedlogic/trustednfc/android/NfcTag.java
rustedlogic/trustednfc/android/P2pInitiator.java
rustedlogic/trustednfc/android/P2pTarget.java
rustedlogic/trustednfc/android/internal/ErrorCodes.java
rustedlogic/trustednfc/android/internal/NativeLlcpConnectionlessSocket.java
rustedlogic/trustednfc/android/internal/NativeLlcpServiceSocket.java
rustedlogic/trustednfc/android/internal/NativeLlcpSocket.java
rustedlogic/trustednfc/android/internal/NativeNdefTag.java
rustedlogic/trustednfc/android/internal/NativeNfcManager.java
rustedlogic/trustednfc/android/internal/NativeNfcTag.java
rustedlogic/trustednfc/android/internal/NativeP2pDevice.java
f16888f1e849b0bc0b9c17e5f833c4e2cd54c382 12-Oct-2010 Adam Powell <adamp@google.com> Holo fixes

* Fix up ButtonGroup to behave better.
* Fix bad states with holo list selectors.
* Clean up action mode UI components.
* Change action mode UI to use a text button instead of 'X' to dismiss.
* Fixed spinner dropdowns for Holo.Light

Change-Id: Ifc092bd549ffb539d6a3b2ddd95ebd4b114a441f
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/widget/ActionBarContextView.java
5684d464c09bdb50fb11889eb787a08556c2bb70 12-Oct-2010 Bjorn Bringert <bringert@android.com> Merge "Move SyncStateContentProviderHelper to frameworks/ex"
057c13bcce4d6f6a35fe7a096e1d1774de003fad 12-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am c43189e7: am 2aaa1ce1: Merge "Hold partial wakelock during shutdown to avoid entering sleep"

Merge commit 'c43189e76964facad8bac6ee7a17ea1016bba4e3'

* commit 'c43189e76964facad8bac6ee7a17ea1016bba4e3':
Hold partial wakelock during shutdown to avoid entering sleep
be4d68e7b238b8ee879de0481e39c40d3f1683b6 09-Oct-2010 Adam Powell <adamp@google.com> Updated styles and metrics.

* Added preliminary ButtonGroup support for buttons that display as a unit.
* Fixed a bug with MenuBuilder that caused old-style icon menus to fail.
* Added support for explicitly setting line height in text.

Change-Id: I1ba65f09dd9e1bc833d247ebe72052a21e3f99f0
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
888edab661995e05e751098ed393d5b0c50ab499 08-Oct-2010 Bjorn Bringert <bringert@android.com> Move SyncStateContentProviderHelper to frameworks/ex

Change-Id: I26cdb3e72a0075e4df3854b526bdf6bb08d671a2
ndroid/internal/content/SyncStateContentProviderHelper.java
c43189e76964facad8bac6ee7a17ea1016bba4e3 11-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am 2aaa1ce1: Merge "Hold partial wakelock during shutdown to avoid entering sleep"

Merge commit '2aaa1ce1768d3425c07e55d43aaa400282424f8c' into gingerbread-plus-aosp

* commit '2aaa1ce1768d3425c07e55d43aaa400282424f8c':
Hold partial wakelock during shutdown to avoid entering sleep
50d3fa72d88aa4dcba4286b77439c60ab5dc7fa9 11-Oct-2010 Dianne Hackborn <hackbod@google.com> am d5423321: am 9934fa77: Merge "Fix issue #3074745: Crash in system process" into gingerbread

Merge commit 'd5423321b920be10c00fbcbc5a702f15e00693a5'

* commit 'd5423321b920be10c00fbcbc5a702f15e00693a5':
Fix issue #3074745: Crash in system process
4fb17b0490915d1c26663140c377037ea6af132e 09-Oct-2010 Adam Powell <adamp@google.com> Fix alert dialog layout size in landscape

Change-Id: Iff5c388655c357e78c0c0e98d718fb7601c2d543
ndroid/internal/widget/WeightedLinearLayout.java
d5423321b920be10c00fbcbc5a702f15e00693a5 08-Oct-2010 Dianne Hackborn <hackbod@google.com> am 9934fa77: Merge "Fix issue #3074745: Crash in system process" into gingerbread

Merge commit '9934fa77efab362729d0d3cb8aa0bdcd31d63ead' into gingerbread-plus-aosp

* commit '9934fa77efab362729d0d3cb8aa0bdcd31d63ead':
Fix issue #3074745: Crash in system process
c459622dd101fb9db2386f67c54766a9a10b3dba 08-Oct-2010 Adam Powell <adamp@google.com> Merge "Holo theme progress and assets!"
481bbb9c11e640cc6b322bdb300f69f31ea011fe 08-Oct-2010 Joe Onorato <joeo@google.com> Merge "Get rid of the global actions menu on tablets."
d208e709267f8af77690cb38dba2ae8e30ab5241 08-Oct-2010 Joe Onorato <joeo@google.com> Get rid of the global actions menu on tablets.

We have the system tray for that stuff. Make long press on power
go directly to the shut down confirmation dialog. Make that dialog
auto dismiss when the screen goes off. Reword it when we're skipping
the global actions menu, because it feels too abrupt to say "The
phone will shut down" when they haven't clearly pressed a button
that says shut down.

Change-Id: I8c92a1362bd4ed242e6cd94c2dae6d9ff9c4c34d
ndroid/internal/app/ShutdownThread.java
2fbf4de64f0ec5052201cea9519c44d5b1789a40 01-Oct-2010 Adam Powell <adamp@google.com> Holo theme progress and assets!

* Light and dark dialogs
* Checkboxes and radio buttons
* Toggle buttons

Warning! This is still a work in progress. This does not include final metrics.
Some assets (specifically dialogs) are currently misaligned.
ndroid/internal/view/menu/MenuBuilder.java
f47d8f272c13f0fd264d5a71bcff1c18da10d854 08-Oct-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3074745: Crash in system process

Also some tweaks to battery history collection to hopefully
improve the data we have.

Change-Id: I178a54a8c2d15cf38dcceaeef939406f50059aa4
ndroid/internal/os/BatteryStatsImpl.java
c5610a4c1308e2d52108131fbdef35e432a414b6 07-Oct-2010 Kenny Root <kroot@google.com> am cfc80bd5: am 2c3360fe: Merge "Remove lingering system app native libs in /data" into gingerbread

Merge commit 'cfc80bd5c1e4f0207357b288b1b7b8374a31ba70'

* commit 'cfc80bd5c1e4f0207357b288b1b7b8374a31ba70':
Remove lingering system app native libs in /data
47a44916e2fb33cf4751906386d5f5c903b28d8b 06-Oct-2010 satok <satok@google.com> Add InputMethodEnabler for enabling input methods and subtypes

- Copyed functionarity from LanguageSettings.java

TODO: Save enabled InputMethodSubtypes

Change-Id: I7b4fb1a79cb8b3229f88773d261430e23ba7aae2
ndroid/internal/view/IInputMethodManager.aidl
ndroid/internal/view/InputMethodAndSubtypeEnabler.java
a4a01b5d6b68a7e25fc54f23c7332c22fe0761df 06-Oct-2010 Gilles Debunne <debunne@google.com> am 6f4f0106: am b621e203: Merge "Removed icon in Alert dialog header." into gingerbread

Merge commit '6f4f01062bc78ae765c970e8796b8dbef432f8a4'

* commit '6f4f01062bc78ae765c970e8796b8dbef432f8a4':
Removed icon in Alert dialog header.
cfc80bd5c1e4f0207357b288b1b7b8374a31ba70 05-Oct-2010 Kenny Root <kroot@google.com> am 2c3360fe: Merge "Remove lingering system app native libs in /data" into gingerbread

Merge commit '2c3360fe9c03536cbfd77267170b73c120c071ac' into gingerbread-plus-aosp

* commit '2c3360fe9c03536cbfd77267170b73c120c071ac':
Remove lingering system app native libs in /data
831baa2e2566bf1d243c06918672abd5ff786105 05-Oct-2010 Kenny Root <kroot@google.com> Remove lingering system app native libs in /data

If a system app had a lingering native library in /data/data/<app>/lib,
it would prefer that over the one in /system/lib due to recent changed
in the Dalvik JNI class loading code.

To "fix" that we need to check if there are any native libraries in a
/data/data/<app>/lib directory for any non-updated system apps and
delete them during scanning.

Change-Id: If3a22e41a8531e9e5a44ba001dcea46253d47d45
ndroid/internal/content/NativeLibraryHelper.java
6f4f01062bc78ae765c970e8796b8dbef432f8a4 05-Oct-2010 Gilles Debunne <debunne@google.com> am b621e203: Merge "Removed icon in Alert dialog header." into gingerbread

Merge commit 'b621e2030d86356af6e8f37e9aed339a5f2ea52b' into gingerbread-plus-aosp

* commit 'b621e2030d86356af6e8f37e9aed339a5f2ea52b':
Removed icon in Alert dialog header.
076c7fbeda5c4205e3e52fbc6110ab1c4b342afe 04-Oct-2010 Gilles Debunne <debunne@google.com> Removed icon in Alert dialog header.

Bug 3042419

I wanted to nuke this one for ages

Change-Id: I079bec9b31157d6b7887c4f22612e56ae9690e7c
ndroid/internal/app/AlertController.java
fcf0f5734cac12d744a3b0d0b40b210435217054 01-Oct-2010 Kenny Root <kroot@google.com> am aff30c9b: am 99f8c5ee: Merge "Fix location of gdbserver upon installation" into gingerbread

Merge commit 'aff30c9b0db2c4e28afbe83436ab9024b67665cf'

* commit 'aff30c9b0db2c4e28afbe83436ab9024b67665cf':
Fix location of gdbserver upon installation
a53146c5569f8ff5f7eb55e9ad35d23ddacf2add 07-Sep-2010 Christopher Tate <ctate@google.com> Drag/drop APIs and infrastructure

A View initiates a drag-and-drop operation (hereafter just called a "drag")
by calling its startDrag(ClipData) method. Within the processing of that
call, two callbacks are made into the originating View. The first is to
onMeasureDragThumbnail(). Similarly to the core onMeasure() method, this
callback must respond by calling setDragThumbnailDimension(width, height) to
declare the size of the drag thumbnail image that should be used. Following
this, the View's onDrawDragThumbnail(canvas) method will be invoked to
actually produce the bits of the thumbnail image.

If all goes well, startDrag() will return 'true', and the drag is off and
running. (The other arguments to startDrag() provide reconciliation between
the current finger position and where the thumbnail should be placed on
the screen relative to it.)

Potential receipients of the ClipData behind the drag are notified by a
new dispatch mechanism, roughly parallel to motion event dispatch. The core
routine is the View's onDragEvent(event) callback, with the mechanics of
dispatch itself being routed through dispatchDragEvent(event) -- as in
the case of motion events, the dispatch logic is in ViewGroup, with leaf
View objects not needing to consider the dispatch flow.

Several different event 'actions' are delivered through this dispatch
mechanism:

ACTION_DRAG_STARTED: this event is propagated to every View in every window
(including windows created during the course of a drag). It serves as a
global notification that a drag has started with a payload whose matching
ClipDescription is supplied with the event. A View that is prepared to
consume the data described in this event should return 'true' from their
onDragEvent() method, and ideally will also make some visible on-screen
indication that they are a potential target of the drop.

ACTION_DRAG_ENTERED: this event is sent once when the drag point
enters the View's bounds. It is an opportunity for the View to set up
feedback that they are the one who will see the drop if the finger goes
up now.

ACTION_DRAG_LOCATION: when the drag point is over a given View, that
View will receive a stream of DRAG_LOCATION events, providing an
opportunity for the View to show visual feedback tied to the drag point.

ACTION_DRAG_EXITED: like DRAG_ENTERED, but called when the drag point
leaves the View's bounds. The View should undo any visuals meant to
emphasize their being the hovered-over target.

ACTION_DROP: when the drag ends at a given point, the View under that
point is sent this event, with the full ClipData of the payload.

ACTION_DRAG_ENDED: paralleling the DRAG_STARTED action, this is the global
broadcast that the drag has ended and all Views should return to their
normal visual state. This happens after the DROP event.

Change-Id: Ia8d0fb1516bce8c735d87ffd101af0976d7e84b6
ndroid/internal/view/BaseIWindow.java
aff30c9b0db2c4e28afbe83436ab9024b67665cf 30-Sep-2010 Kenny Root <kroot@google.com> am 99f8c5ee: Merge "Fix location of gdbserver upon installation" into gingerbread

Merge commit '99f8c5ee621d78a24583a10e459ba40aab511a17' into gingerbread-plus-aosp

* commit '99f8c5ee621d78a24583a10e459ba40aab511a17':
Fix location of gdbserver upon installation
e6da118ebfa2574da7a635158178b768f3a226e1 30-Sep-2010 Kenny Root <kroot@google.com> Fix location of gdbserver upon installation

Change-Id: Ie97f10456e5639e008abf4792a01b966b97721e7
ndroid/internal/content/NativeLibraryHelper.java
3cfc508f4ec535b47ffbb587b32a8846c37338cc 30-Sep-2010 Jeff Brown <jeffbrown@google.com> am 76d55a34: am 5068ad8d: Revert orientation change.

Merge commit '76d55a3447954db97b7172d068813d02e89ba9ca'

* commit '76d55a3447954db97b7172d068813d02e89ba9ca':
Revert orientation change.
36c956d78b3972173740d4ef69072fbd0ac6ab61 30-Sep-2010 Jeff Brown <jeffbrown@google.com> am b8182a38: am 93e3296f: Merge "PointerLocationView: Display orientation correctly." into gingerbread

Merge commit 'b8182a382df3efaf18c9810dd7c517b2601edadb'

* commit 'b8182a382df3efaf18c9810dd7c517b2601edadb':
PointerLocationView: Display orientation correctly.
76d55a3447954db97b7172d068813d02e89ba9ca 30-Sep-2010 Jeff Brown <jeffbrown@google.com> am 5068ad8d: Revert orientation change.

Merge commit '5068ad8d2396d6d7bfbdb1c2c3fe57104744f1f9' into gingerbread-plus-aosp

* commit '5068ad8d2396d6d7bfbdb1c2c3fe57104744f1f9':
Revert orientation change.
b8182a382df3efaf18c9810dd7c517b2601edadb 30-Sep-2010 Jeff Brown <jeffbrown@google.com> am 93e3296f: Merge "PointerLocationView: Display orientation correctly." into gingerbread

Merge commit '93e3296f946bf54e0f8172c9d26355d9a65c878f' into gingerbread-plus-aosp

* commit '93e3296f946bf54e0f8172c9d26355d9a65c878f':
PointerLocationView: Display orientation correctly.
5068ad8d2396d6d7bfbdb1c2c3fe57104744f1f9 30-Sep-2010 Jeff Brown <jeffbrown@google.com> Revert orientation change.

Change-Id: I1a6d13be118533171b9a75025dcf7985dd7e12b5
ndroid/internal/widget/PointerLocationView.java
93e3296f946bf54e0f8172c9d26355d9a65c878f 30-Sep-2010 Jeff Brown <jeffbrown@google.com> Merge "PointerLocationView: Display orientation correctly." into gingerbread
707a57aa268fba94854d3a07f6bc7e1f021bc43f 30-Sep-2010 Jeff Brown <jeffbrown@google.com> PointerLocationView: Display orientation correctly.

Canvas rotations are counterclockwise, orientation is clockwise,
so we need to mind the sign of the rotation.

Change-Id: I2a8b60599bd26e9dc3ced2e13942f846461333df
ndroid/internal/widget/PointerLocationView.java
4715bd91f5949a1919156a5a5cb50f0cccda645e 29-Sep-2010 Nick Pelly <npelly@google.com> resolved conflicts for merge of f4c3b7e9 to master

Change-Id: Idcdc521144f3072058b2bb6cb383e42c852e64f4
f4c3b7e916b417fabb468ec0a565dc79cd7ba2b3 29-Sep-2010 Nick Pelly <npelly@google.com> am 038cabe0: NFC integration

Merge commit '038cabe0247ee46df62f9363f1a303bc5b9c1028' into gingerbread-plus-aosp

* commit '038cabe0247ee46df62f9363f1a303bc5b9c1028':
NFC integration
038cabe0247ee46df62f9363f1a303bc5b9c1028 24-Sep-2010 Nick Pelly <npelly@google.com> NFC integration

Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010)

Conflicts:

core/java/android/app/ApplicationContext.java
core/java/android/provider/Settings.java
core/jni/Android.mk
core/jni/AndroidRuntime.cpp
core/res/AndroidManifest.xml
include/utils/Asset.h

Change-Id: I62c92f4c79f5ee65126c97602f6bc1c15794e573
Signed-off-by: Nick Pelly <npelly@google.com>
rustedlogic/trustednfc/android/ILlcpConnectionlessSocket.aidl
rustedlogic/trustednfc/android/ILlcpServiceSocket.aidl
rustedlogic/trustednfc/android/ILlcpSocket.aidl
rustedlogic/trustednfc/android/INdefTag.aidl
rustedlogic/trustednfc/android/INfcManager.aidl
rustedlogic/trustednfc/android/INfcTag.aidl
rustedlogic/trustednfc/android/IP2pInitiator.aidl
rustedlogic/trustednfc/android/IP2pTarget.aidl
rustedlogic/trustednfc/android/LlcpConnectionlessSocket.java
rustedlogic/trustednfc/android/LlcpException.java
rustedlogic/trustednfc/android/LlcpPacket.aidl
rustedlogic/trustednfc/android/LlcpPacket.java
rustedlogic/trustednfc/android/LlcpServiceSocket.java
rustedlogic/trustednfc/android/LlcpSocket.java
rustedlogic/trustednfc/android/NdefMessage.aidl
rustedlogic/trustednfc/android/NdefMessage.java
rustedlogic/trustednfc/android/NdefRecord.aidl
rustedlogic/trustednfc/android/NdefRecord.java
rustedlogic/trustednfc/android/NdefTag.java
rustedlogic/trustednfc/android/NfcException.java
rustedlogic/trustednfc/android/NfcManager.java
rustedlogic/trustednfc/android/NfcTag.java
rustedlogic/trustednfc/android/P2pDevice.java
rustedlogic/trustednfc/android/P2pInitiator.java
rustedlogic/trustednfc/android/P2pTarget.java
rustedlogic/trustednfc/android/internal/ErrorCodes.java
rustedlogic/trustednfc/android/internal/NativeLlcpConnectionlessSocket.java
rustedlogic/trustednfc/android/internal/NativeLlcpServiceSocket.java
rustedlogic/trustednfc/android/internal/NativeLlcpSocket.java
rustedlogic/trustednfc/android/internal/NativeNdefTag.java
rustedlogic/trustednfc/android/internal/NativeNfcManager.java
rustedlogic/trustednfc/android/internal/NativeNfcTag.java
rustedlogic/trustednfc/android/internal/NativeP2pDevice.java
rustedlogic/trustednfc/android/package.html
3f03496ad97b5f60ab432bca2d17a3e07b4ade47 28-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> Update code for new BT APIs.

Change-Id: I53aa17b6c2a5ee50d47df91960a7f997eb7b1107
ndroid/internal/os/BatteryStatsImpl.java
cd4e4279804288a941c308b88df8bafa4f3f7458 28-Sep-2010 Mattias Larsson <mattias7.larsson@sonyericsson.com> Hold partial wakelock during shutdown to avoid entering sleep

The ShutdownThread can get suspended while in progress if the
device enters sleep by the user pressing the power-key, or if it is
started (in sleep) from the BatteryService upon a dead battery
notification. If the device is woken up before the battery is
drained, the ShutdownThread will resume and finally complete
the shutdown, but if not the phone will stay in sleep until the
battery level is so low that the power is ruthlessly cut.

Change-Id: If64429fd0c98a9136141942be6c337b5c79cf4f1
ndroid/internal/app/ShutdownThread.java
e4679f1ed2ef044468d4a37f6e220c414620685a 28-Sep-2010 Adam Powell <adamp@google.com> Temporary hack to make context menu text visible on holo dialogs.

Real fix for this to come. MenuBuilder needs to not hardcode themes
and dialogs shouldn't either.

Change-Id: I393969acd1ef6956d7299cb2eff46708ce812d1d
ndroid/internal/view/menu/MenuBuilder.java
5dd1169ae95162383acf00d1e9a1886e0ac99a70 28-Sep-2010 Joe Onorato <joeo@google.com> Hide the "Clear all" button in the notification panel if there are no clearable notifications.

Change-Id: I7145036724939220e1f23fb91c62027b28663c20
ndroid/internal/statusbar/StatusBarNotification.java
846df9f5171c4ef32f038cca651b6b9c0b6c3083 24-Sep-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 8952a448 to master

Change-Id: I9c752a5d10ae8d8e5ead1243b6abd4795204fc0b
3060421045d4d9e411797f91bb509824b03e33fb 23-Sep-2010 Jim Miller <jaggies@google.com> Add new WaveView widget to framework and integrate into LockScreen.

This adds a new "Energy Wave" widget to the internal widgets and
integrates it into LockScreen.

ValueAnimator needed a slight modification since it expects to
be run inside of Activities with a Looper. Additionally, this adds
an API, removeAllUpdateListeners(), which is needed to properly
recycle ValueAnimator objects.

Some minor code cleanup and UI tweaks after review.

Changed delay timeout from 1.3s to 0.5s.

Change-Id: Ibcf015e61fa8ba79d62f2019f1b29ace7caa00c8
ndroid/internal/widget/DrawableHolder.java
ndroid/internal/widget/WaveView.java
8952a4488e81205e3013b6b456dec503e05eebd0 24-Sep-2010 Dianne Hackborn <hackbod@google.com> am 287952c3: Fix issue #3022508: Crash during media scan

Merge commit '287952c35e148811c106bc0f5036eabf20f71562' into gingerbread-plus-aosp

* commit '287952c35e148811c106bc0f5036eabf20f71562':
Fix issue #3022508: Crash during media scan
287952c35e148811c106bc0f5036eabf20f71562 23-Sep-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3022508: Crash during media scan

Don't kill processes for excessive wake lock use, even if they
are in the background, as long as they have running services.

Also fix some problems with this, such as not noting the kill
in battery stats.

And add killing of processes for cpu usage as well, along with
some optimizations to computing CPU usage.

And fix BatteryWaster to be better behaving for testing these
cases.

Add new "monitor" command to am to watch as the activity manager
does stuff (so we can catch things at the point of ANR).

Finally some miscellaneous debug output for the stuff here, as
well as in progress debugging of an ANR.

Change-Id: Ib32f55ca50fb7486b4be4eb5e695f8f60c882cd1
ndroid/internal/os/BatteryStatsImpl.java
ab751aa085433e9f735d2e7603459c6c7e9d2fb0 14-Sep-2010 satok <satok@google.com> Add methods for managing subtypes

- added showInputMethodSubtypePicker to public API
-- show the selector dialog for subtypes
- added getter, setter and event handler to InputMethodManagerService
- extract InputMethodSubtype to the top level class for using it in aidl
- TODO: make an enabler for input method subtypes
- TODO: handle the event of changing an input method subtype in LatinIME

Change-Id: I49f8c6675ac4b06511635d14a37bd398738eff33
ndroid/internal/view/IInputMethod.aidl
ndroid/internal/view/IInputMethodManager.aidl
48a781a0a5f83da7c81cf0e7230151a751740a09 21-Sep-2010 Dianne Hackborn <hackbod@google.com> am 4b187e80: am 8e1b84e7: Merge "Some battery improvements:" into gingerbread

Merge commit '4b187e804fdfdbc825e17646e82e0218e316a339'

* commit '4b187e804fdfdbc825e17646e82e0218e316a339':
Some battery improvements:
4b187e804fdfdbc825e17646e82e0218e316a339 21-Sep-2010 Dianne Hackborn <hackbod@google.com> am 8e1b84e7: Merge "Some battery improvements:" into gingerbread

Merge commit '8e1b84e7654ddeeb77a03f5eca10c6669b1cb42b' into gingerbread-plus-aosp

* commit '8e1b84e7654ddeeb77a03f5eca10c6669b1cb42b':
Some battery improvements:
ce2ef766cad1bb186ea522f76c4ac6a8bb3dfa87 20-Sep-2010 Dianne Hackborn <hackbod@google.com> Some battery improvements:

- New API for iterating over history that will allow a better implementation
in the future.
- Now do writes asynchronously.

Also improve the documentation for Activity.onRetainNonInstanceState().

Change-Id: Idf67f2796a8868eb62f288bcbb2bad29876c8554
ndroid/internal/os/BatteryStatsImpl.java
03f3cb083d708d4d3226b80ed42c9d2876a56edc 18-Sep-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 1f377298 to master

Change-Id: I0d92abae3a86792b47777f795143acc0489adfe4
1f377298e2aaf6a1736295c0413d468eb1db5091 18-Sep-2010 Dianne Hackborn <hackbod@google.com> am 58e0eefe: Improve power tracking of WIFI use.

Merge commit '58e0eefeb5e2e270e2b04369bbf29fc22abda8d5' into gingerbread-plus-aosp

* commit '58e0eefeb5e2e270e2b04369bbf29fc22abda8d5':
Improve power tracking of WIFI use.
58e0eefeb5e2e270e2b04369bbf29fc22abda8d5 16-Sep-2010 Dianne Hackborn <hackbod@google.com> Improve power tracking of WIFI use.

We now distribute "wifi started" time across all apps that are
holding WIFI locks that cause it to be started. But only when
WIFI would not normally be running. Also have a mechanism to
distribute other WIFI work that has happened across those processes
based on their use.

Also fixed a bug where we were not retaining the CPU speed step
stats across boots...!

Change-Id: I00e3153b98429166273750512cc37e7975211ab9
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
0b6232da8995d6fa556d55ea2067dab3c1180919 16-Sep-2010 Joe Onorato <joeo@google.com> These are not javadoc tags, they are annotations in sample code. Escape them properly.
ndroid/internal/util/HierarchicalStateMachine.java
d35186ce1882b79db5aeaea7a5a6fdf4be89bcb8 16-Sep-2010 Joe Onorato <joeo@google.com> am 7747795a: Merge "These are not javadoc tags, they are annotations in sample code. Escape them properly." into gingerbread

Merge commit '7747795af508354b3792e497e6a7b4bc749b4007' into gingerbread-plus-aosp

* commit '7747795af508354b3792e497e6a7b4bc749b4007':
These are not javadoc tags, they are annotations in sample code. Escape them properly.
0d903bcd780a927b8f9cdc8e178afdf85858ba0a 16-Sep-2010 Joe Onorato <joeo@google.com> These are not javadoc tags, they are annotations in sample code. Escape them properly.

Change-Id: Ic3b9f2738a1f8ae8aa6a2a278f1d4ba3a7727b51
ndroid/internal/util/HierarchicalStateMachine.java
0b2d306e7000f4c0c6ad4e00d494bb401d8a9fc2 15-Sep-2010 Adam Powell <adamp@google.com> Style new popup widgets.

Change-Id: I208ed292afd9919071778baa9ea61d7ca9e7743c
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuPopupHelper.java
88b7349125d26200c5b4ef3c143e2e1cceda5703 15-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Take apart LocalePicker#onListItemClick() into two

It takes some time when Locale is actually switched by the system,
which looks "system halt". Previous implementation doesn't allow
developers to cope with the situation and they just had to let
users wait for a moment.

This change allows the LocalePicker users (developers) to hook
the item change and delay the actual halt. If they don't want it,
calling updateLocale() immediately works fine.

Related
- I29685118467bd2a68b80abcf234f91098839be0b
- Iba7378e51e6d5318e901045ebeda63ea954a0647

Change-Id: I4062a70e11600d87e889b40d30796387c7069e21
ndroid/internal/app/LocalePicker.java
e746f03c6c8b8d0897d322ab524d545ace200fcd 14-Sep-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 53686433 to master

Change-Id: I27004dc464f5771d3205ae5757c6eccc5b16854d
53686433a9790bcfe7211a661b26783ee12bb436 13-Sep-2010 Dianne Hackborn <hackbod@google.com> am 7e9f4eb2: Track client requests through location manager.

Merge commit '7e9f4eb2608148436cef36c9969bf8a599b39e72' into gingerbread-plus-aosp

* commit '7e9f4eb2608148436cef36c9969bf8a599b39e72':
Track client requests through location manager.
7e9f4eb2608148436cef36c9969bf8a599b39e72 11-Sep-2010 Dianne Hackborn <hackbod@google.com> Track client requests through location manager.

This fixes a problem where applications could ask the location
manager to do very heavy-weight things (like... say... update
location every minute), which would get accounted against the
system instead of the application because ultimately it is the
system making the heavy calls (wake locks, etc).

To solve this, we introduce a new class WorkSource representing
the source of some work. Wake locks and Wifi locks allow you
to set the source to use (but only if you are system code and thus
can get the permission to do so), which is what will be reported
to the battery stats until the actual caller.

For the initial implementation, the location manager keeps track
of all clients requesting periodic updates, and tells its providers
about them as a WorkSource param when setting their min update time.
The network location provider uses this to set the source on the
wake and wifi locks it acquires, when doing work because of the
update period.

This should also be used elsewhere, such as in the GPS provider,
but this is a good start.

Change-Id: I2b6ffafad9e90ecf15d7c502e2db675fd52ae3cf
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
19c9c7cc6d11f28b2b4bc7a46f8c54aac9078dfc 13-Sep-2010 Jeff Brown <jeffbrown@google.com> am fb8116f7: am c891d2b3: Merge "Fix PointerLocationView when pointer ids are not zero-based." into gingerbread

Merge commit 'fb8116f736f2df6d1b2f8044541390a9fd9953cb'

* commit 'fb8116f736f2df6d1b2f8044541390a9fd9953cb':
Fix PointerLocationView when pointer ids are not zero-based.
fb8116f736f2df6d1b2f8044541390a9fd9953cb 13-Sep-2010 Jeff Brown <jeffbrown@google.com> am c891d2b3: Merge "Fix PointerLocationView when pointer ids are not zero-based." into gingerbread

Merge commit 'c891d2b3529b9cf24ef4781a585cd4784815e711' into gingerbread-plus-aosp

* commit 'c891d2b3529b9cf24ef4781a585cd4784815e711':
Fix PointerLocationView when pointer ids are not zero-based.
d1e0c371a651f024b3de62a686c56e369e3f361e 13-Sep-2010 Jeff Brown <jeffbrown@google.com> Fix PointerLocationView when pointer ids are not zero-based.

Since we support using driver-provided pointer ids (ABS_MT_TRACKING_ID)
there is no guarantee that pointer ids will necessarily start from 0
or be contiguous.

Change-Id: I9609b7a3bb238d7edbcbd68cc839dd6d14baf9df
ndroid/internal/widget/PointerLocationView.java
cf78b3e5101349fdddbde14b3a55140f9562ae66 13-Sep-2010 Adam Powell <adamp@google.com> Add support for custom action views in ActionBar menus

Change-Id: Ic7850bc00fcfe95d805dd6a1b15cb5d413942475
ndroid/internal/view/menu/ActionMenuItem.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuItemImpl.java
5d8b320428957e377e93abf009b731bb8312bf9b 13-Sep-2010 Kenny Root <kroot@google.com> am 1361a5bd: am 07a9e8d3: Merge changes Ie3648509,I53db73c3 into gingerbread

Merge commit '1361a5bd1eba1cae16c301622324153c3d50b84c'

* commit '1361a5bd1eba1cae16c301622324153c3d50b84c':
Move native library removal function to helper
Initialize native library path in PackageSetting
1361a5bd1eba1cae16c301622324153c3d50b84c 13-Sep-2010 Kenny Root <kroot@google.com> am 07a9e8d3: Merge changes Ie3648509,I53db73c3 into gingerbread

Merge commit '07a9e8d39f818e54f0feccff10c99b9629007a64' into gingerbread-plus-aosp

* commit '07a9e8d39f818e54f0feccff10c99b9629007a64':
Move native library removal function to helper
Initialize native library path in PackageSetting
2a5a53709ee40d4e400ef78adc695a1a9ae874e2 13-Sep-2010 Adam Powell <adamp@google.com> Fix broken ActionMode close button styling

Change-Id: I425df1433d43c1b2bd392464ed10142532640f81
ndroid/internal/widget/ActionBarContextView.java
f63b0f44eb53f535a65bd83dbc1d8b95abc501da 12-Sep-2010 Joe Onorato <joeo@google.com> Connect my plumbing to dsandler's awesome lights out mode.

It took a little bit of refactoring to move the authoritative state
about whether the lights are on or not into the StatusBarManagerService,
so that if the system ui process crashes, the bar comes up in the
right mode.

Change-Id: I95cfaf8f78ca4443ded5262272ea755d44dc5d17
ndroid/internal/statusbar/IStatusBarService.aidl
9305647eb61bb60a1f42481a0c0d208dc9bbe965 10-Sep-2010 Joe Onorato <joeo@google.com> Plumb lights out mode through from the window manager to the status bar running in the system ui process.

Lights out mode itself isn't implemented.

Change-Id: Ieeef0eb9ae5be23000f770e74e8ee66472f4c673
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
8f7cc02c7c4bd542376648dbd54be3ceb8521f73 12-Sep-2010 Kenny Root <kroot@google.com> Move native library removal function to helper

Moves the remoteNativeLibrariesLI call to NativeLibraryHelper to prepare
for being able to symlink the /data/data/<package>/lib dir to the ASEC
container.

Change-Id: Ie3648509c6b6293a8d9bdd815610ab408df5047f
ndroid/internal/content/NativeLibraryHelper.java
b3f245c30c022de8a26e016b7c9d5f13747b2868 11-Sep-2010 Adam Powell <adamp@google.com> Allow the theme to affect action bar menus

Change-Id: Ie914881de626415886289e830fb1ff166ce13159
ndroid/internal/view/menu/MenuBuilder.java
bc234a19f4c74116454e2c77f4739290e761995a 10-Sep-2010 Adam Powell <adamp@google.com> Clean up action bar styles

Change-Id: Ib19698e08d643994c4416aac29a43e9197bbe1f3
ndroid/internal/widget/ActionBarContextView.java
8615fdc15146d27cc2d3a8efbe57f0a425b19efb 10-Sep-2010 Dianne Hackborn <hackbod@google.com> am 506d724c: Merge "DO NOT MERGE. I like\'d ctate\'s change so much I\'m doin it myself!" into gingerbread

Merge commit '506d724cc356a7ba73995ef2929c65062277c83d' into gingerbread-plus-aosp

* commit '506d724cc356a7ba73995ef2929c65062277c83d':
DO NOT MERGE. I like'd ctate's change so much I'm doin it myself!
618b8c1e988ac6c8006da66ca9e8a1e1d49c9dd5 10-Sep-2010 Dianne Hackborn <hackbod@google.com> DO NOT MERGE. I like'd ctate's change so much I'm doin it myself!

Change-Id: If571d3ff5e73252a0653c30ec40178ec1591ddd9
ndroid/internal/os/BatteryStatsImpl.java
c6ded1ba463f78bbb3bf21dc8362d599c7722e65 10-Sep-2010 Dianne Hackborn <hackbod@google.com> am 195dc210: am a4ce31f5: Merge "Small fixes to battery stats." into gingerbread

Merge commit '195dc210cb59ba3f660e31a95334fc3fa4d3ad2c'

* commit '195dc210cb59ba3f660e31a95334fc3fa4d3ad2c':
Small fixes to battery stats.
195dc210cb59ba3f660e31a95334fc3fa4d3ad2c 10-Sep-2010 Dianne Hackborn <hackbod@google.com> am a4ce31f5: Merge "Small fixes to battery stats." into gingerbread

Merge commit 'a4ce31f5e080eae6c97e6f37040db0c7f0fc78f2' into gingerbread-plus-aosp

* commit 'a4ce31f5e080eae6c97e6f37040db0c7f0fc78f2':
Small fixes to battery stats.
a4ce31f5e080eae6c97e6f37040db0c7f0fc78f2 10-Sep-2010 Dianne Hackborn <hackbod@google.com> Merge "Small fixes to battery stats." into gingerbread
b8071d790a32dc715c0fd6d4e7e1bbea6c8f7a02 10-Sep-2010 Dianne Hackborn <hackbod@google.com> Small fixes to battery stats.

Change-Id: Ibbf7c548a8e787a046de3659094cea64908e3deb
ndroid/internal/os/BatteryStatsImpl.java
c32e3275fee96124c9c05c0de07eb61f47657ab5 10-Sep-2010 Christopher Tate <ctate@google.com> Merge "Don't crash in batterystats"
898c4dc59fd37e42960dea906ab4a5264b8b135f 09-Sep-2010 Christopher Tate <ctate@google.com> Don't crash in batterystats

The number of timers to allocate time shares to is calculated by
disregarding system-UID execution. However, the actual allocation
of time *was* considering system-UID locks as well. This wound up
trying to share time across more timers than had been counted in the
first pass, leading to divide-by-zero exceptions.

This patch changes the logic to account the time slice only to
non-system-UID entities, in keeping with the commentary.

Change-Id: I7384a3c269aea44e52bc983927f9417e11613ad5
ndroid/internal/os/BatteryStatsImpl.java
079fd1c0a329b0fbd3761abe2e900a941131efed 09-Sep-2010 Adam Powell <adamp@google.com> Make action buttons more style-based

Change-Id: Ia7ef4da8d8004f1b3809b4883aafc541695d235a
ndroid/internal/view/menu/ActionMenuView.java
62ecf53538ce46662a71f3026cf3aa5b5224cd6a 09-Sep-2010 Mathias Agopian <mathias@google.com> am 3fa7d8af: am 9bfb060a: Merge "Force wallpaper surface to 565." into gingerbread

Merge commit '3fa7d8af6560de07ef673f73308f7e51de64e4ec'

* commit '3fa7d8af6560de07ef673f73308f7e51de64e4ec':
Force wallpaper surface to 565.
3fa7d8af6560de07ef673f73308f7e51de64e4ec 09-Sep-2010 Mathias Agopian <mathias@google.com> am 9bfb060a: Merge "Force wallpaper surface to 565." into gingerbread

Merge commit '9bfb060ac4e30c82ec2c269b78cc758a6cb5daf8' into gingerbread-plus-aosp

* commit '9bfb060ac4e30c82ec2c269b78cc758a6cb5daf8':
Force wallpaper surface to 565.
9bfb060ac4e30c82ec2c269b78cc758a6cb5daf8 09-Sep-2010 Mathias Agopian <mathias@google.com> Merge "Force wallpaper surface to 565." into gingerbread
62bf4a0283e855e2fb5f40f36909501e5b4a09eb 09-Sep-2010 Mathias Agopian <mathias@google.com> Force wallpaper surface to 565.

This is to maintain backward compatibility with badly programmed
GL wallpapers. Wallpapers can call SurfaceHolder.setFormat() to
request a different format.

Change-Id: Ib42b0cf6c7040d1300cad239c3acfd5c4c6cd326
ndroid/internal/view/BaseSurfaceHolder.java
75c923e3ec584dc8c3418534141e49441df0462a 09-Sep-2010 Adam Powell <adamp@google.com> Merge "Added resources and styles for ActionBar tabs"
ca259f4081404a8b4524b2fe80ab036182141ab7 08-Sep-2010 Adam Powell <adamp@google.com> Added resources and styles for ActionBar tabs

Change-Id: I7ba5502146dec2d71b3e9ff57d90e7b5bd2bc2a0
ndroid/internal/widget/ActionBarView.java
467e8e13327bd9ad2dbabfa0a9b31f860202c7b1 08-Sep-2010 Dianne Hackborn <hackbod@google.com> am 5fdacb8a: am ee455f5a: Merge "People holding partial wake locks now get blamed for CPU usage." into gingerbread

Merge commit '5fdacb8a2818136218afdea4308ad1b10049a201'

* commit '5fdacb8a2818136218afdea4308ad1b10049a201':
People holding partial wake locks now get blamed for CPU usage.
5fdacb8a2818136218afdea4308ad1b10049a201 08-Sep-2010 Dianne Hackborn <hackbod@google.com> am ee455f5a: Merge "People holding partial wake locks now get blamed for CPU usage." into gingerbread

Merge commit 'ee455f5a9572bc0d23c3328f6c22da91dc109a50' into gingerbread-plus-aosp

* commit 'ee455f5a9572bc0d23c3328f6c22da91dc109a50':
People holding partial wake locks now get blamed for CPU usage.
0d903a84d04d241a648ec429e3a0e82c712677fd 08-Sep-2010 Dianne Hackborn <hackbod@google.com> People holding partial wake locks now get blamed for CPU usage.

For the duration of the wake lock, 50% of all CPU usage is now
accounted against the app(s) holding partial wake locks, evenly
distributed between them. This is only while the device is on
battery and screen off.

Change-Id: I3e5c978b792b6ef17bf8540705bfe8343dadd464
ndroid/internal/os/BatteryStatsImpl.java
a18a86b43e40e3c15dcca0ae0148d641be9b25fe 07-Sep-2010 Chet Haase <chet@google.com> Rename several animation classes

Change-Id: I6a4544875090db485163c8d56de8718f56d267c7
ndroid/internal/widget/SlidingTab.java
2b6230e0de4bac2829ac27b19e95ba75c3da82b4 08-Sep-2010 Adam Powell <adamp@google.com> Reworking the ActionBar tab API

Change-Id: Ifbcdc61b4a24633cc1a329c73923b95b03e9ecf0
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
d0438da05cbbd0b267421ad9a5c84345c39803b3 08-Sep-2010 Dianne Hackborn <hackbod@google.com> am 75f0024c: am 6e86915e: Merge "Fixes to battery stats debug output." into gingerbread

Merge commit '75f0024cf40eadb2cdaa6ae53409c515b68f21c1'

* commit '75f0024cf40eadb2cdaa6ae53409c515b68f21c1':
Fixes to battery stats debug output.
75f0024cf40eadb2cdaa6ae53409c515b68f21c1 07-Sep-2010 Dianne Hackborn <hackbod@google.com> am 6e86915e: Merge "Fixes to battery stats debug output." into gingerbread

Merge commit '6e86915e8f5dfffa60ae5d1a4ca9aa74912fd026' into gingerbread-plus-aosp

* commit '6e86915e8f5dfffa60ae5d1a4ca9aa74912fd026':
Fixes to battery stats debug output.
b5e3165129a5871cf679a67d9e9323ffad3d4902 07-Sep-2010 Dianne Hackborn <hackbod@google.com> Fixes to battery stats debug output.

Change-Id: I32e7cad9633b8c517a74573069e426d9f835a83d
ndroid/internal/os/BatteryStatsImpl.java
783cb60ddb7cde1349ca531c7b96ad67d5053cd2 03-Sep-2010 Jim Miller <jaggies@google.com> Update RecentApplications to use shared Carousel widget.

Change-Id: I5ca7389aeca9ee6f03f48317f9d1034f9fb8c1ca
ndroid/internal/widget/CarouselRS.java
ndroid/internal/widget/CarouselView.java
ndroid/internal/widget/carousel.rs
00df32d4396a65752b7b9a2f8ceb6292ed2384cf 02-Sep-2010 Adam Powell <adamp@google.com> Handle disabled state for action menu items

Change-Id: Id80926aef5f8f2f47703a7b1e3da38e6117edb30
ndroid/internal/view/menu/ActionMenuItemView.java
c9ad7c6dbb1d70b831cd79416cbe493ade50ed2c 01-Sep-2010 Brian Carlstrom <bdc@google.com> resolved conflicts for merge of 41e99538 to master

Change-Id: Idddb72e369f127cd74322c3c7385701c2412e343
41e99538638795e38b0a02711ceb572d67a779a3 01-Sep-2010 Brian Carlstrom <bdc@google.com> am 17510863: New Java-based SamplingProfiler

Merge commit '1751086360056bc60d00f2ed2988bc82be9e7bd9' into gingerbread-plus-aosp

* commit '1751086360056bc60d00f2ed2988bc82be9e7bd9':
New Java-based SamplingProfiler
1751086360056bc60d00f2ed2988bc82be9e7bd9 18-Aug-2010 Brian Carlstrom <bdc@google.com> New Java-based SamplingProfiler

Summary:
- libcore: new Java based SamplingProfiler
- dalvik: remove old SamplingProfiler native bits
- frameworks/base: New placeholder SamplingProfilerIntegration
- vendor/google: remove old profiler snapshot parsing code

Details:

libcore

A new 100% Java SamplingProfiler. While it has more overhead that
the old native one, the new one can actually collect more than the
current PC and frame pointer, so you can get useful context of
where your app is spending time. It currently provides ASCII hprof
format output for use with tools like PerfAnal
dalvik/src/main/java/dalvik/system/SamplingProfiler.java

Unit test for the new SamplingProfiler
dalvik/src/test/java/dalvik/system/SamplingProfilerTest.java

Add core-tests-dalvik
JavaLibrary.mk

dalvik

Removing native code that supported the old SamplingProfiler
vm/Dvm.mk
vm/native/InternalNative.c
vm/native/dalvik_system_SamplingProfiler.c

frameworks/base

Placeholder SamplingProfilerIntegration. Later plans include
generating EventStackTrace protobufs.

New SamplingProfiler does not have a global instance, so
SamplingProfilerIntegration provides one in INSTANCE. Old binary
snapshot format is temporily replaced with ASCII hprof data.
core/java/com/android/internal/os/SamplingProfilerIntegration.java

Simplified interface for zygote profile snapshotting
core/java/com/android/internal/os/ZygoteInit.java

Current SamplingProfilerIntegration does not track event loop
explicitly, but hprof information does include thread information.
core/java/android/app/ActivityThread.java

vendor/google

Removing code for parsing old SamplingProfiler snapshot format
tools/samplingprofiler/Android.mk
tools/samplingprofiler/NOTICE
tools/samplingprofiler/profiler.iml
tools/samplingprofiler/profiler.ipr
tools/samplingprofiler/pull-snapshots.sh
tools/samplingprofiler/sorttable.js
tools/samplingprofiler/src/com/android/profiler/PrintHtml.java
ndroid/internal/os/SamplingProfilerIntegration.java
ndroid/internal/os/ZygoteInit.java
a43b74a4ef3735e52d3fda348271b8e495d685a8 31-Aug-2010 Daisuke Miyakawa <dmiyakawa@google.com> Add LocalePicker fragment as one of internal components.

LocalePicker is in Settings, but we want this in framework
so that we are able to use it from other Setting-like
applications.

Also brings two string-arrays for descripting Chinise locales, which
have been in Settings app.

See also I1364c4810a115958662ca5d6e6e7f29c0c9b2569, for example.

Change-Id: I8a398b9b77601cf88ea8a3840b92dcf7441e6103
ndroid/internal/app/LocalePicker.java
22f5ee93746f37823265b8cb9b1e94e572607514 31-Aug-2010 Jeff Brown <jeffbrown@google.com> am 36f0cb26: am 8d60866e: Input device calibration and capabilities.

Merge commit '36f0cb26cbb4ef62995ff2e5a540cf8814e7f030'

* commit '36f0cb26cbb4ef62995ff2e5a540cf8814e7f030':
Input device calibration and capabilities.
36f0cb26cbb4ef62995ff2e5a540cf8814e7f030 31-Aug-2010 Jeff Brown <jeffbrown@google.com> am 8d60866e: Input device calibration and capabilities.

Merge commit '8d60866e2100db70ecf0502c14768a384514d7e9' into gingerbread-plus-aosp

* commit '8d60866e2100db70ecf0502c14768a384514d7e9':
Input device calibration and capabilities.
8d60866e2100db70ecf0502c14768a384514d7e9 30-Aug-2010 Jeff Brown <jeffbrown@google.com> Input device calibration and capabilities.

Finished the input device capability API.
Added a mechanism for calibrating touch devices to obtain more
accurate information about the touch contact area.
Improved pointer location to show new coordinates and capabilities.
Optimized pointer location display and formatting to avoid allocating large
numbers of temporary objects. The GC churn was causing the application to
stutter very badly when more than a couple of fingers were down).
Added more diagnostics.

Change-Id: Ie25380278ed6f16c5b04cd9df848015850383498
ndroid/internal/widget/PointerLocationView.java
818c830c59fb8fb0fe7576f1e5a073ab599227c8 28-Aug-2010 Kenny Root <kroot@google.com> am 83285781: am 7046bd92: Merge "Allow native shared libraries in ASEC containers" into gingerbread

Merge commit '8328578152fbfd23952a6cda4b2e60853d78eb74'

* commit '8328578152fbfd23952a6cda4b2e60853d78eb74':
Allow native shared libraries in ASEC containers
8328578152fbfd23952a6cda4b2e60853d78eb74 28-Aug-2010 Kenny Root <kroot@google.com> am 7046bd92: Merge "Allow native shared libraries in ASEC containers" into gingerbread

Merge commit '7046bd924f77c54585b9e0e0c95e5edd2ceb55a3' into gingerbread-plus-aosp

* commit '7046bd924f77c54585b9e0e0c95e5edd2ceb55a3':
Allow native shared libraries in ASEC containers
85387d7ba36e56b291cbde87acb5a5b2200fe01c 26-Aug-2010 Kenny Root <kroot@google.com> Allow native shared libraries in ASEC containers

This change moves the native library handling earlier in the package
installation process so that it may be inserted into ASEC containers
before they are finalized in the DefaultContainerService.

Note that native libraries on SD card requires that vold mount ASEC
containers without the "noexec" flag on the mount point.

Change-Id: Ib34b1886bf6f94b99bb7b3781db6e9b5a58807ba
ndroid/internal/content/NativeLibraryHelper.java
ndroid/internal/content/PackageHelper.java
f956fd6d1325fcb2e5ce9b8dac95a9a40824ead8 27-Aug-2010 Amith Yamasani <yamasani@google.com> am 4b4114d1: am a90b7f01: Add methods to InputConnection: setComposingRegion() to select a region of text for correction, and getSelectedText() to return the selected text.

Merge commit '4b4114d155b4f3d5cc4179934cb6403b1776261d'

* commit '4b4114d155b4f3d5cc4179934cb6403b1776261d':
Add methods to InputConnection: setComposingRegion() to select a region of text for correction, and getSelectedText()
e3f55d45cf91177cf610f95da67435c3719d1877 27-Aug-2010 Ben Dodson <bjdodson@google.com> Merge "Updated documentation for upcoming fix for @code tags"
4b4114d155b4f3d5cc4179934cb6403b1776261d 26-Aug-2010 Amith Yamasani <yamasani@google.com> am a90b7f01: Add methods to InputConnection: setComposingRegion() to select a region of text for correction, and getSelectedText() to return the selected text.

Merge commit 'a90b7f0125389b9e1040d2be82aad4ef74ea6071' into gingerbread-plus-aosp

* commit 'a90b7f0125389b9e1040d2be82aad4ef74ea6071':
Add methods to InputConnection: setComposingRegion() to select a region of text for correction, and getSelectedText()
a90b7f0125389b9e1040d2be82aad4ef74ea6071 26-Aug-2010 Amith Yamasani <yamasani@google.com> Add methods to InputConnection: setComposingRegion() to select a region of text for correction, and getSelectedText()
to return the selected text.

setComposingRegion:

The TextView may choose to highlight the text in some way (underline for now) to indicate
that the text is selected for correction, if the IME wants to provider alternatives.

Choosing an alternative in the IME can then call IC.commitText() to replace the highlighted
(not selected) text with a different candidate.

This change also ensures that any existing spans/styles are not wiped out. So we can now
correct rich text as well.

getSelectedText:

This is a convenience to get the selected text instead of using extracted text that is
more heavy weight. Existing getTextBeforeCursor() and getTextAfterCursor() fail to
retrieve the selected text, only what's before and after the selection.

Change-Id: Ieb5ecd5ff947ea04958589f501e7bd5228e00fb5
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/IInputContextCallback.aidl
ndroid/internal/view/InputConnectionWrapper.java
c70bd1921bbc4046d0caf84959e5f1c2d526769a 26-Aug-2010 Jim Miller <jaggies@google.com> Merge "Fix 2797185: Integrate 3D RecentApps View into system."
4e8620f868e2490782ebb960404140ea9482c91d 25-Aug-2010 Ben Dodson <bjdodson@google.com> Updated documentation for upcoming fix for @code tags

Change-Id: Id7b163179132b9cf180afecb4e9e10ee39bcd415
ndroid/internal/util/TypedProperties.java
e6ad1a8ba29bdd5d61ad1c91146def582c8c0334 21-Aug-2010 Jim Miller <jaggies@google.com> Fix 2797185: Integrate 3D RecentApps View into system.

This adds 3D recents to the platform. Enabling it is a
matter of setting 'config_enableRecentApps3D' on devices
capable of supporting it (those with OGLES2.0 at the moment).

Change-Id: Ife7bfe8ca02e7657821b68f915e31b0dab50cd2c
ndroid/internal/widget/CarouselView.java
ndroid/internal/widget/carousel.rs
08f194bc011bc3d88934088a7ac67f52559a77a2 24-Aug-2010 Steve Block <steveblock@google.com> In ActionBarImpl, only use mActionView after we've checked that it's non-null

See https://android-git.corp.google.com/g/#change,61251

Change-Id: Ie11f446c10c096916642a34558a350512495234e
ndroid/internal/app/ActionBarImpl.java
96fd5af681513ab1eadfb17591a9771fd2dfbcff 24-Aug-2010 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of 0b7b9807 to master

Change-Id: If60aeeb47cd06dcc76b88506688c7e4b58cf2208
46089bd1cb031c578735707712cf9574678032fe 24-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am 02623128: resolved conflicts for merge of 1ffd753e to gingerbread-plus-aosp

Merge commit '026231284c44ca8cf789e0d5045c5ae6a91d7766'

* commit '026231284c44ca8cf789e0d5045c5ae6a91d7766':
Crash when powering off.
37a1e2370f763cb2e4411f81e44857fa55051df6 24-Aug-2010 Dianne Hackborn <hackbod@google.com> am a3ece8bd: am 32519259: Merge "Fix a few small battery stats problems:" into gingerbread

Merge commit 'a3ece8bde37acd81b08c4e3c1cb0e6d006ade3e0'

* commit 'a3ece8bde37acd81b08c4e3c1cb0e6d006ade3e0':
Fix a few small battery stats problems:
0b7b980761f3daa614ea725a5d432e8bd718eac6 24-Aug-2010 Brad Fitzpatrick <bradfitz@android.com> am d132892a: Merge "Don\'t touch the VFS during window relayout." into gingerbread

Merge commit 'd132892a75532557bb18af14eab6081704b7fa6d' into gingerbread-plus-aosp

* commit 'd132892a75532557bb18af14eab6081704b7fa6d':
Don't touch the VFS during window relayout.
90881005182936e443cb6cd9fb7eff21f83206f5 24-Aug-2010 Brad Fitzpatrick <bradfitz@android.com> Don't touch the VFS during window relayout.

yaffs2 is single-threaded and any disk access during window drawing
(or animation in this case) can cause UI stutters / unresponsiveness
for hundreds of milliseconds.

BUG=2941119

Change-Id: Ifdce8337027ab25d1ea844934fa787ffe68263c4
ndroid/internal/widget/LockPatternUtils.java
026231284c44ca8cf789e0d5045c5ae6a91d7766 23-Aug-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 1ffd753e to gingerbread-plus-aosp

Change-Id: I2741766c359bed3040fa3b787d72483eb028fb6d
6c6f575423d6718c3ff322224c1520901ce881e1 21-Aug-2010 Adam Powell <adamp@google.com> More ActionBar/config change tweaks. Preserve open overflow menus

Change-Id: Ic8ad2b1e3909fbf84ff4d852ae046a9f9508477c
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuPopupHelper.java
ndroid/internal/widget/ActionBarView.java
727782053ced0cac5beadc2c7ee9382d0f1ba1f5 21-Aug-2010 Dianne Hackborn <hackbod@google.com> Work on DialogFragment and docs.

- DialogFragment now has an option to not show a dialog, so you can
use your UI somewhere else.
- Deprecated show() versions that were tied to activities.
- Added documentation to DialogFragment class.
- Added documentation to onSaveInstanceState() to explain how the
time it is called is different than Activity's version.
- Fixed some java doc warnings.

Change-Id: If026744c368e2443030d2d9e0a9c808d820857df
ndroid/internal/util/HierarchicalStateMachine.java
773b1b97fc0f01efc8cf1e17a1250a9b654b1b85 21-Aug-2010 Adam Powell <adamp@google.com> Make ActionBar menus handle configuration changes gracefully.

Change-Id: I2c9ca846143b313ef9d2a01dff81385e0693518d
ndroid/internal/view/menu/ActionMenuView.java
a3ece8bde37acd81b08c4e3c1cb0e6d006ade3e0 20-Aug-2010 Dianne Hackborn <hackbod@google.com> am 32519259: Merge "Fix a few small battery stats problems:" into gingerbread

Merge commit '325192593b057f4360e1abddf490b4fae7d60b12' into gingerbread-plus-aosp

* commit '325192593b057f4360e1abddf490b4fae7d60b12':
Fix a few small battery stats problems:
99d0452ddc0a0435030a462bda9f4d57b58bad9a 20-Aug-2010 Dianne Hackborn <hackbod@google.com> Fix a few small battery stats problems:

- Actually aggregate discharge amounts.
- Actually print the unplugged battery info when currently plugged in.

Change-Id: I22dd6feb73ac1364eb169d3239ce403b0755bb6c
ndroid/internal/os/BatteryStatsImpl.java
c31f643223f3b3fdc92521d0bec287198bf1e81a 18-Aug-2010 Jim Miller <jaggies@google.com> Fix 2797185: Integrate Carousel widget into framework.

Change-Id: Ia03e3f582541dd7f6079929e51d2484b5b91a67b
ndroid/internal/widget/CarouselRS.java
ndroid/internal/widget/CarouselView.java
ndroid/internal/widget/carousel.rs
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
ndroid/internal/appwidget/IAppWidgetHost.aidl
ndroid/internal/appwidget/IAppWidgetService.aidl
ndroid/internal/widget/IRemoteViewsFactory.aidl
385df2c7a5315fd114fd133b33e31f320987ad43 17-Aug-2010 Konstantin Lopyrev <klopyrev@google.com> Merge "Fix 2926276: Remove spurrious warning about unspecified measurespec."
3747f3f41fa228e958d39f3cbf2781fb8062f3e7 17-Aug-2010 Jim Miller <jaggies@google.com> Fix 2926276: Remove spurrious warning about unspecified measurespec.

Only issue the warning in debug mode.

Change-Id: I5fecb2e6b0013ce775187a878f5a81317e758f2c
ndroid/internal/widget/SlidingTab.java
31d5becb7fe2981381a6c16afe6bb357416f4c3a 17-Aug-2010 Adam Powell <adamp@google.com> Merge "Bug 2923440 - ActionMode buttons show if room by default - different approach."
4d9861e7ec8488634d316b20981464de2ab7b6fe 17-Aug-2010 Adam Powell <adamp@google.com> Bug 2923440 - ActionMode buttons show if room by default - different approach.

This enforces the new policy if menu items are created
programmatically instead of inflated from menu xml.

This reverts commit fbb72fdbe58142e0f1f7ffa17f009b0d829b33c3.

Change-Id: I102e93b80a3248634e98e0d7dc3321bf1d8b263b
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuItemImpl.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
ndroid/internal/appwidget/IAppWidgetService.aidl
8534a8e438ff35511051cf74f8f73d52c8b3b1f4 17-Aug-2010 Mathias Jeppsson <mathias.jeppsson@sonyericsson.com> Crash when powering off.

Fixing a race condition. If "confirm" is true and the shutdown
dialog is shown it may take some time before the user presses the
ok button. During this time a new call to shutdown may be made with
confirm=false. When this happens the shutdown thread is started by
the second call, and later when the users presses the ok button. This
results in ShutdownThread.beginShutdownSequence() being called
twice. I.e., the beginShutdownSequence lacks the proper protection
for this error case.

Change-Id: Ib9b01c5a43f4dc23de09057f3fc1507000317faf
ndroid/internal/app/ShutdownThread.java
9146ac706265cd8cce66907e617bc8572152eb97 17-Aug-2010 Adam Powell <adamp@google.com> Prevent starting an action mode from within an actionbar/mode UI.

Don't let a View start an ActionMode if it would be obscured or destroyed
by the ActionMode UI.

Change-Id: Ifdb28f1d6704ede550a89903d3823a09b103fcd5
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
fbb72fdbe58142e0f1f7ffa17f009b0d829b33c3 17-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2923440 - ActionMode buttons show as action by default

The MenuInflater returned by ActionModes will set the default
showAsAction value to "ifRoom" if not otherwise specified.

Change-Id: I86045dc4e877a97a3464a1a5f44d8d1e2120b086
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
6236d61400b5a801547bebd6417b1f936fe12474 17-Aug-2010 Adam Powell <adamp@google.com> Merge "Fix some ActionBar bugs."
266b1008cfc570d95d10ce650343765fa6bac7e7 17-Aug-2010 Adam Powell <adamp@google.com> Fix some ActionBar bugs.

* Fix a bug where the options panel would not open on non-xlarge
screens to show overflow menu items.

* Fix a bug where ActionBarView would try to add a custom nav view
twice.

* Fix a bug where ActionBarView would expand too far in wrap_content mode

Change-Id: I433ea56524aad885d813ae8743fe2fcefa9649fa
ndroid/internal/widget/ActionBarView.java
a10382b67dc14ffe43cd6da56a5cffebfa470870 17-Aug-2010 Dianne Hackborn <hackbod@google.com> am 2e47052f: am 567722ee: Merge "Fix problems with determining when to kill apps for wake usage." into gingerbread

Merge commit '2e47052fc4ad3439adc2322fd953fd58a85d457c'

* commit '2e47052fc4ad3439adc2322fd953fd58a85d457c':
Fix problems with determining when to kill apps for wake usage.
0a56fdc1400db3d31bff3a18bde7e509111d9b90 17-Aug-2010 Dianne Hackborn <hackbod@google.com> am 66b0343e: am a8d9291d: Merge "Various battery info things:" into gingerbread

Merge commit '66b0343e9e32203cdd39b854852cf575ca2fcd6b'

* commit '66b0343e9e32203cdd39b854852cf575ca2fcd6b':
Various battery info things:
2e47052fc4ad3439adc2322fd953fd58a85d457c 16-Aug-2010 Dianne Hackborn <hackbod@google.com> am 567722ee: Merge "Fix problems with determining when to kill apps for wake usage." into gingerbread

Merge commit '567722eee190f7cf88dc7ea95167db76d5514842' into gingerbread-plus-aosp

* commit '567722eee190f7cf88dc7ea95167db76d5514842':
Fix problems with determining when to kill apps for wake usage.
1ebccf531d1049853b3b0630035434619682c016 15-Aug-2010 Dianne Hackborn <hackbod@google.com> Fix problems with determining when to kill apps for wake usage.

Also improve debug printing of various times.

Change-Id: Ifcc288fd1bcbf44c069875ba97925b9e7ffe9a48
ndroid/internal/app/PlatLogoActivity.java
ndroid/internal/os/BatteryStatsImpl.java
66b0343e9e32203cdd39b854852cf575ca2fcd6b 14-Aug-2010 Dianne Hackborn <hackbod@google.com> am a8d9291d: Merge "Various battery info things:" into gingerbread

Merge commit 'a8d9291d7f93d1aa0d24d71d65c7de2894812177' into gingerbread-plus-aosp

* commit 'a8d9291d7f93d1aa0d24d71d65c7de2894812177':
Various battery info things:
9adb9c3b10991ef315c270993f4155709c8a232d 13-Aug-2010 Dianne Hackborn <hackbod@google.com> Various battery info things:

- Now track wake locks in battery history.
- Now track sensors in battery history.
- Some filtering of sensory data.
- Fixes to some data that wasn't cleared when resetting battery stats.
- Print amount discharged since last charge.

And the big part -- keep track of wake locks held per process,
and kill processes that hold wake locks too much while they are in
the background. This includes information in the battery stats
about the process being killed, which will be available to the
developer if the app is reported.

Change-Id: I97202e94d00aafe0526ba2db74a03212e7539c54
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
8171b5182f5f07d33c9dfdf2dd8f0f6ae9588039 05-Aug-2010 Jae Yong Sung <jysung@google.com> lock screen for xlarge

Change-Id: Iab9f53609bf24be774752a9960aaaa654d7a614f
ndroid/internal/widget/PasswordEntryKeyboard.java
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
e2194445b078932733a2d1a02fc084ea2f3c7360 13-Aug-2010 Adam Powell <adamp@google.com> Clean up some Action Bar style handling.

Action Bar now obeys the titleTextStyle/subtitleTextStyle attributes
and has a better way of handling custom sizes. Any attached Action
Mode bar will keep in sync with the Action Bar's height.

Change-Id: I7d16319f5609d4d6c80a3043dcb60303e6e903db
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
f6148c53f93978af678cc0559a4417b608a33ae1 12-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2911311 and bug 2911700

Integrate the action bar overflow menu better with the options menu lifecycle.

Change-Id: I1e3fdba04b01718c3ee3367f92e5dabe7bc84b5c
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
3d3da27ab394108fd51771616cca3279baae99d1 12-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2911529

Change-Id: I18d7f5d8a300bbc73ef721c5d4deb200d6a490b8
ndroid/internal/view/menu/MenuPopupHelper.java
6b336f835d637853800b94689375a03f337139a4 11-Aug-2010 Adam Powell <adamp@google.com> ActionBar overlay mode, height fetching, show/hide

Change-Id: Ie931ed26ec885d891d6733132b517a53d95f8491
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/widget/ActionBarView.java
bf0cb26a1c6305f2a7795c2498591b6189cc5b79 11-Aug-2010 Kenny Root <kroot@google.com> am f5ee5358: am ac9717ab: Merge "Move OBB file reading to DefaultContainerService" into gingerbread

Merge commit 'f5ee5358c187107b2e5a1e1fbcb5a648d793c798'

* commit 'f5ee5358c187107b2e5a1e1fbcb5a648d793c798':
Move OBB file reading to DefaultContainerService
f5ee5358c187107b2e5a1e1fbcb5a648d793c798 11-Aug-2010 Kenny Root <kroot@google.com> am ac9717ab: Merge "Move OBB file reading to DefaultContainerService" into gingerbread

Merge commit 'ac9717ab73afe0123b6dbb63c4dd2fc88143e53e' into gingerbread-plus-aosp

* commit 'ac9717ab73afe0123b6dbb63c4dd2fc88143e53e':
Move OBB file reading to DefaultContainerService
a02b8b05dd1e8b8cf169e1f89542ef835b11fc13 06-Aug-2010 Kenny Root <kroot@google.com> Move OBB file reading to DefaultContainerService

The system_server shouldn't touch files on the SD card. This change
moves the things that touch the SD card out to the
DefaultContainerService so that it will get killed if the SD card goes
away instead of the system_server.

Change-Id: I0aefa085be4b194768527195532ee6dddc801cfc
ndroid/internal/app/IMediaContainerService.aidl
7b6d0d99b6904b511996267efae215fe9cb5e98f 11-Aug-2010 Dianne Hackborn <hackbod@google.com> am 679ac09a: am a5ae50cd: Merge "More native work." into gingerbread

Merge commit '679ac09a5c22175354f3a04b28456b323839530e'

* commit '679ac09a5c22175354f3a04b28456b323839530e':
More native work.
679ac09a5c22175354f3a04b28456b323839530e 11-Aug-2010 Dianne Hackborn <hackbod@google.com> am a5ae50cd: Merge "More native work." into gingerbread

Merge commit 'a5ae50cd838b5725c63ed485292aae4edd1a98cb' into gingerbread-plus-aosp

* commit 'a5ae50cd838b5725c63ed485292aae4edd1a98cb':
More native work.
08d5b8fad8d46ccb64db2fdcb4d66972ec87bf48 04-Aug-2010 Dianne Hackborn <hackbod@google.com> More native work.

Implement save/restore of state, and add native APIs for
configuration information.

Change-Id: I2a3ddc2ba605db58d7c8b2b31b9215fb323f90b5
ndroid/internal/app/PlatLogoActivity.java
f75eeb28def26798682748aa5dedabebac86bb6a 11-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2908822 - open/closePanel should do the right thing with ActionBars

Change-Id: Ic77f9dee864d17046f69c78a1e6d96a49b5c6180
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/widget/ActionBarView.java
dec9dfd0f9f9ae23e4f126d765178fbd26a9eadb 10-Aug-2010 Adam Powell <adamp@google.com> Support ActionBar in Dialogs

Dialogs planning on using an ActionBar must have an appropriate
theme. (Later on this will likely be default.)

Change-Id: I7fbf5f76eed3d10765fddeaf211e4decb4e89f87
ndroid/internal/app/ActionBarImpl.java
02890fd0f98b3b8d98baf0bda1ea906afd723d8b 07-Aug-2010 Romain Guy <romainguy@google.com> Replace Bitmap's finalizers with PhantomReferences.

This change also removes the use of SoftReferences for View's
drawing cache.

A bitmap now creates a PhantomReference enqueued in a reference
queue provided by the new Finalizers class. This queue is polled
from a thread started after forking zygote. That thread is in charge
of clearing the references after GC runs and of calling reclaim()
on them. The reclaim() method is now how finalizers are run.

Note that a PhantomReference cannot be kept in the instance it
refers to, which is why they are kept in a separate List.

Change-Id: If3c1a5e9dc23fa49e34857860d730f5cf5ad5926
ndroid/internal/os/RuntimeInit.java
90960e87ecae696f73ae18e46c2f003fc3f592cc 06-Aug-2010 Mike Lockwood <lockwood@android.com> Set umask of system server to 0077

This matches the previous behavior of java.io.File file and directory creation.

BUG: 2898660

Change-Id: Ie8978a3fc44abfd22f8046e66742e715354220a8
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/os/ZygoteInit.java
1b7e4d5adcc2737bc11bfbf42a88a02d6df984e0 05-Aug-2010 Brian Carlstrom <bdc@google.com> am 4ae1e382: Merge "Tracking merge of dalvik-dev to gingerbread" into gingerbread

Merge commit '4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af' into gingerbread-plus-aosp

* commit '4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af':
Tracking merge of dalvik-dev to gingerbread
0f0b11c8719495ce559b93366fe9cd79782d791c 04-Aug-2010 Daniel Sandler <dsandler@google.com> Basic support for notification payloads in the panel.

Line-item veto is there, but allows you to cancel some
notifications you probably shouldn't be canceling. (Should
hide the "X" in those cases.)

No preference given to "sticky" notifications, because
there's no such thing yet.

Notifications are now limited to 4 visible icons, per spec.
The implementation is a total hack for now.

Change-Id: Ibdf433ae94189117f983c510fe5e0cff0bf5c44c
ndroid/internal/statusbar/IStatusBarService.aidl
3c7c351a6217ac48b741740167c201a679a0ca65 05-Aug-2010 Brian Carlstrom <bdc@google.com> Tracking merge of dalvik-dev to gingerbread

git cherry-pick --no-commit f77cf7f0
git cherry-pick --no-commit c8f503b5285e30c1a881d0ba860ba9021f57d113
git cherry-pick --no-commit 570bb561
git cherry-pick --no-commit e2417541
git cherry-pick --no-commit e4d81f25bd4dc1a5c909b56ab56a56406290da30
git cherry-pick --no-commit 5e8a587d

Change-Id: I101a385d43f3e0f4ce5352217f92ef67a3908c88
ndroid/internal/os/ZygoteInit.java
5bac1cc0b8ddfeb1290d8324beaadd1e48f3fd14 04-Aug-2010 Chris Tate <ctate@android.com> am 9f6b16a2: am 5d46ce24: Merge "Enhanced VelocityTracker for > 5 pointers and fixed bugs." into gingerbread

Merge commit '9f6b16a29b62f29496bc652cfec7d6fe9f08c7f4'

* commit '9f6b16a29b62f29496bc652cfec7d6fe9f08c7f4':
Enhanced VelocityTracker for > 5 pointers and fixed bugs.
4be0d52125b88dc992a4c500edbe95bf55484e0b 04-Aug-2010 Adam Powell <adamp@google.com> Added android.widget.PopupMenu

Change-Id: Id507cf93ebd0484f141a0a44266b883c01aa10db
ndroid/internal/view/menu/MenuPopupHelper.java
1f9c7afc5a06576e327a4b1c12688202f53d9462 03-Aug-2010 Adam Powell <adamp@google.com> Add support for action buttons without an icon.

Change-Id: I026bb7463e7a73419dbaf79950d579ba05d04ea8
ndroid/internal/view/menu/ActionMenuItemView.java
9f6b16a29b62f29496bc652cfec7d6fe9f08c7f4 03-Aug-2010 Chris Tate <ctate@android.com> am 5d46ce24: Merge "Enhanced VelocityTracker for > 5 pointers and fixed bugs." into gingerbread

Merge commit '5d46ce24cc46dc57d31f809302af916999114ced' into gingerbread-plus-aosp

* commit '5d46ce24cc46dc57d31f809302af916999114ced':
Enhanced VelocityTracker for > 5 pointers and fixed bugs.
a8a72c38fec3879f5d346840b0d186d5903931b8 01-Aug-2010 Jeff Sharkey <jsharkey@android.com> Populate accessibility field on ActionBar items.

When building an ActionMenuItemView, set the content description based
on the item title. Fixes http://b/2885106

Change-Id: I101bbc6db7080ce08eed1bbb401c45329da2ab53
ndroid/internal/view/menu/ActionMenuItemView.java
9168f0b170c6a99371ae46e7d3f5d66c8c4c930d 03-Aug-2010 Adam Powell <adamp@google.com> Add ActionMode#getMenuInflater() for easier menu inflation in
ActionMode.Callback implementations

Change-Id: If9e7ab0d65598bab537add6c6a452a55c093064f
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
8350f7dbc3a62211b2891f35911e4073d24c4cc5 28-Jul-2010 Adam Powell <adamp@google.com> Added CHOICE_MODE_MULTIPLE_MODAL to ListView.

Based on ActionModes, CHOICE_MODE_MULTIPLE_MODAL supports the new
Honeycomb-style selection mode.

Change-Id: I293ea22487db8e081c95e5236f1e053f7dd4ada6
ndroid/internal/widget/ActionBarContextView.java
9e2ad36be87f2703b3d737189944d82f93bd4f27 31-Jul-2010 Jeff Brown <jeffbrown@google.com> Enhanced VelocityTracker for > 5 pointers and fixed bugs.

Improved PointerLocation tool to use VelocityTracker more efficiently
and correctly when multiple pointers are down.

Fixed a bug in TouchInputMapper where it was not correctly copying
the id to index map in the last touch data. This could cause strange
behavior on secondary pointer up events.

Also added finished callback pooling in InputQueue.

Change-Id: Ia85e52ac2fb7350960ea1d7edfbe81a1b3e8267b
ndroid/internal/widget/PointerLocationView.java
15d6184be7cd8dc3c0f6b8f703d4d5c30cab2b7b 29-Jul-2010 Romain Guy <romainguy@android.com> am ff74e22b: am ce3ac5f0: Merge "Corrected buffer overflow when parsing /proc/wakelocks"

Merge commit 'ff74e22b59f8157580953fcd69e3c32aa8f68eb2'

* commit 'ff74e22b59f8157580953fcd69e3c32aa8f68eb2':
Corrected buffer overflow when parsing /proc/wakelocks
ff74e22b59f8157580953fcd69e3c32aa8f68eb2 29-Jul-2010 Romain Guy <romainguy@android.com> am ce3ac5f0: Merge "Corrected buffer overflow when parsing /proc/wakelocks"

Merge commit 'ce3ac5f02970fcab91e16ecb573931d209b1985c' into gingerbread-plus-aosp

* commit 'ce3ac5f02970fcab91e16ecb573931d209b1985c':
Corrected buffer overflow when parsing /proc/wakelocks
ce3ac5f02970fcab91e16ecb573931d209b1985c 29-Jul-2010 Romain Guy <romainguy@android.com> Merge "Corrected buffer overflow when parsing /proc/wakelocks"
a66c7b04567a584d73bc4dba2711f5d815e4932d 29-Jul-2010 Adam Powell <adamp@google.com> Add support for setting action bar title/subtitle by resource ID

Change-Id: I91b6f56bd3736fd7cc8b82cbbf0b7be2e1c718e5
ndroid/internal/app/ActionBarImpl.java
c9ae2a24dc1fa274ca0916c91a2e9a2764ba4bb3 28-Jul-2010 Adam Powell <adamp@google.com> Add support for setting action mode titles/subtitles by resource ID

Change-Id: Ia0d5234cc16f325eeb29127fb87e2616d67379ec
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
03a545e5edcd99985d672fba40110d054397d02c 28-Jul-2010 Mike Lockwood <lockwood@android.com> Merge changes I00d6980a,I814221b4,Id88603a5

* changes:
CameraBrowser: Launch itself when a camera is attached to USB.
Send Intents when PTP compatible devices are connected/disconnected to USB
Give system server permission to access USB.
5d27977f9da482627ceb19317a2cd70467aff046 28-Jul-2010 Adam Powell <adamp@google.com> Action modes without action bar

Change-Id: I0367ab35e598a17980bd373b30828175f6283acc
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/view/StandaloneActionMode.java
ndroid/internal/widget/ActionBarContextView.java
037a086b164c376d8c428a2a584a3460bf82590f 28-Jul-2010 Mike Lockwood <lockwood@android.com> Give system server permission to access USB.

Change-Id: Id88603a5555b37b437f5333acf78dac3c5ffbce3
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/os/ZygoteInit.java
6e34636749217654f43221885afb7a29bb5ca96a 23-Jul-2010 Adam Powell <adamp@google.com> Moved context modes into view, renamed to action modes

ContextualMode renamed to ActionMode. Adds a reference to the action
bar and reduces confusion around things named "Context".

Change-Id: Ia5098b1d0799a0ece0810c34e6696eda039fb005
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContextView.java
9765211b9031776b9bcdd64e141de11f50902599 26-Jul-2010 Mike Lockwood <lockwood@android.com> am 64f04a64: am 70736a6d: Merge "Avoid starting multiple threads in ShutdownThread" into gingerbread

Merge commit '64f04a645ea4fd81cfb41fba23d9ba9e1279d416'

* commit '64f04a645ea4fd81cfb41fba23d9ba9e1279d416':
Avoid starting multiple threads in ShutdownThread
48b9cbb046d7fc546e5e4c08f772ddb8ef528ed3 26-Jul-2010 Dianne Hackborn <hackbod@google.com> am 443d884e: am 3bee5af8: Battery stats: start removing last stats, keep total discharge.

Merge commit '443d884e16fad2e01a97aa788d4b30de53c94048'

* commit '443d884e16fad2e01a97aa788d4b30de53c94048':
Battery stats: start removing last stats, keep total discharge.
bf23832accebcb4b8f7824842089b6b409a4c4dd 26-Jul-2010 Mathias Agopian <mathias@google.com> am fed3c364: am eab07e5c: Merge "Report sensor events to BatteryStats service" into gingerbread

Merge commit 'fed3c364e6fc6acc5e5836bd1370c3c278f8a248'

* commit 'fed3c364e6fc6acc5e5836bd1370c3c278f8a248':
Report sensor events to BatteryStats service
64f04a645ea4fd81cfb41fba23d9ba9e1279d416 26-Jul-2010 Mike Lockwood <lockwood@android.com> am 70736a6d: Merge "Avoid starting multiple threads in ShutdownThread" into gingerbread

Merge commit '70736a6d92767258543bb03ac22a705535d86341' into gingerbread-plus-aosp

* commit '70736a6d92767258543bb03ac22a705535d86341':
Avoid starting multiple threads in ShutdownThread
443d884e16fad2e01a97aa788d4b30de53c94048 26-Jul-2010 Dianne Hackborn <hackbod@google.com> am 3bee5af8: Battery stats: start removing last stats, keep total discharge.

Merge commit '3bee5af8162c177f8c8f4199489a401058ab26a9' into gingerbread-plus-aosp

* commit '3bee5af8162c177f8c8f4199489a401058ab26a9':
Battery stats: start removing last stats, keep total discharge.
fed3c364e6fc6acc5e5836bd1370c3c278f8a248 26-Jul-2010 Mathias Agopian <mathias@google.com> am eab07e5c: Merge "Report sensor events to BatteryStats service" into gingerbread

Merge commit 'eab07e5c1d48d45f76ac2dd4a45c8a3457aa290d' into gingerbread-plus-aosp

* commit 'eab07e5c1d48d45f76ac2dd4a45c8a3457aa290d':
Report sensor events to BatteryStats service
d67b236497d87223e8373d96c274c97cfbcab0cb 26-Jul-2010 Mike Lockwood <lockwood@android.com> Avoid starting multiple threads in ShutdownThread

The previous code allowed this to happen if a second call to shutdown
happened while the dialog was being displayed.

BUG: 2563243

Change-Id: I93adc4ef316917a79002d580b17eda0dc354704c
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/app/ShutdownThread.java
3bee5af8162c177f8c8f4199489a401058ab26a9 23-Jul-2010 Dianne Hackborn <hackbod@google.com> Battery stats: start removing last stats, keep total discharge.

Change-Id: I59c4bcbb9893adb237017add76b83c22153f94ef
ndroid/internal/os/BatteryStatsImpl.java
32123fde1b82fc7f5d04f35e2b972364d4352ec9 23-Jul-2010 Mathias Agopian <mathias@google.com> Report sensor events to BatteryStats service

Change-Id: I9b83aa709887aa658bc474391573f2d45b6c4eb2
ndroid/internal/app/IBatteryStats.aidl
93b6bc3d15180d3ff88fe769375717043b283e64 22-Jul-2010 Adam Powell <adamp@google.com> Make finish() a no-op on a context mode that is not active.

Change-Id: I2b3b304b7371a76ce67dcf197eaea2e77904399b
ndroid/internal/app/ActionBarImpl.java
2175f1370cbdd73c589b8e99ecfd07c38dffc690 21-Jul-2010 Adam Powell <adamp@google.com> Rename callback methods for contextual modes to match recent refactoring.

Change-Id: I9403f0c728143cd075827f21270b5468abc5271b
ndroid/internal/app/ActionBarImpl.java
71cbae81b05c7fff8e27d54168c24e38693ff2f3 21-Jul-2010 Adam Powell <adamp@google.com> Merge "Fix bug 2859423 - action bar: need a way to choose item in spinner"
178097727fab0f41810b1ffd4baf84ff8ed32c42 21-Jul-2010 Adam Powell <adamp@google.com> Fix bug 2859423 - action bar: need a way to choose item in spinner

Change-Id: Idf9c222e5d8f27b4339a6df7d14f3f10dcb4be2c
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
b1b5a1ab93d487e1d7eb209b263231c17b770fd1 21-Jul-2010 Tom Taylor <tomtaylor@google.com> am aa0f5550: am 92010ff5: am dbac180d: Fix a merge problem with html mms

Merge commit 'aa0f5550cbfe713d5a08e25b734b6b976ca1a127'

* commit 'aa0f5550cbfe713d5a08e25b734b6b976ca1a127':
Fix a merge problem with html mms
aa0f5550cbfe713d5a08e25b734b6b976ca1a127 21-Jul-2010 Tom Taylor <tomtaylor@google.com> am 92010ff5: am dbac180d: Fix a merge problem with html mms

Merge commit '92010ff5cf014c0ff73ee4ad4bb169dd916a15a9' into gingerbread-plus-aosp

* commit '92010ff5cf014c0ff73ee4ad4bb169dd916a15a9':
Fix a merge problem with html mms
92010ff5cf014c0ff73ee4ad4bb169dd916a15a9 21-Jul-2010 Tom Taylor <tomtaylor@google.com> am dbac180d: Fix a merge problem with html mms

Merge commit 'dbac180d8342a7db2bb9994f937869eecb6b50ff' into gingerbread

* commit 'dbac180d8342a7db2bb9994f937869eecb6b50ff':
Fix a merge problem with html mms
dbac180d8342a7db2bb9994f937869eecb6b50ff 21-Jul-2010 Tom Taylor <tomtaylor@google.com> Fix a merge problem with html mms

Html mms message support was added back in Jan '10. At that time, we
had moved the mms code out of the framework into the mms app. We decided
to back out that change and leave the mms code in its original place.
As a result, the changes to support html messages were lost. This
handmerged CL restores those changes. I'll cherry-pick this into master
as well. Bug 2858888

Change-Id: Icf8835edc8ac396698c167be5433a6fe1cfe6103
oogle/android/mms/ContentType.java
oogle/android/mms/pdu/PduParser.java
oogle/android/mms/pdu/PduPersister.java
ac695c608ba620e2362f57126d7be453cf5b7e1b 21-Jul-2010 Adam Powell <adamp@google.com> Refactored contextual modes out of action bar.

Change-Id: I1fc1c9383e5ee90f135b92a5afa8eadbf1c13d20
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContextView.java
269b8bb0cbd78969450ea9ab255232d047580210 21-Jul-2010 Adam Powell <adamp@google.com> Fix a bug with closing action bar context modes

Change-Id: I4f11549664f11cdc02d135288e05459007dbf0c8
ndroid/internal/widget/ActionBarContextView.java
b366bbae2b5a3009893ef64246e3430cea4b7736 20-Jul-2010 Adam Powell <adamp@google.com> Make sure action bar context modes reserve space for overflow menus on all devices.

Change-Id: I393f041efef3852b7f3ee57c6a4c26ba176b2702
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/widget/ActionBarContextView.java
2c9c9fe806e51f29276e66b8ba40cb4b7a80c3f4 16-Jul-2010 Adam Powell <adamp@google.com> Action bar context mode support for overflow, submenus

Change-Id: I951ae179698b08b6aba5b174b3d47f0cf847352e
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContextView.java
ca48433afc9fab2a8c0b9913bcf3f525d75ed97f 20-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I1901177e8a4bd32a707020c581f25f21349ba571
798e2d3d0c80e269ead1489dbc3f2f762f1e52b5 17-Jun-2010 Christian Mehlmauer <FireFart@gmail.com> Replaced /sdcard with Environment.getExternalStorageDirectory()

Change-Id: Id789f44a8569e307b1b7ab15eb266c9ce7ef2029
ndroid/internal/os/SamplingProfilerIntegration.java
dcdefbbff2bfecbfeb7b6459de130f376595c590 20-Jul-2010 Adam Powell <adamp@google.com> Fix bug 2852909 - screen density for contextual action bar

Change-Id: I9e3d8fe4e6f5eb0282cc103a98ed60ca2911c91e
ndroid/internal/widget/ActionBarContextView.java
499cb9f516062b654952d282f211bee44c31a3c2 16-Jul-2010 Winson Chung <winsonc@google.com> Initial changes to allow collections in widgets.

Change-Id: I3cfa899bae88cd252912cecebc12e93c27a3b7c9
ndroid/internal/appwidget/IAppWidgetHost.aidl
ndroid/internal/appwidget/IAppWidgetService.aidl
ndroid/internal/widget/IRemoteViewsFactory.aidl
8028dd32a4a04154050220dd0693583d5b750330 15-Jul-2010 Adam Powell <adamp@google.com> Overflow menu for action bars.

The overflow menu replaces the normal options menu panel for
activities with an action bar. It always appears as the rightmost
action button and is displayed as a dropdown menu. The menu key
summons and dismisses the overflow menu instead of the options panel
where applicable.

Change-Id: I0b4fa7e36f35ab12e2f0c1d12bec79ccab8cc4b1
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/IconMenuView.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuPopupHelper.java
ndroid/internal/widget/ActionBarView.java
94919a170fab66e7903bea0c10093234e5e6cd37 16-Jul-2010 Kenny Root <kroot@google.com> am f97b21b5: am bd623daf: Undo IMediaContainerService changes

Merge commit 'f97b21b54e2e35fdfcc8614dedd8692d5a535a5e'

* commit 'f97b21b54e2e35fdfcc8614dedd8692d5a535a5e':
Undo IMediaContainerService changes
fb4e1e24a93c7e6bc0fcdb3f5cfadfbc19503cd8 16-Jul-2010 Kenny Root <kroot@google.com> resolved conflicts for merge of 181bb0ab to master

Change-Id: I2284e7c671d127da0d124fbabae8d887727fd5bf
b75fa30aaf03d9e425d150b452501e5df0621351 16-Jul-2010 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of aca672ba to master

Change-Id: I7ae11fca0acdbf513a4870226d0d3e3cafbe9a08
f97b21b54e2e35fdfcc8614dedd8692d5a535a5e 16-Jul-2010 Kenny Root <kroot@google.com> am bd623daf: Undo IMediaContainerService changes

Merge commit 'bd623daff1f261a0e794f059d90ba5907eb5a89a' into gingerbread-plus-aosp

* commit 'bd623daff1f261a0e794f059d90ba5907eb5a89a':
Undo IMediaContainerService changes
bd623daff1f261a0e794f059d90ba5907eb5a89a 16-Jul-2010 Kenny Root <kroot@google.com> Undo IMediaContainerService changes

These should be in the next commit and not the previous one.

Change-Id: I8d13fecf3b978ae2e796dc6e10ef3f969b27a0f4
ndroid/internal/app/IMediaContainerService.aidl
181bb0ab461b1c8a6bf608f19c136fc0bbee7a3d 16-Jul-2010 Kenny Root <kroot@google.com> am 02c8730c: Add API to call to vold for mounting OBBs

Merge commit '02c8730c1bf19daf48bec8c6995df676a00a73b1' into gingerbread-plus-aosp

* commit '02c8730c1bf19daf48bec8c6995df676a00a73b1':
Add API to call to vold for mounting OBBs
02c8730c1bf19daf48bec8c6995df676a00a73b1 01-Jul-2010 Kenny Root <kroot@google.com> Add API to call to vold for mounting OBBs

* Unhide StorageService class; hide all the USB-related items

* Add application-visible API to StorageManager for OBB files

* Add class for parceling OBB info across binders (ObbInfo)

* Add a JNI glue class to libutils/ObbFile (ObbScanner)

* Add API to MountService to deal with calling into vold and checking
permissions

Change-Id: I33ecf9606b8ff535f3a2ada83931da6bbef41cfd
ndroid/internal/app/IMediaContainerService.aidl
aca672ba2eea19420df16906851d56077a3fd3b2 16-Jul-2010 Jeff Brown <jeffbrown@google.com> am c5ed5910: Add support for new input sources.

Merge commit 'c5ed5910c9ef066cec6a13bbb404ec57b1e92637' into gingerbread-plus-aosp

* commit 'c5ed5910c9ef066cec6a13bbb404ec57b1e92637':
Add support for new input sources.
c5ed5910c9ef066cec6a13bbb404ec57b1e92637 15-Jul-2010 Jeff Brown <jeffbrown@google.com> Add support for new input sources.

Added several new coordinate values to MotionEvents to capture
touch major/minor area, tool major/minor area and orientation.

Renamed NDK input constants per convention.

Added InputDevice class in Java which will eventually provide
useful information about available input devices.

Added APIs for manufacturing new MotionEvent objects with multiple
pointers and all necessary coordinate data.

Fixed a bug in the input dispatcher where it could get stuck with
a pointer down forever.

Fixed a bug in the WindowManager where the input window list could
end up containing stale removed windows.

Fixed a bug in the WindowManager where the input channel was being
removed only after the final animation transition had taken place
which caused spurious WINDOW DIED log messages to be printed.

Change-Id: Ie55084da319b20aad29b28a0499b8dd98bb5da68
ndroid/internal/view/BaseInputHandler.java
29ed7575c2129974a57ad77b3531bc5995940c6c 15-Jul-2010 Adam Powell <adamp@google.com> Bug 2841148 - Add accessors for action bar context mode state.

Change-Id: I04f3efce5a692b346756cc80c8d15f3abba10558
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContextView.java
1f5dddc85c07169b19846d454e0797b791299e3d 14-Jul-2010 Adam Powell <adamp@google.com> Merge "Fix bug 2835056 - ActionBar doesn't update title properly when set in onCreate"
e92ea3474de7998a016b48bab4e9a4bbafd5b549 14-Jul-2010 Adam Powell <adamp@google.com> Fix bug 2835056 - ActionBar doesn't update title properly when set in onCreate

Change-Id: I593315db8df0190c2702a87ebef293e5f798823d
ndroid/internal/widget/ActionBarView.java
3461b32a1c1fc844cdf5c9586dbadb354f449980 14-Jul-2010 Adam Powell <adamp@google.com> Fix bug 2838426 - timing issue with starting/finishing action bar context modes

Change-Id: Ie29b0bea96be02675a2104f07c912700c2823abc
ndroid/internal/app/ActionBarImpl.java
2388ad9eef109fa7f63c196c819c83f0376f0645 14-Jul-2010 Dianne Hackborn <hackbod@google.com> am f8d9379b: am d76b67c3: IME events are now dispatched to native applications.

Merge commit 'f8d9379bd834573feca085284970cf686993c330'

* commit 'f8d9379bd834573feca085284970cf686993c330':
IME events are now dispatched to native applications.
f8d9379bd834573feca085284970cf686993c330 14-Jul-2010 Dianne Hackborn <hackbod@google.com> am d76b67c3: IME events are now dispatched to native applications.

Merge commit 'd76b67c340d1564abf8d14d976fdaf83bf2b3320' into gingerbread-plus-aosp

* commit 'd76b67c340d1564abf8d14d976fdaf83bf2b3320':
IME events are now dispatched to native applications.
d76b67c340d1564abf8d14d976fdaf83bf2b3320 14-Jul-2010 Dianne Hackborn <hackbod@google.com> IME events are now dispatched to native applications.

And also:

- APIs to show and hide the IME, and control its interaction with the app.
- APIs to tell the app when its window resizes and needs to be redrawn.
- API to tell the app the content rectangle of its window (to layout
around the IME or status bar).

There is still a problem with IME interaction -- we need a way for the
app to deliver events to the IME before it handles them, so that for
example the back key will close the IME instead of finishing the app.

Change-Id: I37b75fc2ec533750ef36ca3aedd2f0cc0b5813cd
ndroid/internal/view/RootViewSurfaceTaker.java
4267534d1c42af847ed0cefd1c88c99f66b36571 10-Jul-2010 Adam Powell <adamp@google.com> Action Bar now supports submenus as popups.

Change-Id: I1691c16081b3474ed6d6e406f91f5f74a2dc8fcb
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/view/menu/MenuPopupHelper.java
72c37ff17ad04a199cceb41dec3d1c003fa17c89 13-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am 10dde211: merge from open-source master

Merge commit '10dde211457417aa1392cc3a5457728c84ed0d2f'

* commit '10dde211457417aa1392cc3a5457728c84ed0d2f':
Remove top panel in alert dialog if empty.
10dde211457417aa1392cc3a5457728c84ed0d2f 13-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Id2ad46118e0ca957b65b911c52d7bbcf2a4649a2
e74e7e2a088cc9077e4ee98e01a48bb52e9cfd50 22-Jun-2010 Martin Sjolin <martin.sjolin@sonyericsson.com> Remove top panel in alert dialog if empty.

Remove the topPanel in the alert dialog if it is empty and
therefore invisible. This gives the dialog content more space, and it
makes dialog positioning on the screen correct.

Change-Id: I8ffd9bd9b2360b0ad4338c32c21ab69c055d66a0
ndroid/internal/app/AlertController.java
1a33274d28a3174b9062ae0dcce77bf1d68cd463 09-Jul-2010 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of 167449e5 to master

Change-Id: Ib448e69a726eb45b5c9099d2574e40b8345eee67
661c908e4e26c99adc2cab7558a02129eaee059d 02-Jul-2010 Adam Powell <adamp@google.com> ActionBar tab mode using fragments; needs styles.

Change-Id: I8f931dae447e7b64de827d3c17766e5f8ad794e2
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarView.java
167449e5f810a49741133de375eea1006f7218c0 08-Jul-2010 Chris Tate <ctate@android.com> am b17f4dcf: Merge "More native input dispatch work." into gingerbread

Merge commit 'b17f4dcfb3edba25bd8c30e60449b9bbcd600a57' into gingerbread-plus-aosp

* commit 'b17f4dcfb3edba25bd8c30e60449b9bbcd600a57':
More native input dispatch work.
00fa7bdd69f0868fd17ea7c881c771d785b2fbbd 03-Jul-2010 Jeff Brown <jeffbrown@google.com> More native input dispatch work.

Removed old input dispatch code.
Refactored the policy callbacks.
Pushed a tiny bit of the power manager state down to native.
Fixed long press on MENU.
Made the virtual key detection and cancelation a bit more precise.

Change-Id: I5d8c1062f7ea0ab3b54c6fadb058c4d5f5a9e02e
ndroid/internal/view/BaseIWindow.java
3372f2e259247810627fd22033406163284f4f64 30-Jun-2010 Johannes Carlsson <johannes.carlsson.x@sonyericsson.com> Corrected buffer overflow when parsing /proc/wakelocks

The android_os_Process_parseProcLineArray in android_util_Process.cpp
writes up to buffer[endIndex]. This sometimes caused an assert to be
triggered in NewStringUTF when the output from /proc/wakelocks was
larger than 4096 bytes. The buffer was also increased in order to be
able to parse all wakelocks completely.

Change-Id: Idf8e66d61ad979377569048f59c3eee278b146db
ndroid/internal/os/BatteryStatsImpl.java
2cc2c75dccc08ecbffb44a47463df9a139e2786e 01-Jul-2010 Amith Yamasani <yamasani@google.com> am c7dacb73: Merge "DO NOT MERGE: Add a battery capacity value to the power profile." into gingerbread

Merge commit 'c7dacb7374e04c003b0764e7c348765b629c18cb' into gingerbread-plus-aosp

* commit 'c7dacb7374e04c003b0764e7c348765b629c18cb':
DO NOT MERGE: Add a battery capacity value to the power profile.
169741b70880607701d704262dd9b386fcfd083d 27-May-2010 Amith Yamasani <yamasani@google.com> DO NOT MERGE: Add a battery capacity value to the power profile.

Can be accessed through PowerProfile.getBatteryCapacity()

Individual device profiles need to be updated with their capacities.

(merged from master)

Change-Id: Ie76ab6de47c44807a46934331665e077a7226566
ndroid/internal/os/PowerProfile.java
adfb59907a191773a6666b79bf9d591ff53ab6b1 01-Jul-2010 satok <satok@google.com> Merge "Remove EditStyledText from the framekwork"
fa57523b60dd335a227bff7fbddbf05ab0755b5d 01-Jul-2010 satok <satok@google.com> Remove EditStyledText from the framekwork

Change-Id: Idad87a61b0a64c9ba0a70a2d576188ad5e560cb7
ndroid/internal/widget/EditStyledText.java
a7db03705f53c59e63e63c2e67e2db78f8226dcc 01-Jul-2010 Adam Powell <adamp@google.com> Define measuring behavior for action bar/context mode custom views

Change-Id: Idbe25c81a16005f153d5b425fb366eef4bea290f
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
0e94b5151d817e600a888448a662208b29b5ef46 30-Jun-2010 Adam Powell <adamp@google.com> Add subtitles for action bars and context modes.

Fix an issue where context mode content was cleared before animating out.

Change-Id: Ie7a065e65bc18e3da32de07543d0f71d2a2d648c
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
89e0645b4157961e8c465eb9c819f965fdb453d8 24-Jun-2010 Adam Powell <adamp@google.com> Added context modes to ActionBar API.

Change-Id: I7c3e782cbf01be7bc671b377fb4d706040888833
ndroid/internal/app/ActionBarImpl.java
ndroid/internal/app/SplitActionBar.java
ndroid/internal/view/menu/ActionMenuItem.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/widget/ActionBarContextView.java
ndroid/internal/widget/ActionBarView.java
96e6bdb033b2997a4215b70acc3777fe495b9aca 25-Jun-2010 Irfan Sheriff <isheriff@google.com> Add obtainMessage functions to HSM

Change-Id: Idc907f429cf15e61ad461af95fdc245fd5aca23f
ndroid/internal/util/HierarchicalStateMachine.java
8bb998d52c118d361390af89b14dd67a4563509a 25-Jun-2010 Dianne Hackborn <hackbod@google.com> am ea8eafad: am 2529a453: Merge "Make bad notifications crash their application." into gingerbread

Merge commit 'ea8eafad4f5438ec1291d45376959a996d36e15e'

* commit 'ea8eafad4f5438ec1291d45376959a996d36e15e':
Make bad notifications crash their application.
ea8eafad4f5438ec1291d45376959a996d36e15e 25-Jun-2010 Dianne Hackborn <hackbod@google.com> am 2529a453: Merge "Make bad notifications crash their application." into gingerbread

Merge commit '2529a45339b7e02d9d2b813358bcecd144a971ea' into gingerbread-plus-aosp

* commit '2529a45339b7e02d9d2b813358bcecd144a971ea':
Make bad notifications crash their application.
9d39d0cb361c5d3bba04a6bacf299be2162a6e92 25-Jun-2010 Dianne Hackborn <hackbod@google.com> Make bad notifications crash their application.

Implement notification manager handling of bad notifications, to
call a new activity manager to have the owner's process crashed
(if there is one).

Change-Id: Ib15e8d0c598756f3b39c99cc2045c18e054daf6b
ndroid/internal/statusbar/IStatusBarService.aidl
ndroid/internal/statusbar/StatusBarNotification.java
f92f8686f982c62a609a2087383a77a24d126992 23-Jun-2010 Dianne Hackborn <hackbod@google.com> am 98f7aed6: am 1e4b9f39: Remove InputConsumer, replacing with InputQueue.

Merge commit '98f7aed66b54c365f816fe990de978f61155cde1'

* commit '98f7aed66b54c365f816fe990de978f61155cde1':
Remove InputConsumer, replacing with InputQueue.
98f7aed66b54c365f816fe990de978f61155cde1 23-Jun-2010 Dianne Hackborn <hackbod@google.com> am 1e4b9f39: Remove InputConsumer, replacing with InputQueue.

Merge commit '1e4b9f3936d6f357e89360293e05a0e16d5fa440' into gingerbread-plus-aosp

* commit '1e4b9f3936d6f357e89360293e05a0e16d5fa440':
Remove InputConsumer, replacing with InputQueue.
1e4b9f3936d6f357e89360293e05a0e16d5fa440 23-Jun-2010 Dianne Hackborn <hackbod@google.com> Remove InputConsumer, replacing with InputQueue.

Change-Id: Ib06907278457aaee842b123adc072840ca3602d8
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/view/RootViewSurfaceTaker.java
320742b15a710ede57862eee170945da26ef0172 23-Jun-2010 Dianne Hackborn <hackbod@google.com> am e3e2883f: am e24a60aa: Merge "First stab at attaching native event dispatching." into gingerbread

Merge commit 'e3e2883f2232007174ead562610eb01201890d9b'

* commit 'e3e2883f2232007174ead562610eb01201890d9b':
First stab at attaching native event dispatching.
e3e2883f2232007174ead562610eb01201890d9b 22-Jun-2010 Dianne Hackborn <hackbod@google.com> am e24a60aa: Merge "First stab at attaching native event dispatching." into gingerbread

Merge commit 'e24a60aa4670fb835772b23ff665bb368fa65e30' into gingerbread-plus-aosp

* commit 'e24a60aa4670fb835772b23ff665bb368fa65e30':
First stab at attaching native event dispatching.
a95e4cb62f3642cb190d032dbf7dc40d9ecc6973 19-Jun-2010 Dianne Hackborn <hackbod@google.com> First stab at attaching native event dispatching.

Provides the basic infrastructure for a
NativeActivity's native code to get an object representing
its event stream that can be used to read input events.

Still work to do, probably some API changes, and reasonable
default key handling (so that for example back will still
work).

Change-Id: I6db891bc35dc9683181d7708eaed552b955a077e
ndroid/internal/view/RootViewSurfaceTaker.java
2c63fe44f48cde663c3f9d5373ec93f7dd96f6f8 03-Jun-2010 Daniel Lehmann <lehmannd@google.com> Remove ContactHeaderWidget, because it lives directly in the Contacts App from now on

Change-Id: I1d3646f2744e01a1e64db8787b4cd7dd746d540e
ndroid/internal/widget/ContactHeaderWidget.java
7ade1be822ed05a143b059319dccd5e9f623b56d 17-Jun-2010 Adam Powell <adamp@google.com> Action bar button layout changes.

Theme attribute added for spacing between action buttons. Action
buttons are now allowed to fill up to half of the total action bar's
width.

Change-Id: Iabbc67e695684529dfae9681d4d9580cd30839d0
ndroid/internal/view/menu/ActionMenuView.java
96675b1df3969f2d313b68f60ed9fa36805db8ce 11-Jun-2010 Adam Powell <adamp@google.com> Merging ActionBar menu with options menu.

Options menu items may now specify if they would like to appear in the
action bar. Menu items defined in xml may set the showAsAction
attribute to one of "never"(default), "ifRoom", or "always". Action
buttons are populated as follows:

* All showAsAction="always" items become action buttons, even if it
would crowd the navigation area of the action bar.

* If there is space remaining, showAsAction="ifRoom" items are added
until no more will fit comfortably.

Action button click events are now handled by the
onOptionsItemSelected method used by the standard options menu.

The construction of options menus now happens earlier in order to
provide data to the action bar. Activities with an action bar can now
expect to have onCreateOptionsMenu called when activity start-up is
complete.

Activity#invalidateOptionsMenu can be used to force a refresh of menu
items where the previous API would use ActionBar#updateActionMenu.

Change-Id: If52ddf1cf9f6926206bcdeadf42072ea2c24fab9
ndroid/internal/app/SplitActionBar.java
ndroid/internal/view/menu/ActionMenuItemView.java
ndroid/internal/view/menu/ActionMenuView.java
ndroid/internal/view/menu/IconMenuView.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuItemImpl.java
e2e97ce1161e5bf89ef8b5ce6a12be0f16dea23e 17-Jun-2010 Dianne Hackborn <hackbod@google.com> am 9a1034aa: am 6b7b4845: Various improvements to battery stats collection

Merge commit '9a1034aa9746b94ecb659ea849765a160bdf747e'

* commit '9a1034aa9746b94ecb659ea849765a160bdf747e':
Various improvements to battery stats collection
9a1034aa9746b94ecb659ea849765a160bdf747e 17-Jun-2010 Dianne Hackborn <hackbod@google.com> am 6b7b4845: Various improvements to battery stats collection

Merge commit '6b7b4845212b3a439c527f2e1eca205b6b45fceb' into gingerbread-plus-aosp

* commit '6b7b4845212b3a439c527f2e1eca205b6b45fceb':
Various improvements to battery stats collection
6b7b4845212b3a439c527f2e1eca205b6b45fceb 15-Jun-2010 Dianne Hackborn <hackbod@google.com> Various improvements to battery stats collection

We now clear the battery stats when unplugging after the
battery is full. This allows us to use the "total" stats as
a new "since last charged" stat. Total is gone. I never used
it, it was worthless. Since last charged is a lot more
interesting.

The battery history now collects a lot more stats, and keeps
control over how much it can collect. Printing is now more
descriptive.

The kinds of stats have been renamed to SINCE_UNPLUGGED and
SINCE_DISCHARGED. The other two stats are still there, but
no longer printed; a future change will eliminate them
completely along with all of their state.

Change-Id: I4e9fcfcf8c30510092c76a8594f6021e9502fbc1
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
bde75706592c77379fb6546283e733abaca6fe04 28-May-2010 Sen Hu <senhu@google.com> wire up sampling profiler to dropbox

When system property "persist.sys.profiler_hz" > 0, SamplingProfilerService is
loaded to SystemServer. It creates a FileObserver, watching any new file in the snapshot
directory. When a snapshot is found, it is put in dropbox and deleted after that.

SamplingProfilerIntegration writes snapshots with headers. Headers are <name, value> pairs,
instantiated by caller.

Currently header format is (also in source comment):

Version: <version number of profiler>\n
Process: <process name>\n
Package: <package name, if exists>\n
Package-Version: <version number of the package, if exists>\n
Build: <fingerprint>\n
\n
<the actual snapshot content begins here...>

BUG=2732642

Change-Id: I2c1699f1728e603de13dbd38f9d8443cd3eecc06
ndroid/internal/os/SamplingProfilerIntegration.java
e377032899fd7a9f88ad1313847e77c098b9f248 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> am 864c68ea: merge from froyo-plus-aosp

Merge commit '864c68ea452baa0f4f298faf2155af45a9b6d60c'

* commit '864c68ea452baa0f4f298faf2155af45a9b6d60c':
Added an addAll to the ArrayAdapter
WLAN: Reset power save mode to startup value after DHCP response.
Add PageUp and PageDown hot keys
Should accept "application/vnd.wap.multipart.alternative" message.
replaced deprecated getIntent with parseURI
864c68ea452baa0f4f298faf2155af45a9b6d60c 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from froyo-plus-aosp

Change-Id: I9cede57e10df9d6ba411b2960a77d7b9b60a1489
ea1647aff1e5a2b132673fbbba0a1e443b22f9d3 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I5d19eb677dcfc7b73919d659fafb29fb85dc7f47
8e03b7566c42621fda01186b66b019142eb84fbf 14-Jun-2010 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of 9e660c82 to master

Change-Id: Ic4bd85cbaa5b9a10dcb474a0dad46490bf967e43
46b9ac0ae2162309774a7478cd9d4e578747bfc2 23-Apr-2010 Jeff Brown <jeffbrown@google.com> Native input dispatch rewrite work in progress.

The old dispatch mechanism has been left in place and continues to
be used by default for now. To enable native input dispatch,
edit the ENABLE_NATIVE_DISPATCH constant in WindowManagerPolicy.

Includes part of the new input event NDK API. Some details TBD.

To wire up input dispatch, as the ViewRoot adds a window to the
window session it receives an InputChannel object as an output
argument. The InputChannel encapsulates the file descriptors for a
shared memory region and two pipe end-points. The ViewRoot then
provides the InputChannel to the InputQueue. Behind the
scenes, InputQueue simply attaches handlers to the native PollLoop object
that underlies the MessageQueue. This way MessageQueue doesn't need
to know anything about input dispatch per-se, it just exposes (in native
code) a PollLoop that other components can use to monitor file descriptor
state changes.

There can be zero or more targets for any given input event. Each
input target is specified by its input channel and some parameters
including flags, an X/Y coordinate offset, and the dispatch timeout.
An input target can request either synchronous dispatch (for foreground apps)
or asynchronous dispatch (fire-and-forget for wallpapers and "outside"
targets). Currently, finding the appropriate input targets for an event
requires a call back into the WindowManagerServer from native code.
In the future this will be refactored to avoid most of these callbacks
except as required to handle pending focus transitions.

End-to-end event dispatch mostly works!

To do: event injection, rate limiting, ANRs, testing, optimization, etc.

Change-Id: I8c36b2b9e0a2d27392040ecda0f51b636456de25
ndroid/internal/view/BaseInputHandler.java
cf0a99910cf87b148fe3143686262a8371d2dbc1 11-Jun-2010 Dianne Hackborn <hackbod@google.com> am 4d4f265e: am 9f8cc518: Merge "Adjust activity manager process OOM adj." into kraken

Merge commit '4d4f265e6b6ccfc239150bd71aa2ce2b8de6237f'

* commit '4d4f265e6b6ccfc239150bd71aa2ce2b8de6237f':
Adjust activity manager process OOM adj.
32907cfb38bda2d3c052cf5139c5b592678fedbb 11-Jun-2010 Dianne Hackborn <hackbod@google.com> Adjust activity manager process OOM adj.

Modify OOM adj classes a bit, to take into account the new
heavy weight app type, and give "foreground services" their
own category to have a bettery chance to manager them when
things go wrong.

Also add some new code to battery stats to keep a history
of changes to the battery level.

Change-Id: I29f5ab6938777e1a7eafd7d8c38b5e564cc9f96a
ndroid/internal/os/BatteryStatsImpl.java
b60c941811cc15ab34fcc2f038aba56f862659b8 11-Jun-2010 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of f37cbe6b to master

Change-Id: I529b17e55b9668f900f685f92e9831e14a82db05
438d0595121a7a2cdf19741e76e3c0e21a5c173d 10-Jun-2010 Brad Fitzpatrick <bradfitz@android.com> Introduce "StrictMode"

This is a new public API for developers to opt-in to strict rules
about what they're allowed to do on certain threads. (this is the
public face of the @hide dalvik.system.BlockGuard, added recently...)

In practice this will be used for developers to opt-in to declaring
that they don't want to be allowed to do various operations (such as
disk I/O or network operations) on their main UI threads. (these
operations are often accidental, or even when they are fast come with
a good chance of being slow or very slow in some cases....)

Implementation wise, this is just a thread-local integer that has a
bitmask of the things that aren't allowed, and more bits for saying
what the violation penalty is. The penalties, of which multiple can
be chosen, include:

* logging
* dropbox uploading for analysis/reporting
* annoying dialog
* full-on crashing

These are all only very roughly implemented at this point, but all
parts now minimally work end-to-end now, so this is a good checkpoint
commit before this gets too large.

Future CLs will polish all the above 4 penalties, including
checksumming of stacktraces and minimizing penalties for duplicate
violations.

Change-Id: Icbe61a2e950119519e7364030b10c3c28d243abe
ndroid/internal/os/RuntimeInit.java
8a5f10b30dae663eb01372490df3497e8a2ad56a 10-Jun-2010 Joe Onorato <joeo@android.com> resolved conflicts for merge of f7b79151 to master

Change-Id: Ia4538f73d8bade9e6565835d484dcb650830feca
f1f259165ffaa4095afbd50fea47ed091cbc14b3 07-Jun-2010 Joe Onorato <joeo@android.com> Call into the notification manager when the panel is revealed.

This lets it turn off the LED. However, it seems like somebody broke
the notification LEDs. GRRR.

Change-Id: I3f7066c2b2e1673dc0144a34cf59946351a647be
ndroid/internal/statusbar/IStatusBarService.aidl
8bc6c5141974dbc36a6fe416853f558921be9f24 04-Jun-2010 Joe Onorato <joeo@android.com> Require the STATUS_BAR_SERVICE permission for something to be the status bar.

Change-Id: I57b2d296e0d0cef0d256ae6697fffc47188d14df
ndroid/internal/statusbar/IStatusBarService.aidl
005847b03b2ebe3eb1a974a8a04ad51bca6636cd 04-Jun-2010 Joe Onorato <joeo@android.com> Handle errors inflating notifications (and their icons).

On an inflation error, the StatusBarService cleans up, removes / doesn't add
the views, and calls into the StatusBarManagerService, which tells the
NotificationManagerService to remove the notification.

That then calls all the way back into the StatusBarService, but I think being
extra careful is okay. Throughout the status bar, it's all keyed off of the
IBinder key, so if the app comes in with a good notification while we're
cleaning up, we won't lose the new notification or anything like that.

Change-Id: Iea78a637495a8b67810c214b951d5ddb93becacb
ndroid/internal/statusbar/IStatusBarService.aidl
14f1eb57db8c2b541a7e110cbf5a4eaf9cacc6b3 01-Jun-2010 takuo <kitame@gmail.com> Should accept "application/vnd.wap.multipart.alternative" message.

Unfortunately, PduParser does not allow application/vnd.wap.multipart.alternative as M-RETRIEVE.CONF but some Mobile carrier send message with this type.
This patch allows that and take the first part of multipart as message body.

It fixes http://code.google.com/p/android/issues/detail?id=8957

Change-Id: Ic93259c91331d1e67100439114b7c4f43a834368
oogle/android/mms/pdu/PduParser.java
c857740f242169f2ca7fd42f0d1268661b399ad6 05-Jun-2010 Konstantin Lopyrev <klopyrev@google.com> Adding support for minimum number of non letter characters.

Change-Id: If54cb7209d65eef826d474d7e0dbbef63d2f2b47
ndroid/internal/widget/LockPatternUtils.java
a408291e22def5755559f42cde913706a6d628c0 05-Jun-2010 Adam Powell <adamp@google.com> Dropdown mode for ActionBar; style and API updates
ndroid/internal/app/SplitActionBar.java
d0b15cecc63b03ca4e42549ed3a54ae2c7e31866 04-Jun-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of f3307ae8 to master

Change-Id: Ic59db363391f73343eba32894113914ceea5a963
860755faa6bdd3c2aeae49c05b87b5bc080ae60c 04-Jun-2010 Dianne Hackborn <hackbod@google.com> Add support for heavy-weight applications.

Only one can be running at a time, their process can not be killed,
and a notification is posted while it is running.

Change-Id: I843015723947e0c934ae63a1aeee139327c0bc01
ndroid/internal/app/HeavyWeightSwitcherActivity.java
f6aa6185a416bb6f74cd5054cdd970f3e02fa6d0 03-Jun-2010 Jesse Wilson <jessewilson@google.com> Merge "Preloaded class list problems shall no longer break the build."
e2417541b4c1c0954295dd77d6c95512f99a9f91 03-Jun-2010 Jesse Wilson <jessewilson@google.com> Preloaded class list problems shall no longer break the build.

This list is mechanically generated and its a waste of engineering
effort to manually edit this list when a class is deleted or renamed.

Change-Id: Ia8b6ae004678df2c5e2c268742c3a2d7c6a10db3
ndroid/internal/os/ZygoteInit.java
ac7ae9cc9118ad8e75011b7c94f05545f2cbe0e8 03-Jun-2010 Vasu Nori <vnori@google.com> Merge "add API to Cursor to get column value type"
33e2f07e55773099645576932c9b69cef1a419f5 03-Jun-2010 Joe Onorato <joeo@android.com> am 50515e44: am 75199e3d: Populate the notifications at startup of SystemUI.apk.
a417069c9ba6f70ee20444e83659ca19711a5863 03-Jun-2010 Joe Onorato <joeo@android.com> am 85676633: am 0e26dffd: updateNotifications works.
75f63a69add5fcec9c1fbd6ba8bf760a6674607f 03-Jun-2010 Joe Onorato <joeo@android.com> am bdcc172d: am aaba60b2: Notifications don\'t crash when you click them, and pass through events to NotificationManagerService
01cc0187953d26639843cd5048d47805687bd580 03-Jun-2010 Joe Onorato <joeo@android.com> am c3c2f605: am e345fff2: notifications show
cd55681a8786f3dcb741f81338facaaf14683974 03-Jun-2010 Joe Onorato <joeo@android.com> am 34504ffc: am a0c56fe9: Checkpoint. Doesn\'t build.
fb1bd96ffb0ecd9a4356356e6c2e05bdaa4bd77a 03-Jun-2010 Joe Onorato <joeo@android.com> am ef5ce59a: am 18e69dfc: Checkpoint. Data structures for Notifications in place.
37166e6d7e41d309e834f114096d8c876ab1a45d 03-Jun-2010 Joe Onorato <joeo@android.com> am ff97998a: am 4762c2d7: Add expand and collapse.
60a83af0488b5ebaffbdf70d5709eed0834a91f8 03-Jun-2010 Joe Onorato <joeo@android.com> am ee5d0caf: am f3f0e053: Make disable() work.
1655e7631c06402d0e94027cba3fadc146a42e35 03-Jun-2010 Joe Onorato <joeo@android.com> am 5581c500: am 514ad663: Set the visibility of the icons.
e635a6bcc12ddafdf921f564fd3ff374a6ad3ffd 03-Jun-2010 Joe Onorato <joeo@android.com> am 12cd606d: am 0cbda99f: The status bar draws its icons now.
8b0dd7da360d70920a37802eb455ba41500d3b45 18-May-2010 Vasu Nori <vnori@google.com> add API to Cursor to get column value type

Change-Id: I3ef1bcdb2eb1c45f68e829ccb6e3ecde28076591
ndroid/internal/database/SortCursor.java
75199e3ddcf7886c8ee5fbf8b486a8c21335bf14 29-May-2010 Joe Onorato <joeo@android.com> Populate the notifications at startup of SystemUI.apk.

Change-Id: Ie0b3fd9ed4bc9a012791372e6276f0b5908370a5
ndroid/internal/statusbar/IStatusBarService.aidl
ndroid/internal/statusbar/StatusBarNotificationList.java
0e26dffd6cfcb09b08a94a857b891fdef7fe2b1e 24-May-2010 Joe Onorato <joeo@android.com> updateNotifications works.

Change-Id: I924763a2d42ca1967719f3eb72c57d1cbb912dd7
ndroid/internal/statusbar/StatusBarIcon.java
ndroid/internal/statusbar/StatusBarNotification.java
aaba60b281713d45a0f232580302c7b54a7207df 23-May-2010 Joe Onorato <joeo@android.com> Notifications don't crash when you click them, and pass through events to NotificationManagerService

Change-Id: Iae4a636d3c6d5c617440b11eb5b8bc77838ad584
ndroid/internal/statusbar/IStatusBarService.aidl
e345fff2f80947b0a821f6674c197a02b7bff08e 23-May-2010 Joe Onorato <joeo@android.com> notifications show

Change-Id: I9240b803c643874828c95afcf1ba9ed91194dbc0
ndroid/internal/statusbar/StatusBarIcon.java
ndroid/internal/statusbar/StatusBarNotification.java
a0c56fe93925d20d9c0b830b9664699ce557e78c 20-May-2010 Joe Onorato <joeo@android.com> Checkpoint. Doesn't build.

Change-Id: I92e4d539ea71af9e22ced02cbdee7fbd456b7971
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/StatusBarNotification.aidl
ndroid/internal/statusbar/StatusBarNotification.java
ndroid/internal/statusbar/StatusBarNotificationList.java
18e69dfc7235f8a4bfe257f9d1c43539049a22ce 18-May-2010 Joe Onorato <joeo@android.com> Checkpoint. Data structures for Notifications in place.

Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
ndroid/internal/statusbar/StatusBarIcon.java
ndroid/internal/statusbar/StatusBarNotification.java
ndroid/internal/statusbar/StatusBarNotificationList.aidl
ndroid/internal/statusbar/StatusBarNotificationList.java
4762c2d75a55e0854bbff2f996748116d4ab1a37 18-May-2010 Joe Onorato <joeo@android.com> Add expand and collapse.

Change-Id: I58ad95c59b2c46d3f25349e137d5624aefc6c6cd
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
f3f0e053f0cc66249a11639eb67d0cdc2da26ded 15-May-2010 Joe Onorato <joeo@android.com> Make disable() work.

Change-Id: I93fea37e777b3e04fe7f9171d5b84821587c24f5
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
514ad663f0a8b239cc59409175e0bd489c591aa0 14-May-2010 Joe Onorato <joeo@android.com> Set the visibility of the icons.

Change-Id: Ib414718f1c51f1d306308a989d5d31d8e3ea7fd1
ndroid/internal/statusbar/StatusBarIcon.java
ndroid/internal/statusbar/StatusBarIconList.java
0cbda99f8721ad9b03ada04d2637fb75a2a0feca 03-May-2010 Joe Onorato <joeo@android.com> The status bar draws its icons now.
ndroid/internal/statusbar/IStatusBar.aidl
ndroid/internal/statusbar/IStatusBarService.aidl
ndroid/internal/statusbar/StatusBarIcon.aidl
ndroid/internal/statusbar/StatusBarIcon.java
ndroid/internal/statusbar/StatusBarIconList.aidl
ndroid/internal/statusbar/StatusBarIconList.java
a15dcfaf2bc7cbd13b30db6766afe3bbaa01db97 25-May-2010 Konstantin Lopyrev <klopyrev@google.com> Fix 2677197: Adding minimum complex character support.

Change-Id: I520bc5f9aa924bf9b5585b2235a91cc96cb99c25
ndroid/internal/widget/LockPatternUtils.java
8b932067c136b47d1f77e574488b24564be4bb2f 27-May-2010 Amith Yamasani <yamasani@google.com> Merge "Add a battery capacity value to the power profile."
bed865932f00eb503c775f03043413e34b0077de 27-May-2010 Amith Yamasani <yamasani@google.com> Add a battery capacity value to the power profile.

Can be accessed through PowerProfile.getBatteryCapacity()

Individual device profiles need to be updated with their capacities.
ndroid/internal/os/PowerProfile.java
dc0f4f059c1e28375ea3a4d81e189b34c1ac9ae4 26-May-2010 Jim Miller <jaggies@google.com> Merge "Fix 2584857: Reset grabbed state when SlidingTab visibility changes"
92c1571f0a5202f742d3318d5f852dc5e395d19c 26-May-2010 Jim Miller <jaggies@google.com> Fix 2584857: Reset grabbed state when SlidingTab visibility changes

This fixes a case where the widget is hidden while the grabbed
state is set. The result is that the host of the widget is never
informed that the grabbed state changed.

Change-Id: I78b41cff0e31e982a3b46f0319260ba59815092c
ndroid/internal/widget/SlidingTab.java
3255823de062e981f7bfc7994919207988697e45 21-May-2010 Konstantin Lopyrev <klopyrev@google.com> Fix 2673731: Adding support for password history to Device Admin.

Change-Id: If3240048813e32b2bae79fe5cb8a73aea20ec56c
ndroid/internal/widget/LockPatternUtils.java
33c26f9fd01d5e2acce3e6c7ca828951d28c7d66 19-May-2010 Wink Saville <wink@google.com> am 199d3783: am 7e3b31d7: Merge "Update docs, add HANDLED, NOT_HANDLED and getCurrentMessage." into kraken
7e3b31d786f88792dc1506d8cc4d53bd56741913 19-May-2010 Wink Saville <wink@google.com> Merge "Update docs, add HANDLED, NOT_HANDLED and getCurrentMessage." into kraken
a4f3bec29c85ef9e0d07fdd551fe3c50f28b9adc 19-May-2010 Wink Saville <wink@google.com> Update docs, add HANDLED, NOT_HANDLED and getCurrentMessage.

The EBNF statemachine description language was to difficult
to remember changed to use a simpler and more obvious psuedo
language.

Added HANDLED and NOT_HANDLED as it makes the psuedo code
more obvious.

Added getCurrentMessage primarily for use by code in enter
so that it can know why the new state is being entered.

Change-Id: I1446e417b77684fbde0020b1da0975eedc57cce4
ndroid/internal/util/HierarchicalStateMachine.java
39ccc0811fad542fdce8e8226d90c219dec7e451 19-May-2010 The Android Open Source Project <initial-contribution@android.com> am 56d4bcd8: am 627356ce: am d6c0bb0f: merge from open-source master
627356cee467fad0335b2bc8cc058a3784f0bf63 19-May-2010 The Android Open Source Project <initial-contribution@android.com> am d6c0bb0f: merge from open-source master

Merge commit 'd6c0bb0f0f3827f1c336db20ac9dc0eb90cd46fa' into kraken

* commit 'd6c0bb0f0f3827f1c336db20ac9dc0eb90cd46fa':
Removed Calls to deprecated APIs
d6c0bb0f0f3827f1c336db20ac9dc0eb90cd46fa 19-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I0598edad283a177a5ddcc30e20d2284503e6038e
2b9a49a30d2ce1176cbd90741897705bec32d0bd 19-May-2010 Romain Guy <romainguy@android.com> Merge "Removed Calls to deprecated APIs"
9b081a809a7e39c6877a9606289ada4680f3d91f 19-May-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 8b625a95 to master

Change-Id: I03264c6aad2d87629f9154f5c390cb36ce08efba
dc8a7f69d7df5f1ca29763995a0d55acf7936fc6 10-May-2010 Dianne Hackborn <hackbod@google.com> Add new API to take over a window's Surface.

Change-Id: Iad6245faadc95f19ea63c8e229a1c02e9188f69e
ndroid/internal/view/BaseSurfaceHolder.java
ndroid/internal/view/RootViewSurfaceTaker.java
f90fa1a04f80d30cd7e06441016a9364f8be75bd 18-May-2010 The Android Open Source Project <initial-contribution@android.com> am 75c1b73d: am 40090708: am 4547e528: merge from open-source master
400907086ac1a304daa50a72013ac27a9c63b26b 18-May-2010 The Android Open Source Project <initial-contribution@android.com> am 4547e528: merge from open-source master

Merge commit '4547e5284e79192373f3a6bb6c452501171bc1d6' into kraken

* commit '4547e5284e79192373f3a6bb6c452501171bc1d6':
Removed Calls to deprecated APIs and unused Imports
4547e5284e79192373f3a6bb6c452501171bc1d6 18-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I3607454a9257701855354c12ef1f36841c889aea
15d24708b1c33188c97e3be5be94131acd8e095d 17-May-2010 Christian Mehlmauer <FireFart@gmail.com> Removed Calls to deprecated APIs and unused Imports

Change-Id: Ib26783ca1d6c345cc91aa3ab5b9654f5316c78a0
ndroid/internal/app/ExternalMediaFormatActivity.java
ndroid/internal/app/RingtonePickerActivity.java
ndroid/internal/app/UsbStorageActivity.java
ndroid/internal/app/UsbStorageStopActivity.java
746a95ab7145a1c7583d1f2d6004a508cd7a31dc 17-May-2010 Christian Mehlmauer <FireFart@gmail.com> Removed Calls to deprecated APIs

Change-Id: I3f9b6a8d3c8a050156a6cc7ea0eb9de33b82f79a
ndroid/internal/app/NetInitiatedActivity.java
a1700783b52c3f4e6b52ea425cdce93c74936586 13-May-2010 Adam Powell <adamp@google.com> ActionBar - custom navigation views

Change-Id: Ibc98565816c713474eefd4e96fb51175abfb0187
ndroid/internal/app/SplitActionBar.java
7cd51efcbd2d083bf577696591ef1769034f7e2f 13-May-2010 Jeff Hamilton <jham@android.com> Remove the deprecated cursor methods.

Change-Id: Ie3571fea9f36996c31c327240b11086f8cc487f0
ndroid/internal/database/SortCursor.java
468202dd71e375a1f7f2038e094baffe204c4972 13-May-2010 Mike Lockwood <lockwood@android.com> am 702b8752: am 5a9cbb29: am a3d5549c: am 098e58da: Use SystemClock.elapsedRealtime in ShutdownThread timeout logic
5a9cbb291fa7505a6c51eba6f600009dfc17366d 13-May-2010 Mike Lockwood <lockwood@android.com> am a3d5549c: am 098e58da: Use SystemClock.elapsedRealtime in ShutdownThread timeout logic

Merge commit 'a3d5549c802bc4fbf1e1ca05bc3552db17212036' into kraken

* commit 'a3d5549c802bc4fbf1e1ca05bc3552db17212036':
Use SystemClock.elapsedRealtime in ShutdownThread timeout logic
a3d5549c802bc4fbf1e1ca05bc3552db17212036 13-May-2010 Mike Lockwood <lockwood@android.com> am 098e58da: Use SystemClock.elapsedRealtime in ShutdownThread timeout logic

Merge commit '098e58da93f304d7d7791f193c6237870b94989d' into froyo-plus-aosp

* commit '098e58da93f304d7d7791f193c6237870b94989d':
Use SystemClock.elapsedRealtime in ShutdownThread timeout logic
098e58da93f304d7d7791f193c6237870b94989d 13-May-2010 Mike Lockwood <lockwood@android.com> Use SystemClock.elapsedRealtime in ShutdownThread timeout logic

This avoids problems if the time is reset while shutting down.

Change-Id: I54c7c787e55648ebf5a68e79056f92fbac0081ae
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/app/ShutdownThread.java
33b974393b6fadcefc896ec4a0f9b66724f61e9f 20-Apr-2010 Adam Powell <adamp@google.com> ActionBar added to framework, integrated with Activity and styles.
Added onClick attribute support to menus in MenuInflater.

Change-Id: I739771b4f249d87a0d8b15969f3d526b099067a1
ndroid/internal/app/SplitActionBar.java
ndroid/internal/view/menu/ActionMenu.java
ndroid/internal/view/menu/ActionMenuItem.java
863f22d0451d52cbcccc252ad29858ef1578e709 13-May-2010 Konstantin Lopyrev <klopyrev@google.com> Fix 2673731: Added password history

Change-Id: I88919357abea31062caf96b214823b03cbaa15a4
ndroid/internal/widget/LockPatternUtils.java
42364be58b1b9ff511c92133884c73e736d68a7d 05-May-2010 Adam Powell <adamp@google.com> am b7e23dbe: am 37f4f5b1: am d135f74b: am 151af19b: Fix bug 2651076 - Catch/log ActivityNotFoundException in MenuItemImpl.invoke()
37f4f5b1eaa0bbc8909dec80ebf08790d36b7135 05-May-2010 Adam Powell <adamp@google.com> am d135f74b: am 151af19b: Fix bug 2651076 - Catch/log ActivityNotFoundException in MenuItemImpl.invoke()

Merge commit 'd135f74b972b88de2ae8b11b3ada886d29c1e25d' into kraken

* commit 'd135f74b972b88de2ae8b11b3ada886d29c1e25d':
Fix bug 2651076 - Catch/log ActivityNotFoundException in MenuItemImpl.invoke()
d135f74b972b88de2ae8b11b3ada886d29c1e25d 05-May-2010 Adam Powell <adamp@google.com> am 151af19b: Fix bug 2651076 - Catch/log ActivityNotFoundException in MenuItemImpl.invoke()

Merge commit '151af19bf409a47424ddaa51e1ac4a0c532c4eb6' into froyo-plus-aosp

* commit '151af19bf409a47424ddaa51e1ac4a0c532c4eb6':
Fix bug 2651076 - Catch/log ActivityNotFoundException in MenuItemImpl.invoke()
151af19bf409a47424ddaa51e1ac4a0c532c4eb6 04-May-2010 Adam Powell <adamp@google.com> Fix bug 2651076 - Catch/log ActivityNotFoundException in MenuItemImpl.invoke()

Change-Id: I841a37349fbc6af33073aaecae903eb8999cc5bd
ndroid/internal/view/menu/MenuItemImpl.java
8bede19e887e4300572ff07286713564af819e22 04-May-2010 The Android Open Source Project <initial-contribution@android.com> am facad955: am dcb5f18f: am 007ad770: merge from open-source master
dcb5f18fd6fac5d8048a11c60348bae82fbe739e 04-May-2010 The Android Open Source Project <initial-contribution@android.com> am 007ad770: merge from open-source master

Merge commit '007ad7700a23ff7e618cfeee1eab97063c93b800' into kraken

* commit '007ad7700a23ff7e618cfeee1eab97063c93b800':
Adapt to new location of libcore
Parse custom text header and ignore it.
Parse "multipart/vnd.wap.multipart.alternative" which is a part of multipart body (nested multipart).
'uses-library' was not working for persistent applications.
Fix an NPE in InputMethodService when mExtractAction is null.
007ad7700a23ff7e618cfeee1eab97063c93b800 04-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: If72ad6758c9e1bf77c38c4afec6b00ec9d5b89e4
42b21c3333f97877648daf90a9daaa86334a8d79 30-Apr-2010 takuo <kitame@gmail.com> Parse custom text header and ignore it.

Some MMS carrier append own custom header as text into PduData. We should parse it and ignore it at the moment.

Change-Id: I4d6cf20f5cf99172ebbe310ab18101316eb04c77
oogle/android/mms/pdu/PduParser.java
334dc0b2709826d3b913de655b4b0125b143ecb3 29-Apr-2010 takuo <kitame@gmail.com> Parse "multipart/vnd.wap.multipart.alternative" which is a part of multipart body (nested multipart).

And take the first part of parsed as a parent part data.

Change-Id: I2752654f41d642524061802772e2a7eaa10a4e2d
oogle/android/mms/ContentType.java
oogle/android/mms/pdu/PduParser.java
4fcc5b1f93eb1fd2e7e3f7fcc16a1b7a8a6419bf 19-Apr-2010 Daniel Lehmann <lehmannd@google.com> Ensure public methods exist to update the state of the UI, so that it can be set from outside

Change-Id: Ib1d7b0b36b6cdcbf1256647da76130927a29ec6d
ndroid/internal/widget/ContactHeaderWidget.java
212db7d3f8ce5297f4a556234a9c0675c697f1cf 09-Apr-2010 Adam Powell <adamp@google.com> Added MultiSelectListPreference

Added set support to XmlUtils; added Set<String> functions to SharedPreferences.

MultiSelectListPreference allows multiple selection and persistence of
string preferences. Addresses bug 2575634.

Change-Id: Icd56022d444b0ce43cccf819cd7d600fdb00e88a
ndroid/internal/util/XmlUtils.java
690de26230f393fd46b2273190d80687a25ccdc1 10-Apr-2010 Jesse Wilson <jessewilson@google.com> am 97a22e1b: am 86b0276a: am f9e90378: am bc284a5f: Merge "Move the public method HttpDateTime.parse() into AndroidHttpClient." into froyo
86b0276a39d1ca1472e09d4c3787f5ff8f49a1d9 10-Apr-2010 Jesse Wilson <jessewilson@google.com> am f9e90378: am bc284a5f: Merge "Move the public method HttpDateTime.parse() into AndroidHttpClient." into froyo

Merge commit 'f9e90378d50210298d1cec2b913653597cd62be4' into kraken

* commit 'f9e90378d50210298d1cec2b913653597cd62be4':
Move the public method HttpDateTime.parse() into AndroidHttpClient.
f9e90378d50210298d1cec2b913653597cd62be4 10-Apr-2010 Jesse Wilson <jessewilson@google.com> am bc284a5f: Merge "Move the public method HttpDateTime.parse() into AndroidHttpClient." into froyo

Merge commit 'bc284a5f9f1e3f19ddd45cfb233f0d1775b612a7' into froyo-plus-aosp

* commit 'bc284a5f9f1e3f19ddd45cfb233f0d1775b612a7':
Move the public method HttpDateTime.parse() into AndroidHttpClient.
7cfa90fee54f44831ac492891d1c123601c2a262 08-Apr-2010 Jesse Wilson <jessewilson@google.com> Move the public method HttpDateTime.parse() into AndroidHttpClient.

See bug http://b/2553589

Change-Id: Ide3399c7c63daf9c0b8c18669076f2f4d6e9a876
ndroid/internal/http/HttpDateTime.java
04867ab7c67e3cbaea68d0c78ebeaa37f9e10440 06-Apr-2010 Daniel Lehmann <lehmannd@google.com> am ba3147d1: am 140d040b: am d8b9b511: Merge "Pass cookie to TOKEN_CONTACT_INFO so that QuickContact without photo works again Bug:2572239" into froyo
ba3147d157c7d1ac8ffe2be5abca039430eee64e 06-Apr-2010 Daniel Lehmann <lehmannd@google.com> am 140d040b: am d8b9b511: Merge "Pass cookie to TOKEN_CONTACT_INFO so that QuickContact without photo works again Bug:2572239" into froyo

Merge commit '140d040b6a5d2dc01e999e6f7b69863c71b2272b' into kraken

* commit '140d040b6a5d2dc01e999e6f7b69863c71b2272b':
Pass cookie to TOKEN_CONTACT_INFO so that QuickContact without photo works again
140d040b6a5d2dc01e999e6f7b69863c71b2272b 06-Apr-2010 Daniel Lehmann <lehmannd@google.com> am d8b9b511: Merge "Pass cookie to TOKEN_CONTACT_INFO so that QuickContact without photo works again Bug:2572239" into froyo

Merge commit 'd8b9b511821a06d86b3ffaab0d71ee9ce3834678' into froyo-plus-aosp

* commit 'd8b9b511821a06d86b3ffaab0d71ee9ce3834678':
Pass cookie to TOKEN_CONTACT_INFO so that QuickContact without photo works again
b45c047ba0d54424e41525911e077af2ac5c672e 06-Apr-2010 Daniel Lehmann <lehmannd@google.com> Pass cookie to TOKEN_CONTACT_INFO so that QuickContact without photo works again
Bug:2572239

Change-Id: I5fedd6cac64d495ba208ddcb45a7d09a05bb9a65
ndroid/internal/widget/ContactHeaderWidget.java
6243d4ca06393d038062b62f9fae47529e6b550e 05-Apr-2010 Amith Yamasani <yamasani@google.com> am c778f71d: am 733a2f65: am 1b4c0d70: Merge "Fix a crash in BatteryStatsImpl, due to a previous fix." into froyo
c778f71d5c36ed2b3d8dfce3a82b343e40f7bd3a 05-Apr-2010 Amith Yamasani <yamasani@google.com> am 733a2f65: am 1b4c0d70: Merge "Fix a crash in BatteryStatsImpl, due to a previous fix." into froyo

Merge commit '733a2f654934d452b2febf6f80cd1136830758d5' into kraken

* commit '733a2f654934d452b2febf6f80cd1136830758d5':
Fix a crash in BatteryStatsImpl, due to a previous fix.
733a2f654934d452b2febf6f80cd1136830758d5 05-Apr-2010 Amith Yamasani <yamasani@google.com> am 1b4c0d70: Merge "Fix a crash in BatteryStatsImpl, due to a previous fix." into froyo

Merge commit '1b4c0d702066794b9ce97b02721aa9e552997381' into froyo-plus-aosp

* commit '1b4c0d702066794b9ce97b02721aa9e552997381':
Fix a crash in BatteryStatsImpl, due to a previous fix.
e5795610bdc97aebfaa863b5134294aed5c7c1f2 05-Apr-2010 Amith Yamasani <yamasani@google.com> Fix a crash in BatteryStatsImpl, due to a previous fix.

This is probably the real fix for the original bug. The last line was probably not
well formed and resulted in an overrun in the native code.

Bug: 2564824
Change-Id: I8a9cc267f8045a61eff4b5d532258afa32a8b837
ndroid/internal/os/BatteryStatsImpl.java
79e642e8ed75033eacc461633a8f4cd5157d25df 18-Mar-2010 Mike Lockwood <lockwood@android.com> Call LocationManager.sendNiResponse() instead of calling directly to GpsLocationProvider

Change-Id: I6a5b47abb0519f5228d29bc3340bb2490564803e
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/app/NetInitiatedActivity.java
dc6a0b84cc6ab440d588cfb29df3a4dfac39bab3 03-Apr-2010 Amith Yamasani <yamasani@google.com> am e27c176e: am c2e060cb: am 0913ce95: Merge "Potential fix for bug: 2564824 : Device runtime restart in BatteryService" into froyo
e27c176e6c7f595bcf44a68e850513f6a57b0acc 03-Apr-2010 Amith Yamasani <yamasani@google.com> am c2e060cb: am 0913ce95: Merge "Potential fix for bug: 2564824 : Device runtime restart in BatteryService" into froyo

Merge commit 'c2e060cbedaa2371fcc5c909c216c8ceafa4f649' into kraken

* commit 'c2e060cbedaa2371fcc5c909c216c8ceafa4f649':
Potential fix for bug: 2564824 : Device runtime restart in BatteryService
c2e060cbedaa2371fcc5c909c216c8ceafa4f649 03-Apr-2010 Amith Yamasani <yamasani@google.com> am 0913ce95: Merge "Potential fix for bug: 2564824 : Device runtime restart in BatteryService" into froyo

Merge commit '0913ce95c29371cb7b58e294a8d60262bc7f4329' into froyo-plus-aosp

* commit '0913ce95c29371cb7b58e294a8d60262bc7f4329':
Potential fix for bug: 2564824 : Device runtime restart in BatteryService
0913ce95c29371cb7b58e294a8d60262bc7f4329 03-Apr-2010 Amith Yamasani <yamasani@google.com> Merge "Potential fix for bug: 2564824 : Device runtime restart in BatteryService" into froyo
fcced8308101f8e019cc0bea36cff0621c127d8a 03-Apr-2010 Adam Powell <adamp@google.com> am ffc67455: am 128f1a87: am 6024ca5c: Fix bug 2185026 - back button in context menu now calls onContextMenuClosed()
ffc67455f8a96d9bba775a44d0942fbc70058755 03-Apr-2010 Adam Powell <adamp@google.com> am 128f1a87: am 6024ca5c: Fix bug 2185026 - back button in context menu now calls onContextMenuClosed()

Merge commit '128f1a87c55a291109ce521a92308c186e5d2db5' into kraken

* commit '128f1a87c55a291109ce521a92308c186e5d2db5':
Fix bug 2185026 - back button in context menu now calls onContextMenuClosed()
128f1a87c55a291109ce521a92308c186e5d2db5 03-Apr-2010 Adam Powell <adamp@google.com> am 6024ca5c: Fix bug 2185026 - back button in context menu now calls onContextMenuClosed()

Merge commit '6024ca5c90203b6c33acc6adfbf7e4e613549a0a' into froyo-plus-aosp

* commit '6024ca5c90203b6c33acc6adfbf7e4e613549a0a':
Fix bug 2185026 - back button in context menu now calls onContextMenuClosed()
6024ca5c90203b6c33acc6adfbf7e4e613549a0a 03-Apr-2010 Adam Powell <adamp@google.com> Fix bug 2185026 - back button in context menu now calls onContextMenuClosed()

Change-Id: I6c16879a8ad8e4651d21f639a620a936bf991f8d
ndroid/internal/view/menu/MenuDialogHelper.java
2098eadfba7aba5d667579222f0fac76d1235ff0 02-Apr-2010 Amith Yamasani <yamasani@google.com> Potential fix for bug: 2564824 : Device runtime restart in BatteryService

Look for corrupted bytes and replace with ?

If the problem is in the parsing code, then this will not help.

Change-Id: If33643f126a4099d4113e37760c6ef74683fe97e
ndroid/internal/os/BatteryStatsImpl.java
39f99a1ceeffdc45aa0baef4722eb563fd490073 02-Apr-2010 Mike Lockwood <lockwood@android.com> am dfcb20d1: am a9e1a131: am 87e72cd3: Merge "Vibrate before shutting down." into froyo
17145db0a7f376090e7cc7834c3cd87da891d2ee 02-Apr-2010 Jim Miller <jaggies@google.com> am 64265cc5: am 15be35f6: am bf1259b8: Fix 2538826: Allow aspect of LockPatternView to be customized.
dfcb20d1c3cd920e29715710baa9e1a2d5613b8b 02-Apr-2010 Mike Lockwood <lockwood@android.com> am a9e1a131: am 87e72cd3: Merge "Vibrate before shutting down." into froyo

Merge commit 'a9e1a131e3a5dcde4d69ee9f99aee4702dcff909' into kraken

* commit 'a9e1a131e3a5dcde4d69ee9f99aee4702dcff909':
Vibrate before shutting down.
a9e1a131e3a5dcde4d69ee9f99aee4702dcff909 02-Apr-2010 Mike Lockwood <lockwood@android.com> am 87e72cd3: Merge "Vibrate before shutting down." into froyo

Merge commit '87e72cd3b327fefc39030a628e9e9b7141791d39' into froyo-plus-aosp

* commit '87e72cd3b327fefc39030a628e9e9b7141791d39':
Vibrate before shutting down.
87e72cd3b327fefc39030a628e9e9b7141791d39 02-Apr-2010 Mike Lockwood <lockwood@android.com> Merge "Vibrate before shutting down." into froyo
a717f64ddcdce44379b24616333a58a6df2fcca5 02-Apr-2010 Mike Lockwood <lockwood@android.com> Vibrate before shutting down.

BUG: 2439291

Change-Id: I0f5abba34a14f1dd1cbe2077122d6f3e940b4d90
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/app/ShutdownThread.java
64265cc59ba2a40f3795d4821a77be0c735e0d24 02-Apr-2010 Jim Miller <jaggies@google.com> am 15be35f6: am bf1259b8: Fix 2538826: Allow aspect of LockPatternView to be customized.

Merge commit '15be35f6c9a88f453ba3a6be8d93fed8537ad77e' into kraken

* commit '15be35f6c9a88f453ba3a6be8d93fed8537ad77e':
Fix 2538826: Allow aspect of LockPatternView to be customized.
15be35f6c9a88f453ba3a6be8d93fed8537ad77e 02-Apr-2010 Jim Miller <jaggies@google.com> am bf1259b8: Fix 2538826: Allow aspect of LockPatternView to be customized.

Merge commit 'bf1259b8a6a44d7a4eab5131cd33dac0fbcb50b6' into froyo-plus-aosp

* commit 'bf1259b8a6a44d7a4eab5131cd33dac0fbcb50b6':
Fix 2538826: Allow aspect of LockPatternView to be customized.
bf1259b8a6a44d7a4eab5131cd33dac0fbcb50b6 01-Apr-2010 Jim Miller <jaggies@google.com> Fix 2538826: Allow aspect of LockPatternView to be customized.

This fixes a problem where the pattern unlock area shrank on
mdpi devices.

This change is required since some devices (mdpi) don't have
enough vertical room to show a square LockPatternView and shrink
the area to match the minimum of width and height. To fix the
problem and minimize changes to existing platforms, the parameter
is configurable and has a default in values/donottranslate that
emulates the old behavior. New behavior for mdpi devices is
specified in values-port-mdpi/donottranslate, which is the
only place we currently see the problem.

Tested:
mdpi device in both orientations
hdpi device in both orientations
hdpi device in both orientations with keyboard open/closed

Change-Id: I3b9a5ef1d9b5e70f7b1823c9f48a3938f52cc7a4
ndroid/internal/widget/LockPatternView.java
726e838cc9c0814fff026837ed64ac73e0e10f2e 31-Mar-2010 Daniel Lehmann <lehmannd@google.com> am 22d7142d: am 1b679754: am 58c9a4bc: Merge "Don\'t load photo if it\'s id is 0. Saves one database query Bug:2546767" into froyo
22d7142dd9787f767576208e00f01ddfeff9f181 31-Mar-2010 Daniel Lehmann <lehmannd@google.com> am 1b679754: am 58c9a4bc: Merge "Don\'t load photo if it\'s id is 0. Saves one database query Bug:2546767" into froyo

Merge commit '1b679754b6f6fd5da8f5fc48415cad65cc8f3a56' into kraken

* commit '1b679754b6f6fd5da8f5fc48415cad65cc8f3a56':
Don't load photo if it's id is 0. Saves one database query
1b679754b6f6fd5da8f5fc48415cad65cc8f3a56 31-Mar-2010 Daniel Lehmann <lehmannd@google.com> am 58c9a4bc: Merge "Don\'t load photo if it\'s id is 0. Saves one database query Bug:2546767" into froyo

Merge commit '58c9a4bca0ce20ebf63a8c9619d405b788a98b9b' into froyo-plus-aosp

* commit '58c9a4bca0ce20ebf63a8c9619d405b788a98b9b':
Don't load photo if it's id is 0. Saves one database query
18d4b733f85c1611c168b4b3c490fc1f3b5b539a 29-Mar-2010 Daniel Lehmann <lehmannd@google.com> Don't load photo if it's id is 0. Saves one database query
Bug:2546767

Change-Id: I0739cd45acecd18bafda9a200dff60fdcc219021
ndroid/internal/widget/ContactHeaderWidget.java
e33b93206bda114e1c319e61129df2b4eafad8f6 30-Mar-2010 Jim Miller <jaggies@google.com> am baaa33a3: am d41d4586: am c6dc5070: Merge "Fix 2537999: Don\'t throw exception when SlidingTab has UNSPECIFIED specs" into froyo
baaa33a3789f15e94f1a0d292fb9be84ecb70a64 30-Mar-2010 Jim Miller <jaggies@google.com> am d41d4586: am c6dc5070: Merge "Fix 2537999: Don\'t throw exception when SlidingTab has UNSPECIFIED specs" into froyo

Merge commit 'd41d458696b2ab54387dd0683a3365e788b97c2d' into kraken

* commit 'd41d458696b2ab54387dd0683a3365e788b97c2d':
Fix 2537999: Don't throw exception when SlidingTab has UNSPECIFIED specs
d41d458696b2ab54387dd0683a3365e788b97c2d 30-Mar-2010 Jim Miller <jaggies@google.com> am c6dc5070: Merge "Fix 2537999: Don\'t throw exception when SlidingTab has UNSPECIFIED specs" into froyo

Merge commit 'c6dc5070ef663e514add038b1d2e78761156b0c0' into froyo-plus-aosp

* commit 'c6dc5070ef663e514add038b1d2e78761156b0c0':
Fix 2537999: Don't throw exception when SlidingTab has UNSPECIFIED specs
c6dc5070ef663e514add038b1d2e78761156b0c0 30-Mar-2010 Jim Miller <jaggies@google.com> Merge "Fix 2537999: Don't throw exception when SlidingTab has UNSPECIFIED specs" into froyo
d646f69c4e7cf0ad06bd2687a31b5cbb4441230c 29-Mar-2010 The Android Open Source Project <initial-contribution@android.com> am f29c7d4d: am c89704a7: merge from open-source master
f29c7d4d271a5a4483025b313c6b363417171d04 29-Mar-2010 The Android Open Source Project <initial-contribution@android.com> am c89704a7: merge from open-source master

Merge commit 'c89704a77f9c51ebd8c1cc6863e15ff402a56c86' into kraken

* commit 'c89704a77f9c51ebd8c1cc6863e15ff402a56c86':
Fix Memory Leak When Switching Input Methods
c89704a77f9c51ebd8c1cc6863e15ff402a56c86 29-Mar-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I6a8109d11dabc579501c598ab2927cf802797130
8aca694a363de4398e0172dbafe7cf6b47b17fa4 29-Mar-2010 Daniel Lehmann <lehmannd@google.com> am 7eeb9c23: am 3e9032e6: Merge "Increase name-label height so that "g" isn\'t cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts Bug:2542703 Bug:2549485" into froyo
7eeb9c2382153a6c95bf9b976eebd44c5ddaa0f2 29-Mar-2010 Daniel Lehmann <lehmannd@google.com> am 3e9032e6: Merge "Increase name-label height so that "g" isn\'t cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts Bug:2542703 Bug:2549485" into froyo

Merge commit '3e9032e646c898a725c256c90031494cc349eea0' into kraken

* commit '3e9032e646c898a725c256c90031494cc349eea0':
Increase name-label height so that "g" isn't cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts
31f805ac2fc2c7779ab347fb4f5cf20dacb9c75e 27-Mar-2010 Dianne Hackborn <hackbod@google.com> am 54ca402c: am 4c8a63ca: Merge "Fix issue #2538228: Intents targeting browsers constantly nagging" into froyo
54ca402c25d0e789f3e596012be9b35c119056e1 27-Mar-2010 Dianne Hackborn <hackbod@google.com> am 4c8a63ca: Merge "Fix issue #2538228: Intents targeting browsers constantly nagging" into froyo

Merge commit '4c8a63ca4d4ac18f593fd9c235f18ba1f691eef7' into kraken

* commit '4c8a63ca4d4ac18f593fd9c235f18ba1f691eef7':
Fix issue #2538228: Intents targeting browsers constantly nagging
d07950f0a18afb32a5ef418692ac63ea22505e14 27-Mar-2010 Daniel Lehmann <lehmannd@google.com> Increase name-label height so that "g" isn't cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts
Bug:2542703
Bug:2549485

Change-Id: Ic2b88fd405043c2869610c9495bd4aa860b5c025
ndroid/internal/widget/ContactHeaderWidget.java
5ef402baafc4818ccdf2aaec5da9cf25dd1c0e12 27-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2538228: Intents targeting browsers constantly nagging

Some applications are setting the MIME type field for an http:
intent, which is technically wrong because the recipient opening
the URI will get the MIME type from the header. This was hitting
a bug when we compute the intent filter when setting the
preferred activity, where we have to set both the MIME type and
data URI for the intent filter. (For file: and content: URIs
only the MIME type is needed, since these can be opened directly
through ContentResolver so everyone is presumed to be able to
handle them.)

Change-Id: Ia7025e6859e9c90997bf56c2c80f225fca7a2007
ndroid/internal/app/ResolverActivity.java
966a8c78598bdba1e8993428b5b1eef4d97ae501 26-Mar-2010 Jim Miller <jaggies@google.com> Fix 2537999: Don't throw exception when SlidingTab has UNSPECIFIED specs

This is try to capture the case where we sometimes see UNSPECIFIED
MeasureSpec in SlidingTab. It should be OK as long as one of the dimensions
is constrained. The log event will give some indication of what's
going on when this happens.

This also fixes a bug where it was possible to not reset the mAnimating flag
in the Phone app.

Change-Id: Ibab1c944ec895a7c19d5a18cc67f6e4db716f685
ndroid/internal/widget/SlidingTab.java
16f1c787396a237f074d4b5103fe00d39a2377dc 26-Mar-2010 Dianne Hackborn <hackbod@google.com> am d49258fe: Fix issue #2544466: Car Home brightness icon comes and goes while phone is in car dock in FRE83

Merge commit 'd49258fed489bcd72a2b2a6ce3a3c38d4b2531e6' into kraken

* commit 'd49258fed489bcd72a2b2a6ce3a3c38d4b2531e6':
Fix issue #2544466: Car Home brightness icon comes and goes while phone is in car dock in FRE83
d49258fed489bcd72a2b2a6ce3a3c38d4b2531e6 26-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2544466: Car Home brightness icon comes and goes while phone is in car dock in FRE83

There was a really dumb bug that was causing us to not always apply
the new configuration. As a result of fixing this, there were new
glithes in the transition between car and regular mode, so further
work here to fix that. And since I was actually working during the
night and seeing night mode, I noticed how obnoxiously bright the
status bar is compared to the car home at night, so it now nicely
dims itself when we switch to the night config. Oh and in doing
that I also found and fixed a bug in dispatching config changes to
a window (where they wouldn't get dispatched if the window didn't
resize).

FINALLY... tweak the wallpaper enter/exit animations a bit to
make them a little smoother.

Change-Id: I4e062093cbcfbc919307799a794846db2920216f
ndroid/internal/app/DisableCarModeActivity.java
629520527efe5f404b64e95aff01a81886e55eb3 18-Mar-2010 Daniel Sandler <dsandler@google.com> Redesigned keyguard layout in the no-SIM case. DO NOT MERGE

The emergency call button has been removed (since the user
can disable the keyguard, open the phone app, and enter the
emergency number there).

AM/PM have also been baseline-aligned with the clock.

Bug: 2421380
Change-Id: I3fb25a29e02f3e2ee2b1505a8765d53ccceb1372
ndroid/internal/widget/DigitalClock.java
1026f4850bce9b2bd4fa34f487d2c2d9f9c70691 26-Mar-2010 Mike Lockwood <lockwood@android.com> Merge "Call LocationManager.sendNiResponse() instead of calling directly to GpsLocationProvider"
ffc3f8f40c7eff0bc3bb43f74a1a0e9235acb258 18-Mar-2010 Mike Lockwood <lockwood@android.com> Call LocationManager.sendNiResponse() instead of calling directly to GpsLocationProvider

Change-Id: I190fb70a608539f77080db64be1bd5b8dc8519e3
Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/app/NetInitiatedActivity.java
54df9de49454a5b403f87d6b8aa6746b7b2c47a5 18-Mar-2010 Daniel Sandler <dsandler@google.com> Redesigned keyguard layout in the no-SIM case.

The emergency call button has been removed (since the user
can disable the keyguard, open the phone app, and enter the
emergency number there).

AM/PM have also been baseline-aligned with the clock.

(Requires I46a78c700427d769da6f7f2d3e9f419c2a921a61)

Bug: 2421380

Change-Id: I07bfc0f1c5b3f0e10b8cb72768848251439e19dd
ndroid/internal/widget/DigitalClock.java
3d31bb111a5f4052e189722d73bbfc61bf474288 26-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2544466: Car Home brightness icon comes and goes while phone is in car dock in FRE83

There was a really dumb bug that was causing us to not always apply
the new configuration. As a result of fixing this, there were new
glithes in the transition between car and regular mode, so further
work here to fix that. And since I was actually working during the
night and seeing night mode, I noticed how obnoxiously bright the
status bar is compared to the car home at night, so it now nicely
dims itself when we switch to the night config. Oh and in doing
that I also found and fixed a bug in dispatching config changes to
a window (where they wouldn't get dispatched if the window didn't
resize).

FINALLY... tweak the wallpaper enter/exit animations a bit to
make them a little smoother.

Change-Id: I234458f6081ec021311ee04c247931eabcf0447c
ndroid/internal/app/DisableCarModeActivity.java
0d3b202bdedcdd692d96e53303bc5168d39a07e1 26-Mar-2010 Dianne Hackborn <hackbod@android.com> Merge "Fix Memory Leak When Switching Input Methods"
cd70988401be5919e8d1889727bb01c91d56627c 26-Mar-2010 Jim Miller <jaggies@google.com> Fix 2535700: Add support for enforcing password quality

In addition, this change removes old lockpattern constants which were set
to DevicePolicyManager constants anyway.

Change-Id: I05f7f50ca099f4bd87a2d8e1d6dd2bc6f3a2b139
ndroid/internal/widget/LockPatternUtils.java
85f2c9ce5a0e074df2429a5d66e1754e368a0430 22-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2530103: ActivePassword data in Device Policy Manager needs to be persisted

Also fixes how the quality vs. mode is handled to be more consistent, which also
required introducing a new "alphabetic" quality since it is possible for the user
to enter such a password.

The current password quality and length is stored in the DPM, since at boot it
couldn't figure this out from the stored password.

Change-Id: I519d9b76dd0b4431bcf42920c34dda38c9f1136e
ndroid/internal/widget/LockPatternUtils.java
b054f275369f3909a2eda1d2ae6a44cf62081d18 22-Mar-2010 Mark Wagner <mxw@google.com> null check

Change-Id: I3ee3efb8588a5b6b7368b8c5b0e43a07d1427ad8
oogle/android/mms/pdu/PduPersister.java
4cee725b1fd3958d850fc83214797f76d5f6b468 19-Mar-2010 Christopher Tate <ctate@google.com> Use atomic++ rather than lock/++/unlock in the input dispatch code path

Decouples the input dispatch thread from the battery-stats object lock regime,
to avoid the possibility of ever blocking the input dispatch thread on its
behalf. The stats object is widely used and can sometimes be locked for a
very long time (on the order of seconds) during certain extensive dump
operations.

This change does not alter the data format of the battery stats' externalized
representations.

Fixes bug #2530346

Change-Id: Iee288be3bf4936641b532dceecb8f6de8f552bf0
ndroid/internal/os/BatteryStatsImpl.java
379232c8f5c9faacfcb097b44930dde9a042b1bc 19-Mar-2010 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #2512131: Trackball goes up when moving"
7d9af5ae762c59e879a86e77dcb330856774bc09 19-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2512131: Trackball goes up when moving

Change-Id: Ib403de88f24bc1b6e5417732e3b69f89a5160bbc
ndroid/internal/widget/PointerLocationView.java
1afd1c90ebe789b8d3a137004127a50d2db7e3b5 19-Mar-2010 Dianne Hackborn <hackbod@google.com> Maybe fix issue #2457218: Corrupt batterystats.bin file preventing phone boot - LIBtt68127

No steps to repro, but makes the code more robust by using the standard
JournaledFile class and doing sanity checks on the input it reads.

This required moving the JournaledFile class in to the framework (and
we really should get rid of either it or AtomicFile, but they have
different recovery semantics so that is tough). Also went through and
cleaned up the file management in various places.

Change-Id: Ieb7268d8435e77dff66b6e67bb63b62e5dea572e
ndroid/internal/backup/LocalTransport.java
ndroid/internal/os/AtomicFile.java
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/util/JournaledFile.java
e7be6a85da5be32348f4e83ede195477a7ec1790 19-Mar-2010 Wink Saville <wink@google.com> Allow transitionTo in enter/exit.

bug: 2435366
Change-Id: Id15c5e2cca49ced5ebbda24887f8c490e717f101
ndroid/internal/util/HierarchicalState.java
ndroid/internal/util/HierarchicalStateMachine.java
d5ed7c787ff20258090ed459f1d64f6cf41544a7 18-Mar-2010 Joe Onorato <joeo@android.com> Merge "fix 2517656 Pin/Password Unlocks place focus on the launcher screen when they shouldn't"
16537757decfa09374852f2361b63a8738b67601 18-Mar-2010 Joe Onorato <joeo@android.com> fix 2517656 Pin/Password Unlocks place focus on the launcher screen when they shouldn't

PasswordEntryKeyboardHelper now sets the FLAG_KEEP_TOUCH_MODE flag for the events
so that the last event we process from the soft keybaord doesn't exit touch mode
and we don't erroneously go into non-touch mode since the on-screen button pressing
left us in touch mode.

Change-Id: Id2546ec3bc4b337aedb5e925de0c709ce62ea059
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
d3dd518baf87f06a571e56d9a127b043cf719e23 18-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Merge "Add new install flag to install on internal flash only Change default install location policy for new flag. New error code for media unavailable."
14b6abda1309631d49d4bebbb0317a7e1dfc0a50 17-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Add new install flag to install on internal flash only
Change default install location policy for new flag.
New error code for media unavailable.

Change-Id: I5a5d0828b067692b2b94a15a2bcc7534f796c1a2
ndroid/internal/app/IMediaContainerService.aidl
91fbd56757751a7aca8ef2b4d936e587509e6eef 18-Mar-2010 Wink Saville <wink@google.com> Add additional sendMessage methods.

To simplify sending messages add sendMessage methods that take
what and obj as parameters.

Change-Id: Ib22d752eb3cb32fe3dfa8dd2e65915acec3e5db6
ndroid/internal/util/HierarchicalStateMachine.java
8a9ab24a5c9b595ac0268fcade4b5bbfe7c45c2d 12-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Do storage checks before initiating a move.
Add new remote method to check for insufficient error conditions.
Some fixes in MountService when updating media status on PackageManagerService
Fix size calculation condition in installd.

Add new error code if media is unavailable.
New tests for testing error codes.
Some additional debugging statements in MountService.

Change-Id: Ibfe90d5ed6c71d57f9c1c67806f38b5ae9ecdfbf
ndroid/internal/app/IMediaContainerService.aidl
ndroid/internal/content/PackageHelper.java
650e22ca3a97501e12f4befb80f2cd5b39ea78bc 16-Mar-2010 Adam Powell <adamp@google.com> Merge "Fix monkey bug 2512055"
22cb2f46fdbb9a904ac394f488278fb47e2d4734 16-Mar-2010 Adam Powell <adamp@google.com> Fix monkey bug 2512055

Don't blow up when there aren't any menu items to layout in IconMenuView.

Change-Id: Ief08f0f8ed89aec4959d4d80cfd066dbe92dc3aa
ndroid/internal/view/menu/IconMenuView.java
0cd57a44ea43ec146722774a3f7d623eb9c9cbb3 15-Mar-2010 Jeff Sharkey <jsharkey@android.com> Switch SelectionBuilder to accept Object[], fix NPE.

Change-Id: I8d6ef1b47d89e4fc643402075f0549f4c4277a0f
ndroid/internal/content/SelectionBuilder.java
b258659ad6f96779009222db73b844e93498a4a4 15-Mar-2010 Jim Miller <jaggies@google.com> Merge "Fix 2428368: Fix most of the lockscreen orientation refresh bugs"
a027c95e798d75de1165feebefb2df4d1c7c0927 13-Mar-2010 Jim Miller <jaggies@google.com> Fix 2428368: Fix most of the lockscreen orientation refresh bugs

This change removes the legacy notification of orientation and configuration changed events
from KeyguardUpdateMonitor and moves them into the individual activities. This was necessary
to guarantee order of events.

In addition, to minimize discrepencies due to notification lag, Keyguard screens (LockScreen,
PatternUnlock, etc.) are now responsible for handling onConfigurationChanged() notification and
forwarding them to LockPatternKeyguardView by a call to recreateMe() with the new configuration.

Change-Id: I703daf3e91bc6588e87c844a3ed3d259a6b8ecdf
ndroid/internal/widget/LockPatternUtils.java
f8d0f095e34f8d661ca5b7d555d8610272099bff 12-Mar-2010 Kenny Root <kroot@google.com> Add missing license notices to files

Change-Id: Ie46176940810bd5001f7650a381c1c3c90a3718b
ndroid/internal/widget/PointerLocationView.java
oogle/android/util/AbstractMessageParser.java
c9421ba1f46d9f9aeee833e1fde2cc263b058411 12-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2492387: system server crash in WallpaperManagerService

Also move some of the important framework error logs over to Slog.

Change-Id: If6697c3e4f18498612ebd7b0e4e4f042fd713372
ndroid/internal/os/RuntimeInit.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
ndroid/internal/backup/LocalTransport.java
ndroid/internal/content/PackageMonitor.java
ndroid/internal/os/HandlerCaller.java
ndroid/internal/os/PkgUsageStats.java
ndroid/internal/os/SamplingProfilerIntegration.java
ndroid/internal/view/BaseIWindow.java
ndroid/internal/view/BaseSurfaceHolder.java
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/InputConnectionWrapper.java
c9b21c1a5358446fe1ba28fdf06fe6f9fbdd091e 12-Mar-2010 Kenny Root <kroot@google.com> Add copyright header for new file

Change-Id: I441c4e002eb8729e7e0ae7a2ab6a38d5dffa0049
ndroid/internal/view/WindowManagerPolicyThread.java
26b1ef95833665fb83195caad010566c8a9e0199 12-Mar-2010 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #2461567: Home screen redraw messed up"
ac3587d7ced544091264a35249dbd3f9531a3cab 11-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2461567: Home screen redraw messed up

Make sure that we have a window redraw itself after resizing its
surface.

Also includes a little optimization to avoid having an extra thread
for the ImageWallpaper.

Change-Id: I88d1eb66e3116077f48e6f9086a5b6459505ef69
ndroid/internal/service/wallpaper/ImageWallpaper.java
ndroid/internal/view/WindowManagerPolicyThread.java
f0f566ec4607376583e59964a6a8a6dcb0265c20 11-Mar-2010 Wink Saville <wink@google.com> Ignore instead of throw errors in QuittingState and reorder some parameters.

Since there could be an arbitrary number of messages in
the queue but Handler/Looper/MessageQueue do not provide
any mechanism for removing "all" messages the best we can
do is ignore. Throwing an error is probably too heavy.

Change-Id: I13c81ac5786484f5b3218885b010de596d943975
ndroid/internal/util/HierarchicalStateMachine.java
1b8b98b3db5dcf0b01d1a632aafea076cc91f5a4 11-Mar-2010 Wink Saville <wink@google.com> Add quit and fix HSM EBNF.

Add support for quiting the looper and stopping a thread.

Allow enter/exit at top or bottom of a STATE EBNF.

Fix missing brace in MSG_LIST.

Change-Id: Iddf5ce908008933bf8f0646e844254183da3d1f3
ndroid/internal/util/HierarchicalStateMachine.java
089262dc022d87e31eefc536025be6c015c7ebde 10-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Dont include code size for apps on sdcard.
Use constants defined in PackageHelper for user preferences
to install auto, internal, external.
Set default install location to external.
Update settings db version number

Change-Id: Ib5110c9377990e20a48cee923e55898dfddfd1e6
ndroid/internal/content/PackageHelper.java
fe62d04c30e7b3abe408b56c7744c7f547c57640 09-Mar-2010 Jeff Sharkey <jsharkey@android.com> Helper for combining multiple selection/selectionArgs.

Change-Id: I08eb082149a2a3e45ab00b81a3f46825ad52188d
ndroid/internal/content/SelectionBuilder.java
17bc415ded862bc0a5f70ee2f7259f34d3491a17 09-Mar-2010 Mike Lockwood <lockwood@google.com> Merge "Add new shutdown observer for MountService. Use new observer before rebooting and shutting down. Add some unit tests for unmount and shutdown code paths Fix registering/unregistering part in MountService Use ShutdownThread in PowerManager.reboot() Add reboot support to ShutdownThread. Remove MountService code from PowerManagerService.java and Power.java. Clean shutdown/reboot is handled exclusively by ShutdownThread now."
6ffce2e9a3c57634bb73f8ff133ca680f8070d5d 08-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Add new shutdown observer for MountService.
Use new observer before rebooting and shutting down.
Add some unit tests for unmount and shutdown code paths
Fix registering/unregistering part in MountService
Use ShutdownThread in PowerManager.reboot()
Add reboot support to ShutdownThread.
Remove MountService code from PowerManagerService.java and Power.java.
Clean shutdown/reboot is handled exclusively by ShutdownThread now.

Change-Id: Iefb157451d3d9c426cb431707b870a873c09123d
ndroid/internal/app/ShutdownThread.java
a2b6c3775ed6b8924232d6a01bae4a19740a15f8 06-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Add conditions to check for updated system applications. Restrict them
to internal flash only even before we copy.

Return error codes when install flag options mismatch.
Some conditions for existings apps
- install flags override existing location
- explicity manifest option install location overrides previous location
- if upgraded package's install location is unspecified or auto, fall
back to recommended install policy which considers user setting as well.

Check for sdcard status before finding available size on sdcard
Add light weight parsing for manifest attributes including package name and
install location only

Change-Id: I5143dda87c88c595f564b317326c926d0ec3ceb8
ndroid/internal/app/IMediaContainerService.aidl
ndroid/internal/content/PackageHelper.java
c4e26a5c99b261c956b9b47ab11217b20f539df8 09-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Showing phonetic name in the contact header."
2509d3c11fa247d37d023e32411e6dad15d85b85 08-Mar-2010 Dianne Hackborn <hackbod@google.com> Clear active password in device admin when password is cleared.

Fixes issue #2480213: DevicePolicyManagerService returning true
for isActivePasswordSufficient even though the current password
on the device is not sufficient.

Change-Id: I3cb11311d8696670726d969712a63a7c00cd1ce4
ndroid/internal/widget/LockPatternUtils.java
a87afd07c0093cab638e9ef9bc2c53c8200ca711 09-Mar-2010 Tom Taylor <tomtaylor@google.com> Remove mms-common library

Put the Mms files back in the framework where they've been since 1.0.

Change-Id: I3c449468053ddd82d35c45a06d71957de660bf99
oogle/android/mms/ContentType.java
oogle/android/mms/InvalidHeaderValueException.java
oogle/android/mms/MmsException.java
oogle/android/mms/package.html
oogle/android/mms/pdu/AcknowledgeInd.java
oogle/android/mms/pdu/Base64.java
oogle/android/mms/pdu/CharacterSets.java
oogle/android/mms/pdu/DeliveryInd.java
oogle/android/mms/pdu/EncodedStringValue.java
oogle/android/mms/pdu/GenericPdu.java
oogle/android/mms/pdu/MultimediaMessagePdu.java
oogle/android/mms/pdu/NotificationInd.java
oogle/android/mms/pdu/NotifyRespInd.java
oogle/android/mms/pdu/PduBody.java
oogle/android/mms/pdu/PduComposer.java
oogle/android/mms/pdu/PduContentTypes.java
oogle/android/mms/pdu/PduHeaders.java
oogle/android/mms/pdu/PduParser.java
oogle/android/mms/pdu/PduPart.java
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/pdu/QuotedPrintable.java
oogle/android/mms/pdu/ReadOrigInd.java
oogle/android/mms/pdu/ReadRecInd.java
oogle/android/mms/pdu/RetrieveConf.java
oogle/android/mms/pdu/SendConf.java
oogle/android/mms/pdu/SendReq.java
oogle/android/mms/pdu/package.html
oogle/android/mms/util/AbstractCache.java
oogle/android/mms/util/PduCache.java
oogle/android/mms/util/PduCacheEntry.java
oogle/android/mms/util/SqliteWrapper.java
oogle/android/mms/util/package.html
aeae357f6399aee68fb7a60e1a38b82c0062711c 09-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Showing phonetic name in the contact header.

Change-Id: I83f608ddf3a01ba6c29687f9e78212800e4ad4b1
ndroid/internal/widget/ContactHeaderWidget.java
156c43545529fb3d731ffdd9c4514d38758e3f06 06-Mar-2010 Amith Yamasani <yamasani@google.com> Move lockscreen settings to secure table to prevent tampering. b/2343673

Migrate old settings to secure on upgrade.
ndroid/internal/widget/LockPatternUtils.java
f99ae76533119f9fef111abef17a3a8fcb8f12a5 08-Mar-2010 Dianne Hackborn <hackbod@google.com> Hold wake lock while shutting down.

It is nicer to make sure the screen stays on while we are shutting
down, so the screen goes off when we are actually complete rather
than some time before.

Change-Id: I8725ac9884df6d21344f35288da3e375d9779b3b
ndroid/internal/app/ShutdownThread.java
4528186e0d65fc68ef0dd1941aa2ac8aefcd55a3 06-Mar-2010 Christopher Tate <ctate@google.com> Refactor android.backup => android.app.backup

Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
e7085e909d0c7f58a160b2730ff06aca085dfd6b 04-Mar-2010 Robert Greenwalt <robdroid@android.com> Update framework tethering UI

Getting rid of notification dialog - maybe the entire TetherActivity.
Also getting rid of toasts - to ephemeral.
ndroid/internal/app/TetherActivity.java
5a73506cdd466f2b96686ced3ff0f7ca224d1143 03-Mar-2010 Robert Greenwalt <robdroid@android.com> Add error reporting for Tethering.

Also make the usb interface configuration more robust so retries are possible.

Makes all Tethering errors recoverable - no harm letting them try again anyway. Worst case
is they need to reboot.
ndroid/internal/app/TetherActivity.java
9b10ef5fe85e9d29721ff0cd15161f960d38a8db 03-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Rework the way PackageManager binds to default container service.

Clean up stale containers when enabling/disabling packages on sdcard.
Check the path of packages which are being enabled.
Make sure gc's are done prior to destroying containers when moving applicati
as well as enabling/disabling packages for sdcard mount status changes.

Some miscellaneous issues
Remove hack to avoid renaming containers.
Fix test with forward locked apps
Remove adding container id to asec list when renaming
Some cosmetic changes to DefaultContainerService
ndroid/internal/content/PackageHelper.java
829778843cf459384841f9f4ecafe862b6228d6e 02-Mar-2010 Dianne Hackborn <hackbod@google.com> Move the pointer location thing out of common.
ndroid/internal/widget/PointerLocationView.java
a3afae33b7458177f04157268b59c74ba9b56366 01-Mar-2010 Dave Sparks <davidsparks@android.com> Merge "Stop previous ringtone when silent is selected. Bug 2256593."
87bba1ee14279bb14a28d42e27c4ef66d9967bf8 27-Feb-2010 Dianne Hackborn <hackbod@google.com> Move DeviceAdmin APIs to android.app.admin.

Also add ability for admins to hide themselves when not in use,
a facility for admins to not allow other admins to reset
their password, and debug dumping.
ndroid/internal/widget/LockPatternUtils.java
370dd39132bf64f2a0703969a110c0d3b136c6eb 27-Feb-2010 Dave Sparks <davidsparks@android.com> Stop previous ringtone when silent is selected. Bug 2256593.
ndroid/internal/app/RingtonePickerActivity.java
69ac9887459a65a0eebc6f9c450a5b6c2313d713 25-Feb-2010 Jim Miller <jaggies@google.com> Fix 2336057: Provide a way for the user to return to a call from LockScreen.

This makes the "Emergency call" button dual-purpose. If there's a call in progress,
the button will show "Return to call" and take the user back to the call.
ndroid/internal/widget/LockPatternUtils.java
2269d1572e5fcfb725ea55f5764d8c3280d69f6d 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common. Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
ndroid/internal/net/DNParser.java
ndroid/internal/net/DomainNameValidator.java
ndroid/internal/os/PowerProfile.java
ndroid/internal/util/FastXmlSerializer.java
ndroid/internal/util/XmlUtils.java
ee74858f1f68a915ab42b89a258ff1e7eff47b06 25-Feb-2010 Fred Quintana <fredq@google.com> make the SyncStateContentProviderHelper.update() method return an indication if the row to update still exists
ndroid/internal/content/SyncStateContentProviderHelper.java
d70a3d4e2d356aab4cac313f1f9d8272a5e3e8d0 24-Feb-2010 Robert Greenwalt <robdroid@android.com> Tethering improvements.

Changes due to comments.
Fixing Tether teardown.

bug:2422545
ndroid/internal/app/TetherActivity.java
cf6eaeaae9e6745dd6e07540812c79821d7043c2 24-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Some framework fixes for apps on sd
change hard coded path in installd
fix tests
Work around for renaming containers.
Do forced unmount when destroying containers.
Force a gc in default container service to release handle to parsed package
and thus avoid getting killed by vold
Some cosmetic changes to PackageManager api.
Unit tests for renaming container for MountService
Remove internal size limit on app to be installed.
ndroid/internal/content/PackageHelper.java
0c33ed2992b2eb484c229fd3322df14d97c10caa 23-Feb-2010 Devin Taylor <devin.taylor@garmin.com> Fix Memory Leak When Switching Input Methods

Fixes a memory leak when input methods are switched. Uses a variety of methods
to avoid holding a reference to the InputMethodService which created the binders,
which was leaking those InputMethodServices.

See http://code.google.com/p/android/issues/detail?id=6661 for reproduction steps.
ndroid/internal/view/IInputMethodSession.aidl
5b0fb3a7e8070ed366a85acc1904d2f34030445d 23-Feb-2010 Jim Miller <jaggies@google.com> Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils.

Today we're seeing a crash that's likely caused by a change in the order in which
system services start.

The crash we're seeing happens in response to user interaction which happens after the
boot process completes, so we should re-fetch the DevicePolicyManager if we weren't
able to get it when LockPatternUtils was constructed.
ndroid/internal/widget/LockPatternUtils.java
9e0f5d9a63ba88c2bf69df0557f8c9696db370c4 23-Feb-2010 Dianne Hackborn <hackbod@google.com> Fix some random bugs.

2185256: After open &close of device keyboard shortcut does not added to Home desktop.

ActivityThread was losing the last saved state when restarting or launching into
a paused state.

2366174: defaults not cleared when they should be

PackageManagerService now removes any preferred activity records for a package
when it is uninstalled.

2154556: Battery stats can have an unbounded number of wake locks

We now start combining wake locks into one shared record when we hit a
maximum limit (currently 20).

2442519: Foreground services can have no notification by providing a bogus one.

If the notification manager rejects our notification, the service is forced to
no longer be in the foreground.

2442383: Finalization issues in com.android.server.am.PendingIntentRecord.java

Cleaned up finalization to call super class and avoid the big activity manager
lock (we still need to use the locks inside of the message system, but these
are much less likely to be a problem).

2284190: Cannot call a phone number using adb

We weren't getting the calling uid/pid in startActivity() if the caller did not
supply an application record.
ndroid/internal/os/BatteryStatsImpl.java
17b7d97d7159da265d016a842c6319bd22b361d0 22-Feb-2010 Romain Guy <romainguy@google.com> Merge "Fix bug where calling getButton(int) returns null."
6fe2b22085864b8f6bb6c59ecc0a12c6c4253309 22-Feb-2010 Romain Guy <romainguy@android.com> Fix bug where calling getButton(int) returns null.

Fixes external bug http://code.google.com/p/android/issues/detail?id=6360
ndroid/internal/app/AlertController.java
21f1bd17b2dfe361acbb28453b3f3b1a110932fa 20-Feb-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2438980: Implement package watcher for voice recognizer service setting

I am getting tired of writing package monitor code, realized this is missing in
a number of places, and at this point it has gotten complicated enough that I
don't think anyone actually does it 100% right so:

Introducing PackageMonitor.

Yes there are no Java docs. I am still playing around with just what this
thing is to figure out what makes sense and how people will use it. It is
being used to fix this bug for monitoring voice recognizers (integrating the
code from the settings provider for setting an initial value), to replace
the existing code for monitoring input methods (and fix the bug where we
wouldn't remove an input method from the enabled list when it got
uninstalled), to now monitor live wallpaper package changes (now allowing
us to avoid reverting back to the default live wallpaper when the current
one is updated!), and to monitor device admin changes.

Also includes a fix so you can't uninstall an .apk that is currently enabled
as a device admin.

Also includes a fix where the default time zone was not initialized early
enough which should fix issue #2455507 (Observed Google services frame work crash).

In addition, this finally introduces a mechanism to determine if the
"force stop" button should be enabled, with convenience in PackageMonitor
for system services to handle it. All services have been updated to support
this. There is also new infrastructure for reporting battery usage as an
applicatin error report.
ndroid/internal/content/PackageMonitor.java
281a80da143a977046e5b9f65afc85c7fb0b6d25 19-Feb-2010 Jim Miller <jaggies@google.com> Fix 2448345: Fix tactile feedback bug in password/PIN and pattern unlock.
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
e36d6e277e49475076b7872d36ea6a5c5b996e9d 18-Feb-2010 Dianne Hackborn <hackbod@google.com> Work on issue #2263557: PMF3000 showing hybrid of portrait and landscape modes

This is a bunch of reworking of how configuration changes are handled:

- When orientation is changing (for whatever reason), the window manager no
longer tries to pre-emptively compute a new configuration. Instead, it
just determines change is happening and tells the window manager.
- The activity manager is now responsible for giving the window manager the
final configuration it is using. This is both so it knows whem the
activity manager is done with its configuration updates, and so the window
manager can use the "real" configuration.
- When an orientation or other configuration change is happening, freeze the
screen and keep it frozen until the activity manager has given us the
final configuration.
- The window manager can now send new configurations to its clients during
its layout pass, as part of a resize, if it has determined that it has
changed. This allows for a new View.onConfigurationChanged() API for any
view to easily find out when the configuration has changed.
- ViewRoot now also works with the activity thread to make sure the process's
current resources are updated to the new configuration when it receives one
from a window. This ensures that at the time onConfigurationChanged() and
other view callbacks are happening, the correct configuration is in force.
- There is now a sequence number associated with Configuration, which
ActivityThread uses to avoid using stale configurations. This is needed now
that it can receive configurations asynchronously from both the window
manager and activity manager.
- The hack for keeping the locale has been removed, and underlying problem
fixed by having Configuration initialize its locale to "unknown" instead of
a valid default value.
ndroid/internal/view/BaseIWindow.java
d970998b0d489774ad1c5b94b47d233912f00214 18-Feb-2010 San Mehat <san@google.com> framework: storage: Add 'force' option to unmount/destroy storage apis, and update callsites.

Also adds additional storage unit tests

Signed-off-by: San Mehat <san@google.com>
ndroid/internal/content/PackageHelper.java
154f7a1cc2d4f0468a7cc8dfa36e837c84cd9f7e 17-Feb-2010 Tobias Haamel <haamel@google.com> Show car mode notification in status bar.

The notification is an ongoing event and can be used to get out of car mode.
ndroid/internal/app/DisableCarModeActivity.java
6a6ce74e5972f189004340af97c77aa7631478ee 17-Feb-2010 Robert Greenwalt <robdroid@android.com> Merge "Update Tethering."
2a091d7aa0c174986387e5d56bf97a87fe075bdb 12-Feb-2010 Robert Greenwalt <robdroid@android.com> Update Tethering.

Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.

bug:2413855
ndroid/internal/app/TetherActivity.java
ndroid/internal/util/HierarchicalStateMachine.java
679bba339ef6948091180c776d6a284cddd812f5 16-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Move mount service wrapper calls to PackageHelper

Fix bug related to forward locked apps.
ndroid/internal/content/PackageHelper.java
642b7c0f1964389ed0b049df275c7b4daaf35b7a 16-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Merge "Include install location preference when installing packages. Changes include Add new remote call in default container service to determine install location. Rename INSTALL_ON_SDCARD Remove recommentAppInstall method Add some additional flags used in remote stubs. Move check for protected apps prior to copy. Unit tests"
1c9131c91f27c8258dfad0a92cee105275f5422a 13-Feb-2010 Dan Egnor <egnor@google.com> Remove all traces of the old checkin service (and its associated parental
control interfaces) from the framework.
ndroid/internal/os/RuntimeInit.java
oogle/android/net/ParentalControl.java
oogle/android/net/ParentalControlState.aidl
oogle/android/net/ParentalControlState.java
5b993ce7bc29e43a3215a50ce6ce5d6550d4e5e2 12-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Include install location preference when installing packages.
Changes include
Add new remote call in default container service to determine
install location.
Rename INSTALL_ON_SDCARD
Remove recommentAppInstall method
Add some additional flags used in remote stubs.
Move check for protected apps prior to copy.
Unit tests

DefaultContainerService first parses the file uri(if content uri is specified
it returns a default install internal only value) and returns
a recommended location. Based on which the temporary id is determined
either a file name or a container id and the file is copied there.
This is then later renamed during install.
Todo's light weight parsing of package when determining location since we
just need the install location attribute only when finding out
recomended location. This will also enable to move the check for
updated system apps(cannot be on sdcard) prior to copying.
ndroid/internal/app/IMediaContainerService.aidl
ndroid/internal/content/PackageHelper.java
ec52eedc2ceb623b503f6b82eb560c0e9a6e4619 12-Feb-2010 Jim Miller <jaggies@google.com> Fix 2438785: Add missing key code to landscape keyboard and fix log spew.
ndroid/internal/widget/PasswordEntryKeyboard.java
575c6710a38f608aca2c25e7784674a47d18a871 11-Feb-2010 Jim Miller <jaggies@google.com> Merge "Fix 2373088: Cleanup and minor fixes to PasswordKeyboard*."
23085b781e145ed684e7270af1d5ced6800b8eff 09-Feb-2010 Ben Cheng <bccheng@android.com> Support per-application switch to execute the VM in safe mode.

The new attribute can be set by adding android:safeMode="true"
in AndroidManifest.xml with the SDK.

Tested with pairing locally compiled SDK with Eclipse and verified that the JIT
(the only component currently included in the safe mode) is indeed disabled
with the new attribute.

Bug: 2267583
ndroid/internal/os/ZygoteConnection.java
280b6023cb77be1cd18f20c0c6a169eba1ed35dc 10-Feb-2010 Jim Miller <jaggies@google.com> Fix 2373088: Cleanup and minor fixes to PasswordKeyboard*.
ndroid/internal/widget/PasswordEntryKeyboard.java
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
ndroid/internal/widget/PasswordEntryKeyboardView.java
4154c07c5cabc74029a2df379075391d782a682c 10-Feb-2010 San Mehat <san@google.com> StorageNotification: Move notification / usb storage activity into StatusBarPolicy

Signed-off-by: San Mehat <san@google.com>
ndroid/internal/app/StorageNotification.java
ndroid/internal/app/UsbStorageActivity.java
b104340496e3a531e26c8f428c808eca0e039f50 05-Feb-2010 San Mehat <san@google.com> Framework: Clean up / Refactor Mount APIs

- Move android.storage.* -> android.os.storage.* and refactor users
- Refactor generic shares back to explicit ums enable/disable/isEnabled
- Remove media insert/removed event callbacks (not ready for Froyo)
- Remove 'label' from volume state change callbacks
- Add public API functions for enabling/disabling USB mass storage (permissions enforced
in MountSevice)
- Remove some stray un-needed import lines
- Move android.os.IMountService / android.os.IMountServiceListener -> android.os.storage
- Improve code comments

Updated:
MountService: Add dup state check and move debugging behind a conditional
UsbStorageActivity: Fix review comments + a TODO
StorageNotification: Add @Override tags
StorageManager: Don't use a static Listener list
MountService: Reduce bloat and fix == where I meant .equals()
PackageManagerTests: Update for new API

Signed-off-by: San Mehat <san@google.com>
ndroid/internal/app/ExternalMediaFormatActivity.java
ndroid/internal/app/NetInitiatedActivity.java
ndroid/internal/app/ShutdownThread.java
ndroid/internal/app/StorageNotification.java
ndroid/internal/app/TetherActivity.java
ndroid/internal/app/UsbStorageActivity.java
64e6a45ed45e0d096a1490408ee1cab2a4626950 05-Feb-2010 San Mehat <san@google.com> StorageNotification: Add general storage notification for UMS/Storage events

Signed-off-by: San Mehat <san@google.com>
ndroid/internal/app/StorageNotification.java
0b31970cac04259a6e20dfc6d6e42cd9532528e3 06-Feb-2010 Jim Miller <jaggies@google.com> Fix 2402303: Split Keyboard widget from LatinIME into reusable PasswordEntryKeyboardView

- Added new PasswordEntryKeyboardView to internal/widgets. Widget supports:
- alpha mode with symbols (latin-1 only).
- a numeric keyboard
- IME emulation that applies keyboard input to arbitrary top-level view widget.
- Added new transparent assets to framework resources.
- Modified Keyguard and Keyguard layouts to use new PasswordEntryKeyboardView.
ndroid/internal/widget/PasswordEntryKeyboard.java
ndroid/internal/widget/PasswordEntryKeyboardHelper.java
ndroid/internal/widget/PasswordEntryKeyboardView.java
d60d3742abe4e6c51681276713bbd68a3e21f04e 05-Feb-2010 Romain Guy <romainguy@android.com> Fix dialogs to occupy more space.
ndroid/internal/widget/WeightedLinearLayout.java
d0e18ffb82b59d38aeaf0e552f48e734202719ab 26-Jan-2010 Robert Greenwalt <robdroid@android.com> First pass at USB Tethering.

bug:2281900
ndroid/internal/app/TetherActivity.java
8321eb377f6fbff87c677b59340cc0bc23775501 03-Feb-2010 Mike Chan <mike@android.com> Merge "BatteryStatsImpl: initalize audio timer"
ec7f7e6378f87cdc826a8b5d836fff26f44b0b09 29-Jan-2010 San Mehat <san@google.com> UsbStorageActivity: Refactor for new MountService API

Signed-off-by: San Mehat <san@google.com>
ndroid/internal/app/UsbStorageActivity.java
18d200fd2aa26e4c9b6ca7c38bb5fd6b81e40259 02-Feb-2010 Mike Chan <mike@android.com> BatteryStatsImpl: initalize audio timer

Signed-off-by: Mike Chan <mike@android.com>
ndroid/internal/os/BatteryStatsImpl.java
798c4b985d5c7909f9dd0ee9464bffae1d0b6026 30-Jan-2010 Jim Miller <jaggies@google.com> am 3a8a2818: am d8a3a895: Fix 2404771: Expose reset() in SlidingTab widget so we can reset it when we get an incoming call.

Merge commit '3a8a28185bc26ccfdf847016d5a40af35436ca97'

* commit '3a8a28185bc26ccfdf847016d5a40af35436ca97':
Fix 2404771: Expose reset() in SlidingTab widget so we can reset it when we get an incoming call.
d8a3a8957b9d71ab75584b0cc98324fd70cc527c 30-Jan-2010 Jim Miller <jaggies@google.com> Fix 2404771: Expose reset() in SlidingTab widget so we can reset it when we get an incoming call.

Updated javadoc.
ndroid/internal/widget/SlidingTab.java
9327f4f671de3cbb795612bf4f314ceff88de865 29-Jan-2010 Dianne Hackborn <hackbod@google.com> More device policy work: clarify password modes, monkeying.

Clarifies what the password modes mean, renaming them to "quality"
and updating their documentation and the implementation to follow.

Also adds a facility to find out if a monkey is running, which I
need for the api demo to avoid letting it wipe the device.
ndroid/internal/widget/LockPatternUtils.java
391e62690ee1c1d1307dd12a9d84a08c8984ddd3 29-Jan-2010 Chris Tate <ctate@android.com> Merge "Add a method to IBackupTransport to get the current backup set token"
50c6df04cf17a99c3959c306a4e0e10da6d85c46 29-Jan-2010 Christopher Tate <ctate@google.com> Add a method to IBackupTransport to get the current backup set token

This will be used to specifically manage restores of last-known-good data
generated from the current device during its normal provisioned lifetime.
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
77c292d83e70793dcb23677ab60a6c707fc613dd 29-Jan-2010 Daniel Sandler <dsandler@android.com> Merge "New full-screen activity for USB mass storage interaction."
5e342fa3260044353705c946d3ae62c89df52ee6 29-Jan-2010 Tom Taylor <tomtaylor@google.com> Remove MMS from the framework

The MMS code has been moved into the mms-common library.
Move SqliteWrapper (and make it hidden) into the database
directory because Telephony.java depends on it. Create a mmscommon
library similar to androidcommon for a number of files used both
by the telephony layer, by mms, and by myfaves.

Change-Id: I2e23e87c4961b87c42a4c8a63f812fa9e0e44dec
oogle/android/mms/ContentType.java
oogle/android/mms/InvalidHeaderValueException.java
oogle/android/mms/MmsException.java
oogle/android/mms/package.html
oogle/android/mms/pdu/AcknowledgeInd.java
oogle/android/mms/pdu/Base64.java
oogle/android/mms/pdu/CharacterSets.java
oogle/android/mms/pdu/DeliveryInd.java
oogle/android/mms/pdu/EncodedStringValue.java
oogle/android/mms/pdu/GenericPdu.java
oogle/android/mms/pdu/MultimediaMessagePdu.java
oogle/android/mms/pdu/NotificationInd.java
oogle/android/mms/pdu/NotifyRespInd.java
oogle/android/mms/pdu/PduBody.java
oogle/android/mms/pdu/PduComposer.java
oogle/android/mms/pdu/PduContentTypes.java
oogle/android/mms/pdu/PduHeaders.java
oogle/android/mms/pdu/PduParser.java
oogle/android/mms/pdu/PduPart.java
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/pdu/QuotedPrintable.java
oogle/android/mms/pdu/ReadOrigInd.java
oogle/android/mms/pdu/ReadRecInd.java
oogle/android/mms/pdu/RetrieveConf.java
oogle/android/mms/pdu/SendConf.java
oogle/android/mms/pdu/SendReq.java
oogle/android/mms/pdu/package.html
oogle/android/mms/util/AbstractCache.java
oogle/android/mms/util/PduCache.java
oogle/android/mms/util/PduCacheEntry.java
oogle/android/mms/util/SqliteWrapper.java
oogle/android/mms/util/package.html
b94f795c257e32a1d7be1115568b5b6f576dec37 28-Jan-2010 Daniel Sandler <dsandler@google.com> New full-screen activity for USB mass storage interaction.

Still TODO: patch into forthcoming callbacks from
MountService so the USB storage activity always shows the
correct state of the device. (Right now it only refreshes
its display onResume.)

Bug: 2299129
ndroid/internal/app/UsbStorageActivity.java
ndroid/internal/app/UsbStorageStopActivity.java
254cb446faa7cb13699d8150eb4cc4f44cb61a2d 28-Jan-2010 Dianne Hackborn <hackbod@google.com> More device admin.

- Clean up device policy manager APIs.
- Implement lockNow(). For now this just turns the screen off to lock the device.
ndroid/internal/widget/LockPatternUtils.java
d47c6ed4a9f2b5bd31f6c806b74701428efe458b 28-Jan-2010 Dianne Hackborn <hackbod@google.com> Bite the bullet and add support for multiple device admins.
ndroid/internal/widget/LockPatternUtils.java
83e5ff09d5ea440c3d32c9293449701d2475f4eb 28-Jan-2010 Wei Huang <weih@google.com> am 29bc7270: am 495bae67: Merge "fix bug 2264186: clean up the outstanding async queries in ContactHeaderWidget." into eclair

Merge commit '29bc7270ec2fd54707326eeee556be2fd4d86ca3'

* commit '29bc7270ec2fd54707326eeee556be2fd4d86ca3':
fix bug 2264186: clean up the outstanding async queries in ContactHeaderWidget.
c028be4f3b8c7476b46859f66c3f33d528adf181 25-Jan-2010 Suchi Amalapurapu <asuchitra@google.com> AppsOnSd feature - Add default container

Add new remote interface to do temporary copies. The new
remote stub handling is done on mHandler thread and doesn't need locking
for now.
Add new InstallArgs class and subclasses to isolate cases for installation.
Move resource deletion for failed installs/upgrades to later on in installation
cycle.
Fix code path for forward locked apps when using scanPackageLI

TODO's
Fix installation paths to completely use InstallArgs based design later on.
Get rid of using flags in various install/uninstall code paths.
Ideally InstallArgs should be created using these flags and used in the
rest of the code.
Function renames.
Revisit mount api's.
ndroid/internal/app/IMediaContainerService.aidl
bce2806a37a281396b944d10a6a8161de9977225 27-Jan-2010 Eugene Koh <koh@google.com> Merge "Modify the interface of HanziToPinyin class to make it generic and add test class"
4256586663f0d045c69ea818db4893b3365b9915 21-Jan-2010 Bai Tao <michaelbai@google.com> Modify the interface of HanziToPinyin class to make it generic and add test class
ndroid/internal/util/HanziToPinyin.java
5e5e6ccc37151c3e5d5272e8c1997955b6bed069 23-Jan-2010 Romain Guy <romainguy@android.com> Make dialogs look better when their content is small.
ndroid/internal/widget/WeightedLinearLayout.java
cd2354f5407f77f150c1d445a3bb3ec2180db51f 22-Jan-2010 Jim Miller <jaggies@google.com> am 84928fa9: am 813d2d86: Merge "Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent." into eclair

Merge commit '84928fa93c3be222b77794de9922d299f4971ea4'

* commit '84928fa93c3be222b77794de9922d299f4971ea4':
Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.
11b019d07f4de0b25e2f863a7bcaad112d847d56 21-Jan-2010 Jim Miller <jaggies@google.com> Fix 2385283: Use device-specific salt when generating hashes for lock passwords.
ndroid/internal/widget/LockPatternUtils.java
df83afaf299666e99c519aa86e7e082b7c116e95 20-Jan-2010 Dianne Hackborn <hackbod@google.com> More device policy manager / admin work.

Update API with some new features, re-arrange how you check for valid
passwords, and start hooking up the back-end implementation.
ndroid/internal/widget/LockPatternUtils.java
22149f3d4ed44c63e066ba16f00709da47220a25 21-Jan-2010 Wei Huang <weih@google.com> fix bug 2264186: clean up the outstanding async queries in ContactHeaderWidget.

- ContactHeaderWidget has cascading async queries, which weren't cancelled if a new query for a different phone number is started.
If the new query fails to find a corresponding contact, the old async queries from the previous number could end up setting the
contact name and photo to the wrong contact.

I tested this by calling

ContactHeaderWidget.bindFromPhoneNumber(number1);
ContactHeaderWidget.bindFromPhoneNumber(number2);

where number1 has a corresponding contact in the databse, and number2 doesn't. At the end of these 2 calls, the ContactHeaderWidget
would display the contact info for number1.

- also found a bug in AsyncQueryHandler.cancelOperation(), which doesn't reliably cancel the previous query. In ContactHeaderWidget's
case, we really depend on the cancelling to work. So work around this bug by resetting mAsyncQueryHandler when we need to do a
new lookup/query. When the old query result is passed back in the callback, discard the result if the QueryHandler is not the same
as mAsyncQueryHandler.

Change-Id: Ice79e77f787af03400e080cbd58162a91838181f
ndroid/internal/widget/ContactHeaderWidget.java
1206b9eb71e0fc0cfeb98677b92f16afb8179a31 21-Jan-2010 Jim Miller <jaggies@google.com> Merge "Fix 2385283: Add DevicePolicyManager calls to LockScreen."
31f90b62e8c83270094f5b0b4c75a0e06d72cd75 20-Jan-2010 Jim Miller <jaggies@google.com> Fix 2385283: Add DevicePolicyManager calls to LockScreen.
ndroid/internal/widget/LockPatternUtils.java
0b3533ae838811d15afb1017144dfbf7c41df4a8 20-Jan-2010 Barry Hayes <bhayes@google.com> Check the boolean value for the arg to ZygoteInit to make sure it's either true or false.
Make a slightly more informative usage message.
Give developers a slightly easier way to have their preloaded classes list out of sync without blowing up.
ndroid/internal/os/ZygoteInit.java
2cd1e6eda90170114e0795b13f65f964296cf2f2 16-Jan-2010 Jim Miller <jaggies@google.com> Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.

The previous workaround for this race condition prevented glitches by postponing drawing the SlidingTab until the internal state was consistent.
Unfortunately, the InCallScreen seems to trigger this most of the time if the keyboard is open or the last application was in landscape mode.

Instead, we'll handle this separately in lockscreen.
ndroid/internal/widget/SlidingTab.java
22dd86e0556bf60f46bb92a4d90aef8c2d55da58 12-Jan-2010 San Mehat <san@google.com> MountService: Refactor to use NativeDaemonConnector and clean-up

Signed-off-by: San Mehat <san@google.com>
ndroid/internal/app/ExternalMediaFormatActivity.java
c93c70c4b849d31ff1b5e5cf2fb9462fd60e5da0 12-Jan-2010 San Mehat <san@google.com> Merge "framework: storage: Ensure that filesystems are unmounted before shutdown/reboot" into eclair
7ebf017658070323ed1c2bbd80c46c7cd2390d87 12-Jan-2010 San Mehat <san@google.com> framework: storage: Ensure that filesystems are unmounted before shutdown/reboot

Signed-off-by: San Mehat <san@google.com>
ndroid/internal/app/ShutdownThread.java
69aa4a953f040277c19c23208bb830f52796c8c6 23-Dec-2009 Jim Miller <jaggies@google.com> Fix 2332563: Add password-lock support to lockscreen
ndroid/internal/widget/LockPatternUtils.java
6e106ff7b419613eca17839f224344fbfc450559 11-Jan-2010 Tom Taylor <tomtaylor@google.com> am 2bb1f870: am 1edd8277: Merge "Hide unused fields" into eclair

Merge commit '2bb1f87089faa14954c1b5afa92a34ea947f5ff6'

* commit '2bb1f87089faa14954c1b5afa92a34ea947f5ff6':
Hide unused fields
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
ndroid/internal/app/AlertController.java
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/widget/SlidingTab.java
c34705bc35946701f240a09aff8e711cea7fbbaf 08-Jan-2010 Doug Zongker <dougz@android.com> remove GoogleWebContentHelper class

This shouldn't have been in frameworks/base; migrated to vendor/google.

Change-Id: Ia7a4748f9acf9d0a1d059496b75d0a8b827bc294
oogle/android/util/GoogleWebContentHelper.java
9f7f7cad0b1fd7b096d65faf4b2352204403257e 07-Jan-2010 San Mehat <san@google.com> ShutdownThread: Shutdown MountService before lowlevel shutdown

Signed-off-by: San Mehat <san@google.com>
ndroid/internal/app/ShutdownThread.java
1af33d0ddc2f50ade146e4d48e2feb6f1d553427 05-Jan-2010 Doug Zongker <dougz@android.com> add recovery system interface to API

Adds android.os.RecoverySystem (marked as pending) to replace the
(hidden) com.android.internal.os.RecoverySystem. RecoverySystem
contains methods for:

- verifying the signature of an update package
- rebooting to install a package
- rebooting to wipe user data

(The reboot functions require "android.permission.REBOOT" and
"android.permission.ACCESS_CACHE_FILESYSTEM".) Providing these
simplifies implementation of OTA update for device builders.

Change-Id: I63ce743b156e7a1a0327fd395b0e4a82c0eda79a
ndroid/internal/os/RecoverySystem.java
ac65121351f88a890d73a9911f705b7f8f663cd8 06-Jan-2010 Tom Taylor <tomtaylor@google.com> Hide unused fields

When ContactHeaderWidget.bindFromPhoneNumber is called with a number
that's not in contacts, onQueryComplete takes a path that doesn't hide
fields that don't apply to the current phone number. As a result, the
user sees the new number, but old data from the previous display (such
as the facebook status). With this change, those fields are hidden.
Fixes bug 2336977.

Change-Id: Ib6253c18dc58c3d28b463c87d5d195a84d613600
ndroid/internal/widget/ContactHeaderWidget.java
c0227fa68f5cee1812301c8aae0dcd1e2340cd89 05-Jan-2010 Marco Nelissen <marcone@google.com> VerticalTextSpinner has been moved in to the music app, and is no longer needed here.
ndroid/internal/widget/VerticalTextSpinner.java
e38d58bf890c03eb034afd18c62c730c7d735f1c 31-Dec-2009 Dan Egnor <egnor@google.com> Remove Google-specific (or only-used-by-Google-code) classes.

Fix a small typo in Context javadoc.
ndroid/internal/net/DbSSLSessionCache.java
oogle/android/net/NetworkStatsEntity.java
oogle/android/net/SSLClientSessionCacheFactory.java
oogle/android/net/UrlRules.java
f0108cda21bec61418b24aa6217406072780b5d5 22-Dec-2009 Tom Taylor <tomtaylor@google.com> resolved conflicts for merge of ad2fa35d to master

Change-Id: Ia4362cd48ac0689b91003943a4cd9660da72ff90
f966afa1461c602fb5b50aeb5d6429dc525014be 22-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I34a427a5

* changes:
Adding support for LoggingPrintStream.write(byte[]) and friends.
60d8762413e8daba5f73559786312a9ec5e3b827 17-Dec-2009 Dan Egnor <egnor@google.com> DropBox logging of app & system server crashes.

The crashes are also reported to the event log (and of course the
main logcat, like they always have been). Ordinary Log.e(t,m,e) isn't dropboxed
but there's a new Log.wtf() which always is. (Still @pending in this change.)

Add a hook to IPowerManager to crash the system server on demand
(only for apps with REBOOT permission, since it's basically a restart).
This is not exposed in PowerManager, must be invoked directly -- mostly
this is there so "Bad Behavior" in dev tools can do it.
ndroid/internal/os/RuntimeInit.java
d4a4729c0cac582a2dcec7c8cfb316b81885a0f0 21-Dec-2009 Tom Taylor <tomtaylor@google.com> Update imports to android-common

Several files were moved to android-common. Update all the references
to import those files from the new location.
ndroid/internal/database/ArrayListCursor.java
ndroid/internal/os/PowerProfile.java
ndroid/internal/util/FastXmlSerializer.java
ndroid/internal/util/XmlUtils.java
f41de2a4a1c22e3f3ee9a8cd65ec7997c9587cdb 18-Dec-2009 Jesse Wilson <jessewilson@google.com> Adding support for LoggingPrintStream.write(byte[]) and friends.

By default, Android's System.out and System.err are implemented by
the AndroidPrintStream subclass of LoggingPrintStream. Until now,
that class has silently discarded the raw bytes it has received.
This causes two problems:

Applications may be accidentally wasting CPU+memory writing to
System.out. By making this output visible, the developers of such
applications can silence the problem at the source.

Application developers may be purposefully writing to these streams
and perplexed by the data's disappearance. For example, the core
library's own java.util.logging.ConsoleHandler sends its log data
into this black hole. By making the data visible, we save the data
and remove an unnecessary sharp edge from our API.
ndroid/internal/os/LoggingPrintStream.java
b8d46988180edf780b9aa8ba853601fdce2abb95 17-Dec-2009 Paul Westbrook <pwestbro@google.com> Bug 2330278

Deleted old copy of SimplePullParser, since it has been moved to
gdata
oogle/android/util/SimplePullParser.java
01dde47ea9dda6f869557931db5f64573b9ce73d 15-Dec-2009 Paul Westbrook <pwestbro@google.com> Bug 2326468

Deleted old copy of the GoogleHttpClient, and the unit tests.
oogle/android/net/GoogleHttpClient.java
df1549128f26be712c46c88202b97145275f2125 15-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Cherry-picking change I476e5a00 from eclair-china

Add Hanzi to Pinyin converter and sort key for contacts

Sort key and Hanzi to Pinyin converter is used for Chinese
implementation of contacts search, indexing and sorting.
Hanzi to Pinyin converter should be implemented on top of ICU
transliterator in the future.

Change-Id: I620f67c85897ee4054eda2624e7bcc12a81740aa
ndroid/internal/util/HanziToPinyin.java
e143bc92b2dfa205ea6af80855132bf52e018688 14-Dec-2009 Paul Westbrook <pwestbro@google.com> resolved conflicts for merge of 15d3bb2c to master
7762d93621f508f4410fd37b5bbdfec0071b0420 11-Dec-2009 Paul Westbrook <pwestbro@google.com> Unbundling work

Moved AndroidHttpClient, Rfc822InputFilter, Rfc822Validator
NumberPicker, NumberPickerButton to android-common
---
ndroid/internal/widget/NumberPicker.java
ndroid/internal/widget/NumberPickerButton.java
oogle/android/net/GoogleHttpClient.java
d021302134460efbb596f4a4a2951e75b83d0ede 11-Dec-2009 Dan Egnor <egnor@google.com> resolved conflicts for merge of f6bb01b0 to master
b7f0367cec1c744aa66ef397b0244e25d507491c 10-Dec-2009 Dan Egnor <egnor@google.com> Eliminate CrashData and friends.

(CrashData was a custom-marshalled crash-info class used for a server crash
reporting system I am deprecating). Use ApplicationErrorReport.CrashInfo
instead to report crash details (mostly the stack trace) from RuntimeInfo to
ActivityManagerService, since we're likely to need the crash information in
that form anyway.

Remove the (long-disabled) flags and support for the "Debug" button
in the crash dialog.

Further gut the ICheckinService interface by removing the crash-reporting
APIs (and everything that calls them), plus the synchronous checkin()
method (which has been stubbed out for a while now).

A new dropbox-based crash reporting system is in the works, but not part
of this change.
ndroid/internal/os/RuntimeInit.java
7a4fb7376b6819f609b8f462c56329eff50fcb6d 11-Dec-2009 Wink Saville <wink@google.com> am 595c4092: am 8fb0faf3: Merge change I0a56959e into eclair-mr2

Merge commit '595c40920f31ba7b6674eb341548173e2aaf6ea7'

* commit '595c40920f31ba7b6674eb341548173e2aaf6ea7':
Implement a HierarchicalStateMachine
8fb0faf3cc2f792db8cf38fe5ab67c5eab7baa5c 11-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I0a56959e into eclair-mr2

* changes:
Implement a HierarchicalStateMachine
d2169dde42284fa2e56b1b870d4ffcfe824f975d 10-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change If3bafe4f

* changes:
Encrypted File Systems. Recovery changes for framework. Modifications to allow for new call to recovery to toggle EFS settings.
630432e4249ca775e28eedeeb28d1f367ca45296 10-Dec-2009 Ken Shirriff <kens@google.com> am d44c2f2c: am 1270e2e2: Merge change I96ddd6e2 into eclair-mr2

Merge commit 'd44c2f2c85c8720763837b89a8988b6e5cc248bf'

* commit 'd44c2f2c85c8720763837b89a8988b6e5cc248bf':
Migration to TrafficStats.
314664d2479a55b182035f0585eadd40a0e6833d 10-Dec-2009 Dianne Hackborn <hackbod@google.com> am 68a3b8b6: am 24eca800: Merge change I887f355f into eclair-mr2

Merge commit '68a3b8b66044d0a9fa901ad306fc6db6d13f94d3'

* commit '68a3b8b66044d0a9fa901ad306fc6db6d13f94d3':
Propagate background scheduling class across processes.
fc5b4802a544b6ca304aa7e58a26018ef714d233 09-Dec-2009 Wink Saville <wink@google.com> Implement a HierarchicalStateMachine

A hierarchical state machine is a state machine which processes messages
and can have states arranged hierarchically. Each state in the state
machine may have a single parent state and if a child state is unable to
handle a message it may have the message processed by its parent.

Change-Id: I0a56959ece8f89e4f9122dc8044120b82d517bbb
ndroid/internal/util/HierarchicalState.java
ndroid/internal/util/HierarchicalStateMachine.java
ndroid/internal/util/ProcessedMessages.java
1270e2e22b0b3f0705cee2b82788d8dc3fb03cdb 08-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I96ddd6e2 into eclair-mr2

* changes:
Migration to TrafficStats.
1719a39a4c0ff3afbf9c9e5f03f20ba50f490902 08-Dec-2009 Ken Shirriff <kens@google.com> Migration to TrafficStats.

TrafficStats is the SDK version of NetStat.
ndroid/internal/os/BatteryStatsImpl.java
oogle/android/net/GoogleHttpClient.java
oogle/android/net/NetworkStatsEntity.java
887f355f99ff83d568ef2885a4fdcaae475583df 08-Dec-2009 Dianne Hackborn <hackbod@google.com> Propagate background scheduling class across processes.

This is a very simply implementation: upon receiving an IPC, if the handling
thread is at a background priority (the driver will have taken care of
propagating this from the calling thread), then stick it in to the background
scheduling group. Plus an API to turn this off for the process, which is
used by the system process.

This also pulls some of the code for managing scheduling classes out of
the Process JNI wrappers and in to some convenience methods in thread.h.
ndroid/internal/os/BinderInternal.java
1588bedcd042ea77d232b9b7853235e8834f2215 08-Dec-2009 Evan Millar <emillar@google.com> am 4adf8017: am b5eb3902: Merge change Ie70845ca into eclair-mr2

Merge commit '4adf8017374c20f725400233fc7b039613c78caf'

* commit '4adf8017374c20f725400233fc7b039613c78caf':
Add Sets#newSortedSet()
049070d365c41a6beb81b4936b9fcc99a9549bf9 07-Dec-2009 Evan Millar <emillar@google.com> Add Sets#newSortedSet()
oogle/android/collect/Sets.java
3baf1bf734b6212908486d84b356ed1bc7cd838b 30-Nov-2009 Oscar Montemayor <oam@google.com> Encrypted File Systems. Recovery changes for framework.
Modifications to allow for new call to recovery to toggle EFS settings.
ndroid/internal/os/RecoverySystem.java
fb397e73b2bee3ec6963b45ab8c6316c590babe9 04-Dec-2009 Jim Miller <jaggies@google.com> am cdeed788: am 3077f7df: am 1296d562: Merge change I8b63ab66 into eclair

Merge commit 'cdeed7887323048cc42e9c62f3205340a91b97bc'

* commit 'cdeed7887323048cc42e9c62f3205340a91b97bc':
Better animation for sliding widget.
3077f7df2eaf4127438d4337a9a25766261b02ee 04-Dec-2009 Jim Miller <jaggies@google.com> am 1296d562: Merge change I8b63ab66 into eclair

Merge commit '1296d562cf9b80e439724e15b4fdaf6626d2b4df' into eclair-mr2

* commit '1296d562cf9b80e439724e15b4fdaf6626d2b4df':
Better animation for sliding widget.
8b63ab664ff5068d022c080ce04995a0bfdd7030 02-Dec-2009 Jim Miller <jaggies@google.com> Better animation for sliding widget.

Because of the way an Animation handles invalidates, we need to have one Animation per widget being animated.
ndroid/internal/widget/SlidingTab.java
5bb9771ec74b6e8db7136c1b10aefececcb33719 24-Nov-2009 Fred Quintana <fredq@google.com> resolved conflicts for merge of b8675943 to master
2464acc6da6393f0163894094468f68b8e496cea 24-Nov-2009 Fred Quintana <fredq@google.com> moved the gdata library to vendor/google
oogle/android/gdata/client/AndroidGDataClient.java
oogle/android/gdata/client/AndroidXmlParserFactory.java
oogle/android/gdata/client/QueryParamsImpl.java
oogle/android/gdata2/client/AndroidGDataClient.java
oogle/android/gdata2/client/AndroidXmlParserFactory.java
oogle/android/gdata2/client/QueryParamsImpl.java
4063b4d1cf57461cebc3f52106381883e6469040 23-Nov-2009 Daniel Sandler <dsandler@google.com> am 0182aa35: am 40c1dbf0: am a59a01ab: Merge change I43f72dd1 into eclair

Merge commit '0182aa354f996ce43362cd7d1a04012ea9269f41'

* commit '0182aa354f996ce43362cd7d1a04012ea9269f41':
Don't block TIME_TICK broadcasts in the DigitalClock widget.
40c1dbf081035f878b96dd67ef112eb49001c087 23-Nov-2009 Daniel Sandler <dsandler@google.com> am a59a01ab: Merge change I43f72dd1 into eclair

Merge commit 'a59a01ab2b959a8a5aeb09dd664d5be193fd8219' into eclair-mr2

* commit 'a59a01ab2b959a8a5aeb09dd664d5be193fd8219':
Don't block TIME_TICK broadcasts in the DigitalClock widget.
f60e108fa984d823aabad5b691bc248bffe5d1a5 20-Nov-2009 Daniel Sandler <dsandler@google.com> Don't block TIME_TICK broadcasts in the DigitalClock widget.

This change applies the fix -- originally by phanna in
https://android-git.corp.google.com/g/#change,33669 -- to
the com.android.internal.widget version of DigitalClock,
which is used by the keyguard and pattern lock screens.

Change-Id: I43f72dd144423e55f73ba52903d52163c8f65591
ndroid/internal/widget/DigitalClock.java
8e38ce4deef2c8acd411073b9affab6a7b16b631 19-Nov-2009 Jim Miller <jaggies@google.com> am 5d81e8c8: am 43733460: am 30142f7e: Merge change I9f239766 into eclair

Merge commit '5d81e8c82aa8d55eff2c2c78e4a553c479332187'

* commit '5d81e8c82aa8d55eff2c2c78e4a553c479332187':
Workaround for 2262578: Don't draw tabs if view is not in the correct orientation for the layout
8488a6013ee447bf2e8358d5b20cd29dcca43212 19-Nov-2009 Amith Yamasani <yamasani@google.com> am 41029cf4: am 9335d414: am 778f1e65: Merge change Icfc893d2 into eclair

Merge commit '41029cf413abbfdf004e04f192a440e457701c47'

* commit '41029cf413abbfdf004e04f192a440e457701c47':
Fix for 2267410 : Battery use doesn't show CPU usage on non-wiped devices
4373346073250b668c0ff287b0d584401f7f3c96 18-Nov-2009 Jim Miller <jaggies@google.com> am 30142f7e: Merge change I9f239766 into eclair

Merge commit '30142f7ef7bf3d4699526cb9ce02b220a8045c5d' into eclair-mr2

* commit '30142f7ef7bf3d4699526cb9ce02b220a8045c5d':
Workaround for 2262578: Don't draw tabs if view is not in the correct orientation for the layout
30142f7ef7bf3d4699526cb9ce02b220a8045c5d 18-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I9f239766 into eclair

* changes:
Workaround for 2262578: Don't draw tabs if view is not in the correct orientation for the layout
9335d414bd2af5bb1ad74459de165a3d93a9ca7b 18-Nov-2009 Amith Yamasani <yamasani@google.com> am 778f1e65: Merge change Icfc893d2 into eclair

Merge commit '778f1e65a5ea37bc4adc4725e281a34b775bc72d' into eclair-mr2

* commit '778f1e65a5ea37bc4adc4725e281a34b775bc72d':
Fix for 2267410 : Battery use doesn't show CPU usage on non-wiped devices
778f1e65a5ea37bc4adc4725e281a34b775bc72d 18-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Icfc893d2 into eclair

* changes:
Fix for 2267410 : Battery use doesn't show CPU usage on non-wiped devices
cfc893d27a59bddbc5d0da0038e8313f6c379f86 18-Nov-2009 Amith Yamasani <yamasani@google.com> Fix for 2267410 : Battery use doesn't show CPU usage on non-wiped devices

Due to a change in cpu stepping values, the batterystats.bin file needs to
be wiped for Battery Use app to show CPU cost correctly.
Bumping up the version number of the file fixes this.
ndroid/internal/os/BatteryStatsImpl.java
1d0a152fa8905b9dfb87dc87da8e5432e48eae96 18-Nov-2009 Jim Miller <jaggies@google.com> Workaround for 2262578: Don't draw tabs if view is not in the correct orientation for the layout

This is an uber hack. Since there is a race between resizing the view and getting
the orientation-changed notification, this just tries to avoid drawing the tabs in the
wrong orientation (based on what we *expect* to be the orientation specified in the layout
file for the SlidingTab). This masks the problem *most* of the time.
ndroid/internal/widget/SlidingTab.java
813d11a91af1e1f98712406928a724aaf82ac5ba 18-Nov-2009 Evan Millar <emillar@google.com> am a6780991: am e53c9a81: am 6bcd99c2: Merge change I1b6d202b into eclair

Merge commit 'a67809918f6c212630da0b359628d0e8722b091f'

* commit 'a67809918f6c212630da0b359628d0e8722b091f':
Move photo querying off main thread.
69020b73255ffbe3ddff14fc6a542d5db2eefe3d 18-Nov-2009 Mark Wagner <mxw@google.com> am fe537b3f: am 0e3fccf1: Merge change Icef599ec into eclair-mr2

Merge commit 'fe537b3fe4145e3cec41b70b93c366e1c2307ed5'

* commit 'fe537b3fe4145e3cec41b70b93c366e1c2307ed5':
null check
c0c999a43ce6ee8344cfe877d152e7c8b69b059d 18-Nov-2009 Jim Miller <jaggies@google.com> am 8bf56e6a: am c0b0ad21: am f0166e4d: Merge change I4f01d4a4 into eclair

Merge commit '8bf56e6a1bb842aaae2b8b7630d2bc2711f36bb6'

* commit '8bf56e6a1bb842aaae2b8b7630d2bc2711f36bb6':
Fix 2209086: Clean up visual glitches in SlidingTab for lock and incall screen.
e53c9a81e5208bc51ee8e365f19ff867897e63af 17-Nov-2009 Evan Millar <emillar@google.com> am 6bcd99c2: Merge change I1b6d202b into eclair

Merge commit '6bcd99c2a63338254c68e27e40e5395cbdd3e1ef' into eclair-mr2

* commit '6bcd99c2a63338254c68e27e40e5395cbdd3e1ef':
Move photo querying off main thread.
0e3fccf1a525883aa5d80e10ced5b7af48cfe5a1 17-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Icef599ec into eclair-mr2

* changes:
null check
cef599ec8c3184d1a7be3d991b1e6dd2f9ebdf0c 17-Nov-2009 Mark Wagner <mxw@google.com> null check
oogle/android/mms/pdu/PduPersister.java
1b6d202bd44373d9a7c0235939f63423f1e26773 17-Nov-2009 Evan Millar <emillar@google.com> Move photo querying off main thread.

Fixes bug http://b/issue?id=2265642
ndroid/internal/widget/ContactHeaderWidget.java
c0b0ad212a8fa55da91fd759cc2451afe8134d43 17-Nov-2009 Jim Miller <jaggies@google.com> am f0166e4d: Merge change I4f01d4a4 into eclair

Merge commit 'f0166e4dd0907e487531960e36f516406d265b73' into eclair-mr2

* commit 'f0166e4dd0907e487531960e36f516406d265b73':
Fix 2209086: Clean up visual glitches in SlidingTab for lock and incall screen.
4f01d4a4da7754dbe6a49cca8f94e81104acb87f 17-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Clean up visual glitches in SlidingTab for lock and incall screen.

This fixes the following glitches:
- flash at the end of animation as the widget resets. Fix: new "hold" animation holds the view for 1 second, allowing it to transition before we reset the view.
- target flashing. Fix: remove AlphaAnimation when we want to hide the target.
- bar appears to get stuck at edge. Fix: sliding bar now slides fully offscreen when hold == true. Added setHoldAfterTrigger() method to allow InCallScreen and LockScreen to have different behaviors.
- view continues to animate when shown again. Fix: reset the animations and sliders when the view is hidden.

Tested:
Answer/Decline call on CDMA and GSM device.
Unlock phone and toggle sound on/off in LockScreen on both devices.
ndroid/internal/widget/SlidingTab.java
c82f4cc748a2697342cc63a5f9da957a7f9e4eb4 16-Nov-2009 Jim Miller <jaggies@google.com> am 12814547: resolved conflicts for merge of 607b9c37 to eclair-mr2-plus-aosp

Merge commit '12814547b828bfd9d6a632bbc6c699afd5c4cbce'

* commit '12814547b828bfd9d6a632bbc6c699afd5c4cbce':
Fix 2209086: Add animations and misc ui improvements to SlidingTab.
607b9c37de459d57b7c2f8333e743bba0d159c7c 16-Nov-2009 Jim Miller <jaggies@google.com> am 521d400b: Fix 2209086: Add animations and misc ui improvements to SlidingTab.

Merge commit '521d400b230bee5e7b9748f26832c0d0275b8253' into eclair-mr2

* commit '521d400b230bee5e7b9748f26832c0d0275b8253':
Fix 2209086: Add animations and misc ui improvements to SlidingTab.
521d400b230bee5e7b9748f26832c0d0275b8253 16-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Add animations and misc ui improvements to SlidingTab.

Added translation animation where tab "flies" when you release.
Added translation animation where pressing and releasing one tab will hide/show the other
Added alpha animation to make target appear gradually
Added margin around swipe area to allow easier unlocking.
Removed unused handler.
ndroid/internal/widget/SlidingTab.java
ac4bacd9777c12e4cd6ddc335518a61a3f18f47f 15-Nov-2009 Jim Miller <jaggies@google.com> am 16a9d9a7: Fix 2209086: Fix missing callback that was preventing tab bar text from updating.

Merge commit '16a9d9a736a1bfdc12aa54c549508dd12596247f' into eclair-mr2

* commit '16a9d9a736a1bfdc12aa54c549508dd12596247f':
Fix 2209086: Fix missing callback that was preventing tab bar text from updating.
16a9d9a736a1bfdc12aa54c549508dd12596247f 14-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Fix missing callback that was preventing tab bar text from updating.

Also includes a cosmetic fix to move the Digital clock down a bit.
ndroid/internal/widget/SlidingTab.java
151328767e0d5941e9d50e4b571e9ba4aa7d93b4 14-Nov-2009 Jim Miller <jaggies@google.com> am 17831dd4: am d1841144: am 7c1c4600: Merge change I425ca595 into eclair

Merge commit '17831dd428419686ec0e6da9b25fd593bdee7ac0'

* commit '17831dd428419686ec0e6da9b25fd593bdee7ac0':
Fix 2261626: Don't show text on button if orientation is vertical.
d1841144e4d592724001018f427806edb9c72ae0 14-Nov-2009 Jim Miller <jaggies@google.com> am 7c1c4600: Merge change I425ca595 into eclair

Merge commit '7c1c46000be136ffda36283fdc93bfe3cba72601' into eclair-mr2

* commit '7c1c46000be136ffda36283fdc93bfe3cba72601':
Fix 2261626: Don't show text on button if orientation is vertical.
425ca595dcc37ddb7a9f96310e5b800f424811a6 14-Nov-2009 Jim Miller <jaggies@google.com> Fix 2261626: Don't show text on button if orientation is vertical.
ndroid/internal/widget/SlidingTab.java
9db3d07b9620b4269ab33f78604a36327e536ce1 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
ndroid/internal/app/ChooserActivity.java
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/app/NetInitiatedActivity.java
ndroid/internal/app/ResolverActivity.java
ndroid/internal/app/ShutdownThread.java
ndroid/internal/backup/BackupConstants.java
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
ndroid/internal/backup/SystemBackupAgent.java
ndroid/internal/content/SyncStateContentProviderHelper.java
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/HandlerCaller.java
ndroid/internal/os/PowerProfile.java
ndroid/internal/os/RuntimeInit.java
ndroid/internal/os/SamplingProfilerIntegration.java
ndroid/internal/os/ZygoteInit.java
ndroid/internal/service/wallpaper/ImageWallpaper.java
ndroid/internal/view/BaseIWindow.java
ndroid/internal/view/BaseSurfaceHolder.java
ndroid/internal/view/menu/IconMenuView.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuDialogHelper.java
ndroid/internal/widget/ContactHeaderWidget.java
ndroid/internal/widget/DialogTitle.java
ndroid/internal/widget/LockPatternUtils.java
ndroid/internal/widget/LockPatternView.java
ndroid/internal/widget/NumberPicker.java
ndroid/internal/widget/RotarySelector.java
oogle/android/gdata/client/AndroidGDataClient.java
oogle/android/gdata/client/QueryParamsImpl.java
oogle/android/gdata2/client/AndroidGDataClient.java
oogle/android/gdata2/client/AndroidXmlParserFactory.java
oogle/android/gdata2/client/QueryParamsImpl.java
oogle/android/mms/pdu/EncodedStringValue.java
oogle/android/mms/pdu/GenericPdu.java
oogle/android/mms/pdu/PduComposer.java
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/pdu/ReadRecInd.java
oogle/android/mms/pdu/SendReq.java
oogle/android/net/GoogleHttpClient.java
oogle/android/net/UrlRules.java
52349182e1ce746afd48cfb1426f6830e9345c29 13-Nov-2009 Jim Miller <jaggies@google.com> am c41bc910: am 5be290d6: am 11fea858: Merge change I8061e6ac into eclair

Merge commit 'c41bc910bd6fe3daf56c32a5be858b71872093d3'

* commit 'c41bc910bd6fe3daf56c32a5be858b71872093d3':
Fix 2209086: Updated assets and fixed widget dimension calculation.
5be290d6296da34cdd2724ee94dfc3b61bc02785 13-Nov-2009 Jim Miller <jaggies@google.com> am 11fea858: Merge change I8061e6ac into eclair

Merge commit '11fea858b2f2d3f9c40a4da848d7bcee47edde04' into eclair-mr2

* commit '11fea858b2f2d3f9c40a4da848d7bcee47edde04':
Fix 2209086: Updated assets and fixed widget dimension calculation.
4811d62d5f07a1ffbf085d5e424e2b54d0e7ebfd 13-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Updated assets and fixed widget dimension calculation.

Added hvga assets for new lock screen widget.

Tested:
LockScreen on wvga and hvga devices.
InCallScreen on wvga and hvga devices.
ndroid/internal/widget/SlidingTab.java
67abf57846168dd00fa951489c3d636e6016f3ce 12-Nov-2009 Dan Egnor <egnor@google.com> am 00556831: am f18a01c7: Rename [I]DropBox[Service] to [I]DropBoxManager[Service].

Merge commit '00556831f7503a922a5402c525b4387ebdd1a4bb'

* commit '00556831f7503a922a5402c525b4387ebdd1a4bb':
Rename [I]DropBox[Service] to [I]DropBoxManager[Service].
f18a01c77e78209b74e34d05cfb352fa4a92db5f 12-Nov-2009 Dan Egnor <egnor@google.com> Rename [I]DropBox[Service] to [I]DropBoxManager[Service].

Un-hide the DropBoxManager interface, and update the public API accordingly.
ndroid/internal/os/IDropBoxManagerService.aidl
ndroid/internal/os/IDropBoxService.aidl
10d6dd5ae1bf11d5878fe6a3303ed213abc111e4 12-Nov-2009 Jim Miller <jaggies@google.com> am e6874f9d: am 0b66ea65: am 2477fd69: Merge change Ic31c11ad into eclair

Merge commit 'e6874f9df43037b28bb5a8b315849db10d5d1a1e'

* commit 'e6874f9df43037b28bb5a8b315849db10d5d1a1e':
Fix 2209086: restore drawable states when drawables change.
0b66ea65f7c43c7a39e91baf7a39945fc2ad6355 12-Nov-2009 Jim Miller <jaggies@google.com> am 2477fd69: Merge change Ic31c11ad into eclair

Merge commit '2477fd69492055f3c6ee62ed9993e9fde8283144' into eclair-mr2

* commit '2477fd69492055f3c6ee62ed9993e9fde8283144':
Fix 2209086: restore drawable states when drawables change.
2477fd69492055f3c6ee62ed9993e9fde8283144 12-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ic31c11ad into eclair

* changes:
Fix 2209086: restore drawable states when drawables change.
4df2c5433bb530fae6191a0298a6d494ca03eaa7 12-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: restore drawable states when drawables change.

This fixes a bug where the right tab hightlight wasn't being seen.
The prooblem was that we weren't preserving the drawables' states when
the application requested a new drawable. We now track the drawable state
so we can updated it when the resources change.
ndroid/internal/widget/SlidingTab.java
4829ae00acfe429a94f09cacf0b53154a55b0462 12-Nov-2009 Daniel Sandler <dsandler@google.com> am 09904d84: am d1a3fc38: am 609bbf18: Merge change I54089080 into eclair

Merge commit '09904d84d10c5b3345c2594e9fe3ec275a4f3a69'

* commit '09904d84d10c5b3345c2594e9fe3ec275a4f3a69':
Update keyguard and pattern-lock layouts for new UX designs.
d1a3fc38e99e0483402168529020e758ecd777ce 12-Nov-2009 Daniel Sandler <dsandler@google.com> am 609bbf18: Merge change I54089080 into eclair

Merge commit '609bbf182e4b4f39b6be7ed01331887ca70ea4c1' into eclair-mr2

* commit '609bbf182e4b4f39b6be7ed01331887ca70ea4c1':
Update keyguard and pattern-lock layouts for new UX designs.
e3ea6e3d4c8a8c2dc71f608a74ed9f6137afe63d 12-Nov-2009 Daniel Sandler <dsandler@google.com> Update keyguard and pattern-lock layouts for new UX designs.

To do this, we bring DigitalClock over from Clock into the
internal widgets. Its font, Clockopia, comes along for the
ride (find it in /system/fonts).

This change is required for relevant code changes in
frameworks/policy/phone.

Change-Id: I354534f1abd9cf9557c9d18566f1d55b6be5e8f1
ndroid/internal/widget/DigitalClock.java
5eacb0f6be0176a4c3a5a2bc246e073ffdde1ad3 12-Nov-2009 Dianne Hackborn <hackbod@google.com> am 897223a1: am d669d488: am 34d723d8: Merge change I32371166 into eclair

Merge commit '897223a1040ce29edc9c2fd500071ab7f559e5fe'

* commit '897223a1040ce29edc9c2fd500071ab7f559e5fe':
Fix issue #2239203: Setting large background causes OOME and soft-reboot spiral
d669d48888fdefab4907f4de5b296fc366b59eaf 12-Nov-2009 Dianne Hackborn <hackbod@google.com> am 34d723d8: Merge change I32371166 into eclair

Merge commit '34d723d8fa75e8f97401311e03b3839246143018' into eclair-mr2

* commit '34d723d8fa75e8f97401311e03b3839246143018':
Fix issue #2239203: Setting large background causes OOME and soft-reboot spiral
c9dbbe28f7879bd377114587ed1f40235a2d37ca 12-Nov-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2239203: Setting large background causes OOME and soft-reboot spiral

Try really really hard not to crash, for any reason.

Change-Id: I32371166229825f13fc8d12d5cf3a6531cdb345e
ndroid/internal/service/wallpaper/ImageWallpaper.java
34ce2fb7c4ca750ecb7ae7380442476e05fdd157 12-Nov-2009 Jim Miller <jaggies@google.com> am 809b2594: am 207d00c1: am f2897fe4: Merge change Idc34a3f7 into eclair

Merge commit '809b2594886fa64f23bd6e87f97f8b06e933fa9e'

* commit '809b2594886fa64f23bd6e87f97f8b06e933fa9e':
Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states.
207d00c13c02d301ff4ec302b1ee8cd7c256a4a5 12-Nov-2009 Jim Miller <jaggies@google.com> am f2897fe4: Merge change Idc34a3f7 into eclair

Merge commit 'f2897fe42e22966127dbee8025d6bdc1d1697d81' into eclair-mr2

* commit 'f2897fe42e22966127dbee8025d6bdc1d1697d81':
Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states.
753401aa471d2fb87ab937c2b02b182ebc215c3a 12-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states.
Tweak "animation" to be 250ms based on conversation with ui guys. Some minor performance tweaks to SlidingTab.
ndroid/internal/widget/SlidingTab.java
78aa69a092b32ab77714ca96694857fca7a1a381 12-Nov-2009 Jim Miller <jaggies@google.com> am ad902f06: am 052908a5: am 2f92bd3e: Merge change Ia895aa7d into eclair

Merge commit 'ad902f06dd44e30286c48c8a28bb2509b80c63bc'

* commit 'ad902f06dd44e30286c48c8a28bb2509b80c63bc':
Fix for 2209086: Initial pass at new SlidingTab widget and integration into LockScreen.
052908a5d93f3d842cd7a9d8eda5acd3d9565b69 12-Nov-2009 Jim Miller <jaggies@google.com> am 2f92bd3e: Merge change Ia895aa7d into eclair

Merge commit '2f92bd3ecb45e2690dcdc9c09564a1b3805f673b' into eclair-mr2

* commit '2f92bd3ecb45e2690dcdc9c09564a1b3805f673b':
Fix for 2209086: Initial pass at new SlidingTab widget and integration into LockScreen.
24ccf3c59077d81b0dd3b314822ff7dab215c165 11-Nov-2009 Jim Miller <jaggies@google.com> Fix for 2209086: Initial pass at new SlidingTab widget and integration into LockScreen.

Tested:
- unlock and mute/unmute

Not working:
- highlighting on right tab.
ndroid/internal/widget/SlidingTab.java
430785f66d56a1eb977c8f73c8a0939fa2a3b543 10-Nov-2009 Marco Nelissen <marcone@google.com> am eac4222f: am 949ffa3d: am 11cff8cd: Merge change Ie211adae into eclair

Merge commit 'eac4222f7f30bf1df14b223cf62e594914dd32d4'

* commit 'eac4222f7f30bf1df14b223cf62e594914dd32d4':
Add a way for wallpapers to know the delta between virtual screens.
949ffa3da5231772425c3bde50caeab6c4d08ec5 10-Nov-2009 Marco Nelissen <marcone@google.com> am 11cff8cd: Merge change Ie211adae into eclair

Merge commit '11cff8cd30f03b5adb137e985532543da5e960c4' into eclair-mr2

* commit '11cff8cd30f03b5adb137e985532543da5e960c4':
Add a way for wallpapers to know the delta between virtual screens.
bf6956b1d95442e9d9c483894d578fe6b7044cbb 10-Nov-2009 Marco Nelissen <marcone@google.com> Add a way for wallpapers to know the delta between virtual screens.
ndroid/internal/service/wallpaper/ImageWallpaper.java
ndroid/internal/view/BaseIWindow.java
11e3364a6afd4e83cc60894031793dabcc6193a3 29-Oct-2009 Dan Egnor <egnor@google.com> am 473bbd21: am 95240270: Instead of a raw AIDL interface, give DropBox a Java interface (android.os.DropBox); move the Binder interface behind the scenes. Make DropBoxEntry into DropBox.Entry. Make it possible to get a dropbox from an (Application)Context with the u

Merge commit '473bbd2140a2515a6a9a450ee955a790e0b6dcff'

* commit '473bbd2140a2515a6a9a450ee955a790e0b6dcff':
Instead of a raw AIDL interface, give DropBox a Java
952402704a175ba27f6c89dff1ada634c5ce5626 28-Oct-2009 Dan Egnor <egnor@google.com> Instead of a raw AIDL interface, give DropBox a Java
interface (android.os.DropBox); move the Binder interface
behind the scenes. Make DropBoxEntry into DropBox.Entry.
Make it possible to get a dropbox from an (Application)Context
with the usual getSystemService(DROPBOX_SERVICE) type thing.
Update the tests accordingly.
ndroid/internal/os/IDropBoxService.aidl
9e6784f053e1d2cedc69f20112edee667be5c2e2 24-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I3183c78f

* changes:
Plug into the new optimized path for Dalvik logging.
246978b8dc89562dda47fea9a7aee61949101242 23-Oct-2009 Tom Taylor <tomtaylor@google.com> Add a method to clear info about a contact

Add a method so the ContactInfoWidget will throw away the cached
info it has on a contact (e.g. picture and uri).

Change-Id: Ia8f376e356c6bcf246bbd72239c5ca2a3b7c9574
ndroid/internal/widget/ContactHeaderWidget.java
7580493b014a2c7ea883cd291255798dc72ebbff 21-Oct-2009 Dianne Hackborn <hackbod@google.com> Implement feature #2117336: Create event communication APIs for live wallpaper

Note: currently only implements an async version (no result), and not yet
actually tested.

Change-Id: Id47ed045a4b0eb309ea8c58daf41a0e03eff1d3a
ndroid/internal/view/BaseIWindow.java
3183c78f19e794c10ecc3fa2b437a70335401542 23-Oct-2009 Jesse Wilson <jessewilson@google.com> Plug into the new optimized path for Dalvik logging.
ndroid/internal/logging/AndroidHandler.java
f37447bad3773b62176baa837908daf6edb44273 09-Oct-2009 Amith Yamasani <yamasani@google.com> Proper fix for zero signal strength and no_service. Fixes #2176141

Track phone service state changes and use a separate timer for out-of-service
since the hunting can timeout on some devices.

Store the timeout value in the config.xml, as it is device/network specific.

Settings App will also change to use the hunting duration to compute the cost
of zero signal.
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/PowerProfile.java
9485aec1df6094b7d2497212c8fe04a6d459b4cd 09-Oct-2009 Jim Miller <jaggies@google.com> Fix for 2177367: Reduce duration of vibrate in RotaryLockScreen

BUG=2177367
ndroid/internal/widget/RotarySelector.java
568cae571a3d74d1992176a21722e07b44e9a3c4 08-Oct-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2171460: Turn off background blurring of power dialog

Change-Id: I521629e0ccd0116acf149eeb7476c8474fc7c74a
ndroid/internal/app/ShutdownThread.java
f242b7b931898856bcbcb7ec36cacf43098ba544 08-Oct-2009 Nick Pelly <npelly@google.com> Introduce BluetoothAdapter.getDefaultAdapter().

This is the main entry point to the Bluetooth APIs, and returns the default
local Bluetooth adapter.

It replaces context.getSystemService(Context.BLUETOOTH_SERVICE). This was
never in a public SDK release.

DrNo: eastham
Bug: 2158765
Joke: Why can't you play cards in the jungle? Because there's too many cheetas!
Change-Id: Ieed8be009ee5aba621cb69090ee8c8a9c19c840d
ndroid/internal/app/ShutdownThread.java
5037e57fd43bccf79be80bc140b33d1fa69abe13 05-Oct-2009 Jim Miller <jaggies@google.com> Fix for 2161835: Tweaks to rotary lock screen:

- Make inactive dimples dim.
- When an item is grabbed, make all other dimples dim.
ndroid/internal/widget/RotarySelector.java
bd0a81ff1c0e92e80e05e2f12bb1805c7d081e94 04-Oct-2009 Dianne Hackborn <hackbod@google.com> Work on issue #2163789: Way too much logging

Dr.No from mcleron.

Change-Id: Iaca2268684f83fe8757e64db0b0e047a19755311
ndroid/internal/backup/LocalTransport.java
88e037577f7db140e4ef88b77eefaa910e06e5f5 02-Oct-2009 David Brown <dab@google.com> RotarySelector widget: add callback for "grabbed" state changes.

This is the frameworks/base part of the fix for Bug 2158434: add a new
callback to the OnDialTriggerListener interface, so the RotarySelector can
tell the app about state changes between NOTHING_GRABBED and
LEFT_HANDLE_GRABBED and RIGHT_HANDLE_GRABBED.

BUG=2158434
DRNO=timsullivan

TESTED=regular incoming calls, call waiting calls, answering a call,
rejecting a call. Also verified I didn't affect the
lock screen at all.
ndroid/internal/widget/RotarySelector.java
d9b6f14a6926dce7ad3d98e6e30b503c69c904c0 01-Oct-2009 Jim Miller <jaggies@google.com> Adjust opacity for inactive dimple in rotary widget
ndroid/internal/widget/RotarySelector.java
8550f255232eb4e4852466c5297fdc125887f5af 30-Sep-2009 Suchi Amalapurapu <asuchitra@google.com> Check if rename of backed up file fails before persisting new changes.
If not these system services will end up with inconsistent settings files
when the device runs out of storage.
Delete mangled settings file in PackageManager if the current write fails
so that we don't end up overwriting the backed up version with the
mangled version
Include null check when retrieving fwd locked resource for an existing package
ndroid/internal/os/BatteryStatsImpl.java
86aece8b4ad6d55cc9a3c185c3730d7387a46661 30-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I8dfd6ea8 into eclair

* changes:
Handle bad lines in /proc/wakelocks : Fix for 2124260
53b707ba26055f3b7597db5826dee64987bfb83a 30-Sep-2009 Amith Yamasani <yamasani@google.com> Handle bad lines in /proc/wakelocks : Fix for 2124260

Use the return value from the native parser to skip over bad lines. When
the wakelocks overflow, there could be empty or badly formatted lines.
Skip over them.
ndroid/internal/os/BatteryStatsImpl.java
c1a2a8296e811a2b9f8553346147be65e8a690b6 30-Sep-2009 Evan Millar <emillar@google.com> Change FasttrackBadgeWidget->QuickContactBadge and make public.

Change-Id: I9d12beeba16c2f64742b4a99d0da4ceb73525b5b
ndroid/internal/widget/ContactHeaderWidget.java
85d630020a29c24f3d51f00b5ce3f701c16f0a45 30-Sep-2009 Jim Miller <jaggies@google.com> Fix for 2139014: Allow platform customization of vibration pattern in LockScreenView.

Can be configured by config_virtualKeyVibePattern.
ndroid/internal/widget/LockPatternView.java
41e8dc02cdde381cc2d7d55bfb56d5c7f72eb86e 29-Sep-2009 Jim Miller <jaggies@google.com> Fix for 2137900: Be more conservative about poking the wakelock.

Updated after review: white space, check for null pattern listener.
ndroid/internal/widget/LockPatternView.java
13a90abcae224b85d128ded8e59398a3fc1ce4e1 28-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding status update attribution to ContactHeaderWidget

Change-Id: I677f8a8d805c68d95ee56cd1119cc3e97c6ae073
ndroid/internal/widget/ContactHeaderWidget.java
36ad03e1b7a0de569ecb561f8a444f111e8bd5ac 28-Sep-2009 Tadashi G. Takaoka <takaoka@google.com> Delegate exclude mimetypes to FasttrackBadgeWidget

Internal Bug: 2138745
ndroid/internal/widget/ContactHeaderWidget.java
879664e3e2e0169aba53d88f6c30c8b15858315d 27-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose.

Change-Id: If6d7812f38a3cfd662a5ae2387c72c4761fdf9fa
ndroid/internal/widget/ContactHeaderWidget.java
c6b336d6a411ceacba4aa0dab9a01a5083729c71 27-Sep-2009 Wei Huang <weih@google.com> bug 2148061: if PduBody is zero length, treat it as an empty message.

Change-Id: I2f352dd481f6b8d02b67cd3a44d692e3a5d03999
oogle/android/mms/pdu/PduComposer.java
8e55eaccffeda078d7389b7fb66b0c6df347bf31 26-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Changing contact status to Presence-based

Change-Id: I35589e87f1e1743413d3f10509e9eccc333aa2fb
ndroid/internal/widget/ContactHeaderWidget.java
695800047c907960a5ecc7f9af7e031707b93b5c 26-Sep-2009 Evan Millar <emillar@google.com> Fix http://b/issue?id=2106682 (Don't show status if we don't have it).

Change-Id: I1636914ef47fc5319f2593d3e7aea33e523be3c7
ndroid/internal/widget/ContactHeaderWidget.java
bf07e03291ed9d9a263f133a05b66b3bfe58e75f 23-Sep-2009 Evan Millar <emillar@google.com> Change longClick -> click in ContactHeaderWidget.

Also don't enable it by default, but add an api to explicitly request
it.

Change-Id: I75fa4bfddba7a1800dec24e6a068eca614370a26
ndroid/internal/widget/ContactHeaderWidget.java
6ecacd40dd56d80d6b7b8454d8f4c04124c8d899 25-Sep-2009 Neel Parekh <neel@google.com> Center name when no status.
Also shows the status if exists (not actually hooked up yet though).

Bug: 2138736
ndroid/internal/widget/ContactHeaderWidget.java
3546825421cab5330583633ed854134c35d1c08d 26-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26720 into eclair

* changes:
Allow us to set the contact uri without setting the fast track's uri
c8ad6dcb8abcf5f7296faecdcfa93a01fb4011b9 25-Sep-2009 Karl Rosaen <krosaen@android.com> Optimize rotary selector widget by using bitmaps instead of drawables.

In profiling setBounds was expensive. Time per onDraw from 13.3ms to 6.59ms :)
ndroid/internal/widget/RotarySelector.java
d35db5ec8bd5ef07840fa84318284df04a69411c 25-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26946 into eclair

* changes:
Fix bug#2144742: guard against 0 length encoded string when attaching a 'from' address for MMS.
ed16d4b7deb767f10db80ba57fca3721ac814c92 25-Sep-2009 Wei Huang <weih@google.com> Fix bug#2144742: guard against 0 length encoded string when attaching a 'from' address for MMS.

Change-Id: I0aad5b3d2834695b44cbb63e40c43a2159b723d9
oogle/android/mms/pdu/PduComposer.java
e0fc838ebc18e327a399902cacae16bdbbc09627 24-Sep-2009 Nicolas Roard <nicolas@android.com> Fix the shortcuts
ndroid/internal/view/menu/MenuBuilder.java
03d2009b3e41137ed5b17a9bcdd019ec962095e6 24-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26895 into eclair

* changes:
Subject issue in MMS message
ff9c54b7214e99b3182f53f3089da0503f3edddc 24-Sep-2009 Karl Rosaen <krosaen@android.com> fix bug where siilent mode dissapears when it triggers instead of animating off to the left edge.
ndroid/internal/widget/RotarySelector.java
6cec6e168b798ebf50fb415bc7377bea56f70271 23-Sep-2009 Satish Roddom <satishroddom@motorola.com> Subject issue in MMS message

Open a draft MMS message having some subject, some text and any attachment.
Remove the written subject and again save it as draft. In the messaging
main screen, can still see previously entered subject.

Change-Id: I1a30978b7c06fab253ea5d4da0254c3780d18a62
oogle/android/mms/pdu/PduPersister.java
74646ad618a9ca289efa99b4a822e66ca61b8f95 24-Sep-2009 Karl Rosaen <krosaen@android.com> Update RotarySelector to support vertical orientation, and add resolution specific assets (removing old ones).
ndroid/internal/widget/RotarySelector.java
ffa424800d0338b8b894aef2ea1e3e3344cbda7a 24-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off

Lot of infrastructure for more things to go away when "clear system dialogs"
happens, and now do this when we turn on the lock screen.

Change-Id: I567130296fe47ce82df065ed58ef21b37416ceaf
ndroid/internal/view/BaseIWindow.java
e2d034c9014919a45ddd717d4e564e73771b2fef 24-Sep-2009 Mathias Agopian <mathias@google.com> wallpaper: don't erase the background, just to repaint over it. saves 1.7 ms on some hardware
ndroid/internal/service/wallpaper/ImageWallpaper.java
eeadd3ffa29b70688593b763fcf0c84d9fc48c4c 24-Sep-2009 Neel Parekh <neel@google.com> Allow us to set the contact uri without setting the fast track's uri
ndroid/internal/widget/ContactHeaderWidget.java
c3c6621a2cf2f0d40d062dcad1c9f65485473841 23-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25879 into eclair

* changes:
Setting the default HTTP user agent at runtime init.
df5862173c03f0d9595a2a5cb56c4af407d893dd 23-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26446 into eclair

* changes:
fix bug 2100169: add the line1 number + "/TYPE=PLMN" when sending a pdu.
30e59f6ec13bb1f706c6a82ae5d508bb619f4ab6 22-Sep-2009 Wei Huang <weih@google.com> fix bug 2100169: add the line1 number + "/TYPE=PLMN" when sending a pdu.

Change-Id: I289b81118006bf146d94384f91d4b0fa5215ec46
oogle/android/mms/pdu/GenericPdu.java
oogle/android/mms/pdu/PduComposer.java
oogle/android/mms/pdu/ReadRecInd.java
oogle/android/mms/pdu/SendReq.java
36dac6ae8e005f0247e44345727d1580b1623127 22-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26390 into eclair

* changes:
Bring the dimples back, and make the "spin around" animation have a fling feeling.
896264f603ad90e58557c5d3f34bc6389fff3fc5 22-Sep-2009 Karl Rosaen <krosaen@android.com> Bring the dimples back, and make the "spin around" animation have a fling feeling.

Also clean up the animation code into start/update animation functions.
ndroid/internal/widget/RotarySelector.java
de9eef1c66208c0ef1b6aab6c27ec9c5ce014d97 22-Sep-2009 Evan Millar <emillar@google.com> Add aggregated badge to ContactHeaderWidget

Change-Id: I0266828c7d560b9aefc3f58d27c217f710f1b0bb
ndroid/internal/widget/ContactHeaderWidget.java
9bbd5ee49f4a26b87273c40a955557e63f10da3b 22-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26290 into eclair

* changes:
Make IBackupTransport.finishBackup() also return an int code, since it too can return TRANSPORT_NOT_INITIALIZED (in fact that's typically how it comes).
0144516e19b9fd5415a56f8b41191187e2344bb0 22-Sep-2009 Dan Egnor <egnor@google.com> Make IBackupTransport.finishBackup() also return an int code, since it too can
return TRANSPORT_NOT_INITIALIZED (in fact that's typically how it comes).

For consistency, make other IBackupTransport methods return int instead of
boolean, and handle accordingly.

Make initializeDevice() its own method instead of a flag on performBackup().
This will be needed when un-checking the settings box anyway, and is
conceptually unrelated to whatever happens to be the first post-initialization
backup we perform. (Note that even if the init is sent separately from the
backup operation, the server will remember that an init has been done and
will *not* return NOT_INITIALIZED for the subsequent backup.)

Fix LocalTransport accordingly (trivial changes).

Handle failures more robustly in BackupManagerService -- most notably,
doQueuedBackups() was ignoring the result code of processOneBackup(), so
a NOT_INITIALIZED error would go past unseen (at least until the next
backup pass). Keep track of error code returns more universally now.
(This includes finishBackup(), of course.)
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
fe6104fbfbba0434e78f9e21f460c71cddfe8449 21-Sep-2009 Mark Wagner <mxw@google.com> When manually setting the uri pass it through to the badge widget.
ndroid/internal/widget/ContactHeaderWidget.java
d55e18acbe444b74dc9e71eff6ea2c3eaf25fbd0 21-Sep-2009 Christopher Tate <ctate@android.com> Reset backup tracking in response to transport data-wipe notification

When attempting a backup, the transport may inform us that the backend is in an
uninitialized state. This typically means that the device's data has been wiped
after a period [e.g. 90 days] of inactivity. This means that we need to
re-store all data subject to backup, and all of our incremental state tracking
on the device is now stale.

In response, we wipe all of our recorded backup state and restart the backup
pass on all participants.
ndroid/internal/backup/BackupConstants.java
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
d5ffa12dea99233e6a75048d82ad4daf0373191f 21-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26127 into eclair

* changes:
Uri encode phone number before passing it to query.
2acda4bead7fde78a376f823e29df0679bb68a52 21-Sep-2009 Megha Joshi <mjoshi@google.com> Uri encode phone number before passing it to query.

Fixes bug 2122926
ndroid/internal/widget/ContactHeaderWidget.java
e43530ab571e901f94361078c7c1f970a0bd27f2 21-Aug-2009 Amith Yamasani <yamasani@google.com> Track CPU speed stepping to get more accurate CPU cost per app.

More CPU speed stepping happening with newer devices, so we need
to qualify CPU time with the CPU speed, since power consumption
varies greatly by speed. Apps that peg the CPU should get a higher
penaltly.

Also, fix for 2062930: NPE at VolumePreference.onKey()
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/PowerProfile.java
6b96512601bf37d840a99c8d82dcfbcc0427b33c 21-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26034 into eclair

* changes:
Clean up spin animation in rotary selector, and be even more generous for triggering.
052e187edaa3934a290c81a6efcc664b59a09b59 21-Sep-2009 Karl Rosaen <krosaen@android.com> Clean up spin animation in rotary selector, and be even more generous for triggering.
ndroid/internal/widget/RotarySelector.java
25a747f5c47f25c1a18961b03507f309b84924fe 20-Sep-2009 Christopher Tate <ctate@android.com> Add an 'init everything' operation to the first backup pass

IBackupTransport.performBackup() now takes a flag "wipeAllFirst", which if set
will result in the entire restore set for the current device/account being wiped
clean prior to the storage of the provided package. This ensures that a device
on which backup has just been enabled will not confront potentially-stale
information, nor will the restore set potentially contain mismatched data from
orphaned packages.

The Backup Manager has also been revised to pass this flag when first backing up
its master metadata block (and never pass it thereafter unless something has
caused the backup state tracking to be erased, e.g. the user has opted out of
backup and then later re-enabled it).
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
278ec5d6f57f01fb5d9acce5794daf66f5535baa 20-Sep-2009 Karl Rosaen <krosaen@android.com> Add better transition to rotary lock widget when triggering: spin around instead of snap back.

Also add some icons and make a layout tweak, used by the lock screen (coming in a commit
to android.policy).
ndroid/internal/widget/RotarySelector.java
d0f80d445644bfc08b62339f01766b924e42dc4d 19-Sep-2009 Jesse Wilson <jessewilson@google.com> Setting the default HTTP user agent at runtime init.

I can't do this in HttpURLConnection directly, since that would
cause a forbidden dependency from Dalvik on Android.
ndroid/internal/os/RuntimeInit.java
7ff7ddf70b560e0e47f1231651b90718667c40bc 19-Sep-2009 Evan Millar <emillar@google.com> Fix http://b/issue?id=2099487

Change-Id: Ib5391cc5e9d17bc4ad964471037e7f9819802a64
ndroid/internal/widget/ContactHeaderWidget.java
da05aa828853964dccd185f6a7f5ca72cc0d3573 18-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25666 into eclair

* changes:
Save message size
9b64ef133c1eb24c8d00aa7e46ec86c544af5fe2 18-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25647 into eclair

* changes:
Some tweaks to the rotary lock widget.
5fef93b2a827cfafee04d7cfb827262c9b75fd91 18-Sep-2009 Karl Rosaen <krosaen@android.com> Some tweaks to the rotary lock widget.

- don't show arrows above widget when in resting state
- don't show other icon once you press one (e.g don't show silent mode icon when you are pressing the lock icon)
- wider target for triggering action
ndroid/internal/widget/RotarySelector.java
a67c8cd581e00a28661f7b727bf74727c9a7f688 18-Sep-2009 Tom Taylor <tomtaylor@google.com> Save message size

Save the message size in the pdu.
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/pdu/SendReq.java
644d0449abb5510be086a8a5b407734b6d0d49a9 17-Sep-2009 Debajit Ghosh <debajit@google.com> add system property to disable gzip, to help with debugging.
oogle/android/gdata/client/AndroidGDataClient.java
oogle/android/gdata2/client/AndroidGDataClient.java
6a20b823c3c9de8daa1c4bc002d6e58fe82d3a60 16-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25293 into eclair

* changes:
Fix a handful of bugs in the ContactHeaderWidget
1ca654e1193010365de10f55cbfebe1521c71db4 16-Sep-2009 Karl Rosaen <krosaen@android.com> Address romain's code review comments
ndroid/internal/widget/RotarySelector.java
2c867f9b7f7e15da19fbd9642baa8b5278f274d0 15-Sep-2009 Evan Millar <emillar@google.com> Fix a handful of bugs in the ContactHeaderWidget

-http://b/issue?id=2074981 fixed
-http://b/issue?id=2088564 fixed.
-http://b/issue?id=2097374 fixed.
-http://b/issue?id=2095896 fixed.
-http://b/issue?id=2093734 fixed.

-Use FasttrackBadgeWidget.

-Also changes api in ContactsHeaderWidget to accept contact uri instead
of contact id.

Change-Id: I6623a99c7f5011387c57fc9a6861eef63174ca6e
ndroid/internal/widget/ContactHeaderWidget.java
e4d95d02a25fb6596a3bf622ba57d4145773da90 16-Sep-2009 Karl Rosaen <krosaen@android.com> Add RotarySelector widget to android.internal for use by lock screen and incoming call screen.
ndroid/internal/widget/RotarySelector.java
8d37426c754e9822feaa8c6cc0b7c13e8523e217 15-Sep-2009 Dianne Hackborn <hackbod@google.com> Various fixed for back key handling.

My last change was far from perfect. Hopefully this gets us
a little closer.

Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
ndroid/internal/view/menu/MenuDialogHelper.java
c2974809373697147cbe5754835cc871fb93aef1 14-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2116977: buttons are huge and bent

Now that we are using preloaded drawables in compatibilty mode, when
constructing them from their constant state we need to set the new
drawable's target density appropriately.

Change-Id: I3665cbea09d38b9ac5f45f8c380dc8641f86b266
ndroid/internal/view/menu/IconMenuView.java
19382ac1a4e4e7c23a1346d299368763f149de9c 12-Sep-2009 Dianne Hackborn <hackbod@google.com> Some optizations to wallpaper drawing/scrolling.

First, fix some issues with the final wallpaper bitmap
we use: ensure it is always 16bpp, and make sure dithering
of its bitmap is turned off. We take of dithering
when loading, to make sure we don't use it when drawing.

Also add new APIs to return the wallpaper with the equivalent
of Launcher's old FastBitmapDrawable. As doing this, also load
the default wallpaper the same way as custom ones, taking care to
resize it as needed at load time.

Finally implement a mechanism for the window manager to wait
for the wallpaper to redraw at its new position before returning
from the application's call to change the offset. This ensures
that the wallpaper better tracks the application. Note that there
is a timeout in this wait that is relatively short, and if it
expires we will run for a while without waiting.

Change-Id: Ife449437746da85958bd447e0a6cf3d2223b398c
ndroid/internal/os/HandlerCaller.java
ndroid/internal/service/wallpaper/ImageWallpaper.java
ndroid/internal/view/BaseIWindow.java
93f00def4b63511be91057b2bc69f1dda6f038e9 14-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24509 into eclair

* changes:
Addressed reviewer comments.
5b61bea7aba93fc812991116fbbf9c4dbccb4890 10-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24581 into eclair

* changes:
Dialog titles would sometimes use a font too large.
4bdf17c69712b28e82f15f81f39482ff096b7f67 10-Sep-2009 Romain Guy <romainguy@android.com> Dialog titles would sometimes use a font too large.

This was due to code in DialogTitle.java which would multiply the textSize of
the theme twice.

Change-Id: Id44e39e729ebd43b08c967a67cde0d33dd8f2efb
ndroid/internal/widget/DialogTitle.java
84b4d37dd1e9269f73c2a9cacadcd88ec4256e3f 10-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2099206] Encoding phone number prior to sending it to the phone lookup filter

Change-Id: I80327febe7134ac1bdef958251943a9777879d53
ndroid/internal/widget/ContactHeaderWidget.java
eec2f41d607c3eacba4f7d9cc098b335c7310d23 10-Sep-2009 Bob Lee <crazybob@google.com> Addressed reviewer comments.
ndroid/internal/os/SamplingProfilerIntegration.java
1048ad554ac64224c864f52266b5839cd91d4ee5 09-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24395 into eclair

* changes:
Make NumberPicker subclassable
fdf6db6748b32f620a7f68b13a67c38b4e59e5ed 09-Sep-2009 Tom Taylor <tomtaylor@google.com> Make NumberPicker subclassable

Make a few methods and member variables protected so behavior can be
overridden. In this case, Messaging app uses the control and doesn't
want wrap-around behavior.

Change-Id: Iceb34743b7d17e933400750a5de56b9ecfe8f146
ndroid/internal/widget/NumberPicker.java
de893f550301a60274e87aa8168225e7a7a42184 08-Sep-2009 Nick Pelly <npelly@google.com> API_CHANGE

Another round of Bluetooth API clean up, javadoc'ing and unhide'ing.

-- Symbols for getting/setting bluetooth state --
BluetoothAdapter.ACTION_STATE_CHANGED
BluetoothAdapter.EXTRA_STATE
BluetoothAdapter.EXTRA_PREVIOUS_STATE
BluetoothAdapter.STATE_OFF
BluetoothAdapter.STATE_TURNING_ON
BluetoothAdapter.STATE_ON
BluetoothAdapter.STATE_TURNING_OFF
BluetoothAdapter.isEnabled()
BluetoothAdapter.getState()
BluetoothAdapter.enable()
BluetoothAdapter.disable()

-- Symbols for getting/setting scan mode --
BluetoothAdapter.ACTION_SCAN_MODE_CHANGED
BluetoothAdapter.EXTRA_SCAN_MODE
BluetoothAdapter.EXTRA_PREVIOUS_SCAN_MODE
BluetoothAdapter.SCAN_MODE_NONE
BluetoothAdapter.SCAN_MODE_CONNECTABLE
BluetoothAdapter.SCAN_MODE_DISCOVERABLE
BluetoothAdapter.getScanMode()
BluetoothAdapter.setScanMode()

-- Symbols for getting address/names --
BluetoothAdapter.getAddress()
BluetoothAdapter.getName()
BluetoothAdapter.setName()
ndroid/internal/app/ShutdownThread.java
c4516a7b62de525e3d6d5e76851bdfaf12c11f05 03-Sep-2009 Fred Quintana <fredq@google.com> add a transaction monitor
ndroid/internal/content/SyncStateContentProviderHelper.java
eb034652c2037a47ebfd99779e8383bb8bb528af 07-Sep-2009 Dianne Hackborn <hackbod@google.com> Implement all of the infrastructure for configuring wallpapers.

Actually being able to configure a wallpaper relies on additional
work in the launcher and wallpapers that will be in another change.
Also note that this breaks all existing wallpapers, since they now
need to include a meta-data item about themselves. This also
will be fixed in another change.

Change-Id: I97d2c2bd07237abc32f92b9147c32530a2f73c71
ndroid/internal/app/ChooserActivity.java
ndroid/internal/app/ResolverActivity.java
e540833fdff4d58e37c9ba859388e24e2945ed45 05-Sep-2009 Bob Lee <crazybob@crazybob.org> Integrated the profiler into the framework. We run it all the time if the persist.sampling_profiler
system property is set. Saves snapshots to the SD card.
ndroid/internal/os/RuntimeInit.java
ndroid/internal/os/SamplingProfilerIntegration.java
ndroid/internal/os/ZygoteInit.java
b1e2a4d0d0107df4ecf4d484a340ec21dc105305 04-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing references to deprecated API and the deprecated API itself.
ndroid/internal/widget/ContactHeaderWidget.java
b623a7c953ae34e21212cda782aabc12c837fffd 02-Sep-2009 Jeff Hamilton <jham@android.com> Don't crash when a user taps on a fast track trigger that isn't hooked up to a contact.
ndroid/internal/widget/ContactHeaderWidget.java
72b1f379d5c97c8ff31d2201e78215af777d6bda 31-Aug-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
ndroid/internal/os/ZygoteInit.java
284ac93aa30642fda87d5c40263a1263677c21cd 28-Aug-2009 Dianne Hackborn <hackbod@google.com> More work on wallpapers: animations, lifecycle, scaling, etc.

Yet more work on improving the behavior of wallpapers. This fixes a few
problems in their lifecycle (corresponding change in the picker also
required for this), makes their animations better for hardware that supports
alpha fades, adds animations for the wallpapers themselves, eliminates
fixed size wallpapers, and adjusts the API for retrieving a wallpaper
bitmap to take care of scaling the raw wallpaper image to match the current
desired width and height.

Change-Id: If1c0aaceba4ea4e175dcb7a8416ca7ddbb9bfa6f
ndroid/internal/service/wallpaper/ImageWallpaper.java
22d1f9fb23015471de6af1a70e40fb5c82ecb665 19-Aug-2009 Danke Xie <dankex@qualcomm.com> gps: Network initiated SUPL

Initial contribution from Qualcomm.

Signed-off-by: Mike Lockwood <lockwood@android.com>
ndroid/internal/app/NetInitiatedActivity.java
678771b8118c3289aff6814775cbb30fa8aada29 21-Aug-2009 Karl Rosaen <krosaen@android.com> New strings and utlity method tweaks associated with updated account unlock screen flow.

- 'setPermanentlyLocked(false)' no longer automatically resets the pattern
- new string for "waiting to verify account" progress dialog
- new string for account unlock screen title when you aren't past the too many
attempts, but just hit the 'forgot pattern' button
ndroid/internal/widget/LockPatternUtils.java
f7eab4f78fe4bdb193a4f8caf2648d2cb3ef36ea 25-Aug-2009 Jeff Sharkey <jsharkey@android.com> Don't use deprecated API in contact header widget.

Fixes http://b/2074981
ndroid/internal/widget/ContactHeaderWidget.java
84235ee923c13e58ce339c25c86f734b338a81e0 23-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add extra to exclude specific MIME-types from Fast-Track.

Also added ContactHeaderWidget accessor for passing along
this list when triggering Fast-Track. This is used so that
the header widget can hide the profile icon when launched
while already looking at the profile.
ndroid/internal/widget/ContactHeaderWidget.java
00ddbcaa2e8a181a2efd5456a65c619ed941e4b0 21-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22314 into eclair

* changes:
Purge cache
4ddacd014bee1bdb14239cc9d4bc763a8601a7a6 21-Aug-2009 Tom Taylor <tomtaylor@google.com> Purge cache

When persisting a PDU, make sure we purge any old instances of the
PDU from the cache.
oogle/android/mms/pdu/PduPersister.java
07ef599b9f35572a3a75b884febe500a6c390e7e 21-Aug-2009 Romain Guy <romainguy@android.com> Fix typo: the x offset was assigned to the y coordinate.

Also remove a couple of useless casts.
ndroid/internal/service/wallpaper/ImageWallpaper.java
60662b035c0ac0dd3b67d1bbdb54e1b6ba139148 20-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> The API for phone lookup has changed - updating Contact Header accordingly.
ndroid/internal/widget/ContactHeaderWidget.java
b22293590cb10b1d8722dbf9c226cb58f240d7d5 18-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21748 into eclair

* changes:
Get At command count from Bluetooth headset.
82cb029e2a4907ee55fed4a00493b76b3e11a7a1 18-Aug-2009 Amith Yamasani <yamasani@google.com> Get At command count from Bluetooth headset.

Pass in the BT headset object when available to the BatteryStats.
ndroid/internal/os/BatteryStatsImpl.java
bd022f423a33f0794bb53e5b0720da2d67e4631c 15-Aug-2009 Nick Pelly <npelly@google.com> Bluetooth: API change.

Split BluetoothDevice into BluetoothDevice and BluetoothAdapter.

BluetoothAdapter: Represents the local BT adapter. Operations on the local
adapter (start a scan, etc).
BluetoothDevice: Represents a remote BT device. Operations on remote devices
(pair, connect, etc).

IBluetoothDevice.aidl -> Bluetooth.aidl
BluetoothDeviceService.java -> BluetoothDeviceService.java

TODO:
Javadoc
ndroid/internal/app/ShutdownThread.java
8df8b2b405c60cacf7a66c4e2ca078dd3d7ec7bd 18-Aug-2009 Dianne Hackborn <hackbod@google.com> Allow wallpapers to get touch events.
ndroid/internal/os/HandlerCaller.java
ndroid/internal/service/wallpaper/ImageWallpaper.java
ndroid/internal/view/BaseIWindow.java
7341d7a104b47996445d069a695e155a07184606 14-Aug-2009 Dianne Hackborn <hackbod@google.com> More work on wallpapers.

- Do better about figuring out when to stop them and other related window
management.
- Fix problem where we were not redrawing the surface when the orientation
changed. This was the cause of the device hang.
ndroid/internal/service/wallpaper/ImageWallpaper.java
0cd48879dca53a9f4d449126d406527bc4b94baf 14-Aug-2009 Dianne Hackborn <hackbod@google.com> A little more wallpaper robustness.

- Recover if a live wallpaper is crashing repeatedly.
- Don't crash when someone tries to set a static wallpaper.
- Make the static wallpaper update correctly when the image changes.
ndroid/internal/service/wallpaper/ImageWallpaper.java
317a6280cc109e873646e4652be1582d870eedfd 14-Aug-2009 Mathias Agopian <mathias@google.com> Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed.

this also ripples into the window manager API by making some constant there deprecated as well.
ndroid/internal/view/BaseSurfaceHolder.java
97f3209b45dd59b814dda70f1cc90ee8bc5f1319 12-Aug-2009 Mark Wagner <mxw@google.com> more support for bindStatic
some minor tweaks to the layout in the hopes I can start using this for gtalk soon
ndroid/internal/widget/ContactHeaderWidget.java
ab13c7792e01f99f9e37c49ff11335ce36efa268 13-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add methods for directly setting Contact header data.

Previously, ContactHeaderWidget only allow data binding
through helper methods, or a single static call. In the
Contacts edit UI, we need to set individual fields directly
based on internal EntityDelta states. Also added more
documentation and exposed more-direct query helpers.
ndroid/internal/widget/ContactHeaderWidget.java
9875e6117a1c106fb5d25917eb0c6206fd05a561 13-Aug-2009 Dianne Hackborn <hackbod@google.com> Should clear background.
ndroid/internal/service/wallpaper/ImageWallpaper.java
72c82ab9923025a91bbabb32e56bfea27bfd083b 12-Aug-2009 Dianne Hackborn <hackbod@google.com> Report wallpaper offset to the wallpaper, use this in the image wallpaper.

Wallpapers can now be just the size of the screen, and get told when their
scroll position should change to do the updating on their own.
ndroid/internal/os/HandlerCaller.java
ndroid/internal/service/wallpaper/ImageWallpaper.java
ndroid/internal/view/BaseIWindow.java
45e503ae91d380ebe5158927b7d6aa80e166d096 12-Aug-2009 android-build SharedAccount <android-build@sekiwake.mtv.corp.google.com> resolved conflicts for merge of 802527c6 to master skipping preloaded-classes as pre Bob
773c6341244ed0be380b8242fb6d17d53c491f56 11-Aug-2009 Evan Millar <emillar@google.com> Add presence to ContactsHeaderWidget
ndroid/internal/widget/ContactHeaderWidget.java
93187560b5130594901a723ff8023da4913db3a9 12-Aug-2009 Mark Wagner <mxw@google.com> contrary to popular belief ContentResolver.query can return null.
so check.
ndroid/internal/widget/ContactHeaderWidget.java
ef654bdd5bd957574abd4194d7b0585f3fc3fd34 12-Aug-2009 Romain Guy <romainguy@android.com> Draw the wallpaper chosen by the user
ndroid/internal/service/wallpaper/ImageWallpaper.java
b4f59bffc03575739776d91c5a61b09451042f8a 11-Aug-2009 Romain Guy <romainguy@android.com> Fix possible exception in default live wallpaper
ndroid/internal/service/wallpaper/ImageWallpaper.java
ac1e59d887651220f5367cc7fa4207b34eab774d 11-Aug-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
ndroid/internal/widget/LockPatternView.java
2e93f65cab0b4b21a1285b83e985559325e87a3a 11-Aug-2009 Bob Lee <crazybob@google.com> Updated preloaded-classes file.
ndroid/internal/os/ZygoteInit.java
ad2eaf208df515064898e0a69015e8910aa972f1 11-Aug-2009 Jeff Sharkey <jsharkey@android.com> Added long-press hooks to Contact header widget.

To match Contacts edit UI mocks, the user long-presses on
the photo or display name to select a new primary. This
change provides the hooks needed over in Contacts.
ndroid/internal/widget/ContactHeaderWidget.java
759a39e8d2a8b27ef07e102394629dce68aa186b 10-Aug-2009 Dianne Hackborn <hackbod@google.com> Live wallpapers become a little more real.

This adds a new theme for having a wallpaper, and fixes up the window manager
to do the right thing when transitioning between a windows with and without
wallpapers (between two windows with wallpapers is not yet addressed).

The wallpaper API now has callbacks to tell you when to start/stop animating.

Also fiddle the image wallpaper to be a little more interesting.
ndroid/internal/service/wallpaper/ImageWallpaper.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 09-Aug-2009 Dianne Hackborn <hackbod@google.com> Very primitive wallpapers in a surface.

This is all of the basic pieces:

- The WallpaperService now creates a surface with the window manager for its
contents.
- There is a simple service that displays a bitmap.
- The wallpaper manager takes care of starting and stopping the service.
- The window manager knows about wallpaper windows and how to layer them with
the windows that want to be shown on top of wallpaper.

Lots and lots of issues remain, but at this point you can actually write a
wallpaper service, select it in the UI, and see it behind an activity.
ndroid/internal/os/HandlerCaller.java
ndroid/internal/service/wallpaper/ImageWallpaper.java
ndroid/internal/view/BaseIWindow.java
ndroid/internal/view/BaseSurfaceHolder.java
23d479588f6e591e4643ca97063c5b017122da2e 07-Aug-2009 Mark Wagner <mxw@google.com> Mods to the ContactHeaderWidget to be able to have it display strings
as passed in by the caller. For example we may want to use this in
the case when there is no contact in a given circumstance.
ndroid/internal/widget/ContactHeaderWidget.java
6bfe14dea21deec4c90ceea79b8f810164f88031 06-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add SHOW_OR_CREATE size modes, trigger from contact header.

Added constants so that apps triggering SHOW_OR_CREATE can
request a desired size through EXTRA_MODE. Also added hooks
to internal ContactHeaderWidget to launch SHOW_OR_CREATE
when user taps on photo.
ndroid/internal/widget/ContactHeaderWidget.java
8db05867bd3b37f78601f7447e1371c6f709baab 04-Aug-2009 Karl Rosaen <krosaen@google.com> am 0e74f5a5: Guard against index out of bounds exception in lock pattern widget.

Merge commit '0e74f5a50b3b08c4519a040dafa895ab1f5b4d2e'

* commit '0e74f5a50b3b08c4519a040dafa895ab1f5b4d2e':
Guard against index out of bounds exception in lock pattern widget.
3f86715d77f5c3d504aac449755d69d99aecdf51 03-Aug-2009 Fred Quintana <fredq@google.com> add missing types
oogle/android/gdata2/client/AndroidGDataClient.java
0e74f5a50b3b08c4519a040dafa895ab1f5b4d2e 04-Aug-2009 Karl Rosaen <krosaen@google.com> Guard against index out of bounds exception in lock pattern widget.

Fixes bug 2027516.
ndroid/internal/widget/LockPatternView.java
fc03aa78943e66c0e0f3358fc73cf3dcf28894dd 03-Aug-2009 Mark Wagner <mxw@google.com> check return value from Cursor.moveToFirst()
ndroid/internal/widget/ContactHeaderWidget.java
b3ac9318efde5de9938fea8b55b1f84addb80d4f 01-Aug-2009 Evan Millar <emillar@google.com> Adds the ContactHeaderWidget for use by system apps.

The ContactHeaderWidget is a new widget that is used as a header banner
in various system applications, including contacts, mms, and gtalk.
Convenience methods are supplied for bind the widget to a specific
contact, which can be specified by contact id, email, or phone number.
ndroid/internal/widget/ContactHeaderWidget.java
5c1207be90fdf296c1b83034b7c68915e1749284 01-Aug-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
ndroid/internal/widget/EditStyledText.java
a8675f67e33bc7337d148358783b0fd138b501ff 29-Jul-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/PowerProfile.java
ndroid/internal/widget/LockPatternView.java
ndroid/internal/widget/NumberPicker.java
afa7d85b43c6c2058cbde61ff287ff5776d76d2a 29-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 9008

* changes:
Only restore the bits for wallpapers that aren't built in.
9bb8fd77c8dc177aab9ac96bed4f55972dcda70a 29-Jul-2009 Joe Onorato <joeo@android.com> Only restore the bits for wallpapers that aren't built in.
ndroid/internal/backup/SystemBackupAgent.java
4ed9d78754fb64e825bdf935fede93a9f8c8d5f2 29-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4768

* changes:
Implement sliding window sync.
a9e3e7254446670b4649239f9ee6453e2e083b80 27-Jul-2009 Fred Quintana <fredq@google.com> fix for a method rename
oogle/android/gdata2/client/AndroidGDataClient.java
461628716e3b6ea217839ef584375e81436b77fc 27-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8177

* changes:
Added patch support based on serializer state in the android client
e2dba02441b42afbae725109ac779877a4b72aa0 25-Jul-2009 Dianne Hackborn <hackbod@google.com> am 11ea3347: Allow for screen density drawables in compatibility mode.

Merge commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8'

* commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8':
Allow for screen density drawables in compatibility mode.
11ea33471e1a14a8594f0b2cd012d86340dd3bd8 23-Jul-2009 Dianne Hackborn <hackbod@google.com> Allow for screen density drawables in compatibility mode.

This change allows us to use drawables that match the current screen
density even when being loaded in compatibility mode. In this case,
the bitmap is loaded in the screen density, and the bitmap and
nine-patch drawables take care of accounting for the density difference.

This should be safe for existing applications, for the most part, since
they shouldn't really be pulling the bitmap out of the drawable. For
the small rare chance of them breaking, it worth getting the correct
graphics. Also this will only happen when there is actually a resource
of the matching density, and no existing apps should have resources for
anything besides the default density (though of course all of the
framework resources will be available in the native density).

As part of this, the bitmap density API has been changed to a single
integer provider the DPI unit density.
ndroid/internal/widget/EditStyledText.java
62e7cbf0b2696594ba36b625758eef626e4abeac 23-Jul-2009 Dan Egnor <egnor@google.com> Add some more (off by default) logging to trace what's happening with UrlRules
oogle/android/net/UrlRules.java
c53d69e62726983f5c64f3ac8124e59fadc09d82 23-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8242

* changes:
Make intent broadcasts in "am" synchronous (they wait until exit). Clean up error handling and reporting in "am". Make the usage message for "am" more informative.
9f4af53561daae8ffe77157068d67ab10d9e2a4d 22-Jul-2009 Dan Egnor <egnor@google.com> Make intent broadcasts in "am" synchronous (they wait until exit).
Clean up error handling and reporting in "am".
Make the usage message for "am" more informative.

Make it easier to turn on logging in GoogleHttpClient.
oogle/android/net/GoogleHttpClient.java
513d217988e66b176db32a9cf204bb6d240abe97 22-Jul-2009 fmantek <fmantek@google.com> Added patch support based on serializer state in the android client
oogle/android/gdata2/client/AndroidGDataClient.java
cf4550c3198d6b3d92cdc52707fe70d7cc0caa9f 21-Jul-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
ndroid/internal/backup/SystemBackupAgent.java
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/PowerProfile.java
ndroid/internal/os/ZygoteInit.java
ndroid/internal/util/BitwiseInputStream.java
ndroid/internal/util/BitwiseOutputStream.java
oogle/android/net/GoogleHttpClient.java
oogle/android/util/GoogleWebContentHelper.java
a695d185f11b2b03ecf0e0f796621fb00bfe7855 21-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am ef1a92ab: Merge change 7961 into donut

Merge commit 'ef1a92abe1bebe4feba4ba33cd0c7e25ee83fcc0'

* commit 'ef1a92abe1bebe4feba4ba33cd0c7e25ee83fcc0':
Bluetooth at command tracking.
3f7e35c2c7d3d7f08f50c1d93cd16b1f49354ccc 14-Jul-2009 Amith Yamasani <yamasani@google.com> Bluetooth at command tracking.
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/PowerProfile.java
4764605109a0dd993a805b368897f93ab29e8996 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am fa8904a6: Merge change 7012 into donut

Merge commit 'fa8904a683903524ed9749f296e80381e5820178'

* commit 'fa8904a683903524ed9749f296e80381e5820178':
Fix couple of issues in DatePicker
2bf761c20253222a763bce9a63d14c48ab08a556 14-Jul-2009 Suchi Amalapurapu <asuchitra@google.com> Fix couple of issues in DatePicker
The NumberPicker's listener needs to be invoked only if
the current value changes when validating input.
This removes the some unwanted duplicate calls to onChanged.
Adjust day for month and leap years. note that updateDaySpinner
directly sets the value on day picker and doesn't invoke the
listener twice
ndroid/internal/widget/NumberPicker.java
0f4e1ab773d4d52bfb85a9ad2f050ead3b8b4e49 10-Jul-2009 Fred Quintana <fredq@google.com> - remove an un-needed constant
- add a content provider helper that manages a table for storing sync state by account
- add contact definitions to Contacts access the sync state
ndroid/internal/content/SyncStateContentProviderHelper.java
8a72cd9c7dd907b934bbe94955a18b3f2fa5ee71 12-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 1c9fb40c: Merge change 6845 into donut

Merge commit '1c9fb40cb6dbfeee58c41a43852c5b94a1b83613'

* commit '1c9fb40cb6dbfeee58c41a43852c5b94a1b83613':
Use MeasureSpec.getWidth instead of default display in lock pattern widget.
6a109b4874b79d9bf8f5d990bfe831a59e5a83dc 11-Jul-2009 Karl Rosaen <krosaen@google.com> Use MeasureSpec.getWidth instead of default display in lock pattern widget.
ndroid/internal/widget/LockPatternView.java
85c3b727d743c86ee5a5443761f179f6652301ac 08-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6186

* changes:
Squashed commit of the following: Merged with batch, change to FORMAT_BATCH commit 4a6f359119771b7ac785aafcba757d049c82e490 Merge: e41dea4... 10063c1... Author: fmantek <fmantek@google.com> Date: Fri Jul 3 14:58:11 2009 +0200
0a04ca7c97a82ad7afa8fa9d6c3a93964a588c07 06-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 7c5ae202: Merge change 6104 into donut

Merge commit '7c5ae202c53be1ab4881a6811aa5bd091c3aef10'

* commit '7c5ae202c53be1ab4881a6811aa5bd091c3aef10':
Add a "clear backed-up data" method to the backup mechanism
ee0a8f20d54ddb25a1d1467bc206588cd8343f00 03-Jul-2009 fmantek <fmantek@google.com> Squashed commit of the following:
Merged with batch, change to FORMAT_BATCH
commit 4a6f359119771b7ac785aafcba757d049c82e490
Merge: e41dea4... 10063c1...
Author: fmantek <fmantek@google.com>
Date: Fri Jul 3 14:58:11 2009 +0200

Merge branch 'master' of ssh://android-git.corp.google.com:29418/platform/frameworks/base into GDataClient2
Implemented batch on the android client

commit e41dea4ac27959c8d9f906afbc2e5c4b09e007e0
Author: fmantek <fmantek@google.com>
Date: Wed Jul 1 15:36:01 2009 +0200

New GDAtaClientInterface

commit d70a4b7d088df217360825a79696e8dae669a8b2
Author: fmantek <fmantek@google.com>
Date: Wed Jul 1 15:28:50 2009 +0200

Removeg 2 unneeded files

commit f5a25cbd43a14412a4cbd51bbd733ddb7d0e06ba
Author: fmantek <fmantek@google.com>
Date: Wed Jul 1 15:26:07 2009 +0200

Added gdata2 package

commit dfd0d875a2eac69511419df375820f0b437ba398
Author: fmantek <fmantek@google.com>
Date: Thu Jun 25 13:00:05 2009 +0200

New Android Client to use Gdata2 package and support etags
oogle/android/gdata2/client/AndroidGDataClient.java
oogle/android/gdata2/client/AndroidXmlParserFactory.java
oogle/android/gdata2/client/QueryParamsImpl.java
ee0e78af5af3bf23dd928fe5e0ebeb39157eaf66 02-Jul-2009 Christopher Tate <ctate@google.com> Add a "clear backed-up data" method to the backup mechanism

It's now possible to ask that the backup manager wipe the saved data for a given
application from the backing store. LocalTransport implements this now but the
Google backend does not yet. When the data is wiped, the on-device backup state
is also wiped to ensure that the next backup pushes all necessary data.

Bmgr has not yet been modified to actually call into this method, but it will
be soon.
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
f7b2146edc5ea8f6d8fb21007f18efa347489ba5 30-Jun-2009 Tammo Spalink <tammo@google.com> am c25dbf88: add comment about endianness

Merge commit 'c25dbf88fc21c707b72502c43695c2c31ff22a23'

* commit 'c25dbf88fc21c707b72502c43695c2c31ff22a23':
add comment about endianness
1f9508ce4d55626f6a9ed40d7d3852d4494415e9 30-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am ae352273: Merge change 5192 into donut

Merge commit 'ae3522734ef83254626cacee18a9490f6af62415'

* commit 'ae3522734ef83254626cacee18a9490f6af62415':
make BitwiseInputStream.read return int
c25dbf88fc21c707b72502c43695c2c31ff22a23 28-Jun-2009 Tammo Spalink <tammo@google.com> add comment about endianness
ndroid/internal/util/BitwiseInputStream.java
ndroid/internal/util/BitwiseOutputStream.java
ae3522734ef83254626cacee18a9490f6af62415 26-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5192 into donut

* changes:
make BitwiseInputStream.read return int
7f94b60c6d22a0dad41cdbc4fadfc0bc70a8ebac 26-Jun-2009 Christopher Tate <ctate@google.com> am 5cb400bd: Keep track of backup state independently for each transport

Merge commit '5cb400bd72726c22f641f334951b35ce2ddcfeef'

* commit '5cb400bd72726c22f641f334951b35ce2ddcfeef':
Keep track of backup state independently for each transport
5cb400bd72726c22f641f334951b35ce2ddcfeef 26-Jun-2009 Christopher Tate <ctate@google.com> Keep track of backup state independently for each transport

Backup transports now provide the Backup Manager with a suggested name with
which it can disambiguate any transport-specific bookkeeping that it needs to
maintain. The Manager keeps separate application backup 'state blobs' for each
transport now, preventing things from getting out of step if the device is
switched among multiple transports.

Also, the metadata backup agent is always invoked now on each backup pass. This
is cheap when there is nothing to do, but also strongly ensures that we never
wind up in a situation where a given transport destination has not been given
all of the metadata necessary for the backup set.
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
2383415ab982ff156a85929f58029c0b863750c5 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am f881762f: Merge change 5351 into donut

Merge commit 'f881762f97c74253bbc7f629380bb65739457041'

* commit 'f881762f97c74253bbc7f629380bb65739457041':
Add a method to Process to get uid for a pid.
819f928f6a9dc3fdf408236f33e17f03a7dfed2c 25-Jun-2009 Amith Yamasani <yamasani@google.com> Add a method to Process to get uid for a pid.

Use the uids to track native processes. Cache the uids to avoid
checking /proc every time.
ndroid/internal/os/BatteryStatsImpl.java
cc79800a741e4ee55ecfa7ec236b0087d83e41e4 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 5416d7c9: Merge change 5317 into donut

Merge commit '5416d7c905e723a978ac29ccaf22a91b76e9d5c2'

* commit '5416d7c905e723a978ac29ccaf22a91b76e9d5c2':
Start backing up wallpaper
111bd4acdb378266221b430a284f88a3990a3958 25-Jun-2009 Christopher Tate <ctate@google.com> Start backing up wallpaper

This CL does the following:
+ adds an AbsoluteFileBackupHelper class for managing backup of files
known by absolute path, not based off of the app's getFilesDir() root
+ bumps up the collection interval from its testing-only default of 1 second
to 3 minutes
+ adds a SystemBackupAgent class to the main system package and names it as
the android:backupAgent for the main OS package. Right now this agent
only backs up & restores the wallpaper file.
+ amend the Wallpaper Service to inform the Backup Manager when the wallpaper
changes.

On the subject of the 3-minute collection interval before the backup actually
occurs: this can be short-circuited from an adb shell. Running the command
'bmgr run' will cause the Backup Manager to kick off any pending backup
operations immediately.
ndroid/internal/backup/SystemBackupAgent.java
e23ad63adf02e0079c75cba1cac912c08cae5c49 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 67669c9c: Merge change 5196 into donut

Merge commit '67669c9c1753b062fe2a71f89b589d01b32ba0f7'

* commit '67669c9c1753b062fe2a71f89b589d01b32ba0f7':
Modify the IBackupTransport API to support bulk restore operations.
efe52647f6b41993be43a5f47d1178bb0468cec8 24-Jun-2009 Dan Egnor <egnor@google.com> Modify the IBackupTransport API to support bulk restore operations.
Change the BackupManagerService and LocalTransport to support the new API.
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/backup/LocalTransport.java
4c74637833c6dc41f5c51897cd78a037e0cc18ee 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 3e376a74: Merge change 5171 into donut

Merge commit '3e376a74b3edd8c311e8d69ca5baf986c9da4a06'

* commit '3e376a74b3edd8c311e8d69ca5baf986c9da4a06':
Track native processes and airplane mode.
32dbefda71c50bf848da21fb5d1255273439f90d 19-Jun-2009 Amith Yamasani <yamasani@google.com> Track native processes and airplane mode.

Turn signal strengths on/off when toggling airplane mode.
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/PowerProfile.java
326c66d888f9b3ce82af93fe63e4828a4a4e3fbe 24-Jun-2009 Tammo Spalink <tammo@google.com> make BitwiseInputStream.read return int

Keep the maximum access 8 bits to avoid dealing with
endianness issues.
ndroid/internal/util/BitwiseInputStream.java
ndroid/internal/util/BitwiseOutputStream.java
3618160a1a10ab7574f14e0e5a45fe79ec660a64 23-Jun-2009 Dianne Hackborn <hackbod@google.com> am 2e418428: Possibly fix an issue where we thought an app was always using GPS.

Merge commit '2e418428987132ea66533cbc05f9c526eb59519a'

* commit '2e418428987132ea66533cbc05f9c526eb59519a':
Possibly fix an issue where we thought an app was always using GPS.
2e418428987132ea66533cbc05f9c526eb59519a 23-Jun-2009 Dianne Hackborn <hackbod@google.com> Possibly fix an issue where we thought an app was always using GPS.

There may be some race conditions in the gps provider where it can cause a uid
to be double booked for gps usage and never released. Address this by tweaking
some locking (so mLocation and the uid array are protected by a lock both when
reading and writing). Also add some code to log a warning if someone tries to
note a particular uid multiple times, since the code will break in that case.

Finally, fix a problem in the battery stats where we weren't allowing a new Uid
structure to be created in many cases for calls coming in.
ndroid/internal/os/BatteryStatsImpl.java
fc542816ba3f6eb820749840c70dc6670eea9a5e 23-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4939

* changes:
mods so that we can search mms messages
5196d12a12dfcfb8b7deb74d74d69496f8e12b02 23-Jun-2009 Christopher Tate <ctate@google.com> am 3a31a93b: Add some global metadata to the restore set

Merge commit '3a31a93b8a195ae2d0180e6dfbf292da2e581f50'

* commit '3a31a93b8a195ae2d0180e6dfbf292da2e581f50':
Add some global metadata to the restore set
3a31a93b8a195ae2d0180e6dfbf292da2e581f50 23-Jun-2009 Christopher Tate <ctate@google.com> Add some global metadata to the restore set

In addition to the signatures of each participating application, we now also
store the versionCode of each backed-up package, plus the OS version running on
the device that contributed the backup set. We also refuse to process a backup
from a later OS revision to an earlier one, or from a later app version to an
earlier.

LocalTransport has been modified as well to be more resilient to changes in the
system's use of metadata pseudopackages.
ndroid/internal/backup/LocalTransport.java
f4f8a7fe467c2f7514bf528d0a3e8926c2813c0f 19-Jun-2009 Mark Wagner <mxw@google.com> mods so that we can search mms messages
oogle/android/mms/pdu/PduPersister.java
6e40a6e78d3a721f5b5c62993a5825190b6cb691 19-Jun-2009 Ken Shirriff <kens@google.com> Implement sliding window sync.

This change allows null QueryParams to be skipped.
oogle/android/gdata/client/QueryParamsImpl.java
f923ed6ff76a0fd022bcc83e748e82266ba4ed1b 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 5502f04c: Merge change 4709 into donut

Merge commit '5502f04c1dcf2b1918858bacb99fb0480a711707'

* commit '5502f04c1dcf2b1918858bacb99fb0480a711707':
backup stuff
5d605dc56b036232e885f6ec36b888b729673060 19-Jun-2009 Joe Onorato <joeo@android.com> backup stuff
ndroid/internal/backup/LocalTransport.java
c452b4e86e5ff6ea4811d9d5041d06e541c43bb3 18-Jun-2009 Christopher Tate <ctate@google.com> am e9190a27: Base64 the keys to make filenames in LocalTransport

Merge commit 'e9190a2750e1fb67e300d2c128227cc9b7339efe'

* commit 'e9190a2750e1fb67e300d2c128227cc9b7339efe':
Base64 the keys to make filenames in LocalTransport
c0f088b06b1b09157f5727246dcf3ebb6ac7b17b 18-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 3c2f8e66: Merge change 4456 into donut

Merge commit '3c2f8e6651178742bc685e7bd62fa8a6ca409a74'

* commit '3c2f8e6651178742bc685e7bd62fa8a6ca409a74':
Replace the stub GoogleTransport with callout to the
72dcea1eed882123c3f9285f2ab908f530993609 18-Jun-2009 Joe Onorato <joeo@android.com> am 83248c43: backup fixes:

Merge commit '83248c432ffe2e2a17abbc8e4960c26574b46bca'

* commit '83248c432ffe2e2a17abbc8e4960c26574b46bca':
backup fixes:
e9190a2750e1fb67e300d2c128227cc9b7339efe 18-Jun-2009 Christopher Tate <ctate@google.com> Base64 the keys to make filenames in LocalTransport
ndroid/internal/backup/LocalTransport.java
3c2f8e6651178742bc685e7bd62fa8a6ca409a74 18-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4456 into donut

* changes:
Replace the stub GoogleTransport with callout to the GoogleTransportService (which lives in vendor/google). Use the Google transport by default. Also, fix a bug: Thread.run() != Thread.start()
87a02bcf68dd4cc1f6d9fdcee3d1ebc9b04cf1f8 17-Jun-2009 Dan Egnor <egnor@google.com> Replace the stub GoogleTransport with callout to the
GoogleTransportService (which lives in vendor/google).
Use the Google transport by default.
Also, fix a bug: Thread.run() != Thread.start()
ndroid/internal/backup/GoogleTransport.java
83248c432ffe2e2a17abbc8e4960c26574b46bca 18-Jun-2009 Joe Onorato <joeo@android.com> backup fixes:

- BackupTestAgent calls the DispatchHelper
- Make BackupAgent.onRestore take a BackupDataInput, not just a
generic ParcelFileDescriptor.
ndroid/internal/backup/LocalTransport.java
251c89c0a7502f4286f2484a77b685ddfe2b39d2 18-Jun-2009 Joe Onorato <joeo@android.com> am 5f15d151: checkpoint BackupDatAInput / RestoreHelper

Merge commit '5f15d151b5101fadfe6cba1e8f4aa6367e8c603e'

* commit '5f15d151b5101fadfe6cba1e8f4aa6367e8c603e':
checkpoint BackupDatAInput / RestoreHelper
1bd88ca88f8b89dbf09697b8eddc4703e266a654 18-Jun-2009 Christopher Tate <ctate@google.com> am aa088447: Hold the current transport instantiated all the time.

Merge commit 'aa088447baadd2e0bbcfd18cc529645610c13ddc'

* commit 'aa088447baadd2e0bbcfd18cc529645610c13ddc':
Hold the current transport instantiated all the time.
5f15d151b5101fadfe6cba1e8f4aa6367e8c603e 16-Jun-2009 Joe Onorato <joeo@android.com> checkpoint BackupDatAInput / RestoreHelper
ndroid/internal/backup/LocalTransport.java
aa088447baadd2e0bbcfd18cc529645610c13ddc 17-Jun-2009 Christopher Tate <ctate@google.com> Hold the current transport instantiated all the time.

We no longer instantiate the transport just for the duration of handling a
backup or restore operation. Instead, we hold the object forever (replacing it
if instructed to do so). This makes it easier for transports to watch system
state and help set backup timing policy.

Also fixes up the IBackupTransport documentation a bit.
ndroid/internal/backup/IBackupTransport.aidl
714000456b74dfc08c5100ce38bfe8cdd54e6571 17-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am febde5fc: Merge change 4389 into donut

Merge commit 'febde5fc290eb422f78b47f393dc451394751d59'

* commit 'febde5fc290eb422f78b47f393dc451394751d59':
More bmgr work; fix clear-data signalling
f68eb500f99361541049e09eb7f9ddd6f4ef4efa 16-Jun-2009 Christopher Tate <ctate@google.com> More bmgr work; fix clear-data signalling

The 'list sets' and 'restore token#' commands from bmgr now do what they are
supposed to. At this point we see the restore target's data being cleared
properly and its agent being launched and invoked for restore.
ndroid/internal/backup/LocalTransport.java
dac6f5fc337bb429012d0217de7a9028238e40e7 15-Jun-2009 Christopher Tate <ctate@google.com> am 8e55eac9: Bring the test transport\'s restore code into line

Merge commit '8e55eac96d768a4de68a091f57487deadf6d0a87'

* commit '8e55eac96d768a4de68a091f57487deadf6d0a87':
Bring the test transport's restore code into line
8e55eac96d768a4de68a091f57487deadf6d0a87 15-Jun-2009 Christopher Tate <ctate@google.com> Bring the test transport's restore code into line

It now reconstructs the backup data stream as it was originally structured, no
longer assuming that its backed-up records can simply be concatenated into the
destination stream.
ndroid/internal/backup/LocalTransport.java
daf701fa6250ae89ad93e2e41127e0f676a322a5 15-Jun-2009 Christopher Tate <ctate@google.com> am 2fdd428e: Fix some backup reader/writer issues; make local transport do backup

Merge commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2'

* commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2':
Fix some backup reader/writer issues; make local transport do backup
Fix the jni initializer.
Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
Fix bug #1812041: activity manager crash with bad args.
Journal backup requests so that they won't be lost in a crash
Fix data connection issues.
859f1b0b6f5c57926ca74848ea651b3b95c230c1 15-Jun-2009 Ramanan Rajeswaran <ramanan@google.com> am e8939bb8: resolved conflicts for merge of a798dd86 to donut

Merge commit 'e8939bb8f1453b44788d4475a8263082d858e533'

* commit 'e8939bb8f1453b44788d4475a8263082d858e533':
AI 149797: Have SetupWizard pull the Terms of Service from the web using a new URL
2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2 13-Jun-2009 Christopher Tate <ctate@google.com> Fix some backup reader/writer issues; make local transport do backup

As of this change, LocalTransport is successfully propagating data changes from
the backup data format into a repository stored in /cache/backup/[packagename].
Each backup key gets a separate file there for ease of manipulation and testing.

The general semantics of BackupDataReader have been tweaked, too; it now just
returns simple "we're done with the data" when it hits the end, even if no
footer has been found, because on the writing side the footer isn't being
written. Also, reading an entity now merely requires a "big enough" buffer, not
an exactly-sized one.

This is all a work in progress, but this is at least working now for purposes of
this local transport.

Still to do: proper change vs deletion detection, as well as expanding the data
format itself to include necessary metadata etc.
ndroid/internal/backup/LocalTransport.java
e8939bb8f1453b44788d4475a8263082d858e533 12-Jun-2009 Ramanan Rajeswaran <ramanan@google.com> resolved conflicts for merge of a798dd86 to donut
a798dd86295191b095aaa7a02903daf8d1a5e431 11-Jun-2009 Ramanan Rajeswaran <nobody@android.com> AI 149797: Have SetupWizard pull the Terms of Service from the web using a new URL
which allows us to set the language and country (based on MCC otherwise
locale country). If we are unable to retrieve the ToS, or verify the
content, we load the default ToS (en_US) from the device.
BUG=1856455

Automated import of CL 149797
oogle/android/util/GoogleWebContentHelper.java
0c32f14ef117e37e22dae4a7b7f8de804a1b855d 11-Jun-2009 Christopher Tate <ctate@google.com> am 9bbc21a7: Flesh out restore interface on manager; work up most of LocalTransport

Merge commit '9bbc21a773cbdfbef2876a75c32bda5839647751'

* commit '9bbc21a773cbdfbef2876a75c32bda5839647751':
Flesh out restore interface on manager; work up most of LocalTransport
a50b795161ec8c8d367b94d06afb45e7213614ef 11-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am b6391d63: Merge change 3857 into donut

Merge commit 'b6391d6377883586995127c9926c1b5b8035fd60'

* commit 'b6391d6377883586995127c9926c1b5b8035fd60':
Allow arrays of values for power profile data.
9bbc21a773cbdfbef2876a75c32bda5839647751 11-Jun-2009 Christopher Tate <ctate@google.com> Flesh out restore interface on manager; work up most of LocalTransport
ndroid/internal/backup/AdbTransport.java
ndroid/internal/backup/LocalTransport.java
3718aaabe6259dcf86a3666ff92d16e4be5da555 09-Jun-2009 Amith Yamasani <yamasani@google.com> Allow arrays of values for power profile data.

Parse arrays for data that has different levels with non-linear
power increase.
Track radio data awake_time from kernel and mobile/total data
transfers.
Use dummy values for default power_profile.xml. Actual values will
be in a product overlay.
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/PowerProfile.java
1b2e618bdfe5840f450a6899de548a095739e2ba 10-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 9e09e0f4: Merge change 3724 into donut

Merge commit '9e09e0f439ab30b8856d46827623652d09b7477b'

* commit '9e09e0f439ab30b8856d46827623652d09b7477b':
zygote: Add CAP_SYS_NICE to system server capabilities
9e09e0f439ab30b8856d46827623652d09b7477b 10-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 3724 into donut

* changes:
zygote: Add CAP_SYS_NICE to system server capabilities
21444c54273a98051523e66f86d32c5b15acfa08 10-Jun-2009 Christopher Tate <ctate@google.com> am df01deaa: More restore plumbing, plus add suggested-backoff to transport API

Merge commit 'df01deaacff82b918b4f0ba774d5ad3087543629'

* commit 'df01deaacff82b918b4f0ba774d5ad3087543629':
More restore plumbing, plus add suggested-backoff to transport API
df01deaacff82b918b4f0ba774d5ad3087543629 10-Jun-2009 Christopher Tate <ctate@google.com> More restore plumbing, plus add suggested-backoff to transport API

Adds most of the code for a background-thread restore process, structured much
like the backup thread. Broke some common functionality out into a helper
function for doing a synchronous wait for a requested agent to attach.

Added a method to IBackupTransport whereby the transport will be asked for
an opinion on whether this is a good time for a backup to happen. It will
reply with the results of its policymaking around backoff intervals, time-of-day
selection, etc.
ndroid/internal/backup/AdbTransport.java
ndroid/internal/backup/GoogleTransport.java
ndroid/internal/backup/IBackupTransport.aidl
1caefa6c40a732dbe75b0782f0aa3147017c38d0 10-Jun-2009 San Mehat <san@google.com> zygote: Add CAP_SYS_NICE to system server capabilities

Signed-off-by: San Mehat <san@google.com>
ndroid/internal/os/ZygoteInit.java
a92f6964077e5a5bdb9e51b8abfdd08e69ab733c 09-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am d2d058b7: Merge change 3506 into donut

Merge commit 'd2d058b7d657e73255c3665c8b2f63845a8d25d0'

* commit 'd2d058b7d657e73255c3665c8b2f63845a8d25d0':
Revamp IRestoreSession a bit
9b3905c4a25f2d785ce7535d1f2e1540b46bb561 09-Jun-2009 Christopher Tate <ctate@google.com> Revamp IRestoreSession a bit

We now supply an array of RestoreSet objects instead of wacky Bundle
shenanigans. Also, pushed beginRestoreSession() out to the BackupManager
concrete interface class so that SetupWizard can use it.

(beginRestoreSession() is @hide, non-privileged apps cannot use it. It's
also guarded by android.permission.BACKUP enforcement.)
ndroid/internal/backup/AdbTransport.java
ndroid/internal/backup/GoogleTransport.java
ndroid/internal/backup/IBackupTransport.aidl
bd235f10a9873c1f94cd44519c1e0cd118c5a8ab 08-Jun-2009 Christopher Tate <ctate@google.com> am 8c850b79: Add IRestoreSession interface for the restore flow

Merge commit '8c850b792f2d371fd8a4aff146d9d757ee982539'

* commit '8c850b792f2d371fd8a4aff146d9d757ee982539':
Add IRestoreSession interface for the restore flow
8c850b792f2d371fd8a4aff146d9d757ee982539 08-Jun-2009 Christopher Tate <ctate@google.com> Add IRestoreSession interface for the restore flow

Restore is a fairly complicated, somewhat stateful process, so we introduce
a new interface to encapsulate the various bits and pieces into a nicely
separable component. In particular, this will make it much cleaner to
open and interrogate an expensive-to-construct transport and then reuse it
for the actual restore process itself.
ndroid/internal/backup/AdbTransport.java
ndroid/internal/backup/GoogleTransport.java
ndroid/internal/backup/IBackupTransport.aidl
53c31ed1ff2880e6b9b387a291a3f3e938fc9295 08-Jun-2009 Christopher Tate <ctate@google.com> am b4a6188a: Add rough-draft restore API set to IBackupTransport

Merge commit 'b4a6188a74273611abcae05f3a3b1f0547548301'

* commit 'b4a6188a74273611abcae05f3a3b1f0547548301':
Add rough-draft restore API set to IBackupTransport
b4a6188a74273611abcae05f3a3b1f0547548301 08-Jun-2009 Christopher Tate <ctate@google.com> Add rough-draft restore API set to IBackupTransport

* getAvailableBackups returns the list of backup sets available for restore

* getAppSet() returns the set of apps available from a given backup set

* getRestoreData() streams the full backup data for a given application
(within a given backup set) into a FD; that data will be handed to the
app's backup agent for processing.
ndroid/internal/backup/AdbTransport.java
ndroid/internal/backup/GoogleTransport.java
ndroid/internal/backup/IBackupTransport.aidl
4dde34b2f0e69a5a3e53e06614da89b9e4afc3e8 07-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am da55569b: Merge change 3417 into donut

Merge commit 'da55569b0aaf98ff4d472d85ae1b038e76e1e9c3'

* commit 'da55569b0aaf98ff4d472d85ae1b038e76e1e9c3':
Adjust IBackupTransport interface
7b88128e08ba45b071cd714dad9681ce66920d32 07-Jun-2009 Christopher Tate <ctate@google.com> Adjust IBackupTransport interface

Instead of just passing a package name to performBackup, pass the whole
PackageInfo struct, explicitly including the list of signatures for the package.
No need to make each transport look this up individually when it's a necessary
part of the backup payload for each app.
ndroid/internal/backup/AdbTransport.java
ndroid/internal/backup/GoogleTransport.java
ndroid/internal/backup/IBackupTransport.aidl
ce74edc7eab6b1270577ac7a369243a9cac333e6 03-Jun-2009 Christopher Tate <ctate@google.com> More backup work

* Put in some permission enforcement around agent connection notification
and full-backup scheduling.
* Full backup now applies to any package, not just backup participants who
have declared their own android:backupAgent
* The process of running the backup operation on the set of apps who have
been queued for it is now done in a separate thread, with a notification
mechanism from the main Backup Manager service to pass along new-agent
binding knowledge. There's no longer one do-backup message on the primary
Handler per target application.
* The new backup thread sets up the desired transport now and passes
along the newly backed-up data to it for each backup target. Two
transports have been defined so far, GoogleTransport and AdbTransport;
both are stubs at present.

Note that at present the backup data output file seems to be properly
created, but after doBackup() is called on the test app's agent it's
still zero size.
ndroid/internal/backup/AdbTransport.java
ndroid/internal/backup/GoogleTransport.java
ndroid/internal/backup/IBackupTransport.aidl
043dadc7516d20c3b3ccbcb20c53aaeef076a237 03-Jun-2009 Christopher Tate <ctate@google.com> More backup work

* Put in some permission enforcement around agent connection notification
and full-backup scheduling.
* Full backup now applies to any package, not just backup participants who
have declared their own android:backupAgent
* The process of running the backup operation on the set of apps who have
been queued for it is now done in a separate thread, with a notification
mechanism from the main Backup Manager service to pass along new-agent
binding knowledge. There's no longer one do-backup message on the primary
Handler per target application.
* The new backup thread sets up the desired transport now and passes
along the newly backed-up data to it for each backup target. Two
transports have been defined so far, GoogleTransport and AdbTransport;
both are stubs at present.

Note that at present the backup data output file seems to be properly
created, but after doBackup() is called on the test app's agent it's
still zero size.
ndroid/internal/backup/AdbTransport.java
ndroid/internal/backup/GoogleTransport.java
ndroid/internal/backup/IBackupTransport.aidl
138197f961b671ff5b48785b0fe61477ebfc7627 04-Jun-2009 Amith Yamasani <yamasani@google.com> am eaeb663b: Track activity foreground CPU usage for battery stats.

Merge commit 'eaeb663bcd7a82b654954b42663232cbd7bef7e7'

* commit 'eaeb663bcd7a82b654954b42663232cbd7bef7e7':
Track activity foreground CPU usage for battery stats.
eaeb663bcd7a82b654954b42663232cbd7bef7e7 04-Jun-2009 Amith Yamasani <yamasani@google.com> Track activity foreground CPU usage for battery stats.

Track the foreground CPU time of an activity so that we can tell if apps are
spending more time in the background compared to foreground.
Update power profile values for screen backlight and GPS.
Fix some javadoc bugs (milliseconds vs. microseconds).
ndroid/internal/os/BatteryStatsImpl.java
32ca6011dfd3ffb7c0c4c5fb3d13b21a68435cf2 02-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 2ba3223c: Merge change 2855 into donut

Merge commit '2ba3223cc9a4deb2980ba3c15a9b25c5652166a8'

* commit '2ba3223cc9a4deb2980ba3c15a9b25c5652166a8':
Add a new method to load html data into the WebView.
8cb6617107475c8b579f3bfbef24825c86ce32c5 01-Jun-2009 Ramanan Rajeswaran <ramanan@google.com> Add a new method to load html data into the WebView.
oogle/android/util/GoogleWebContentHelper.java
85a2fb07c277ffe00839a522074de0302b8d49b8 28-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 145c989c: Merge change 2569 into donut

Merge commit '145c989cafe72d99af120044fed256ac2f982568'

* commit '145c989cafe72d99af120044fed256ac2f982568':
Fix a hang during bootup.
c33fe6c9a71008d51aab7775532d73a3eaf12370 28-May-2009 Amith Yamasani <yamasani@google.com> Fix a hang during bootup.

Some data was not being written to the battery stats during shutdown. So there was insufficient
data when reading back at bootup.
ndroid/internal/os/BatteryStatsImpl.java
a742dc421bd17117ec802b944190a1c731e05a91 23-May-2009 Android (Google) Code Review <android-gerrit@google.com> am fea1a459: Merge change 2364 into donut

Merge commit 'fea1a459aaebc5fd66b12520312ddbe09547f094'

* commit 'fea1a459aaebc5fd66b12520312ddbe09547f094':
Initial checkin for App Fuel Gauge infrastructure.
244fa5c05b2cc8c4c0754aeed4ee42c588ea89d1 22-May-2009 Amith Yamasani <yamasani@google.com> Initial checkin for App Fuel Gauge infrastructure.

This adds the PowerProfile class and data file that provides power consumption numbers
for different subsystems. Also added Audio/Video subsystems to track on a per UID basis.
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/PowerProfile.java
8fe20fc21e5fca580ba974aa44061ecd48d57f2a 21-May-2009 Android (Google) Code Review <android-gerrit@google.com> am aa983388: Merge change 1932 into donut

Merge commit 'aa9833885d89d42a0cd0b4202485e67b63d51412'

* commit 'aa9833885d89d42a0cd0b4202485e67b63d51412':
Qualify a type and add some explanatory comments.
aa9833885d89d42a0cd0b4202485e67b63d51412 21-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1932 into donut

* changes:
Qualify a type and add some explanatory comments.
681b1de3c7188b33cd02f189d50cb2cadd6af73a 20-May-2009 Android (Google) Code Review <android-gerrit@google.com> am a5ca3425: Merge change 2017 into donut

Merge commit 'a5ca3425f9cbb930dc62559893590432ed29c961'

* commit 'a5ca3425f9cbb930dc62559893590432ed29c961':
Increment BatteryStatsImpl's VERSION.
843ef36f7b96cc19ea7d2996b7c8661b41ec3452 20-May-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/app/IUsageStats.aidl
ndroid/internal/app/ShutdownThread.java
ndroid/internal/backup/IBackupTransport.aidl
ndroid/internal/os/AtomicFile.java
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/util/BitwiseInputStream.java
ndroid/internal/util/BitwiseOutputStream.java
ndroid/internal/util/TypedProperties.java
ndroid/internal/view/menu/IconMenuView.java
oogle/android/net/GoogleHttpClient.java
58ff0217a617d5b03d18f0ef532f254f8ba6de2b 20-May-2009 Robert Greenwalt <robdroid@android.com> Increment BatteryStatsImpl's VERSION.
That'll make it stop trying to interpret older records with the new format.
Also applied other comments involving name changes to remove un-needed 'Wifi' labels in WifiManager API, etc.
ndroid/internal/os/BatteryStatsImpl.java
ad8195bb0ea9ed087519d899402571c8608c0b48 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 2f11599e: Merge change 1579 into donut

Merge commit '2f11599eb317887a8cca14d8e66bfc485e5169e7'

* commit '2f11599eb317887a8cca14d8e66bfc485e5169e7':
Teleca 2b changes
8ba63601ab3aa4042f8801529cb629450aea4bc3 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 15e74b9d: Merge change 1939 into donut

Merge commit '15e74b9da8b4cda11ee54da1e77a02d1a86c944a'

* commit '15e74b9da8b4cda11ee54da1e77a02d1a86c944a':
Temporarily suppress flaky test LocationManagerProximityTest until test harness support can be rolled out.
Fix build breakage
Revise the ImageButton class description to include information
Record statistics about whether HTTP connections are reused.
2f11599eb317887a8cca14d8e66bfc485e5169e7 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1579 into donut

* changes:
Teleca 2b changes
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
3c1664216d3754674534932716b41b69999d8013 19-May-2009 Dan Egnor <egnor@google.com> Qualify a type and add some explanatory comments.
oogle/android/net/GoogleHttpClient.java
ec144d655363edc535f9145a2318f308e25cf513 18-May-2009 Dan Egnor <egnor@google.com> Record statistics about whether HTTP connections are reused.
oogle/android/net/GoogleHttpClient.java
780d61dd97ace088463fe325e548282f9d566213 15-May-2009 Android (Google) Code Review <android-gerrit@google.com> am d1f7b3a5: Merge change 1704 into donut

Merge commit 'd1f7b3a5720a4d6d92c4eea5a1fe812a790a7442'

* commit 'd1f7b3a5720a4d6d92c4eea5a1fe812a790a7442':
New feature to track down #1846038. Adds the ability to export flags encoded in int values so as to make them human readable in HierarchyViewer.
d1f7b3a5720a4d6d92c4eea5a1fe812a790a7442 15-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1704 into donut

* changes:
New feature to track down #1846038. Adds the ability to export flags encoded in int values so as to make them human readable in HierarchyViewer.
809a7f6080312f3e12f1a3a30eacf0e0c7627305 15-May-2009 Romain Guy <romainguy@android.com> New feature to track down #1846038. Adds the ability to export flags encoded in int values so as to make them human readable in HierarchyViewer.
ndroid/internal/view/menu/IconMenuView.java
aa2b7237d1e8c0c833fc19cd9d25a8d3700244a4 14-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 2a5cfe51: Merge change 1590 into donut

Merge commit '2a5cfe519298702ef71ff8755b14f8daf6a92b2a'

* commit '2a5cfe519298702ef71ff8755b14f8daf6a92b2a':
Add wifi multicast filter api (enable/disable).
afee71a9997efd2c05d066e1bd98d68298ae87f7 14-May-2009 Marco Nelissen <marcone@google.com> am fafb16c5: Fix typo

Merge commit 'fafb16c5ae18816bd048428e60f46aec1e993b20'

* commit 'fafb16c5ae18816bd048428e60f46aec1e993b20':
Fix typo
2a5cfe519298702ef71ff8755b14f8daf6a92b2a 14-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1590 into donut

* changes:
Add wifi multicast filter api (enable/disable). Fixes 1833432. Automatically re-disables any request when the app exits/crashes. Also hooked into Battery Stats for power managment analysis.
fafb16c5ae18816bd048428e60f46aec1e993b20 14-May-2009 Marco Nelissen <marcone@google.com> Fix typo
ndroid/internal/util/BitwiseOutputStream.java
5347bd4cda2b6afc18f8acab48e52131f35ed13c 14-May-2009 Robert Greenwalt <robdroid@android.com> Add wifi multicast filter api (enable/disable).
Fixes 1833432. Automatically re-disables any request when the app
exits/crashes. Also hooked into Battery Stats for power managment analysis.
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
3531fdb1d9a0ca536bd7a7a27d35b3e62c318ad9 08-May-2009 The Android Open Source Project <initial-contribution@android.com> merge 55280a9

Merge commit '55280a9'
55280a91884b9256e8db6af6a09f28b3feeaa9d8 08-May-2009 Dianne Hackborn <hackbod@google.com> Improve shutdown process to send broadcast for applications.

This introduces a new class in the base platform for performing a clean
shutdown (which was copied from the classes in the policies). It
includes new features to send a shutdown broadcast for applications
to do cleanup, and ot have the activity manager pause the current
activity before proceeding with the shutdown. These facilities are
also use to write at the most recent stat files for sync, battery
and user activity.
ndroid/internal/app/ShutdownThread.java
17f9599fd619f728b34a3b21de6ad636b3253ed3 08-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 17a5e5d: Merge change 1217 into donut

Merge commit '17a5e5de3d864842b723efe24650863db0656a14'

* commit '17a5e5de3d864842b723efe24650863db0656a14':
Sketch out the IBackupTransport api
e10be807872a88f872bef96d1fd5a1d9f78af282 08-May-2009 Christopher Tate <ctate@google.com> Sketch out the IBackupTransport api
ndroid/internal/backup/IBackupTransport.aidl
7a1355950172b7a549820e9a2cd4a9b2099ec32f 06-May-2009 Dianne Hackborn <hackbod@google.com> merged 231cc608d06ffc31c24bf8aa8c8275bdd2636581
231cc608d06ffc31c24bf8aa8c8275bdd2636581 28-Apr-2009 Dianne Hackborn <hackbod@google.com> Rewrite SyncStorageEngine to use flat files and in-memory data structures.

The previous implementation used a database for storing all of its state, which could cause
a significant amount of IO activity as its tables were updated through the stages of a sync.
This new implementation replaces that in-memory data structures, with hand-written code
for writing them to persistent storage.

There are now 4 files associated with this class, holding various pieces of its state that
should be consistent. These are everything from a main XML file of account information that
must always be retained, to a binary file of per-day statistics that can be thrown away at
any time. Writes of these files as scheduled at various times based on their importance of
the frequency at which they change.

Because the database no longer exists, there needs to be a new explicit interface for
interacting with the sync manager database. This is provided by new APIs on IContentService,
with a hidden method on ContentResolver to retrieve the IContentService so that various
system entities can use it. Other changes in other projects are required to update to the
new API.

The goal here is to have as little an impact on the code and functionality outside of
SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
ndroid/internal/os/AtomicFile.java
90b6abd83952e42fe2bb15af4fb117d427e640f0 01-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 2bc9e13: Merge change 841 into donut

Merge commit '2bc9e139655666e3c6a58d8fa74a12111b06cafd'

* commit '2bc9e139655666e3c6a58d8fa74a12111b06cafd':
TypedProperties: add getStringInfo() to help deal with null strings
8790948583fa9734cf4a54800562cb668299c4ed 01-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 52a3cb5: Merge change 840 into donut

Merge commit '52a3cb53ddcce049d2e804c3042514df576cb5b9'

* commit '52a3cb53ddcce049d2e804c3042514df576cb5b9':
TypedProperties: change the file format to be a subset of Java
c1ebff063a29446585709ec1396e94fb7ab656a6 01-May-2009 Marco Nelissen <marcone@google.com> am d859331: Don\'t crash when /proc/wakelocks can\'t be opened. Might make

Merge commit 'd8593312296fd2193a070c1a074840d83b7f49cb'

* commit 'd8593312296fd2193a070c1a074840d83b7f49cb':
Don't crash when /proc/wakelocks can't be opened. Might make board bringup easier.
2bc9e139655666e3c6a58d8fa74a12111b06cafd 01-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 841 into donut

* changes:
TypedProperties: add getStringInfo() to help deal with null strings
52a3cb53ddcce049d2e804c3042514df576cb5b9 01-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 840 into donut

* changes:
TypedProperties: change the file format to be a subset of Java
d8593312296fd2193a070c1a074840d83b7f49cb 30-Apr-2009 Marco Nelissen <marcone@google.com> Don't crash when /proc/wakelocks can't be opened. Might make board bringup easier.
Verified with simulator, which doesn't have /proc/wakelocks
ndroid/internal/os/BatteryStatsImpl.java
4b0ebef18defefe6850360cf11498f262a71847d 29-Apr-2009 Dave Bort <dbort@android.com> TypedProperties: add getStringInfo() to help deal with null strings

Signed-off-by: Dave Bort <dbort@android.com>
ndroid/internal/util/TypedProperties.java
5b6f8d865d03f37c8c3a9397ca693ac671f39df7 30-Apr-2009 Dave Bort <dbort@android.com> TypedProperties: change the file format to be a subset of Java

Types and constants are now case-sensitive.
Types come first.
Newlines are ignored, but semicolons are required.
Comments are now Java-style, not sh-style.
unset() now looks like a method instead of a pseudotype.

Signed-off-by: Dave Bort <dbort@android.com>
ndroid/internal/util/TypedProperties.java
f8997690da3790a1ff87f1f96a6e68fbb79b5ddc 30-Apr-2009 Christopher Tate <ctate@google.com> am 487529a: First baby steps towards settings backup

Merge commit '487529a70cd1479ae8d6bbfb356be7e72542c185'

* commit '487529a70cd1479ae8d6bbfb356be7e72542c185':
First baby steps towards settings backup
487529a70cd1479ae8d6bbfb356be7e72542c185 29-Apr-2009 Christopher Tate <ctate@google.com> First baby steps towards settings backup

This change adds a sketched outline of the backup system architecture, with
all of the major pieces represented other than client-side helpers for
specific types of data. IBackupManager and BackupService are public so that
we can write test apps against SDK-domain symbols from the outset.

What code exists in this change hasn't been tested and may crash. It's the
beginnings of the real implementation but of course is barely begun.
ndroid/internal/backup/IBackupTransport.aidl
f8e258ee1b513f9022e0718c5e8c91c89d36280c 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> am 5616a7d: Merge change 459 into donut

Merge commit '5616a7d1dea1aecc8353bab144d14446aa33391a'

* commit '5616a7d1dea1aecc8353bab144d14446aa33391a':
TypedProperties: initial commit
137b0c9d6430ccb519c82a1198048cf413e06c5e 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> am 0b8ffd1: Merge change 460 into donut

Merge commit '0b8ffd17bc6641fc522db3e842a868b6cdbf6d82'

* commit '0b8ffd17bc6641fc522db3e842a868b6cdbf6d82':
More optimization of dumpsys output.
5616a7d1dea1aecc8353bab144d14446aa33391a 23-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 459 into donut

* changes:
TypedProperties: initial commit
1d442e0d990b581357f33f5463c7c5cb49b551e8 21-Apr-2009 Dianne Hackborn <hackbod@google.com> More optimization of dumpsys output.

There are three major classes of changes here:

- Avoid writing lines where their values are often empty, false, or some other typical thing.
- Use partial writes to the PrintWriter to avoid creating temporary strings.
- Use StringBuilder where we need to generate real String objects (and where possible cache the result).
ndroid/internal/os/BatteryStatsImpl.java
c4d6dd0bbce846c3b20e907d6a3016e4adc65e22 23-Apr-2009 Dave Bort <dbort@android.com> TypedProperties: initial commit
ndroid/internal/util/TypedProperties.java
74008f608af0c567456d37e63d48643689388c74 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
ac9fd3e423f568c671954d20945e2f2997842a75 19-Apr-2009 Evan Millar <> Merge branch 'readonly-p4-master'
74e258d63eccef41da923adad47bd2b20056aa5f 19-Apr-2009 Evan Millar <> AI 146854: am: CL 146853 Add kernel wakelock data to batteryinfo dump.
Original author: emillar

Automated import of CL 146854
ndroid/internal/os/BatteryStatsImpl.java
4482d8c8e41b02786efae97987394f60b68d6f6e 18-Apr-2009 Evan Millar <> Merge branch 'readonly-p4-donut' into donut
c64edde69d18498fb2954f71a546357b07ab996a 18-Apr-2009 Evan Millar <> AI 146853: Add kernel wakelock data to batteryinfo dump.
BUG=1755458

Automated import of CL 146853
ndroid/internal/os/BatteryStatsImpl.java
e564b19ed2f6b8b5667648254bc6c6859bb536e7 15-Apr-2009 Tammo Spalink <tammo@google.com> replaced integer * and % with shift operations, for performance
ndroid/internal/util/BitwiseInputStream.java
ndroid/internal/util/BitwiseOutputStream.java
83917db040bd7498ebca3b74f879dc1c9e223d8e 14-Apr-2009 Tammo Spalink <tammo@google.com> Initial code for cdma sms encode and decode, in java, with simple tests.

(direct cherry-pick of master 42/42/8)
ndroid/internal/util/BitwiseInputStream.java
ndroid/internal/util/BitwiseOutputStream.java
ed740498cacc7977c9b310722e92b3fa53fa3584 11-Apr-2009 Ficus Kirkpatrick <ficus@android.com> Add method on EncodedStringValue to transform a String[].
oogle/android/mms/pdu/EncodedStringValue.java
599c918d9794b51992de85b42befa0c71d9ec07f 08-Apr-2009 Andy McFadden <> AI 144931: Added a (hidden) way to "pre-cache" register maps.
The 50 methods that appeared on the GC stacks of the most applications
require 13KB of native heap for their uncompressed register maps, and
the full set took 5ms to uncompress. Pre-computation doesn't represent
a significant improvement in space or time, at the cost of a big pile
of strings in ZygoteInit.
I'm leaving the method in ZygoteInit, but it's not called, and the
static final String[] of method descriptors is empty. We may want to
revisit this later.
BUG=1729570

Automated import of CL 144931
ndroid/internal/os/ZygoteInit.java
6447ca30b8e41c22c7214f201120327057e356dc 08-Apr-2009 Dianne Hackborn <hackbod@google.com> Fix issue #1769910 (Track activity launch times)

The usage stats service now collects per-activity launch time stats. There are a number of fixes and improvements to its statistics management and collection; it now operates its calendar in GMT and ensures that for checkin purposes it always reports one day and only one complete day to the checkin service.

Also change the checkin option from "-c" to "--checkin" since it is really a special thing.
ndroid/internal/app/IUsageStats.aidl
0ba31ed95ed7ac9b5627973f0bb1b5d9147ea95f 03-Apr-2009 Evan Millar <> AI 144410: am: CL 144333 Change the way the battery level tracking code works in BatteryStats. Before we simply kept track of the last
2 levels as recorded at plug and unplug events. During charge cycles this would be useful because it would tell us
what the start and end levels were in the last discharge cycle. However during a discharge cycle this information could
be misleading as it would give you the level at the last unplug event (beginning the the discharge cycle) and last plug
event (end of the previous discharge cycle).
Now we are still keeping track of 2 values, but they are "discharge cycle start level" and "discharge cycle current level".
During a discharge cycle this will give you the level the current discharge cycle started at, and the current level. During
a charge cycle the same data will be supplied as before (the start/end of the last discharge cycle).
Original author: emillar

Automated import of CL 144410
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
633a1740ce5951ccb5d478ba2795f6f4fada1646 03-Apr-2009 Evan Millar <> AI 144333: Change the way the battery level tracking code works in BatteryStats. Before we simply kept track of the last
2 levels as recorded at plug and unplug events. During charge cycles this would be useful because it would tell us
what the start and end levels were in the last discharge cycle. However during a discharge cycle this information could
be misleading as it would give you the level at the last unplug event (beginning the the discharge cycle) and last plug
event (end of the previous discharge cycle).
Now we are still keeping track of 2 values, but they are "discharge cycle start level" and "discharge cycle current level".
During a discharge cycle this will give you the level the current discharge cycle started at, and the current level. During
a charge cycle the same data will be supplied as before (the start/end of the last discharge cycle).
B=144249

Automated import of CL 144333
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
32a5a24b3ff896f01b8f57d1b424c4c31724e86a 02-Apr-2009 Doug Zongker <> AI 144094: am: CL 144044 First cut of tunneling HTTP requests over gtalk connection:
- We define HttpRequest and HttpResponse protocol buffers.
The RMQ mechanism is *not* used for these (though the
messages define rmq id fields in case we want to start).
- GTalkHttpClient will send an http request over the
connection to MCS if:
- gtalk_tunnel_http in gservices is turned on
- the request destination is the android proxy
- it can make a connection to gtalkservice
The request falls back to using GoogleHttpClient if it can't
be processed over the MCS connection.
A few shortcuts are taken with cookie handling, but these
are okay for the envisioned usage.
Original author: dougz
Merged from: //branches/donutburger/...

Automated import of CL 144094
oogle/android/net/GoogleHttpClient.java
0fc2c1392a2a2f046f8b613eefbcb364869647fc 01-Apr-2009 Doug Zongker <> AI 144044: First cut of tunneling HTTP requests over gtalk connection:
- We define HttpRequest and HttpResponse protocol buffers.
The RMQ mechanism is *not* used for these (though the
messages define rmq id fields in case we want to start).
- GTalkHttpClient will send an http request over the
connection to MCS if:
- gtalk_tunnel_http in gservices is turned on
- the request destination is the android proxy
- it can make a connection to gtalkservice
The request falls back to using GoogleHttpClient if it can't
be processed over the MCS connection.
A few shortcuts are taken with cookie handling, but these
are okay for the envisioned usage.

Automated import of CL 144044
oogle/android/net/GoogleHttpClient.java
617f877c06c82584a38f41bb60d836e08c5e3bda 01-Apr-2009 Dianne Hackborn <> AI 143800: am: CL 143748 Fix issue #1743326 (More battery stats)
Adds stats for:
- Number of raw user events that have happened in the system.
- Number of times user activity has been reported, dividied by UID and type of activity.
- Duration of screen brightness levels in 4 buckets.
- Per-UID tracking of who has turned on Wifi and how long we can attribute it being on because of them.
Original author: hackbod
Merged from: //branches/cupcake/...

Automated import of CL 143800
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
bed30e1b6ea4a1d71dbe5e731c274cc66974283a 31-Mar-2009 Dianne Hackborn <> AI 143823: am: CL 143800 am: CL 143748 Fix issue #1743326 (More battery stats)
Adds stats for:
- Number of raw user events that have happened in the system.
- Number of times user activity has been reported, dividied by UID and type of activity.
- Duration of screen brightness levels in 4 buckets.
- Per-UID tracking of who has turned on Wifi and how long we can attribute it being on because of them.
Original author: hackbod
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143823
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
65c8e11a31ded66cf024ec800a63f76dc4c83dab 31-Mar-2009 Dianne Hackborn <> AI 143748: Fix issue #1743326 (More battery stats)
Adds stats for:
- Number of raw user events that have happened in the system.
- Number of times user activity has been reported, dividied by UID and type of activity.
- Duration of screen brightness levels in 4 buckets.
- Per-UID tracking of who has turned on Wifi and how long we can attribute it being on because of them.
BUG=1743326

Automated import of CL 143748
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
0b4d64807e9242210900e454b5da9989edb668ee 28-Mar-2009 Satoshi Kataoka <> AI 143347: am: CL 143196 am: CL 142964 Add a function to clear styles in EditStyledText.
Add a function to change getBackground color.
Add a function to check whether EditStyledText has styled text or not.
Refactor function and variable names for readability.
Original author: satok
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143347
ndroid/internal/widget/EditStyledText.java
bf62297bd1bd9f2ec6aba14369f596dec2be0356 28-Mar-2009 Jean-Baptiste Queru <> AI 143296: Merge from donut Change 143147

Automated import of CL 143296
ndroid/internal/widget/Smileys.java
05a3c6870cf718f0bdeea6f3b7c031299ecdd7fa 28-Mar-2009 Satoshi Kataoka <> AI 143196: am: CL 142964 Add a function to clear styles in EditStyledText.
Add a function to change getBackground color.
Add a function to check whether EditStyledText has styled text or not.
Refactor function and variable names for readability.
Original author: satok
Merged from: //branches/cupcake/...

Automated import of CL 143196
ndroid/internal/widget/EditStyledText.java
88fb1069bf254dc68c83546496592a9b5e739a07 27-Mar-2009 Dianne Hackborn <> AI 143147: Manual integration

Automated import of CL 143147
ndroid/internal/widget/Smileys.java
4194592b9c71251041a68d8090dc331e85027527 26-Mar-2009 Satoshi Kataoka <> Automated import from //branches/cupcake/...@142964,142964
ndroid/internal/widget/EditStyledText.java
73fbd70263cedabc82971728d3ad29b2a76ac76e 26-Mar-2009 Dianne Hackborn <> Automated import from //branches/cupcake/...@142829,142829
ndroid/internal/widget/Smileys.java
9c802c1e95befbd8de30ea4ebc48ae05cb948b2b 25-Mar-2009 Romain Guy <> Automated import from //branches/master/...@142575,142575
ndroid/internal/app/AlertController.java
ndroid/internal/view/menu/MenuDialogHelper.java
870a2b015645ef5086af6a5de31dc482e7193214 25-Mar-2009 Romain Guy <> Automated import from //branches/donutburger/...@142470,142470
ndroid/internal/app/AlertController.java
ndroid/internal/view/menu/MenuDialogHelper.java
4840e143df9804e3399a4e0341c0601f80d65d6e 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/master/...@142348,142348
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
627bba736d022c39696b7c582a6af5592d2b8c33 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/donutburger/...@142347,142347
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
eb785fa71a4b2c83158fbde42ec515bbbfe356fb 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/master/...@141518,141518
ndroid/internal/database/SortCursor.java
d906b720b8a8e6e527325f106ed87246d51a3571 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/donutburger/...@141515,141515
ndroid/internal/database/SortCursor.java
886f3d69b79748fe937725e33b8bbb3d67ab82c7 25-Mar-2009 Bob Lee <> Automated import from //branches/donutburger/...@141355,141355
ndroid/internal/logging/AndroidHandler.java
ef0996ffa36cfe9b7927e09aece801fb4f594ced 25-Mar-2009 Bob Lee <> Automated import from //branches/master/...@141357,141357
ndroid/internal/logging/AndroidHandler.java
edbabeb7fabfb3c7793b565cdaaf656e5e332efe 25-Mar-2009 Romain Guy <> Automated import from //branches/cupcake/...@142469,142469
ndroid/internal/app/AlertController.java
ndroid/internal/view/menu/MenuDialogHelper.java
df6601ac91493a7368effbe198e0181627a2cd34 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@141168,141168
ndroid/internal/widget/EditStyledText.java
1ab415f6e9d064628deb3158eeb815589eb8ce3b 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/master/...@141169,141169
ndroid/internal/widget/EditStyledText.java
6eb7298019c2e59877939474e7d77e8334192a98 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@141149,141149
ndroid/internal/widget/EditStyledText.java
e1e5df58b2b8c733441c6dca8c96b35a39f9a349 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/master/...@141151,141151
ndroid/internal/widget/EditStyledText.java
5c70839ae3b06a03c82032a77fc44405cf1de2de 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@141126,141126
ndroid/internal/widget/EditStyledText.java
083c6b9fadb0413a1a5b9b48eaa4cec03a55c3f9 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/master/...@141127,141127
ndroid/internal/widget/EditStyledText.java
51376451f1ce78c7201d9559d0e953d165bfce87 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@141112,141112
ndroid/internal/widget/EditStyledText.java
20a869863b9adcb4fd2a926aa38947ed2c610133 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/master/...@141113,141113
ndroid/internal/widget/EditStyledText.java
99c6026218a87074e50b3c0921c1ab7786887cc8 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/cupcake/...@142342,142342
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
1bf5e22da72b477c8b7a45ed85a4dba94be39db5 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/donutburger/...@141001,141001
ndroid/internal/widget/EditableInputConnection.java
51bf077883df4f5cc816fbfec6d19eedffc26d70 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/master/...@141004,141004
ndroid/internal/widget/EditableInputConnection.java
6ef7af508903eddc76f7bb693b71a547df94cb6e 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@140966,140966
ndroid/internal/widget/EditStyledText.java
4312619934ce0f9765c8f9eacf5a2d429f00de96 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/master/...@140968,140968
ndroid/internal/widget/EditStyledText.java
e259023ffc2541536c6b08d8da6f14ac24a1ab8b 25-Mar-2009 Debajit Ghosh <> Automated import from //branches/donutburger/...@140817,140817
oogle/android/gdata/client/AndroidGDataClient.java
87231cfbbb70fd52c04a9cdb5c0f13e869ebc392 25-Mar-2009 Debajit Ghosh <> Automated import from //branches/master/...@140820,140820
oogle/android/gdata/client/AndroidGDataClient.java
2c4b6ac25227f321eecbbd3b0487ac8849dae935 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/master/...@140767,140767
ndroid/internal/widget/EditStyledText.java
ce8f3a8eca07291bf0f8f187b0d677204a897111 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@140765,140765
ndroid/internal/widget/EditStyledText.java
f93f02fb8a6b6bdbc294085d89e733dcd5078630 25-Mar-2009 Eric Shienbrood <> Automated import from //branches/master/...@140680,140680
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
d4c5f8919b0522bcaab41a5863c313fec52d3a79 25-Mar-2009 Eric Shienbrood <> Automated import from //branches/donutburger/...@140679,140679
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
c2ad241504fcaa12d4579d3b0b4038d1ca8d08c9 20-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@141571
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/database/SortCursor.java
ndroid/internal/logging/AndroidHandler.java
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/widget/EditStyledText.java
ndroid/internal/widget/EditableInputConnection.java
oogle/android/gdata/client/AndroidGDataClient.java
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
ndroid/internal/app/AlertController.java
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/app/RingtonePickerActivity.java
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/view/menu/IconMenuView.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
ndroid/internal/widget/EditStyledText.java
ndroid/internal/widget/LockPatternUtils.java
c39a6e0c51e182338deb8b63d07933b585134929 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
ndroid/internal/appwidget/IAppWidgetHost.aidl
ndroid/internal/appwidget/IAppWidgetService.aidl
ndroid/internal/appwidget/package.html
ndroid/internal/gadget/IGadgetHost.aidl
ndroid/internal/gadget/IGadgetService.aidl
ndroid/internal/gadget/package.html
ndroid/internal/widget/NumberPicker.java
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
ndroid/internal/view/IInputMethodManager.aidl
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
ndroid/internal/os/HandlerCaller.java
ndroid/internal/os/IResultReceiver.aidl
ndroid/internal/view/IInputMethod.aidl
ndroid/internal/view/IInputMethodManager.aidl
ndroid/internal/view/IInputMethodSession.aidl
ndroid/internal/widget/EditStyledText.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroid/internal/app/AlertActivity.java
ndroid/internal/app/AlertController.java
ndroid/internal/app/ChooserActivity.java
ndroid/internal/app/ExternalMediaFormatActivity.java
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/app/IUsageStats.aidl
ndroid/internal/app/ResolverActivity.java
ndroid/internal/app/RingtonePickerActivity.java
ndroid/internal/app/UsbStorageActivity.java
ndroid/internal/app/UsbStorageStopActivity.java
ndroid/internal/app/package.html
ndroid/internal/database/ArrayListCursor.java
ndroid/internal/database/SortCursor.java
ndroid/internal/gadget/IGadgetHost.aidl
ndroid/internal/gadget/IGadgetService.aidl
ndroid/internal/gadget/package.html
ndroid/internal/http/multipart/ByteArrayPartSource.java
ndroid/internal/http/multipart/FilePart.java
ndroid/internal/http/multipart/FilePartSource.java
ndroid/internal/http/multipart/MultipartEntity.java
ndroid/internal/http/multipart/Part.java
ndroid/internal/http/multipart/PartBase.java
ndroid/internal/http/multipart/PartSource.java
ndroid/internal/http/multipart/StringPart.java
ndroid/internal/logging/AndroidConfig.java
ndroid/internal/logging/AndroidHandler.java
ndroid/internal/net/DbSSLSessionCache.java
ndroid/internal/os/AndroidPrintStream.java
ndroid/internal/os/BatteryStatsImpl.aidl
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/BinderInternal.java
ndroid/internal/os/HandlerCaller.java
ndroid/internal/os/LoggingPrintStream.java
ndroid/internal/os/PkgUsageStats.aidl
ndroid/internal/os/PkgUsageStats.java
ndroid/internal/os/RecoverySystem.java
ndroid/internal/os/RuntimeInit.java
ndroid/internal/os/ZygoteConnection.java
ndroid/internal/os/ZygoteInit.java
ndroid/internal/os/ZygoteSecurityException.java
ndroid/internal/package.html
ndroid/internal/policy/IPolicy.java
ndroid/internal/policy/PolicyManager.java
ndroid/internal/policy/package.html
ndroid/internal/preference/YesNoPreference.java
ndroid/internal/util/ArrayUtils.java
ndroid/internal/util/CharSequences.java
ndroid/internal/util/FastMath.java
ndroid/internal/util/FastXmlSerializer.java
ndroid/internal/util/HexDump.java
ndroid/internal/util/Objects.java
ndroid/internal/util/Predicate.java
ndroid/internal/util/Predicates.java
ndroid/internal/util/WithFramework.java
ndroid/internal/util/XmlUtils.java
ndroid/internal/view/IInputConnectionCallback.aidl
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/IInputContextCallback.aidl
ndroid/internal/view/IInputMethod.aidl
ndroid/internal/view/IInputMethodCallback.aidl
ndroid/internal/view/IInputMethodClient.aidl
ndroid/internal/view/IInputMethodManager.aidl
ndroid/internal/view/IInputMethodSession.aidl
ndroid/internal/view/InputBindResult.aidl
ndroid/internal/view/InputBindResult.java
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/view/menu/ContextMenuBuilder.java
ndroid/internal/view/menu/ExpandedMenuView.java
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/view/menu/IconMenuView.java
ndroid/internal/view/menu/ListMenuItemView.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuDialogHelper.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/view/menu/MenuView.java
ndroid/internal/view/menu/SubMenuBuilder.java
ndroid/internal/view/package.html
ndroid/internal/widget/DialogTitle.java
ndroid/internal/widget/EditableInputConnection.java
ndroid/internal/widget/LinearLayoutWithDefaultTouchRecepient.java
ndroid/internal/widget/LockPatternUtils.java
ndroid/internal/widget/LockPatternView.java
ndroid/internal/widget/NumberPicker.java
ndroid/internal/widget/NumberPickerButton.java
ndroid/internal/widget/TextProgressBar.java
ndroid/internal/widget/VerticalTextSpinner.java
ndroid/server/ResettableTimeout.java
oogle/android/collect/Lists.java
oogle/android/collect/Maps.java
oogle/android/collect/Sets.java
oogle/android/gdata/client/AndroidGDataClient.java
oogle/android/gdata/client/AndroidXmlParserFactory.java
oogle/android/gdata/client/QueryParamsImpl.java
oogle/android/mms/ContentType.java
oogle/android/mms/InvalidHeaderValueException.java
oogle/android/mms/MmsException.java
oogle/android/mms/package.html
oogle/android/mms/pdu/AcknowledgeInd.java
oogle/android/mms/pdu/Base64.java
oogle/android/mms/pdu/CharacterSets.java
oogle/android/mms/pdu/DeliveryInd.java
oogle/android/mms/pdu/EncodedStringValue.java
oogle/android/mms/pdu/GenericPdu.java
oogle/android/mms/pdu/MultimediaMessagePdu.java
oogle/android/mms/pdu/NotificationInd.java
oogle/android/mms/pdu/NotifyRespInd.java
oogle/android/mms/pdu/PduBody.java
oogle/android/mms/pdu/PduComposer.java
oogle/android/mms/pdu/PduContentTypes.java
oogle/android/mms/pdu/PduHeaders.java
oogle/android/mms/pdu/PduParser.java
oogle/android/mms/pdu/PduPart.java
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/pdu/QuotedPrintable.java
oogle/android/mms/pdu/ReadOrigInd.java
oogle/android/mms/pdu/ReadRecInd.java
oogle/android/mms/pdu/RetrieveConf.java
oogle/android/mms/pdu/SendConf.java
oogle/android/mms/pdu/SendReq.java
oogle/android/mms/pdu/package.html
oogle/android/mms/util/AbstractCache.java
oogle/android/mms/util/PduCache.java
oogle/android/mms/util/PduCacheEntry.java
oogle/android/mms/util/SqliteWrapper.java
oogle/android/mms/util/package.html
oogle/android/net/GoogleHttpClient.java
oogle/android/net/NetworkStatsEntity.java
oogle/android/net/ParentalControl.java
oogle/android/net/ParentalControlState.aidl
oogle/android/net/ParentalControlState.java
oogle/android/net/SSLClientSessionCacheFactory.java
oogle/android/net/UrlRules.java
oogle/android/util/AbstractMessageParser.java
oogle/android/util/GoogleWebContentHelper.java
oogle/android/util/Procedure.java
oogle/android/util/SimplePullParser.java
oogle/android/util/SmileyParser.java
oogle/android/util/SmileyResources.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroid/internal/app/AlertActivity.java
ndroid/internal/app/AlertController.java
ndroid/internal/app/ChooserActivity.java
ndroid/internal/app/ExternalMediaFormatActivity.java
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/app/IUsageStats.aidl
ndroid/internal/app/ResolverActivity.java
ndroid/internal/app/RingtonePickerActivity.java
ndroid/internal/app/UsbStorageActivity.java
ndroid/internal/app/UsbStorageStopActivity.java
ndroid/internal/app/package.html
ndroid/internal/database/ArrayListCursor.java
ndroid/internal/database/SortCursor.java
ndroid/internal/gadget/IGadgetHost.aidl
ndroid/internal/gadget/IGadgetService.aidl
ndroid/internal/gadget/package.html
ndroid/internal/http/multipart/ByteArrayPartSource.java
ndroid/internal/http/multipart/FilePart.java
ndroid/internal/http/multipart/FilePartSource.java
ndroid/internal/http/multipart/MultipartEntity.java
ndroid/internal/http/multipart/Part.java
ndroid/internal/http/multipart/PartBase.java
ndroid/internal/http/multipart/PartSource.java
ndroid/internal/http/multipart/StringPart.java
ndroid/internal/logging/AndroidConfig.java
ndroid/internal/logging/AndroidHandler.java
ndroid/internal/os/AndroidPrintStream.java
ndroid/internal/os/BatteryStatsImpl.aidl
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/BinderInternal.java
ndroid/internal/os/HandlerCaller.java
ndroid/internal/os/LoggingPrintStream.java
ndroid/internal/os/PkgUsageStats.aidl
ndroid/internal/os/PkgUsageStats.java
ndroid/internal/os/RecoverySystem.java
ndroid/internal/os/RuntimeInit.java
ndroid/internal/os/ZygoteConnection.java
ndroid/internal/os/ZygoteInit.java
ndroid/internal/os/ZygoteSecurityException.java
ndroid/internal/package.html
ndroid/internal/policy/IPolicy.java
ndroid/internal/policy/PolicyManager.java
ndroid/internal/policy/package.html
ndroid/internal/preference/YesNoPreference.java
ndroid/internal/util/ArrayUtils.java
ndroid/internal/util/CharSequences.java
ndroid/internal/util/FastMath.java
ndroid/internal/util/FastXmlSerializer.java
ndroid/internal/util/HexDump.java
ndroid/internal/util/Objects.java
ndroid/internal/util/Predicate.java
ndroid/internal/util/Predicates.java
ndroid/internal/util/WithFramework.java
ndroid/internal/util/XmlUtils.java
ndroid/internal/view/IInputConnectionCallback.aidl
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/IInputContextCallback.aidl
ndroid/internal/view/IInputMethod.aidl
ndroid/internal/view/IInputMethodCallback.aidl
ndroid/internal/view/IInputMethodClient.aidl
ndroid/internal/view/IInputMethodManager.aidl
ndroid/internal/view/IInputMethodSession.aidl
ndroid/internal/view/InputBindResult.aidl
ndroid/internal/view/InputBindResult.java
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/view/menu/ContextMenuBuilder.java
ndroid/internal/view/menu/ExpandedMenuView.java
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/view/menu/IconMenuView.java
ndroid/internal/view/menu/ListMenuItemView.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuDialogHelper.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/view/menu/MenuView.java
ndroid/internal/view/menu/SubMenuBuilder.java
ndroid/internal/view/package.html
ndroid/internal/widget/DialogTitle.java
ndroid/internal/widget/EditableInputConnection.java
ndroid/internal/widget/LinearLayoutWithDefaultTouchRecepient.java
ndroid/internal/widget/LockPatternUtils.java
ndroid/internal/widget/LockPatternView.java
ndroid/internal/widget/NumberPicker.java
ndroid/internal/widget/NumberPickerButton.java
ndroid/internal/widget/TextProgressBar.java
ndroid/internal/widget/VerticalTextSpinner.java
ndroid/server/ResettableTimeout.java
oogle/android/collect/Lists.java
oogle/android/collect/Maps.java
oogle/android/collect/Sets.java
oogle/android/gdata/client/AndroidGDataClient.java
oogle/android/gdata/client/AndroidXmlParserFactory.java
oogle/android/gdata/client/QueryParamsImpl.java
oogle/android/mms/ContentType.java
oogle/android/mms/InvalidHeaderValueException.java
oogle/android/mms/MmsException.java
oogle/android/mms/package.html
oogle/android/mms/pdu/AcknowledgeInd.java
oogle/android/mms/pdu/Base64.java
oogle/android/mms/pdu/CharacterSets.java
oogle/android/mms/pdu/DeliveryInd.java
oogle/android/mms/pdu/EncodedStringValue.java
oogle/android/mms/pdu/GenericPdu.java
oogle/android/mms/pdu/MultimediaMessagePdu.java
oogle/android/mms/pdu/NotificationInd.java
oogle/android/mms/pdu/NotifyRespInd.java
oogle/android/mms/pdu/PduBody.java
oogle/android/mms/pdu/PduComposer.java
oogle/android/mms/pdu/PduContentTypes.java
oogle/android/mms/pdu/PduHeaders.java
oogle/android/mms/pdu/PduParser.java
oogle/android/mms/pdu/PduPart.java
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/pdu/QuotedPrintable.java
oogle/android/mms/pdu/ReadOrigInd.java
oogle/android/mms/pdu/ReadRecInd.java
oogle/android/mms/pdu/RetrieveConf.java
oogle/android/mms/pdu/SendConf.java
oogle/android/mms/pdu/SendReq.java
oogle/android/mms/pdu/package.html
oogle/android/mms/util/AbstractCache.java
oogle/android/mms/util/PduCache.java
oogle/android/mms/util/PduCacheEntry.java
oogle/android/mms/util/SqliteWrapper.java
oogle/android/mms/util/package.html
oogle/android/net/GoogleHttpClient.java
oogle/android/net/NetworkStatsEntity.java
oogle/android/net/ParentalControl.java
oogle/android/net/ParentalControlState.aidl
oogle/android/net/ParentalControlState.java
oogle/android/net/UrlRules.java
oogle/android/util/AbstractMessageParser.java
oogle/android/util/GoogleWebContentHelper.java
oogle/android/util/Procedure.java
oogle/android/util/SimplePullParser.java
oogle/android/util/SmileyParser.java
oogle/android/util/SmileyResources.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/gadget/IGadgetService.aidl
ndroid/internal/logging/AndroidConfig.java
ndroid/internal/logging/AndroidHandler.java
ndroid/internal/net/DbSSLSessionCache.java
ndroid/internal/net/SSLSessionCache.java
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/ZygoteInit.java
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/view/menu/ExpandedMenuView.java
ndroid/internal/widget/EditableInputConnection.java
ndroid/internal/widget/TextProgressBar.java
oogle/android/gdata/client/AndroidGDataClient.java
oogle/android/net/GoogleHttpClient.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/app/UsbStorageStopActivity.java
ndroid/internal/gadget/IGadgetService.aidl
ndroid/internal/logging/AndroidConfig.java
ndroid/internal/logging/AndroidHandler.java
ndroid/internal/net/DbSSLSessionCache.java
ndroid/internal/net/SSLSessionCache.java
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/ZygoteInit.java
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/view/menu/ExpandedMenuView.java
ndroid/internal/widget/EditableInputConnection.java
ndroid/internal/widget/TextProgressBar.java
oogle/android/gdata/client/AndroidGDataClient.java
oogle/android/net/GoogleHttpClient.java
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
ndroid/internal/widget/TextProgressBar.java
oogle/android/util/GoogleWebContentHelper.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/HandlerHelper.java
ndroid/internal/os/HandlerThread.java
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/widget/EditableInputConnection.java
ndroid/internal/widget/LockPatternUtils.java
ndroid/internal/widget/TextProgressBar.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
ndroid/internal/gadget/IGadgetHost.aidl
ndroid/internal/gadget/IGadgetService.aidl
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/IInputMethodManager.aidl
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/widget/NumberPicker.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
ndroid/internal/app/ExternalMediaFormatActivity.java
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/app/IUsageStats.aidl
ndroid/internal/app/UsbStorageStopActivity.java
ndroid/internal/gadget/IGadgetHost.aidl
ndroid/internal/gadget/IGadgetService.aidl
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/HandlerCaller.java
ndroid/internal/os/PkgUsageStats.aidl
ndroid/internal/os/PkgUsageStats.java
ndroid/internal/os/RecoverySystem.java
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/IInputMethod.aidl
ndroid/internal/view/IInputMethodManager.aidl
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/view/menu/ListMenuItemView.java
ndroid/internal/widget/EditableInputConnection.java
ndroid/internal/widget/SlidingDrawer.java
oogle/android/net/GoogleHttpClient.java
oogle/android/net/NetStats.java
oogle/android/net/NetworkStatsEntity.java
oogle/android/util/SimplePullParser.java
f1e484acb594a726fb57ad0ae4cfe902c7f35858 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
ndroid/internal/gadget/IGadgetService.aidl
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/widget/EditableInputConnection.java
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
ndroid/internal/gadget/IGadgetService.aidl
ndroid/internal/gadget/package.html
ndroid/internal/os/HandlerCaller.java
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/view/menu/ListMenuItemView.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/widget/NumberPicker.java
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
ndroid/internal/app/AlertController.java
ndroid/internal/os/HandlerCaller.java
ndroid/internal/view/IInputMethod.aidl
ndroid/internal/view/IInputMethodManager.aidl
oogle/android/gdata/client/AndroidGDataClient.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
ndroid/internal/app/RingtonePickerActivity.java
ndroid/internal/os/HandlerCaller.java
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/IInputMethodManager.aidl
ndroid/internal/view/IInputMethodSession.aidl
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/widget/EditableInputConnection.java
oogle/android/gdata/client/AndroidGDataClient.java
oogle/android/net/GoogleHttpClient.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
ndroid/internal/app/AlertController.java
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/app/ResolverActivity.java
ndroid/internal/app/RingtonePickerActivity.java
ndroid/internal/app/UsbStorageActivity.java
ndroid/internal/database/ArrayListCursor.java
ndroid/internal/os/BatteryStatsImpl.aidl
ndroid/internal/os/BatteryStatsImpl.java
ndroid/internal/os/HandlerCaller.java
ndroid/internal/os/ZygoteConnection.java
ndroid/internal/os/ZygoteInit.java
ndroid/internal/provider/Settings.java
ndroid/internal/util/FastXmlSerializer.java
ndroid/internal/view/IInputConnectionCallback.aidl
ndroid/internal/view/IInputConnectionWrapper.java
ndroid/internal/view/IInputContext.aidl
ndroid/internal/view/IInputContextCallback.aidl
ndroid/internal/view/IInputMethod.aidl
ndroid/internal/view/IInputMethodCallback.aidl
ndroid/internal/view/IInputMethodClient.aidl
ndroid/internal/view/IInputMethodManager.aidl
ndroid/internal/view/IInputMethodSession.aidl
ndroid/internal/view/InputBindResult.aidl
ndroid/internal/view/InputBindResult.java
ndroid/internal/view/InputConnectionWrapper.java
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/view/menu/IconMenuView.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuDialogHelper.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/view/package.html
ndroid/internal/widget/DialogTitle.java
ndroid/internal/widget/EditableInputConnection.java
ndroid/internal/widget/LockPatternUtils.java
ndroid/internal/widget/LockPatternView.java
ndroid/internal/widget/NumberPicker.java
ndroid/internal/widget/SlidingDrawer.java
oogle/android/mms/pdu/PduComposer.java
oogle/android/mms/pdu/PduHeaders.java
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/pdu/SendReq.java
oogle/android/net/ParentalControl.java
oogle/android/util/GoogleWebContentHelper.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
ndroid/internal/app/AlertActivity.java
ndroid/internal/app/AlertController.java
ndroid/internal/app/ChooserActivity.java
ndroid/internal/app/IBatteryStats.aidl
ndroid/internal/app/ResolverActivity.java
ndroid/internal/app/RingtonePickerActivity.java
ndroid/internal/app/UsbStorageActivity.java
ndroid/internal/app/package.html
ndroid/internal/database/ArrayListCursor.java
ndroid/internal/database/SortCursor.java
ndroid/internal/http/multipart/ByteArrayPartSource.java
ndroid/internal/http/multipart/FilePart.java
ndroid/internal/http/multipart/FilePartSource.java
ndroid/internal/http/multipart/MultipartEntity.java
ndroid/internal/http/multipart/Part.java
ndroid/internal/http/multipart/PartBase.java
ndroid/internal/http/multipart/PartSource.java
ndroid/internal/http/multipart/StringPart.java
ndroid/internal/logging/AndroidConfig.java
ndroid/internal/logging/AndroidHandler.java
ndroid/internal/os/AndroidPrintStream.java
ndroid/internal/os/BinderInternal.java
ndroid/internal/os/HandlerHelper.java
ndroid/internal/os/HandlerThread.java
ndroid/internal/os/LoggingPrintStream.java
ndroid/internal/os/RuntimeInit.java
ndroid/internal/os/ZygoteConnection.java
ndroid/internal/os/ZygoteInit.java
ndroid/internal/os/ZygoteSecurityException.java
ndroid/internal/package.html
ndroid/internal/policy/IPolicy.java
ndroid/internal/policy/PolicyManager.java
ndroid/internal/policy/package.html
ndroid/internal/preference/YesNoPreference.java
ndroid/internal/provider/Settings.java
ndroid/internal/util/ArrayUtils.java
ndroid/internal/util/CharSequences.java
ndroid/internal/util/FastMath.java
ndroid/internal/util/FastXmlSerializer.java
ndroid/internal/util/HexDump.java
ndroid/internal/util/Objects.java
ndroid/internal/util/Predicate.java
ndroid/internal/util/Predicates.java
ndroid/internal/util/WithFramework.java
ndroid/internal/util/XmlUtils.java
ndroid/internal/view/menu/ContextMenuBuilder.java
ndroid/internal/view/menu/ExpandedMenuView.java
ndroid/internal/view/menu/IconMenuItemView.java
ndroid/internal/view/menu/IconMenuView.java
ndroid/internal/view/menu/ListMenuItemView.java
ndroid/internal/view/menu/MenuBuilder.java
ndroid/internal/view/menu/MenuDialogHelper.java
ndroid/internal/view/menu/MenuItemImpl.java
ndroid/internal/view/menu/MenuView.java
ndroid/internal/view/menu/SubMenuBuilder.java
ndroid/internal/widget/LinearLayoutWithDefaultTouchRecepient.java
ndroid/internal/widget/LockPatternUtils.java
ndroid/internal/widget/LockPatternView.java
ndroid/internal/widget/NumberPicker.java
ndroid/internal/widget/NumberPickerButton.java
ndroid/internal/widget/SlidingDrawer.java
ndroid/internal/widget/VerticalTextSpinner.java
ndroid/server/ResettableTimeout.java
oogle/android/collect/Lists.java
oogle/android/collect/Maps.java
oogle/android/collect/Sets.java
oogle/android/gdata/client/AndroidGDataClient.java
oogle/android/gdata/client/AndroidXmlParserFactory.java
oogle/android/gdata/client/QueryParamsImpl.java
oogle/android/mms/ContentType.java
oogle/android/mms/InvalidHeaderValueException.java
oogle/android/mms/MmsException.java
oogle/android/mms/package.html
oogle/android/mms/pdu/AcknowledgeInd.java
oogle/android/mms/pdu/Base64.java
oogle/android/mms/pdu/CharacterSets.java
oogle/android/mms/pdu/DeliveryInd.java
oogle/android/mms/pdu/EncodedStringValue.java
oogle/android/mms/pdu/GenericPdu.java
oogle/android/mms/pdu/MultimediaMessagePdu.java
oogle/android/mms/pdu/NotificationInd.java
oogle/android/mms/pdu/NotifyRespInd.java
oogle/android/mms/pdu/PduBody.java
oogle/android/mms/pdu/PduComposer.java
oogle/android/mms/pdu/PduContentTypes.java
oogle/android/mms/pdu/PduHeaders.java
oogle/android/mms/pdu/PduParser.java
oogle/android/mms/pdu/PduPart.java
oogle/android/mms/pdu/PduPersister.java
oogle/android/mms/pdu/QuotedPrintable.java
oogle/android/mms/pdu/ReadOrigInd.java
oogle/android/mms/pdu/ReadRecInd.java
oogle/android/mms/pdu/RetrieveConf.java
oogle/android/mms/pdu/SendConf.java
oogle/android/mms/pdu/SendReq.java
oogle/android/mms/pdu/package.html
oogle/android/mms/util/AbstractCache.java
oogle/android/mms/util/PduCache.java
oogle/android/mms/util/PduCacheEntry.java
oogle/android/mms/util/SqliteWrapper.java
oogle/android/mms/util/package.html
oogle/android/net/GoogleHttpClient.java
oogle/android/net/NetStats.java
oogle/android/net/ParentalControl.java
oogle/android/net/ParentalControlState.aidl
oogle/android/net/ParentalControlState.java
oogle/android/net/UrlRules.java
oogle/android/util/AbstractMessageParser.java
oogle/android/util/GoogleWebContentHelper.java
oogle/android/util/Procedure.java
oogle/android/util/SimplePullParser.java
oogle/android/util/SmileyParser.java
oogle/android/util/SmileyResources.java