OSDN Git Service

android-x86/frameworks-base.git
10 years agoam ff379fc4: am 707bac2b: am 0b1cfc1f: Merge "Docs: In the section "Determine if...
David Friedman [Fri, 27 Sep 2013 22:57:59 +0000 (15:57 -0700)]
am ff379fc4: am 707bac2b: am 0b1cfc1f: Merge "Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug: 10797360" into jb-mr2-docs

* commit 'ff379fc45c70ab92e6b5422646c9aa67a86002e0':
  Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug: 10797360

10 years agoam 233a341b: am 1b8e3197: am 8c38ea39: Merge "Docs: Fixed wrong parameter in SoundPoo...
David Friedman [Fri, 27 Sep 2013 22:57:56 +0000 (15:57 -0700)]
am 233a341b: am 1b8e3197: am 8c38ea39: Merge "Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug: 10807931 10796994" into jb-mr2-docs

* commit '233a341b6d9477f7f41d5a954fa7f7a150972ccb':
  Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug: 10807931 10796994

10 years agoam 657343d7: am b648f950: am 23bd5927: Docs: Fixed a typo, such that "C+++"-->"C...
David Friedman [Fri, 27 Sep 2013 22:57:53 +0000 (15:57 -0700)]
am 657343d7: am b648f950: am 23bd5927: Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug: 10796099

* commit '657343d782b5ddd8144c724d9131d3f51f39cd8c':
  Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug: 10796099

10 years agoMerge "Make SubtitleController thread safe" into klp-dev
Lajos Molnar [Fri, 27 Sep 2013 22:57:22 +0000 (22:57 +0000)]
Merge "Make SubtitleController thread safe" into klp-dev

10 years agoMake SubtitleController thread safe
Lajos Molnar [Fri, 20 Sep 2013 15:45:31 +0000 (08:45 -0700)]
Make SubtitleController thread safe

Add the concept of an anchor looper.
Allow show/hide/selectTrack/selectDefaultTrack to be called from thread
other than anchor looper.

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

10 years agoFix for jank when fast-scrolling DeskClock's world cities list in RTL
Raph Levien [Fri, 27 Sep 2013 20:36:24 +0000 (13:36 -0700)]
Fix for jank when fast-scrolling DeskClock's world cities list in RTL

This is a fix for bug 10863979.

The onPreDraw() method in TextView was canceling the draw every time a
the horizontal scroll changed. These dropped frames were visible as
jank. The fix is to never cancel the draw. It seems likely that the
previous rationale for canceling draw is no longer valid, due to other
fixes, because the scroll state will have been fully updated.

Change-Id: I8c2da5450723f993055a49b1cb57320c08f2a11e

10 years agoMerge "Add warning about using MergeCursor in CursorAdapter" into klp-dev
Alan Viverette [Fri, 27 Sep 2013 18:03:47 +0000 (18:03 +0000)]
Merge "Add warning about using MergeCursor in CursorAdapter" into klp-dev

10 years agoam 707bac2b: am 0b1cfc1f: Merge "Docs: In the section "Determine if You Have an Inter...
David Friedman [Fri, 27 Sep 2013 17:37:12 +0000 (10:37 -0700)]
am 707bac2b: am 0b1cfc1f: Merge "Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug: 10797360" into jb-mr2-docs

* commit '707bac2bdc40e3d98957e134331279534adf8e70':
  Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug: 10797360

10 years agoam 1b8e3197: am 8c38ea39: Merge "Docs: Fixed wrong parameter in SoundPool file; fixed...
David Friedman [Fri, 27 Sep 2013 17:37:07 +0000 (10:37 -0700)]
am 1b8e3197: am 8c38ea39: Merge "Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug: 10807931 10796994" into jb-mr2-docs

* commit '1b8e319784a1bb166aaa6b0f1dc306f8d4b6e57f':
  Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug: 10807931 10796994

10 years agoam b648f950: am 23bd5927: Docs: Fixed a typo, such that "C+++"-->"C++"; there was...
David Friedman [Fri, 27 Sep 2013 17:33:15 +0000 (10:33 -0700)]
am b648f950: am 23bd5927: Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug: 10796099

* commit 'b648f9509b17bad806c907ffa5270901a86e6c06':
  Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug: 10796099

10 years agoam 0b1cfc1f: Merge "Docs: In the section "Determine if You Have an Internet Connectio...
David Friedman [Fri, 27 Sep 2013 17:30:03 +0000 (10:30 -0700)]
am 0b1cfc1f: Merge "Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug: 10797360" into jb-mr2-docs

* commit '0b1cfc1fb64a1b24f107abf106eb839287f65cfb':
  Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug: 10797360

10 years agoam 8c38ea39: Merge "Docs: Fixed wrong parameter in SoundPool file; fixed typo in...
David Friedman [Fri, 27 Sep 2013 17:30:01 +0000 (10:30 -0700)]
am 8c38ea39: Merge "Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug: 10807931 10796994" into jb-mr2-docs

* commit '8c38ea39203016dde95bc5dd68f27f6f45096784':
  Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug: 10807931 10796994

10 years agoam 23bd5927: Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to...
David Friedman [Fri, 27 Sep 2013 17:26:23 +0000 (10:26 -0700)]
am 23bd5927: Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug: 10796099

* commit '23bd5927f1c82f3f63288fbee4e7c460fca3dc4e':
  Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug: 10796099

10 years agoMerge "Docs: In the section "Determine if You Have an Internet Connection," I added...
David Friedman [Fri, 27 Sep 2013 17:25:16 +0000 (17:25 +0000)]
Merge "Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug: 10797360" into jb-mr2-docs

10 years agoMerge "Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file...
David Friedman [Fri, 27 Sep 2013 17:24:41 +0000 (17:24 +0000)]
Merge "Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug: 10807931 10796994" into jb-mr2-docs

10 years agoDocs: Fixed wrong parameter in SoundPool file; fixed typo in security file.
David Friedman [Fri, 27 Sep 2013 17:04:48 +0000 (10:04 -0700)]
Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file.
Bug: 10807931 10796994

Change-Id: I8c8e07c3e8606d5983c2545fa6638af45650d27c

10 years agoMerge "API cleanups for Notification." into klp-dev
Daniel Sandler [Fri, 27 Sep 2013 16:08:45 +0000 (16:08 +0000)]
Merge "API cleanups for Notification." into klp-dev

10 years agoAPI cleanups for Notification.
Daniel Sandler [Mon, 23 Sep 2013 17:35:35 +0000 (13:35 -0400)]
API cleanups for Notification.

- Calling build() on a Style now goes through the same
  codepath as calling build() on the Builder.
- Documented new constants and unhidden classes.
- Fixed crash in Action.clone().

Bug: 10112103
Bug: 10461196
Change-Id: I08cd94790b538a361ccf8ff3682f6a86a7812b95

10 years agoMerge "Remove unused views when we return to keyguard" into klp-dev
John Spurlock [Fri, 27 Sep 2013 14:32:38 +0000 (14:32 +0000)]
Merge "Remove unused views when we return to keyguard" into klp-dev

10 years agoMerge "Restore scrim views to former place in view hierarchy." into klp-dev
John Spurlock [Fri, 27 Sep 2013 14:27:38 +0000 (14:27 +0000)]
Merge "Restore scrim views to former place in view hierarchy." into klp-dev

10 years agoRestore scrim views to former place in view hierarchy.
John Spurlock [Thu, 26 Sep 2013 16:14:33 +0000 (12:14 -0400)]
Restore scrim views to former place in view hierarchy.

By enabling KeyguardHostView to extend into the full screen area
and updating custom measure/layout in the Challenge layouts
appropriately.

Bug:10939005
Change-Id: I06fb187c4100cf0f2e48b1206cc4450afa4567dd

10 years agoDocs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file...
David Friedman [Fri, 27 Sep 2013 05:30:11 +0000 (22:30 -0700)]
Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed.
Bug: 10796099

Change-Id: Ideb1dbf70b9034e88683ef19ec1a3d338b7ea06b

10 years agoMerge "Fix conflicting/unclear documentation in InputConnection." into klp-dev
Jean Chalard [Fri, 27 Sep 2013 03:11:41 +0000 (03:11 +0000)]
Merge "Fix conflicting/unclear documentation in InputConnection." into klp-dev

10 years agoMerge "Would you like a dessert?" into klp-dev
Daniel Sandler [Fri, 27 Sep 2013 03:10:37 +0000 (03:10 +0000)]
Merge "Would you like a dessert?" into klp-dev

10 years agoMerge "Make directories always enabled, for realz." into klp-dev
Jeff Sharkey [Fri, 27 Sep 2013 02:55:04 +0000 (02:55 +0000)]
Merge "Make directories always enabled, for realz." into klp-dev

10 years agoMake directories always enabled, for realz.
Jeff Sharkey [Fri, 27 Sep 2013 02:42:52 +0000 (19:42 -0700)]
Make directories always enabled, for realz.

Bug: 10946731
Change-Id: I3eb132c53e47f31d1d1723ed2262823b54b1fce0

10 years agoMerge "Printers in the list of printers change position." into klp-dev
Svetoslav [Fri, 27 Sep 2013 02:24:38 +0000 (02:24 +0000)]
Merge "Printers in the list of printers change position." into klp-dev

10 years agoPrinters in the list of printers change position.
Svetoslav [Thu, 26 Sep 2013 22:55:47 +0000 (15:55 -0700)]
Printers in the list of printers change position.

1. The printers in the printers list of settings change position if
   they are updated. The settings app is using hidden platform APIs
   the this change fixes.

2. Enable ProGuard for the PrintSpooler.

3. Added icons on the list of printers so the user knows which
   print service used the printer. Now the user can know when
   he is using cloud print and maybe incurring data costs vs
   local printer discovered by a vendor plug in.

bug:10955751

Change-Id: I292f48b424cb561218fdb424d0388f4d786d8339

10 years agoMerge "Dismiss keyguard when resuming visible activities" into klp-dev
Craig Mautner [Fri, 27 Sep 2013 00:46:52 +0000 (00:46 +0000)]
Merge "Dismiss keyguard when resuming visible activities" into klp-dev

10 years agoMerge "Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu" into klp-dev
Adam Powell [Fri, 27 Sep 2013 00:46:09 +0000 (00:46 +0000)]
Merge "Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu" into klp-dev

10 years agoDismiss keyguard when resuming visible activities
Craig Mautner [Thu, 26 Sep 2013 23:42:55 +0000 (16:42 -0700)]
Dismiss keyguard when resuming visible activities

If an activity is visible behind the keyguard when it is launched
by another activity then there would be no call to dismissKeyguard.
Because the other activity is pausing the call to dismissKeyguard
is skipped in startActivityLocked(). And because it is already
visible the call to ActivityRecord.windowsVisible() is never made and
the call to reportActivityVisibleLocked() which calls
dismissKeyguard() is also never made.

This change recognizes when an activity is resumed and visible and
calls dismissKeyguard() in that case.

Fixes bug 10732489.

Change-Id: I3de1350a55231aaa14dadc8709fd0fcf4960742c

10 years agoMerge "Make fading transitions work better" into klp-dev
Chet Haase [Fri, 27 Sep 2013 00:26:21 +0000 (00:26 +0000)]
Merge "Make fading transitions work better" into klp-dev

10 years agoDocs: In the section "Determine if You Have an Internet Connection," I added to the...
David Friedman [Fri, 27 Sep 2013 00:19:43 +0000 (17:19 -0700)]
Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null.
Bug: 10797360

Change-Id: I95344c2200cad5efb6457a9cb8fcd0e87298dcda

10 years agoMerge "Fix for Text fading on RTL app names is done at the beginning..." into klp-dev
Raph Levien [Thu, 26 Sep 2013 23:31:48 +0000 (23:31 +0000)]
Merge "Fix for Text fading on RTL app names is done at the beginning..." into klp-dev

10 years agoam ef4e5e61: am 194925f9: am a8f519ff: add Wallet Instant Buy and Google Cloud Platfo...
Scott Main [Thu, 26 Sep 2013 23:25:24 +0000 (16:25 -0700)]
am ef4e5e61: am 194925f9: am a8f519ff: add Wallet Instant Buy and Google Cloud Platform to the Google services landing page.

* commit 'ef4e5e6182e020d0dd349848b38a33e0c33491b4':
  add Wallet Instant Buy and Google Cloud Platform to the Google services landing page.

10 years agoMerge "Fix Sending PAC Broadcast before downloaded" into klp-dev
Jason Monk [Thu, 26 Sep 2013 23:23:18 +0000 (23:23 +0000)]
Merge "Fix Sending PAC Broadcast before downloaded" into klp-dev

10 years agoam 194925f9: am a8f519ff: add Wallet Instant Buy and Google Cloud Platform to the...
Scott Main [Thu, 26 Sep 2013 23:23:06 +0000 (16:23 -0700)]
am 194925f9: am a8f519ff: add Wallet Instant Buy and Google Cloud Platform to the Google services landing page.

* commit '194925f9e894d35991920edbaa0681c1aea48120':
  add Wallet Instant Buy and Google Cloud Platform to the Google services landing page.

10 years agoam a8f519ff: add Wallet Instant Buy and Google Cloud Platform to the Google services...
Scott Main [Thu, 26 Sep 2013 23:20:41 +0000 (16:20 -0700)]
am a8f519ff: add Wallet Instant Buy and Google Cloud Platform to the Google services landing page.

* commit 'a8f519ff9cb38e97db34f5a7bac95a9e09ed5ade':
  add Wallet Instant Buy and Google Cloud Platform to the Google services landing page.

10 years agoadd Wallet Instant Buy and Google Cloud Platform to the Google services landing page.
Scott Main [Wed, 25 Sep 2013 23:47:19 +0000 (16:47 -0700)]
add Wallet Instant Buy and Google Cloud Platform to the Google services landing page.

Change-Id: I196ac5955477cd822bbf78a9cd4fd53a3d8fbd5f

10 years agoFix for Text fading on RTL app names is done at the beginning...
Raph Levien [Thu, 26 Sep 2013 22:57:07 +0000 (15:57 -0700)]
Fix for Text fading on RTL app names is done at the beginning...

This is a fix for bug 10918591 [Android][bidid][HH] "Text fading on RTL
app names is done at the beginning of the text, not at the end."

The old logic for getting the fade edge was not symmetric with respect
to the text direction - when the text was centered, it basically
always placed the fade edge at the left, which of course is appropriate
for LTR text but not RTL. This patch makes the two paths symmetric
and sensitive to text direction.

Change-Id: Ief7604aeb659d474864468d2f102a53f5b43d09e

10 years agoFix Sending PAC Broadcast before downloaded
Jason Monk [Mon, 23 Sep 2013 17:32:39 +0000 (13:32 -0400)]
Fix Sending PAC Broadcast before downloaded

The PacManager now waits until the local proxy is bound and the PAC file
is downloaded before sending out the proxy broadcast.

Bug: 10895515
Change-Id: Iaa7fc0989b52453aeeb720b44df0fca0fcb959ca

10 years agoAdd gravity settings to PopupWindow/ListPopupWindow/PopupMenu
Adam Powell [Thu, 26 Sep 2013 22:36:34 +0000 (15:36 -0700)]
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

10 years agoMerge "Update navbar camera icon and widget background assets in keyguard." into...
Jim Miller [Thu, 26 Sep 2013 22:27:15 +0000 (22:27 +0000)]
Merge "Update navbar camera icon and widget background assets in keyguard." into klp-dev

10 years agoRemove unused views when we return to keyguard
Jim Miller [Mon, 23 Sep 2013 22:43:07 +0000 (15:43 -0700)]
Remove unused views when we return to keyguard

This fixes a bug where launching the camera would move
the camera view to the root hierarchy.  In insecure mode, a
subsequent dismiss() comes in and tears down the view hierachy
before the event can be processed, which left the view in the
root hierarchy.

The fix is to remove all children when we reconstruct keyguard.

Fixes bug 10640209

Change-Id: Ia67a93cd219d2b906b6e3bdd04cc355eeffe857e

10 years agoExpose View.executeHardwareAction()
Romain Guy [Thu, 26 Sep 2013 21:57:30 +0000 (14:57 -0700)]
Expose View.executeHardwareAction()
Bug #10911502

Views creating hardware resources need a way to safely interact
with the hardware. This new method invokes HardwareRenderer.safelyRun()
which executes a Runnable after making sure the hardawre rendering
context is in a valid state.

With the OpenGL backend, executeHardwareAction() tries to call
eglMakeCurrent() if needed. This method is not guaranteed to
work.

Change-Id: I38ec65132eeba85605cffb1a6de12b7a0184e213

10 years agoMerge "Revert behavior to perform onResume." into klp-dev
Craig Mautner [Thu, 26 Sep 2013 21:43:23 +0000 (21:43 +0000)]
Merge "Revert behavior to perform onResume." into klp-dev

10 years agoMerge "clarify Paint flag docs" into klp-dev
Victoria Lease [Thu, 26 Sep 2013 21:40:55 +0000 (21:40 +0000)]
Merge "clarify Paint flag docs" into klp-dev

10 years agoAdd warning about using MergeCursor in CursorAdapter
Alan Viverette [Thu, 26 Sep 2013 21:38:14 +0000 (14:38 -0700)]
Add warning about using MergeCursor in CursorAdapter

BUG: 10606539
Change-Id: I0b0835e2dadb5e3800edd32619c433f9e764cd6e

10 years agoRevert behavior to perform onResume.
Craig Mautner [Thu, 26 Sep 2013 19:40:16 +0000 (12:40 -0700)]
Revert behavior to perform onResume.

Back out changes from CLs ag/363992 and ag/363859. These introduced
the bugs found in bug 10917435 which is now fixed. Note that backing
out these changes reintroduces bug 10732489.

Change-Id: Ic5105dd4cfc8bf79c6f06188283d1ee3680c370c

10 years agoMerge "Sigh." into klp-dev
Christopher Tate [Thu, 26 Sep 2013 21:10:38 +0000 (21:10 +0000)]
Merge "Sigh." into klp-dev

10 years agoMerge "PackageManager#queryIntentServices breaks its contract." into klp-dev
Svetoslav Ganov [Thu, 26 Sep 2013 21:10:19 +0000 (21:10 +0000)]
Merge "PackageManager#queryIntentServices breaks its contract." into klp-dev

10 years agoMerge "Choosing default paper size for the "Save to PDF" fake printer" into klp-dev
Svetoslav Ganov [Thu, 26 Sep 2013 21:09:25 +0000 (21:09 +0000)]
Merge "Choosing default paper size for the "Save to PDF" fake printer" into klp-dev

10 years agoMerge "Don't remove restrictions files that are valid" into klp-dev
Amith Yamasani [Thu, 26 Sep 2013 21:02:10 +0000 (21:02 +0000)]
Merge "Don't remove restrictions files that are valid" into klp-dev

10 years agoChoosing default paper size for the "Save to PDF" fake printer
Svetoslav Ganov [Thu, 26 Sep 2013 15:45:22 +0000 (08:45 -0700)]
Choosing default paper size for the "Save to PDF" fake printer

Change-Id: I1e2eb73fd1eb3b1e9812155b69b94cba261243c2

10 years agoclarify Paint flag docs
Victoria Lease [Tue, 24 Sep 2013 22:57:02 +0000 (15:57 -0700)]
clarify Paint flag docs

Bug: 10460797
Change-Id: Iae622b302cad3dc788f512b472e3a59ec227a8d7

10 years agoMake fading transitions work better
Chet Haase [Fri, 20 Sep 2013 23:33:08 +0000 (16:33 -0700)]
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

10 years agoMerge "Tighten flags enforcement, API to test Uris." into klp-dev
Jeff Sharkey [Thu, 26 Sep 2013 20:33:29 +0000 (20:33 +0000)]
Merge "Tighten flags enforcement, API to test Uris." into klp-dev

10 years agoMerge "Camera2: Fix focusRange type" into klp-dev
Zhijun He [Thu, 26 Sep 2013 20:28:19 +0000 (20:28 +0000)]
Merge "Camera2: Fix focusRange type" into klp-dev

10 years agoSigh.
Christopher Tate [Thu, 26 Sep 2013 20:11:55 +0000 (13:11 -0700)]
Sigh.

Bug 10746233

Change-Id: I18c84f2bd53a511fc86be42b5d72062650e5b289

10 years agoDon't remove restrictions files that are valid
Amith Yamasani [Thu, 26 Sep 2013 20:20:17 +0000 (13:20 -0700)]
Don't remove restrictions files that are valid

This fixes a bug in parsing the package name from a file name. The suffix
was not taken into account, resulting in all restrictions files being
removed on switching to a user.

Bug: 10947554
Change-Id: I62725bbbdc0e15609872de3896130d4acbc35386

10 years agoTighten flags enforcement, API to test Uris.
Jeff Sharkey [Thu, 26 Sep 2013 18:32:30 +0000 (11:32 -0700)]
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: 1091939110935608
Change-Id: Ifa6afefb95983558c8c64dc15ddf650e9fe07080

10 years agoMerge "New battery meter view bolt shape + color." into klp-dev
John Spurlock [Thu, 26 Sep 2013 20:10:19 +0000 (20:10 +0000)]
Merge "New battery meter view bolt shape + color." into klp-dev

10 years agoMerge "telephony: Set roam though same named operator" into klp-dev
Vineeta Srivastava [Thu, 26 Sep 2013 19:59:20 +0000 (19:59 +0000)]
Merge "telephony: Set roam though same named operator" into klp-dev

10 years agoMerge "Fix logic in fallback ringtone handling" into klp-dev
Marco Nelissen [Thu, 26 Sep 2013 19:56:12 +0000 (19:56 +0000)]
Merge "Fix logic in fallback ringtone handling" into klp-dev

10 years agotelephony: Set roam though same named operator
Sungmin Choi [Wed, 25 Sep 2013 09:16:46 +0000 (02:16 -0700)]
telephony: Set roam though same named operator

Show roaming icon though same named operators.
Though same mcc and same operator name, some operator want to roam.
For example, users of 40485 should see the roaming icon as using 40483
network though same Reliance network.
To do this, add 40483 item to values-mcc404-mnc85/config.xml

Bug: 1069904510703022
Change-Id: Ife1024ef10a29e43e32040800b25feca9f51fb62

Conflicts:
core/res/res/values/config.xml
core/res/res/values/symbols.xml

10 years agoWould you like a dessert?
Daniel Sandler [Thu, 26 Sep 2013 04:24:57 +0000 (00:24 -0400)]
Would you like a dessert?

Feel free to browse our lovely dessert case. You're sure to
find something to your liking; we have many familiar
favorites, as well as some rather rare and exotic pastries.

Bug: 10240151
Change-Id: I0f423e5993c049409d89b6be304f57a86974f15a

10 years agoam 6d49f698: am ce57e1a6: am 4c9ed63c: update the nav drawer lesson to link to new...
Scott Main [Thu, 26 Sep 2013 19:51:09 +0000 (12:51 -0700)]
am 6d49f698: am ce57e1a6: am 4c9ed63c: update the nav drawer lesson to link to new action bar icon pack, which now includes the nav drawer icon

* commit '6d49f6980bff8c4ec15db169128b439c0b732ac5':
  update the nav drawer lesson to link to new action bar icon pack, which now includes the nav drawer icon

10 years agoam ce57e1a6: am 4c9ed63c: update the nav drawer lesson to link to new action bar...
Scott Main [Thu, 26 Sep 2013 19:48:04 +0000 (12:48 -0700)]
am ce57e1a6: am 4c9ed63c: update the nav drawer lesson to link to new action bar icon pack, which now includes the nav drawer icon

* commit 'ce57e1a6f373c4f1c39b048adc1f2bbe6232be0e':
  update the nav drawer lesson to link to new action bar icon pack, which now includes the nav drawer icon

10 years agoam 4c9ed63c: update the nav drawer lesson to link to new action bar icon pack, which...
Scott Main [Thu, 26 Sep 2013 19:45:22 +0000 (12:45 -0700)]
am 4c9ed63c: update the nav drawer lesson to link to new action bar icon pack, which now includes the nav drawer icon

* commit '4c9ed63cc66c5558e3b0330b17df92e99290eaf7':
  update the nav drawer lesson to link to new action bar icon pack, which now includes the nav drawer icon

10 years agoFix logic in fallback ringtone handling
Marco Nelissen [Thu, 26 Sep 2013 19:44:55 +0000 (12:44 -0700)]
Fix logic in fallback ringtone handling

The existing code would only play a fallback ringtone if the requested
ringtone was one of the three ringtone uris that are defined by settings,
and it wasn't set to "silent".
Now it also plays the fallback for custom ringtone uris.

b/10891718

Change-Id: I79c2298c6497165e6845b98532cce0855347e50b

10 years agoam 95fdf3d9: am a37c524f: am 54f8facf: update action bar icon pack with xxhdpi assets...
Scott Main [Thu, 26 Sep 2013 19:42:26 +0000 (12:42 -0700)]
am 95fdf3d9: am a37c524f: am 54f8facf: update action bar icon pack with xxhdpi assets bug: 9761668

* commit '95fdf3d91fc49956daea8cdaf30f7a578fdbeb8b':
  update action bar icon pack with xxhdpi assets bug: 9761668

10 years agoMerge "Add RTL versions of wimax status bar icons." into klp-dev
John Spurlock [Thu, 26 Sep 2013 19:41:56 +0000 (19:41 +0000)]
Merge "Add RTL versions of wimax status bar icons." into klp-dev

10 years agoam a37c524f: am 54f8facf: update action bar icon pack with xxhdpi assets bug: 9761668
Scott Main [Thu, 26 Sep 2013 19:40:29 +0000 (12:40 -0700)]
am a37c524f: am 54f8facf: update action bar icon pack with xxhdpi assets bug: 9761668

* commit 'a37c524ffc4a0387fac79e8ad4ab6319eeb99fa8':
  update action bar icon pack with xxhdpi assets bug: 9761668

10 years agoupdate the nav drawer lesson to link to new action bar icon pack,
Scott Main [Thu, 26 Sep 2013 19:39:27 +0000 (12:39 -0700)]
update the nav drawer lesson to link to new action bar icon pack,
which now includes the nav drawer icon

Change-Id: I0d6452fa5b4856b96268763141d74dd8f83c221d

10 years agoam 54f8facf: update action bar icon pack with xxhdpi assets bug: 9761668
Scott Main [Thu, 26 Sep 2013 19:37:44 +0000 (12:37 -0700)]
am 54f8facf: update action bar icon pack with xxhdpi assets bug: 9761668

* commit '54f8facfc8d103e6dd7211bbabfe36d083798731':
  update action bar icon pack with xxhdpi assets bug: 9761668

10 years agoAdd RTL versions of wimax status bar icons.
John Spurlock [Thu, 26 Sep 2013 19:36:31 +0000 (15:36 -0400)]
Add RTL versions of wimax status bar icons.

Bug:7968781
Change-Id: I9f03d92f7682416ad4b99ecfb18317842b85163d

10 years agoPackageManager#queryIntentServices breaks its contract.
Svetoslav Ganov [Thu, 26 Sep 2013 06:52:36 +0000 (23:52 -0700)]
PackageManager#queryIntentServices breaks its contract.

PackageManager#queryIntentServices javadoc contract states that this
method (and the like) never returns null, rather an empty list if
no result is found. However, there is a path in the PackageManagerService
that returns null, thus breaking the contract. Handling the null list
explicitly.

bug:10930560

Change-Id: I708c51b8b7075e529145c8b0bf159efd6b697532

10 years agoupdate action bar icon pack with xxhdpi assets
Scott Main [Thu, 26 Sep 2013 19:30:30 +0000 (12:30 -0700)]
update action bar icon pack with xxhdpi assets
bug: 9761668

Change-Id: Ib76dec4f90052c803c224f6489876644ee2f44ab

10 years agoMerge "Adding hidden APIs for observing the print jobs state." into klp-dev
Svetoslav Ganov [Thu, 26 Sep 2013 19:22:19 +0000 (19:22 +0000)]
Merge "Adding hidden APIs for observing the print jobs state." into klp-dev

10 years agoMerge "Disallow range selection if the document has unknown page count." into klp-dev
Svetoslav Ganov [Thu, 26 Sep 2013 19:21:06 +0000 (19:21 +0000)]
Merge "Disallow range selection if the document has unknown page count." into klp-dev

10 years agoMerge "Missed signal in FusedPrintersLoader." into klp-dev
Svetoslav Ganov [Thu, 26 Sep 2013 19:20:28 +0000 (19:20 +0000)]
Merge "Missed signal in FusedPrintersLoader." into klp-dev

10 years agoMerge "Page range validation edge case handling." into klp-dev
Svetoslav Ganov [Thu, 26 Sep 2013 19:19:39 +0000 (19:19 +0000)]
Merge "Page range validation edge case handling." into klp-dev

10 years agoMerge "Fix crash in ApduServiceInfo parsing." into klp-dev
Martijn Coenen [Thu, 26 Sep 2013 18:48:20 +0000 (18:48 +0000)]
Merge "Fix crash in ApduServiceInfo parsing." into klp-dev

10 years agoFix crash in ApduServiceInfo parsing.
Martijn Coenen [Thu, 26 Sep 2013 18:20:37 +0000 (11:20 -0700)]
Fix crash in ApduServiceInfo parsing.

Bug: 10949100
Change-Id: I181734074b071179ea5637a070714643508bc64b

10 years agoMerge "Update external storage permission strings." into klp-dev
Jeff Sharkey [Thu, 26 Sep 2013 18:16:50 +0000 (18:16 +0000)]
Merge "Update external storage permission strings." into klp-dev

10 years agoam f0b67e1f: am cf5a962b: am e405da02: Doc fix: remove insecure sharing suggestions...
Adam Koch [Thu, 26 Sep 2013 18:12:24 +0000 (11:12 -0700)]
am f0b67e1f: am cf5a962b: am e405da02: Doc fix: remove insecure sharing suggestions from training class Bug: 10841151

* commit 'f0b67e1f30a8d2825cc99004c1c9141bb866b719':
  Doc fix: remove insecure sharing suggestions from training class Bug: 10841151

10 years agoam cf5a962b: am e405da02: Doc fix: remove insecure sharing suggestions from training...
Adam Koch [Thu, 26 Sep 2013 18:10:34 +0000 (11:10 -0700)]
am cf5a962b: am e405da02: Doc fix: remove insecure sharing suggestions from training class Bug: 10841151

* commit 'cf5a962b05aabcdd2c7a25081772af2e7f2a62d5':
  Doc fix: remove insecure sharing suggestions from training class Bug: 10841151

10 years agoam e405da02: Doc fix: remove insecure sharing suggestions from training class Bug...
Adam Koch [Thu, 26 Sep 2013 18:06:17 +0000 (11:06 -0700)]
am e405da02: Doc fix: remove insecure sharing suggestions from training class Bug: 10841151

* commit 'e405da02208145d2ea8de0759c0f0027d4560840':
  Doc fix: remove insecure sharing suggestions from training class Bug: 10841151

10 years agoUpdate external storage permission strings.
Jeff Sharkey [Thu, 26 Sep 2013 18:01:56 +0000 (11:01 -0700)]
Update external storage permission strings.

Bug: 10681853
Change-Id: I92ee1a349b1dd5fcd08d1e7cb936a77774d72da6

10 years agoMerge "Directories are always enabled; update assets." into klp-dev
Jeff Sharkey [Thu, 26 Sep 2013 17:58:41 +0000 (17:58 +0000)]
Merge "Directories are always enabled; update assets." into klp-dev

10 years agoDoc fix: remove insecure sharing suggestions from training class
Adam Koch [Wed, 25 Sep 2013 20:30:26 +0000 (16:30 -0400)]
Doc fix: remove insecure sharing suggestions from training class
Bug: 10841151

Change-Id: I11de149d512340d098a8c23661cd6f6a342718d5

10 years agoDirectories are always enabled; update assets.
Jeff Sharkey [Thu, 26 Sep 2013 17:54:16 +0000 (10:54 -0700)]
Directories are always enabled; update assets.

Fix bug where item enabled state depended on FLAG_SUPPORTS_WRITE;
directories are now always enabled.  Also unifies enabled testing.

Bug: 1090321010946731
Change-Id: I241533d273dfe4a2146bb322a8bd93066bf4ef55

10 years agoCamera2: Fix focusRange type
Zhijun He [Thu, 26 Sep 2013 17:39:36 +0000 (10:39 -0700)]
Camera2: Fix focusRange type

It should be a pair of floats.

Bug: 10360518
Change-Id: Ic0aee6c08eee385ecbf634bafc769e08dc199c1f

10 years agoMerge "Add Graphics alloc tracking via memtrack" into klp-dev
Adam Lesinski [Thu, 26 Sep 2013 17:22:30 +0000 (17:22 +0000)]
Merge "Add Graphics alloc tracking via memtrack" into klp-dev

10 years agoMerge "Add QuickSettings all-caps override for certain locales. (Bug 10518893)" into...
Winson Chung [Thu, 26 Sep 2013 17:17:18 +0000 (17:17 +0000)]
Merge "Add QuickSettings all-caps override for certain locales. (Bug 10518893)" into klp-dev

10 years agoMerge "Camera2: Fix Camera integration test deadlock" into klp-dev
Zhijun He [Thu, 26 Sep 2013 17:06:49 +0000 (17:06 +0000)]
Merge "Camera2: Fix Camera integration test deadlock" into klp-dev

10 years agoMerge "Updated quick settings assets." into klp-dev
Daniel Sandler [Thu, 26 Sep 2013 16:51:21 +0000 (16:51 +0000)]
Merge "Updated quick settings assets." into klp-dev

10 years agoMerge "De-blue the add lock screen widget pressed state" into klp-dev
Mindy Pereira [Thu, 26 Sep 2013 16:47:59 +0000 (16:47 +0000)]
Merge "De-blue the add lock screen widget pressed state" into klp-dev

10 years agoMerge "De-blue notification backgrounds" into klp-dev
Mindy Pereira [Thu, 26 Sep 2013 16:47:44 +0000 (16:47 +0000)]
Merge "De-blue notification backgrounds" into klp-dev

10 years agoMerge "Fix issue #10919261: Don't clear OP_WRITE_SMS when resetting app prefs" into...
Dianne Hackborn [Thu, 26 Sep 2013 16:41:14 +0000 (16:41 +0000)]
Merge "Fix issue #10919261: Don't clear OP_WRITE_SMS when resetting app prefs" into klp-dev