OSDN Git Service

android-x86/frameworks-base.git
10 years agoPromote lights-out to a bar transition mode.
John Spurlock [Sat, 14 Sep 2013 15:58:55 +0000 (11:58 -0400)]
Promote lights-out to a bar transition mode.

Move all visual application of the legacy lights-out behind
a new mode managed by BarTransitions for better coordination.

Remove unused "hidden" state in NavigationBarView.

Improve window state (showing/hiding/hidden) calculation,
affecting whether or not sysui thinks it should animate.
Removes invalid interim mode changes causing needless
flashing during some transitions.

Consider WINDOW_STATE_HIDING a state in which we ought to animate,
since at least part of the window is visible throughout.

Make the status/nav bar transition helper classes real boys.

Animate KeyButtonView drawing alpha transition, cancel existing
animations when resetting to avoid needless and unsightly "recovery".

Bug:10746803
Change-Id: Ibd883da9041d071b6a4ff5b42cf96efba7696e9c

10 years agoMerge "Add new intent/method for cropping and setting wallpapers" into klp-dev
Michael Jurka [Sat, 14 Sep 2013 12:25:50 +0000 (12:25 +0000)]
Merge "Add new intent/method for cropping and setting wallpapers" into klp-dev

10 years agoMerge "Only buildLayer() on attached views" into klp-dev
Chet Haase [Sat, 14 Sep 2013 03:39:45 +0000 (03:39 +0000)]
Merge "Only buildLayer() on attached views" into klp-dev

10 years agoam a99cc3a7: am 788fc628: am 6212f6b3: Merge "Update documentation for speech APIs...
Dirk Dougherty [Sat, 14 Sep 2013 02:59:29 +0000 (19:59 -0700)]
am a99cc3a7: am 788fc628: am 6212f6b3: Merge "Update documentation for speech APIs." into jb-mr2-docs

* commit 'a99cc3a72d7ff883b8ade7e119169b561fc98e17':
  Update documentation for speech APIs.

10 years agoam 788fc628: am 6212f6b3: Merge "Update documentation for speech APIs." into jb-mr2...
Dirk Dougherty [Sat, 14 Sep 2013 02:56:03 +0000 (19:56 -0700)]
am 788fc628: am 6212f6b3: Merge "Update documentation for speech APIs." into jb-mr2-docs

* commit '788fc6285a0b7f1585c5a4fa68599af7c07747e5':
  Update documentation for speech APIs.

10 years agoam 6212f6b3: Merge "Update documentation for speech APIs." into jb-mr2-docs
Dirk Dougherty [Sat, 14 Sep 2013 02:53:26 +0000 (19:53 -0700)]
am 6212f6b3: Merge "Update documentation for speech APIs." into jb-mr2-docs

* commit '6212f6b3c5c92298fedbb37f5ceb0094b770549b':
  Update documentation for speech APIs.

10 years agoMerge "Update documentation for speech APIs." into jb-mr2-docs
Dirk Dougherty [Sat, 14 Sep 2013 02:50:15 +0000 (02:50 +0000)]
Merge "Update documentation for speech APIs." into jb-mr2-docs

10 years agoam 19612c63: am 575245dc: am 1294a8f9: Merge "update samples landing page with summar...
Scott Main [Sat, 14 Sep 2013 02:39:15 +0000 (19:39 -0700)]
am 19612c63: am 575245dc: am 1294a8f9: Merge "update samples landing page with summaries based on parameter in the url. This is just for testing purposes... no real functionality yet." into jb-mr2-docs

* commit '19612c63519dce47b1cbe03d1691ec66f7160c44':
  update samples landing page with summaries based on parameter in the url. This is just for testing purposes... no real functionality yet.

10 years agoam 575245dc: am 1294a8f9: Merge "update samples landing page with summaries based...
Scott Main [Sat, 14 Sep 2013 02:36:49 +0000 (19:36 -0700)]
am 575245dc: am 1294a8f9: Merge "update samples landing page with summaries based on parameter in the url. This is just for testing purposes... no real functionality yet." into jb-mr2-docs

* commit '575245dc29441fc796442805caa16000f48f27cc':
  update samples landing page with summaries based on parameter in the url. This is just for testing purposes... no real functionality yet.

10 years agoam 1294a8f9: Merge "update samples landing page with summaries based on parameter...
Scott Main [Sat, 14 Sep 2013 02:33:17 +0000 (19:33 -0700)]
am 1294a8f9: Merge "update samples landing page with summaries based on parameter in the url. This is just for testing purposes... no real functionality yet." into jb-mr2-docs

* commit '1294a8f9a2ccc4e19d218dbe8645ddac533706d8':
  update samples landing page with summaries based on parameter in the url. This is just for testing purposes... no real functionality yet.

10 years agoMerge "update samples landing page with summaries based on parameter in the url....
Scott Main [Sat, 14 Sep 2013 02:31:08 +0000 (02:31 +0000)]
Merge "update samples landing page with summaries based on parameter in the url. This is just for testing purposes... no real functionality yet." into jb-mr2-docs

10 years agoupdate samples landing page with summaries based on parameter in the url.
Scott Main [Thu, 12 Sep 2013 19:57:29 +0000 (12:57 -0700)]
update samples landing page with summaries based on parameter in the url.
This is just for testing purposes... no real functionality yet.

Change-Id: I7d18033b01a7c3615e3d998da71062b25af22b28

10 years agoMerge "Disable ActionBar transitions" into klp-dev
Geoff Mendal [Sat, 14 Sep 2013 02:08:20 +0000 (02:08 +0000)]
Merge "Disable ActionBar transitions" into klp-dev

10 years agoOnly buildLayer() on attached views
Chet Haase [Sat, 14 Sep 2013 02:01:52 +0000 (19:01 -0700)]
Only buildLayer() on attached views

A recent change to ViewPropertyAnimator.withLayer() builds the layer
immediately after creating it. This works in general, but if the view
is not attached, buildLayer() throws an exception.

The fix is to ensure that the view is attached before calling buildLayer().

Issue #10750925 Dialer crashed and phone dropped while on call

Change-Id: I801c835a0f5cb81e159fe90c157c122cf2d0da01

10 years agoDisable ActionBar transitions
Chet Haase [Sat, 14 Sep 2013 01:51:12 +0000 (18:51 -0700)]
Disable ActionBar transitions

A problem with transitions is causing various ActionBar icons to go
missing occasionally. This CL disables these transitions for now
to allow ActionBar to work as expected.

Issue #10726905 ActionBar weirdness in People app

Change-Id: I0cb774840ae84cbb733d65865f8c1b4c6d7490fa

10 years agoMerge "Maybe fix issue #10748810: Runtime restart: crash under..." into klp-dev
Dianne Hackborn [Sat, 14 Sep 2013 01:43:20 +0000 (01:43 +0000)]
Merge "Maybe fix issue #10748810: Runtime restart: crash under..." into klp-dev

10 years agoMaybe fix issue #10748810: Runtime restart: crash under...
Dianne Hackborn [Sat, 14 Sep 2013 01:34:13 +0000 (18:34 -0700)]
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

10 years agoam bb3b431d: am 8bf0c9ae: am a23fd887: more javadocs for onTrimMemory()
Scott Main [Sat, 14 Sep 2013 01:09:45 +0000 (18:09 -0700)]
am bb3b431d: am 8bf0c9ae: am a23fd887: more javadocs for onTrimMemory()

* commit 'bb3b431dc6b5786bed7cc988f44c35df21408a93':
  more javadocs for onTrimMemory()

10 years agoam 8bf0c9ae: am a23fd887: more javadocs for onTrimMemory()
Scott Main [Sat, 14 Sep 2013 01:06:28 +0000 (18:06 -0700)]
am 8bf0c9ae: am a23fd887: more javadocs for onTrimMemory()

* commit '8bf0c9ae604e5114260159077bfafbdd9d16a7ea':
  more javadocs for onTrimMemory()

10 years agoMerge "Implement #10666712: NetworkOnMainThreadException should be..." into klp-dev
Dianne Hackborn [Sat, 14 Sep 2013 01:04:05 +0000 (01:04 +0000)]
Merge "Implement #10666712: NetworkOnMainThreadException should be..." into klp-dev

10 years agoam a23fd887: more javadocs for onTrimMemory()
Scott Main [Sat, 14 Sep 2013 01:03:18 +0000 (18:03 -0700)]
am a23fd887: more javadocs for onTrimMemory()

* commit 'a23fd88729bd10c02a9d631c9954616b3a1d0f6f':
  more javadocs for onTrimMemory()

10 years agoMerge "Strip names out of externally supplied WorkSources to WifiManager (b/10710007...
David Christie [Sat, 14 Sep 2013 01:02:40 +0000 (01:02 +0000)]
Merge "Strip names out of externally supplied WorkSources to WifiManager (b/10710007)." into klp-dev

10 years agomore javadocs for onTrimMemory()
Scott Main [Thu, 15 Aug 2013 20:53:31 +0000 (13:53 -0700)]
more javadocs for onTrimMemory()

Change-Id: I52a99bc1b07732e474d1c632f3021c6c4db8c5ab

10 years agoStrip names out of externally supplied WorkSources to WifiManager (b/10710007).
David Christie [Sat, 14 Sep 2013 00:11:53 +0000 (17:11 -0700)]
Strip names out of externally supplied WorkSources to WifiManager (b/10710007).

Change-Id: I69bd7ce9e942c2f9327415b2821d805e1b50a1a4

10 years agoImplement #10666712: NetworkOnMainThreadException should be...
Dianne Hackborn [Sat, 14 Sep 2013 00:32:57 +0000 (17:32 -0700)]
Implement #10666712: NetworkOnMainThreadException should be...

...relayed back to calling application

What's one more exception between friends?

Change-Id: Ib83c7bfbddd397457dcdbe506a8cd2bc0f4fb70b

10 years agoMerge "Check RelativeLayout's access of its own LayoutParams during measurement"...
Adam Powell [Sat, 14 Sep 2013 00:23:07 +0000 (00:23 +0000)]
Merge "Check RelativeLayout's access of its own LayoutParams during measurement" into klp-dev

10 years agoMerge "Fix issue #10461477: KLP API Review: Debug.MemoryInfo" into klp-dev
Dianne Hackborn [Sat, 14 Sep 2013 00:22:06 +0000 (00:22 +0000)]
Merge "Fix issue #10461477: KLP API Review: Debug.MemoryInfo" into klp-dev

10 years agoFix issue #10461477: KLP API Review: Debug.MemoryInfo
Dianne Hackborn [Sat, 14 Sep 2013 00:20:00 +0000 (17:20 -0700)]
Fix issue #10461477: KLP API Review: Debug.MemoryInfo

Oops.

Change-Id: I2143790af9e6649dba8d74618358c47232cf6cc4

10 years agoMerge "Part of corrections from KLP API Review: Media" into klp-dev
Jeff Tinker [Sat, 14 Sep 2013 00:16:34 +0000 (00:16 +0000)]
Merge "Part of corrections from KLP API Review: Media" into klp-dev

10 years agoMerge "Fix merged operation clipping" into klp-dev
Chris Craik [Sat, 14 Sep 2013 00:12:37 +0000 (00:12 +0000)]
Merge "Fix merged operation clipping" into klp-dev

10 years agoMerge "Prune shared users that the system declares but does not use" into klp-dev
Christopher Tate [Sat, 14 Sep 2013 00:11:47 +0000 (00:11 +0000)]
Merge "Prune shared users that the system declares but does not use" into klp-dev

10 years agoMerge "Remove obsolete assets from target /system/media/video/" into klp-dev
Glenn Kasten [Sat, 14 Sep 2013 00:07:44 +0000 (00:07 +0000)]
Merge "Remove obsolete assets from target /system/media/video/" into klp-dev

10 years agoMerge "Fix issue #10747324: adb install hangs" into klp-dev
Dianne Hackborn [Sat, 14 Sep 2013 00:04:43 +0000 (00:04 +0000)]
Merge "Fix issue #10747324: adb install hangs" into klp-dev

10 years agoFix issue #10747324: adb install hangs
Dianne Hackborn [Sat, 14 Sep 2013 00:01:26 +0000 (17:01 -0700)]
Fix issue #10747324: adb install hangs

Dumb typo was clearing the wrong service array, causing
us to sometimes forget we were launching a service.

Change-Id: Ie1aba0e07d19e85a104a5985e3cead5f28a0556a

10 years agoPrune shared users that the system declares but does not use
Christopher Tate [Fri, 13 Sep 2013 23:58:36 +0000 (16:58 -0700)]
Prune shared users that the system declares but does not use

Bug 10184643

Change-Id: I72c5177c621c24fac34bf8744eb6c5108b6d3464

10 years agoMerge "Don't recycle action button views" into klp-dev
Adam Powell [Fri, 13 Sep 2013 23:46:38 +0000 (23:46 +0000)]
Merge "Don't recycle action button views" into klp-dev

10 years agoMerge "Camera2: Rename TEMPLATE_MANUAL to TEMPLATE_ZERO_SHUTTER_LAG" into klp-dev
Rachad Alao [Fri, 13 Sep 2013 23:44:43 +0000 (23:44 +0000)]
Merge "Camera2: Rename TEMPLATE_MANUAL to TEMPLATE_ZERO_SHUTTER_LAG" into klp-dev

10 years agoMerge "More UX updates around picking images." into klp-dev
Jeff Sharkey [Fri, 13 Sep 2013 23:33:27 +0000 (23:33 +0000)]
Merge "More UX updates around picking images." into klp-dev

10 years agoMerge "When launching home activity, make sure it is top." into klp-dev
Craig Mautner [Fri, 13 Sep 2013 23:33:17 +0000 (23:33 +0000)]
Merge "When launching home activity, make sure it is top." into klp-dev

10 years agoMerge "Roaming Icon should not displayed with Indosat's old SIM" into klp-dev
Vineeta Srivastava [Fri, 13 Sep 2013 23:29:31 +0000 (23:29 +0000)]
Merge "Roaming Icon should not displayed with Indosat's old SIM" into klp-dev

10 years agoMerge "Implement #10749688: Improve low memory reporting" into klp-dev
Dianne Hackborn [Fri, 13 Sep 2013 23:06:07 +0000 (23:06 +0000)]
Merge "Implement #10749688: Improve low memory reporting" into klp-dev

10 years agoMore UX updates around picking images.
Jeff Sharkey [Fri, 13 Sep 2013 20:42:19 +0000 (13:42 -0700)]
More UX updates around picking images.

When picking images or videos, hide the titles in recents, since the
thumbnails should speak for themselves.  Also respect new flag that
allows a directory to request their titles be hidden.

Show directory icon hint in grid mode when showing a thumbnail, to
remind user it's a directory.

Filter directories out of recents.  Hide most action bar icons on
phones, even when room.  Only show drawer on first launch.  Hide most
drawer headers to match spec.

Bug: 10710331
Change-Id: I0ef1973ddd62750f57345336388366eda1449720

10 years agoImplement #10749688: Improve low memory reporting
Dianne Hackborn [Wed, 11 Sep 2013 02:06:15 +0000 (19:06 -0700)]
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

10 years agoMerge "Fixed review comments" into klp-dev
Zhihai Xu [Fri, 13 Sep 2013 23:00:21 +0000 (23:00 +0000)]
Merge "Fixed review comments" into klp-dev

10 years agoWhen launching home activity, make sure it is top.
Craig Mautner [Fri, 13 Sep 2013 22:34:08 +0000 (15:34 -0700)]
When launching home activity, make sure it is top.

Because recents sits on the same stack as launcher it can sometimes be
above launcher. When we were launching home activity because the flag
told us to we would sometimes launch recents instead. This fix makes
sure that the home activity is on the top when it is supposed to be
launched next.

Previously this was fixed by having recents move itself to the back
of the stack after it launched an activity (b/9750207 and ag/336019).
But that solution caused the AppTransition to be set to
TRANSIT_TASK_TO_BACK which left the SOFT_INPUT_IS_FORWARD_NAVIGATION
flag unset. This in turn caused IMEs to remain unlaunched when
returning from recents (b/10240567).

Fixes bug 10240567.

Change-Id: I35c6619af0e68d0e6d9ab87cad06ea7c27e11e27

10 years agoMerge "NotoColorEmoji.ttf is the new AndroidEmoji.ttf" into klp-dev
Victoria Lease [Fri, 13 Sep 2013 22:32:58 +0000 (22:32 +0000)]
Merge "NotoColorEmoji.ttf is the new AndroidEmoji.ttf" into klp-dev

10 years agoPart of corrections from KLP API Review: Media
Jeff Tinker [Fri, 13 Sep 2013 22:32:08 +0000 (15:32 -0700)]
Part of corrections from KLP API Review: Media

b/10461617

Change-Id: Ic2e102c39428f7cef2923d00a67aec8c77cd108e

10 years agoRoaming Icon should not displayed with Indosat's old SIM
Sungmin Choi [Fri, 13 Sep 2013 20:42:34 +0000 (13:42 -0700)]
Roaming Icon should not displayed with Indosat's old SIM

Bug: 10403087
Change-Id: If2ea5650ed9a665da94f2941507fb273800b3ab8

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 13 Sep 2013 22:13:09 +0000 (22:13 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoam 31207780: am 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ListView
Deepanshu Gupta [Fri, 13 Sep 2013 22:01:00 +0000 (15:01 -0700)]
am 31207780: am 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ListView

* commit '31207780338b97e396927701ca0da7a61d6d44b2':
  Fix ClassCastException when rendering ListView

10 years agoam 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ListView
Deepanshu Gupta [Fri, 13 Sep 2013 21:57:35 +0000 (14:57 -0700)]
am 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ListView

* commit '0ecfe3819269062805c4c56cdc1470c2fc3856c8':
  Fix ClassCastException when rendering ListView

10 years agoam 54d88f76: Fix ClassCastException when rendering ListView
Deepanshu Gupta [Fri, 13 Sep 2013 21:55:06 +0000 (14:55 -0700)]
am 54d88f76: Fix ClassCastException when rendering ListView

* commit '54d88f7678387a6eb871ec2dccd36af4ff35b1fe':
  Fix ClassCastException when rendering ListView

10 years agoFix merged operation clipping
Chris Craik [Fri, 13 Sep 2013 21:41:31 +0000 (14:41 -0700)]
Fix merged operation clipping

bug:10745870

Missing 'const' meant MergingDrawBatch would never clip anything.

Change-Id: Ia6367eff94cf5f437efafbc3ba7f0da102ffd956

10 years agoNotoColorEmoji.ttf is the new AndroidEmoji.ttf
Victoria Lease [Fri, 13 Sep 2013 21:11:58 +0000 (14:11 -0700)]
NotoColorEmoji.ttf is the new AndroidEmoji.ttf

Bug: 10144988
Change-Id: I04ebb86e283b752c43597b5f908f5c28f7806ee1

10 years agoMerge "checkMobileProvisioning should not block." into klp-dev
Wink Saville [Fri, 13 Sep 2013 20:55:36 +0000 (20:55 +0000)]
Merge "checkMobileProvisioning should not block." into klp-dev

10 years agoMerge "Guarantee that PAC Local Proxy owns Port" into klp-dev
Jason Monk [Fri, 13 Sep 2013 20:31:53 +0000 (20:31 +0000)]
Merge "Guarantee that PAC Local Proxy owns Port" into klp-dev

10 years agoCamera2: Rename TEMPLATE_MANUAL to TEMPLATE_ZERO_SHUTTER_LAG
Zhijun He [Fri, 13 Sep 2013 18:32:20 +0000 (11:32 -0700)]
Camera2: Rename TEMPLATE_MANUAL to TEMPLATE_ZERO_SHUTTER_LAG

It collides with HAL ZSL template, rename it to TEMPLATE_ZERO_SHUTTER_LAG and
hide it for now.

Bug: 10690122
Change-Id: I793154849aa7aa4bf4874e2ff3f3890dd05b1f9e

10 years agoam a73e5df0: am cdde6dc6: am 95e7df91: fix title for uses-sdk doc
Scott Main [Fri, 13 Sep 2013 20:04:43 +0000 (13:04 -0700)]
am a73e5df0: am cdde6dc6: am 95e7df91: fix title for uses-sdk doc

* commit 'a73e5df060262d1fc92f76fcc7a3a3d4537f9a0a':
  fix title for uses-sdk doc

10 years agoam cdde6dc6: am 95e7df91: fix title for uses-sdk doc
Scott Main [Fri, 13 Sep 2013 20:02:20 +0000 (13:02 -0700)]
am cdde6dc6: am 95e7df91: fix title for uses-sdk doc

* commit 'cdde6dc6675207708020fbe7458b13ccf22fe492':
  fix title for uses-sdk doc

10 years agoMerge "Add hidden API for querying available 'home' activities" into klp-dev
Christopher Tate [Fri, 13 Sep 2013 20:01:17 +0000 (20:01 +0000)]
Merge "Add hidden API for querying available 'home' activities" into klp-dev

10 years agoMerge "Move search to roots; Documents root; hide empty." into klp-dev
Jeff Sharkey [Fri, 13 Sep 2013 20:00:14 +0000 (20:00 +0000)]
Merge "Move search to roots; Documents root; hide empty." into klp-dev

10 years agoam 95e7df91: fix title for uses-sdk doc
Scott Main [Fri, 13 Sep 2013 19:59:59 +0000 (12:59 -0700)]
am 95e7df91: fix title for uses-sdk doc

* commit '95e7df915fd3c173b4d8d71c1ac5cbeaa8c8e7ed':
  fix title for uses-sdk doc

10 years agofix title for uses-sdk doc
Scott Main [Fri, 13 Sep 2013 19:55:20 +0000 (12:55 -0700)]
fix title for uses-sdk doc

Change-Id: I544868d209f04cb46928861148e9320fc0118f56

10 years agocheckMobileProvisioning should not block.
Wink Saville [Fri, 13 Sep 2013 19:40:11 +0000 (12:40 -0700)]
checkMobileProvisioning should not block.

In checkMobileProvisioning the call to mdst.isProvisioningNetwork() is
a blocking call and during monkey testing without SIM this is causing
ANR's. Move the initial test for provisioning into isMobileOk so
checkMobileProvisioning doesn't block.

If mobile is not supported return CMP_RESULT_NO_CONNECTION.

Cleaned up some debug.

Bug: 10674404
Change-Id: I10a0e922cd6ea9790f66e2083f37e68cb0a8861f

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 13 Sep 2013 19:23:22 +0000 (12:23 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic199dafb31a9f2245f771d8a39c39c152338cf71
Auto-generated-cl: translation import

10 years agoAdd hidden API for querying available 'home' activities
Christopher Tate [Thu, 5 Sep 2013 23:38:58 +0000 (16:38 -0700)]
Add hidden API for querying available 'home' activities

To support improved home-app selection UX in Settings.

Bug 9958444

Change-Id: I106090784618bf7bea6fce28f4f9b9fb8480d310

10 years agoMove search to roots; Documents root; hide empty.
Jeff Sharkey [Fri, 13 Sep 2013 04:59:06 +0000 (21:59 -0700)]
Move search to roots; Documents root; hide empty.

Documents searches now happen root-wide, instead of only under a
subdirectory.  Updates abstract class and flags to match.  Add flag
for a root to indicate it's empty, and hide empty roots in UI unless
creating.

Define "Documents" public directory and storage backend to contain
files.

Bug: 107120571071086510710758
Change-Id: I8716367568969f9cb1d83927b2bf5a7013809350

10 years agoDon't recycle action button views
Adam Powell [Fri, 13 Sep 2013 17:57:06 +0000 (10:57 -0700)]
Don't recycle action button views

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

Change-Id: I69d7561e337be7e4a89b7cf30b6c9439f2d49cc2

10 years agoRemove obsolete assets from target /system/media/video/
Glenn Kasten [Fri, 13 Sep 2013 17:16:12 +0000 (10:16 -0700)]
Remove obsolete assets from target /system/media/video/

These were previously used for background replacement effect, but it seems
like they aren't needed any more and just take up space in filesystem.

Change-Id: I0782ac0c8f109e4f28e9f43c20d30dc6ccd82ef7

10 years agoImplement #10744011: Serialize running of background services
Dianne Hackborn [Thu, 5 Sep 2013 19:31:16 +0000 (12:31 -0700)]
Implement #10744011: Serialize running of background services

Added some code to the activity manager to keep track of
services that are launching and limit the number that can
be launched concurrently.  This only comes into play under
specific circumstances: when the service launch is a background
request (so timing is not important) and its process is not
already running at a high priority.

In this case, we have a list of services that are currently
launching and when that gets too big we start delaying the
launch of future services until currently launching ones are
finished.

There are some important tuning parameters for this: how many
background services we allow to launch concurrently (currently
1 on low-ram devices, 3 on other devices), and how long we
wait for a background service to run before consider it to be
a more long-running service and go on to the next pending
launch (currently set to 15 seconds).

Also while in here, did some cleanup of the service code:

- A little refactoring to make per-user data cleaner.
- Switch to ArrayMap.

Change-Id: I09f372eb5e0f81a8de7c64f8320af41e84b90aa3

10 years agoCheck RelativeLayout's access of its own LayoutParams during measurement
Adam Powell [Fri, 13 Sep 2013 16:22:30 +0000 (09:22 -0700)]
Check RelativeLayout's access of its own LayoutParams during measurement

RelativeLayout's use of its own LayoutParams is really old behavior
and something it probably never should have done in the first
place. However at this point it's enshrined compatibility behavior as
fixing this would change the end results of measurement in some cases,
and we've found that apps really love doing strange things with
RelativeLayout that hit all of those edge cases.

The existing behavior ignores this code path if set to MATCH_PARENT or
WRAP_CONTENT, so we'll simply treat missing LayoutParams as the same
case.

Bug 10733375

Change-Id: I8b40b8557d19695ebcd5329aefc1603e2bf4234e

10 years agoAdd new intent/method for cropping and setting wallpapers
Michael Jurka [Mon, 9 Sep 2013 13:58:54 +0000 (15:58 +0200)]
Add new intent/method for cropping and setting wallpapers

Also, create a system fallback WallpaperCropper

Bug: 4225598

Change-Id: I6bc6d5a3bb3df1dc00f3db701978aa172020c568

10 years agoGuarantee that PAC Local Proxy owns Port
Jason Monk [Fri, 23 Aug 2013 23:21:25 +0000 (19:21 -0400)]
Guarantee that PAC Local Proxy owns Port

This changes the PAC support to not broadcast the Proxy information until
the Local Proxy has started up and successfully bound to a port so that
the local proxy information can be guaranteed to be owned by the proxy.

Bug: 10459877
Change-Id: I175cd3388c758c55e341115e4a8241884b90d633

10 years agoMerge "SystemUI status bar/quick settings updates." into klp-dev
John Spurlock [Fri, 13 Sep 2013 08:42:06 +0000 (08:42 +0000)]
Merge "SystemUI status bar/quick settings updates." into klp-dev

10 years agoMerge "MediaFormat: add getInteger with default value convenience method" into klp-dev
Lajos Molnar [Fri, 13 Sep 2013 02:17:03 +0000 (02:17 +0000)]
Merge "MediaFormat: add getInteger with default value convenience method" into klp-dev

10 years agoSystemUI status bar/quick settings updates.
John Spurlock [Thu, 12 Sep 2013 13:50:50 +0000 (09:50 -0400)]
SystemUI status bar/quick settings updates.

Status bar:
 - Update remaining mute/speakerphone icons.
 - Remove orange versions of wifi/signal icons.
 - Use only full versions of data type overlays.
 - Remove obsolete light versions of data type overlays.
 - Low battery color back to red.

Quick settings:
 - Update to indicate problem (orange) status.
 - Update to new battery style.

And a few remaining xx assets.

Bug:10680149
Bug:10502089
Bug:10729729
Bug:10316062
Change-Id: Iccd936d90271e4ec5c48e688917225136e7d45aa

10 years agoMerge "Don't send the same values to onUpdateSelection repeatedly" into klp-dev
Jean Chalard [Fri, 13 Sep 2013 02:16:47 +0000 (02:16 +0000)]
Merge "Don't send the same values to onUpdateSelection repeatedly" into klp-dev

10 years agoMerge "Fix CalledFromWrongThreadException in MediaPlayer's subtitle support" into...
Lajos Molnar [Fri, 13 Sep 2013 02:16:27 +0000 (02:16 +0000)]
Merge "Fix CalledFromWrongThreadException in MediaPlayer's subtitle support" into klp-dev

10 years agoFixed review comments
Kim Schulz [Thu, 22 Aug 2013 09:18:02 +0000 (11:18 +0200)]
Fixed review comments

- fixed review comments (internal+google)
- corrected tabs/spaces
- Add connection id header for obex client operations
- added support for implementing ProfileService class

Change-Id: Idab8b4fa54a0f31bec4ffa263a69a9850a07f858

Bug:10692365

10 years agoMerge "Add live region politeness to View, AccessibilityNodeInfo" into klp-dev
Alan Viverette [Fri, 13 Sep 2013 01:45:10 +0000 (01:45 +0000)]
Merge "Add live region politeness to View, AccessibilityNodeInfo" into klp-dev

10 years agoMerge "Remove unneeded print APIs and update the min margins APIs." into klp-dev
Svetoslav [Fri, 13 Sep 2013 01:43:40 +0000 (01:43 +0000)]
Merge "Remove unneeded print APIs and update the min margins APIs." into klp-dev

10 years agoMerge "Always disable the clip for layers Bug #8149344" into klp-dev
Romain Guy [Fri, 13 Sep 2013 01:18:30 +0000 (01:18 +0000)]
Merge "Always disable the clip for layers Bug #8149344" into klp-dev

10 years agoMerge "DocumentsUI tablet support." into klp-dev
Jeff Sharkey [Fri, 13 Sep 2013 00:21:52 +0000 (00:21 +0000)]
Merge "DocumentsUI tablet support." into klp-dev

10 years agoAdd live region politeness to View, AccessibilityNodeInfo
Alan Viverette [Fri, 13 Sep 2013 00:16:09 +0000 (17:16 -0700)]
Add live region politeness to View, AccessibilityNodeInfo

Alters the content change API to contain a bit mask of types of
changes represented by the event. Live regions send CONTENT_CHANGED
events immediately. Removes unused APIs for EXPANDABLE/EXPANDED.

BUG: 10527284
Change-Id: I21523e85e47df23706976dc0a8bf615f83072c04

10 years agoUpdate documentation for speech APIs.
Marc Wilson [Tue, 10 Sep 2013 14:29:00 +0000 (15:29 +0100)]
Update documentation for speech APIs.

Makes it clear that the intent and service APIs are likely to stream
audio over the network and notes that impact this has on bandwidth and
battery life.
Also clarifies that the service API should not be used for continuous
recognition as a result. The intent API only runs when the activity is
in the foreground so I didn't mention continuous recognition for it.

Bug: 10674392
Change-Id: Ib5e0c16b3124f4b7d892ef5bd4167f23662d2ca3
(cherry picked from commit 2921cee3048f7e64ba6645d50a1c1705ef9658f8)

10 years agoMerge "Fix Batched Scan Results to give Timestamp in uS" into klp-dev
Robert Greenwalt [Fri, 13 Sep 2013 00:04:30 +0000 (00:04 +0000)]
Merge "Fix Batched Scan Results to give Timestamp in uS" into klp-dev

10 years agoRemove unneeded print APIs and update the min margins APIs.
Svetoslav [Thu, 12 Sep 2013 21:37:47 +0000 (14:37 -0700)]
Remove unneeded print APIs and update the min margins APIs.

1. Removed unneeded code in Resolution that was storing its
   label as resource and package name. We do not have predefined
   resolutions, therefore we always persist the label.

2. Renamed the print attribute margins to minMargins to reflect
   that these are the minimal margins the printer support. Updated
   the docs as well.

3. Renamed the create method of all builder to build.

bug:10727487

Change-Id: Ie72ab8aaa5215b8bd2853885011b3b4efa4deb2e

10 years agoMerge "Define config_volte_replacement_rat." into klp-dev
Wink Saville [Thu, 12 Sep 2013 23:49:50 +0000 (23:49 +0000)]
Merge "Define config_volte_replacement_rat." into klp-dev

10 years agoDocumentsUI tablet support.
Jeff Sharkey [Thu, 12 Sep 2013 23:25:02 +0000 (16:25 -0700)]
DocumentsUI tablet support.

Shows as a faux dialog on larger tablets, since the normal dialog
themes from framework don't support action bars.  Instead, this hacks
itself to look like a dialog with an InsetDrawable.  Detects touches
in dim area to dismiss dialog.

Show all action bar icons on tablets, and roots panel is always
visible with a different shadow. Show settings in dialog. Allow mode
switches in recents.

Bug: 10329832
Change-Id: Id02982ce7b0d4694962d32f8d5286fdfcc207208

10 years agoMerge "Fix build break with missing VDBG." into klp-dev
Stephen Hines [Thu, 12 Sep 2013 23:33:25 +0000 (23:33 +0000)]
Merge "Fix build break with missing VDBG." into klp-dev

10 years agoMerge "Fix for AIOBE at android.text.AndroidBidi.directions" into klp-dev
Raph Levien [Thu, 12 Sep 2013 23:28:29 +0000 (23:28 +0000)]
Merge "Fix for AIOBE at android.text.AndroidBidi.directions" into klp-dev

10 years agoMerge "Publish Print Api for Webview" into klp-dev
Selim Gurun [Thu, 12 Sep 2013 23:22:28 +0000 (23:22 +0000)]
Merge "Publish Print Api for Webview" into klp-dev

10 years agoFix for AIOBE at android.text.AndroidBidi.directions
Raph Levien [Thu, 12 Sep 2013 21:55:38 +0000 (14:55 -0700)]
Fix for AIOBE at android.text.AndroidBidi.directions

This fixes bug 9900288: Multiple apps crashing; AIOBE at
android.text.AndroidBidi.directions.

The AndroidBidi.directions() method was not correctly handling the case
of a run of length 0, causing ArrayIndexOutOfBoundsException. This
patch simply avoids accessing the levels array in that case.

Change-Id: I036a85b7792ea3364725a87033ca74b94f0e93a1

10 years agoFix build break with missing VDBG.
Stephen Hines [Thu, 12 Sep 2013 23:16:00 +0000 (16:16 -0700)]
Fix build break with missing VDBG.

Change-Id: Iaf64cf49300a6a0a91374efa3030d6894367c9b8

10 years agoAlways disable the clip for layers
Romain Guy [Thu, 12 Sep 2013 23:09:19 +0000 (16:09 -0700)]
Always disable the clip for layers
Bug #8149344

Change-Id: Ifd413cadb171232eb846b3d91b05b2d2457b9f35

10 years agoMerge "Not change the print options on printer change if possible." into klp-dev
Svetoslav [Thu, 12 Sep 2013 22:38:35 +0000 (22:38 +0000)]
Merge "Not change the print options on printer change if possible." into klp-dev

10 years agoMediaFormat: add getInteger with default value convenience method
Lajos Molnar [Thu, 12 Sep 2013 04:04:49 +0000 (21:04 -0700)]
MediaFormat: add getInteger with default value convenience method

Change-Id: I58947a2f4a286fef74f74cb189469278056d4759
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10326117

10 years agoFix CalledFromWrongThreadException in MediaPlayer's subtitle support
Lajos Molnar [Thu, 12 Sep 2013 05:10:01 +0000 (22:10 -0700)]
Fix CalledFromWrongThreadException in MediaPlayer's subtitle support

Call selectTrack/setSubtitleWidget only from MP's looper or the
applications's event thread, which is the same for now (we only
support subtitles in VideoView.)

Change-Id: Ic1de923b801f28657f37e0330b95c321931a6960
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10691837
Bug: 10326117

10 years agoMerge "Disable additional logging in WifiConfigStore/WifiNative" into klp-dev
Vinit Deshapnde [Thu, 12 Sep 2013 22:19:15 +0000 (22:19 +0000)]
Merge "Disable additional logging in WifiConfigStore/WifiNative" into klp-dev

10 years agoMerge "Allow phone to enter suspend with positive proximity." into klp-dev
Jeff Brown [Thu, 12 Sep 2013 22:15:37 +0000 (22:15 +0000)]
Merge "Allow phone to enter suspend with positive proximity." into klp-dev