OSDN Git Service

android-x86/frameworks-base.git
10 years agoShow spinner while waiting for mutations.
Jeff Sharkey [Wed, 23 Oct 2013 22:46:38 +0000 (15:46 -0700)]
Show spinner while waiting for mutations.

When mutation operations are waiting for a storage backend, show a
spinner in place of the save button.

Bug: 11333249
Change-Id: I2b620b4532ad977a2b60d4bdc5caa55f89021456

10 years agoAdd notification docs to DocumentsProvider.
Jeff Sharkey [Wed, 23 Oct 2013 19:14:34 +0000 (12:14 -0700)]
Add notification docs to DocumentsProvider.

Bug: 11272209
Change-Id: I97d67c91c4f4a312cbde82afd9e27509c26517b2

10 years agoUpdate roots when data cleared, refresh UI.
Jeff Sharkey [Wed, 23 Oct 2013 16:59:06 +0000 (09:59 -0700)]
Update roots when data cleared, refresh UI.

Data cleared usually means accounts went away, so kick off roots
refresh.  Also update any visible UI after a refresh finishes.

Bug: 10899793
Change-Id: Id68c80b5e635e358cfd75f4961ce13cd1c7c5f82

10 years agoTreat document thumbnails as preemptable.
Jeff Sharkey [Wed, 23 Oct 2013 00:09:44 +0000 (17:09 -0700)]
Treat document thumbnails as preemptable.

When a more important request comes along, preempt all outstanding
thumbnail requests.

Bug: 11317901
Change-Id: I164fc8d804bb9c471e6da3f8127228043b3ca482

10 years agoMerge "Add Nexus 5 to Device Art Generator." into klp-dev
Roman Nurik [Tue, 22 Oct 2013 16:06:20 +0000 (16:06 +0000)]
Merge "Add Nexus 5 to Device Art Generator." into klp-dev

10 years agoMerge "Do not delete stacks that are not empty." into klp-dev
Craig Mautner [Tue, 22 Oct 2013 04:31:12 +0000 (04:31 +0000)]
Merge "Do not delete stacks that are not empty." into klp-dev

10 years agoDo not delete stacks that are not empty.
Craig Mautner [Tue, 22 Oct 2013 03:05:26 +0000 (20:05 -0700)]
Do not delete stacks that are not empty.

The possibility existed that an activity was set to a task that it was
already being set to. If that were to happen, and it was the only
activity in the only task of the stack the stack would be deleted.
This fixes that situation and logs it as well to confirm that it does
fix bug 11272935. Logging to be deleted upon successful monkey run
exhibiting the log.

Change-Id: I436fdcc9a3734adad81d3ef90f29b93b3ac4dfcd

10 years agoMerge "Fix issues catching up to touch events after a short pause." into klp-dev
Jeff Brown [Tue, 22 Oct 2013 01:03:54 +0000 (01:03 +0000)]
Merge "Fix issues catching up to touch events after a short pause." into klp-dev

10 years agoMerge "Don't set same country code on supplicant again and again" into klp-dev
Robert Greenwalt [Tue, 22 Oct 2013 00:59:39 +0000 (00:59 +0000)]
Merge "Don't set same country code on supplicant again and again" into klp-dev

10 years agoMerge "Preserve window sizes when rebatching alarms" into klp-dev
Christopher Tate [Tue, 22 Oct 2013 00:58:42 +0000 (00:58 +0000)]
Merge "Preserve window sizes when rebatching alarms" into klp-dev

10 years agoDon't set same country code on supplicant again and again
Vinit Deshapnde [Mon, 21 Oct 2013 18:58:40 +0000 (11:58 -0700)]
Don't set same country code on supplicant again and again

Setting the same code is redundant, and may cause supplicant to drop
currently connected connection.

Bug: 11303252
Change-Id: I1af57b3af2d0b8cc51939a8b9872fb3fe0105a91

10 years agoPreserve window sizes when rebatching alarms
Christopher Tate [Tue, 22 Oct 2013 00:51:31 +0000 (17:51 -0700)]
Preserve window sizes when rebatching alarms

The existing code wasn't retaining the requested window bounds, if any,
and so could wind up rebatching alarms into much longer potential
delivery windows than originally demanded by the caller.  This could
wind up delivering alarms outside their designated windows entirely.

Bug 11324357

Change-Id: I4d418cd08702e397b3c7692b412d4bf51d5d9e4b

10 years agoPrevent having multiple seek runnables in flight.
Jim Miller [Mon, 21 Oct 2013 00:21:57 +0000 (17:21 -0700)]
Prevent having multiple seek runnables in flight.

This fix ensures that only one runnable is running at a time, no matter how
many events come in.  There's probably a better way to do this, but this is a
safe fix.

Fixes bug 11307391

Change-Id: I007c95062b20285571f39603c95fb9174b9a2da3

10 years agoMerge "Fix jank for translucent window transitions" into klp-dev
Adam Lesinski [Tue, 22 Oct 2013 00:13:16 +0000 (00:13 +0000)]
Merge "Fix jank for translucent window transitions" into klp-dev

10 years agoFix jank for translucent window transitions
Adam Lesinski [Mon, 21 Oct 2013 21:56:47 +0000 (14:56 -0700)]
Fix jank for translucent window transitions

When a translucent window is closing, the transition
animation to Launcher is janky because Launcher is
expected to be 'opening' but it has always been open
underneath the translucent window. Therefore, the
animation applied to the translucent app appears
janky.

bug:11253262
Change-Id: I9b6af3291d119e6927401f63785b12f25573f4eb

10 years agoMerge "Workaround for corner case in TransitionManager" into klp-dev
Jim Miller [Mon, 21 Oct 2013 23:10:01 +0000 (23:10 +0000)]
Merge "Workaround for corner case in TransitionManager" into klp-dev

10 years agoMerge "Change pairing api/intent permission from PRIVILEGED to ADMIN" into klp-dev
Matthew Xie [Mon, 21 Oct 2013 22:58:53 +0000 (22:58 +0000)]
Merge "Change pairing api/intent permission from PRIVILEGED to ADMIN" into klp-dev

10 years agoWorkaround for corner case in TransitionManager
Jim Miller [Mon, 21 Oct 2013 22:36:54 +0000 (15:36 -0700)]
Workaround for corner case in TransitionManager

This works around a problem where removing a review with unfinished
transitions results in leaked object references to KeyguardTransportControlView.

The workaround disables transitions until we have a better fix.

Fixes bug 11307391

Change-Id: I1df82f2c6f1cd9f5c9076d4c76cfd4aec3b6806c

10 years agoMerge "Fix CountryDetector NPE" into klp-dev
Jay Shrauner [Mon, 21 Oct 2013 22:23:54 +0000 (22:23 +0000)]
Merge "Fix CountryDetector NPE" into klp-dev

10 years agoAdd Nexus 5 to Device Art Generator.
Roman Nurik [Mon, 21 Oct 2013 22:11:58 +0000 (18:11 -0400)]
Add Nexus 5 to Device Art Generator.

Change-Id: I101ec82b1d50c6437e96165fb8ac6c73d451ff84

10 years agoChange pairing api/intent permission from PRIVILEGED to ADMIN
Matthew Xie [Mon, 21 Oct 2013 21:56:33 +0000 (14:56 -0700)]
Change pairing api/intent permission from PRIVILEGED to ADMIN

The APIs are createBond, setPin, setPairingConfirmation
The intent is ACTION_PAIRING_REQUEST
bug 11101076

Change-Id: I3a314efd973b3ce078ab5347159c336f222d9f15

10 years agoMerge "Make setting PAC require CONNECTIVITY_INTERNAL" into klp-dev
Jason Monk [Mon, 21 Oct 2013 21:40:17 +0000 (21:40 +0000)]
Merge "Make setting PAC require CONNECTIVITY_INTERNAL" into klp-dev

10 years agoMerge "DO NOT MERGE Fix null pointer exception when updating rotation tile. (Bug...
Winson Chung [Mon, 21 Oct 2013 21:16:22 +0000 (21:16 +0000)]
Merge "DO NOT MERGE Fix null pointer exception when updating rotation tile. (Bug 11111473)" into klp-dev

10 years agoMerge "Don't clip keyguard security container children (e.g. glow pad)" into klp-dev
Alan Viverette [Mon, 21 Oct 2013 20:48:57 +0000 (20:48 +0000)]
Merge "Don't clip keyguard security container children (e.g. glow pad)" into klp-dev

10 years agoMake setting PAC require CONNECTIVITY_INTERNAL
Jason Monk [Mon, 21 Oct 2013 16:43:53 +0000 (12:43 -0400)]
Make setting PAC require CONNECTIVITY_INTERNAL

Also disables all setting of PAC networks through the internal AsyncChannel
methods.  PAC can only be saved through addOrUpdateNetwork for permission
checks.

Bug: 11316946
Change-Id: I51016b578080c342a5e5d536ea9a3fdd4fe16644

10 years agoMerge "Fix typo for radio technology" into klp-dev
Wink Saville [Mon, 21 Oct 2013 19:03:18 +0000 (19:03 +0000)]
Merge "Fix typo for radio technology" into klp-dev

10 years agoFix CountryDetector NPE
Jay Shrauner [Mon, 21 Oct 2013 18:54:19 +0000 (11:54 -0700)]
Fix CountryDetector NPE

Fix CountryDetector NPE by calling CallerInfo.getCurrentCountryIso() which
checks for potential nulls.

Bug:11291034
Change-Id: I0a4412c432551c64ec30652d69636442653ee337

10 years agoMerge "Fix priv-app edge case across OTAs" into klp-dev
Christopher Tate [Mon, 21 Oct 2013 18:31:14 +0000 (18:31 +0000)]
Merge "Fix priv-app edge case across OTAs" into klp-dev

10 years agoFix typo for radio technology
Sungmin Choi [Sun, 20 Oct 2013 00:26:11 +0000 (17:26 -0700)]
Fix typo for radio technology

Bug: 11317677
Change-Id: I792517f4c3aa568b014d6c2bc0023ce5255f8abb

10 years agoMerge "Implement language-specific GSUB processing" into klp-dev
Victoria Lease [Mon, 21 Oct 2013 15:55:29 +0000 (15:55 +0000)]
Merge "Implement language-specific GSUB processing" into klp-dev

10 years agoMerge "Don't run the async query if being rendered in EditMode." into klp-dev
Deepanshu Gupta [Mon, 21 Oct 2013 02:51:19 +0000 (02:51 +0000)]
Merge "Don't run the async query if being rendered in EditMode." into klp-dev

10 years agoMerge "add xml attributes to IME javadoc" into klp-dev
Scott Main [Sun, 20 Oct 2013 22:28:10 +0000 (22:28 +0000)]
Merge "add xml attributes to IME javadoc" into klp-dev

10 years agoMerge "Move the IME navigation guard view up to decor." into klp-dev
John Spurlock [Sat, 19 Oct 2013 17:03:54 +0000 (17:03 +0000)]
Merge "Move the IME navigation guard view up to decor." into klp-dev

10 years agoFix priv-app edge case across OTAs
Christopher Tate [Sat, 19 Oct 2013 01:11:05 +0000 (18:11 -0700)]
Fix priv-app edge case across OTAs

In this case:

   1. Privileged system app FOO is overlain by an installed update,
   2. FOO was replaced during an OTA,
   3. The new in-system FOO introduced new privileged permission requests
      that had not been requested by the original FOO,
   4. the update version of FOO still had a higher version code than
      the new FOO on the system disk, and
   5. the update version of FOO had been requesting these same (newly-
      added-to-system-apk) permissions all along;

then the newly-added privileged permission requests were incorrectly being
refused.  FOO should be able to use any privileged permission used by the
APK sited on the system disk; but instead, it was only being granted the
permissions used by the *original* version of FOO, even though the system
FOO now attempted to use them.

Still with me?

The fix is to (a) properly track privileged-install state when processing
known-to-be-hidden system packages, and (b) to tie the semantics of the
permission grant more explicitly to that evaluated state, rather than
using the prior (rather fragile) fixed-up privilege calculation applied
to the overlain apk's parse records.

Bug 11271490

Change-Id: Id8a45d667e52f3b5d18109e3620d5865f85bb9c9

10 years agoMerge "Revert "Fix dodgy states of keyguard transport controls"" into klp-dev
Jim Miller [Sat, 19 Oct 2013 01:08:11 +0000 (01:08 +0000)]
Merge "Revert "Fix dodgy states of keyguard transport controls"" into klp-dev

10 years agoRevert "Fix dodgy states of keyguard transport controls"
Jim Miller [Sat, 19 Oct 2013 01:00:16 +0000 (01:00 +0000)]
Revert "Fix dodgy states of keyguard transport controls"

This reverts commit bdb5ac7ddbabec0ba947a32937d8b95738d513dc.

Change-Id: Iea8db9a590a2a3b65d941b2918345eb27f690240

10 years agoMerge "Restore 4 classes that were accidentally deleted" into klp-dev
Jonathan Dixon [Sat, 19 Oct 2013 00:35:23 +0000 (00:35 +0000)]
Merge "Restore 4 classes that were accidentally deleted" into klp-dev

10 years agoMerge "Hide the print dialog if the printing activity is destroyed." into klp-dev
Svetoslav Ganov [Sat, 19 Oct 2013 00:26:44 +0000 (00:26 +0000)]
Merge "Hide the print dialog if the printing activity is destroyed." into klp-dev

10 years agoRestore 4 classes that were accidentally deleted
Jonathan Dixon [Fri, 18 Oct 2013 23:51:53 +0000 (16:51 -0700)]
Restore 4 classes that were accidentally deleted

Bug 11291911

These deleted classes were previously public APIs and so need to remain
in the build (but hidden) in order to keep existing apps working.
(Partially reverts Change-Id: I02549a71104b35d86d99058c71f43e054730ec7d)

Change-Id: I28e53b056f41e66645136f5e18fba2ff55a65fe5

10 years agoadd xml attributes to IME javadoc
Scott Main [Fri, 18 Oct 2013 23:07:47 +0000 (16:07 -0700)]
add xml attributes to IME javadoc

Change-Id: I7a3505753188ba23777391a286d8595ed64777cb

10 years agoMove the IME navigation guard view up to decor.
John Spurlock [Fri, 18 Oct 2013 21:34:42 +0000 (17:34 -0400)]
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

10 years agofix javadoc link
Scott Main [Fri, 18 Oct 2013 21:43:02 +0000 (14:43 -0700)]
fix javadoc link

Change-Id: I509fb12393ee0b8bf78ff4110fc18420739f7c58

10 years agoMerge "Do not show immersive mode help in touch exploration mode." into klp-dev
John Spurlock [Fri, 18 Oct 2013 21:08:56 +0000 (21:08 +0000)]
Merge "Do not show immersive mode help in touch exploration mode." into klp-dev

10 years agoMerge "Prune unneeded density resources from APK" into klp-dev
Adam Lesinski [Fri, 18 Oct 2013 20:36:58 +0000 (20:36 +0000)]
Merge "Prune unneeded density resources from APK" into klp-dev

10 years agoMerge "Printer list items have wrong width." into klp-dev
Svetoslav [Fri, 18 Oct 2013 20:27:05 +0000 (20:27 +0000)]
Merge "Printer list items have wrong width." into klp-dev

10 years agoMerge "Clear the caller identity when dumping print system state." into klp-dev
Svetoslav [Fri, 18 Oct 2013 20:26:37 +0000 (20:26 +0000)]
Merge "Clear the caller identity when dumping print system state." into klp-dev

10 years agoHide the print dialog if the printing activity is destroyed.
Svetoslav Ganov [Fri, 18 Oct 2013 05:20:40 +0000 (22:20 -0700)]
Hide the print dialog if the printing activity is destroyed.

1. For an app to print it creates a PrintDocumentAdapter implementation
   which is passed to the print dialog activity. If the activity that
   created the adapter is destroyed then the adapter, which may rely on
   the activity state, may be in an invalid state. For example, an app
   creates an adapter and calls print resuting in the app activity and
   the print dialog activity being stacked. Now the user rotates the
   device which triggers the recreating of the activity stack (assume the
   app does not handle rotation). The recreated print dialog activity
   receives the intent that originally created it with containing the
   adapter that was constructed in the context of the old, now destroyed,
   app activity instance.

   To handle this we are limiting an app to be able to print only from
   and activity and when this activity is destroyed we mark the adapter
   as invalid which will result in hiding the print dialog activity. Note
   that if the app process is killed we already handle this in the print
   dialog activiy by registering a death recipient on the adapter binder.

2. In the PrintManager.PrintDocumentAdapterDelegate some of the state is
   accessed only on the main thread and some from miltiple threads. The
   code was trying to avoid locking for state that is not accessed by
   multiple threads but this is error prone and the benefit does not
   justify the complexity and added fragility. Now grabbing a lock all
   the time.

3. The PrintJobConfigActivity waits for it to bind to the print spooler
   service before instantiating its print controller and editor. However,
   these can be accessed by invoking some of the activity cycle callbacks.
   This change is adding null checks for the case where the activity
   callbacks are called before the binding to the spooler is completed.

bug:11242661

Change-Id: Id906b3170e4f0a0553772dfa62686f06fdca0eaf

10 years agoDo not show immersive mode help in touch exploration mode.
Daniel Sandler [Fri, 18 Oct 2013 19:53:27 +0000 (15:53 -0400)]
Do not show immersive mode help in touch exploration mode.

Bug: 11277364
Change-Id: Ifafcbff38e34c0ef08d9a466d93ce591369183a3

10 years agoMerge "Layoutlib Create: Remove references to java package class Objects." into klp-dev
Deepanshu Gupta [Fri, 18 Oct 2013 20:04:20 +0000 (20:04 +0000)]
Merge "Layoutlib Create: Remove references to java package class Objects." into klp-dev

10 years agoDon't run the async query if being rendered in EditMode.
Deepanshu Gupta [Fri, 18 Oct 2013 18:22:46 +0000 (11:22 -0700)]
Don't run the async query if being rendered in EditMode.

Skips the QueryHandler if the QuickContactBadge widget is being rendered
in edit mode.

Bug: 11288332
Change-Id: I04b115292f61afc7f515787fa4a396bc6ea56a16

10 years agoDO NOT MERGE Fix null pointer exception when updating rotation tile. (Bug 11111473)
Winson Chung [Fri, 18 Oct 2013 01:26:00 +0000 (18:26 -0700)]
DO NOT MERGE Fix null pointer exception when updating rotation tile. (Bug 11111473)

This occurs when switching users on devices that
don't have a rotation lock quick settings tile.

Change-Id: I738ca15ca754be90cec7eaf3a8eda3e38ed96b33
(cherry picked from commit e8f50a1400d288e6fd7c20ec7947270e204ee57d)

10 years agoRelayout the immersive cling in the correct thread.
Daniel Sandler [Fri, 18 Oct 2013 16:05:04 +0000 (12:05 -0400)]
Relayout the immersive cling in the correct thread.

Bug: 11266364
Change-Id: Ia629262ff0c362a5a45b6c5822be080cefcb8c56

10 years agoLayoutlib Create: Remove references to java package class Objects.
Deepanshu Gupta [Fri, 18 Oct 2013 03:06:44 +0000 (20:06 -0700)]
Layoutlib Create: Remove references to java package class Objects.

Remove references to Java 7 class java.util.Objects and replace it with
a new class that can be loaded on Java 6.

Change-Id: Ibbd9b20b8bc89e247f1d0c48d743d06d1a4f0704

10 years agoFix issues catching up to touch events after a short pause.
Jeff Brown [Fri, 18 Oct 2013 02:40:40 +0000 (19:40 -0700)]
Fix issues catching up to touch events after a short pause.

When the app spends more than half a second responding to a touch
event, the input dispatch eventually decides to stop sending it
events until it catches up.  (This is when the ANR clock starts.)
However, due to a bug in the timing logic, if the app eventually
does respond again we would resume delivery but only send one
event at a time until the queue was completely drained again.
This meant it could take a long time to catch up and process all
events.

The problem is that we were comparing the current time with the
waiting event time.  So when events became older than half a second,
we would simply stop streaming and end up serialized.

This change fixes the timing logic such that the streaming timeout
is based on the delivery time of the waiting event rather than
the event time itself.  Now we only stop streaming when it has
been over half a second since the waiting event was delivered
so we resume streaming immediately as soon as some waiting
events are handled.

Bug: 11278743
Change-Id: Ic8c68ee372a07f7caa4168eefcabf9b8a8ad5d87

10 years agoMerge "Log view root, input and looper state in bug reports." into klp-dev
Jeff Brown [Fri, 18 Oct 2013 02:08:19 +0000 (02:08 +0000)]
Merge "Log view root, input and looper state in bug reports." into klp-dev

10 years agoMerge "Fix layoutlib for KK" into klp-dev
Deepanshu Gupta [Fri, 18 Oct 2013 02:07:30 +0000 (02:07 +0000)]
Merge "Fix layoutlib for KK" into klp-dev

10 years agoMerge "Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView" into...
Deepanshu Gupta [Fri, 18 Oct 2013 02:07:24 +0000 (02:07 +0000)]
Merge "Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView" into klp-dev

10 years agoMerge "Make dump messages asynchronous." into klp-dev
Jeff Brown [Fri, 18 Oct 2013 02:07:18 +0000 (02:07 +0000)]
Merge "Make dump messages asynchronous." into klp-dev

10 years agoMerge "Include external storage devices in DocumentsUI." into klp-dev
Jeff Sharkey [Fri, 18 Oct 2013 01:46:52 +0000 (01:46 +0000)]
Merge "Include external storage devices in DocumentsUI." into klp-dev

10 years agoMerge "Plumb through physical device UUID and label." into klp-dev
Jeff Sharkey [Fri, 18 Oct 2013 01:45:58 +0000 (01:45 +0000)]
Merge "Plumb through physical device UUID and label." into klp-dev

10 years agoMerge "Fix issue #11256132: Add density bucket for all real numbers between 0 and...
Dianne Hackborn [Fri, 18 Oct 2013 01:24:57 +0000 (01:24 +0000)]
Merge "Fix issue #11256132: Add density bucket for all real numbers between 0 and ∞..." into klp-dev

10 years agoFix issue #11256132: Add density bucket for all real numbers between 0 and ∞...
Dianne Hackborn [Fri, 18 Oct 2013 00:28:09 +0000 (17:28 -0700)]
Fix issue #11256132: Add density bucket for all real numbers between 0 and ∞...

Well, how about 400.  400 is a real number.

Change-Id: I29ac61b7d629d582c7b68367365a7f81fcf679a2

10 years agoMerge "Fix issue where keyguard adds widgets before the system is ready" into klp-dev
Jim Miller [Thu, 17 Oct 2013 23:17:18 +0000 (23:17 +0000)]
Merge "Fix issue where keyguard adds widgets before the system is ready" into klp-dev

10 years agoMerge "Change how we use provisioning url so post works" into klp-dev
Robert Greenwalt [Thu, 17 Oct 2013 23:00:41 +0000 (23:00 +0000)]
Merge "Change how we use provisioning url so post works" into klp-dev

10 years agoChange how we use provisioning url so post works
Robert Greenwalt [Thu, 17 Oct 2013 19:46:52 +0000 (12:46 -0700)]
Change how we use provisioning url so post works

Needed to do an http post instead of a get for one carrier.
Do this by putting an auto-submitting form in the data to be
interpreted as a html doc by the browser.  The ACTION_VIEW
intent only works on http uri, but by specifying ACTION_MAIN/
CATEGORY_APP_BROWSER we could use data:text/html.

bug:11168810
Change-Id: Ifd33e1c3c7f9f40b6add39e446e6a7d7cde22549

10 years agoadditional javadoc for NfcAdapter.ReaderCallback
Scott Main [Thu, 17 Oct 2013 18:57:06 +0000 (11:57 -0700)]
additional javadoc for NfcAdapter.ReaderCallback

Change-Id: I3cad8b43d53992bb3d53920abb510456ee72afb5

10 years agoMerge "Fix assorted FastScroller regressions" into klp-dev
Alan Viverette [Thu, 17 Oct 2013 18:30:25 +0000 (18:30 +0000)]
Merge "Fix assorted FastScroller regressions" into klp-dev

10 years agoLayoutlib: Add DateIntervalFormat_Delegate required by CalendarView
Deepanshu Gupta [Thu, 17 Oct 2013 17:06:16 +0000 (10:06 -0700)]
Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView

Change-Id: Ica79267a4eb231db833cb0232cfacf419fe73de3

10 years agoMerge "All printers list has incorrect padding and item height." into klp-dev
Svetoslav Ganov [Thu, 17 Oct 2013 18:06:55 +0000 (18:06 +0000)]
Merge "All printers list has incorrect padding and item height." into klp-dev

10 years agoInclude external storage devices in DocumentsUI.
Jeff Sharkey [Thu, 17 Oct 2013 17:52:17 +0000 (10:52 -0700)]
Include external storage devices in DocumentsUI.

Include volume UUID in generated document IDs to uniquely identify
volumes over time.  Show volume label to users.  Watch for mount
changes to update available roots.

Bug: 11175082
Change-Id: Ia151bde768587468efde0c1d97a740b5353d1582

10 years agoAll printers list has incorrect padding and item height.
Svetoslav Ganov [Thu, 17 Oct 2013 16:53:05 +0000 (09:53 -0700)]
All printers list has incorrect padding and item height.

1. We were using the layout for the printer drop down from the
   print dialog as the list item in the all printers activity.
   This layout was not high enough. Now we have a separate
   layout for the drop down and for the list. Note that they
   are almost identical but this is better that writing java
   code to lookup the height from the theme and change it
   programatically since the java code is almost half the size
   of the layout and leads to spreading the logic in both the
   layout file and the java code.

2. The padding of the printers list was not correct. Now it
   mimics the bahavior in settings where we change the padding
   based on orientation.

bug:11261157

Change-Id: I8507c4ee86e9196fe1777cf9577f1886ccfbb1ad

10 years agoMerge "Fix stale data in keyguard transport control display" into klp-dev
Adam Powell [Thu, 17 Oct 2013 17:29:52 +0000 (17:29 +0000)]
Merge "Fix stale data in keyguard transport control display" into klp-dev

10 years agoMerge "Register receivers from ViewFlipper with an explicit Handler" into klp-dev
Adam Powell [Thu, 17 Oct 2013 17:26:10 +0000 (17:26 +0000)]
Merge "Register receivers from ViewFlipper with an explicit Handler" into klp-dev

10 years agoMerge "Input method root view should have BOTTOM gravity." into klp-dev
John Spurlock [Thu, 17 Oct 2013 16:30:45 +0000 (16:30 +0000)]
Merge "Input method root view should have BOTTOM gravity." into klp-dev

10 years agoMerge "Increase size of broadcast history lists on non-svelte devices." into klp-dev
Dianne Hackborn [Thu, 17 Oct 2013 16:13:24 +0000 (16:13 +0000)]
Merge "Increase size of broadcast history lists on non-svelte devices." into klp-dev

10 years agoam 873c76d0: am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right...
Deepanshu Gupta [Thu, 17 Oct 2013 16:09:19 +0000 (09:09 -0700)]
am 873c76d0: am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev

* commit '873c76d0475def6f89fe02458828a549a7a7b5a2':
  Fix CalendarView to show the right month and year label.

10 years agoam 92a80b18: am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in...
Deepanshu Gupta [Thu, 17 Oct 2013 16:09:16 +0000 (09:09 -0700)]
am 92a80b18: am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev

* commit '92a80b1830082d109be4902c357424535305130d':
  Layoutlib: Update the wifi icon in the status bar.

10 years agoam 9568ad39: am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.
Deepanshu Gupta [Thu, 17 Oct 2013 16:09:12 +0000 (09:09 -0700)]
am 9568ad39: am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.

* commit '9568ad393194cbd42866e64dada88207b44462a6':
  Fix DatePicker and Calendar widget in layoutlib.

10 years agoam 7dc35060: am df076962: am 1cf5df38: Layoutlib Create: Remove references to non...
Deepanshu Gupta [Thu, 17 Oct 2013 16:09:08 +0000 (09:09 -0700)]
am 7dc35060: am df076962: am 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.

* commit '7dc35060a828c473dcc75d13d31edaa75768a40f':
  Layoutlib Create: Remove references to non-std Java classes.

10 years agoam fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right month and year...
Deepanshu Gupta [Thu, 17 Oct 2013 16:06:46 +0000 (09:06 -0700)]
am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev

* commit 'fb1ee08ca4424969c148760937d18ec0e3de206c':
  Fix CalendarView to show the right month and year label.

10 years agoam 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in the status bar...
Deepanshu Gupta [Thu, 17 Oct 2013 16:06:42 +0000 (09:06 -0700)]
am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev

* commit '9b827a7d6dcb8c60411a24e2c8970f3fc24f0380':
  Layoutlib: Update the wifi icon in the status bar.

10 years agoam 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.
Deepanshu Gupta [Thu, 17 Oct 2013 16:06:39 +0000 (09:06 -0700)]
am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.

* commit '94e5ada7d629f125262fcc052cf15355a34a678a':
  Fix DatePicker and Calendar widget in layoutlib.

10 years agoam df076962: am 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.
Deepanshu Gupta [Thu, 17 Oct 2013 16:06:34 +0000 (09:06 -0700)]
am df076962: am 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.

* commit 'df0769628e2bfcefb5f78375b74775b3a825ca9f':
  Layoutlib Create: Remove references to non-std Java classes.

10 years agoam a49c3585: Merge "Fix CalendarView to show the right month and year label." into...
Deepanshu Gupta [Thu, 17 Oct 2013 16:03:37 +0000 (09:03 -0700)]
am a49c3585: Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev

* commit 'a49c3585762ab7543d1f2445a7460d26ccb51538':
  Fix CalendarView to show the right month and year label.

10 years agoam ec555902: Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev
Deepanshu Gupta [Thu, 17 Oct 2013 16:03:34 +0000 (09:03 -0700)]
am ec555902: Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev

* commit 'ec555902169b9c64163abddf079a6a81f6fcafb4':
  Layoutlib: Update the wifi icon in the status bar.

10 years agoam 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.
Deepanshu Gupta [Thu, 17 Oct 2013 16:03:31 +0000 (09:03 -0700)]
am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.

* commit '81f74f4bc96ea4266cebe1b785d095558f540800':
  Fix DatePicker and Calendar widget in layoutlib.

10 years agoam 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.
Deepanshu Gupta [Thu, 17 Oct 2013 16:03:27 +0000 (09:03 -0700)]
am 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.

* commit '1cf5df38f4bdafa1beb2674ca548ad6d9650766b':
  Layoutlib Create: Remove references to non-std Java classes.

10 years agoMerge "Fix CalendarView to show the right month and year label." into jb-mr2-dev
Deepanshu Gupta [Thu, 17 Oct 2013 16:01:07 +0000 (16:01 +0000)]
Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev

10 years agoMerge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev
Deepanshu Gupta [Thu, 17 Oct 2013 16:00:57 +0000 (16:00 +0000)]
Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev

10 years agoIncrease size of broadcast history lists on non-svelte devices.
Dianne Hackborn [Thu, 17 Oct 2013 06:34:35 +0000 (23:34 -0700)]
Increase size of broadcast history lists on non-svelte devices.

Change-Id: Ibd25379778dac8eb1aed30d4788e032f290d9b69

10 years agoFix layoutlib for KK
Deepanshu Gupta [Thu, 17 Oct 2013 03:27:51 +0000 (20:27 -0700)]
Fix layoutlib for KK

Fix a NPE, update the native methods for NinePatch and update an ICU
method to return the right value as required by DatePicker widget.

Bug: 11140701
Change-Id: Id92fc5359acf6dde1bcdbc781aaf637fdb6eecbf

10 years agoFix issue where keyguard adds widgets before the system is ready
Jim Miller [Thu, 17 Oct 2013 01:15:46 +0000 (18:15 -0700)]
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

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 17 Oct 2013 01:08:30 +0000 (01:08 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 17 Oct 2013 00:57:29 +0000 (17:57 -0700)]
Import translations. DO NOT MERGE

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

10 years agomerge in klp-release (no-op)
Ed Heyl [Thu, 17 Oct 2013 00:42:40 +0000 (17:42 -0700)]
merge in klp-release (no-op)

10 years agoPrinter list items have wrong width.
Svetoslav [Wed, 16 Oct 2013 23:41:30 +0000 (16:41 -0700)]
Printer list items have wrong width.

1. There was leftover code in the printers adapter that was
   hard coding the item width with no reason to do so.

2. Changed the icon view visibility to invisible to allow
   the text of all list items including save to PDF and all
   printers to be left aligned.

bug:11225340

Change-Id: I5b51d0d30577699f5cd73c7c58521358653d135b

10 years agoRegister receivers from ViewFlipper with an explicit Handler
Adam Powell [Wed, 16 Oct 2013 23:43:41 +0000 (16:43 -0700)]
Register receivers from ViewFlipper with an explicit Handler

Make sure that the BroadcastReceiver registered by ViewFlipper
enforces that messages come in on the correct (UI) thread.

Bug 11228463

Change-Id: I97f2a1c392f9c58a99afebc60170c9656bba86ad

10 years agoam e90993bb: am 61884867: am 2d96a0d3: FileProvider training fix: add note about...
Joe Fernandez [Wed, 16 Oct 2013 23:40:17 +0000 (16:40 -0700)]
am e90993bb: am 61884867: am 2d96a0d3: FileProvider training fix: add note about Support Lib to setup lesson

* commit 'e90993bb5d30521fcb858702493b55836628b8b2':
  FileProvider training fix: add note about Support Lib to setup lesson

10 years agoMerge "Camera2: filter bad faces" into klp-dev
Zhijun He [Wed, 16 Oct 2013 23:39:24 +0000 (23:39 +0000)]
Merge "Camera2: filter bad faces" into klp-dev

10 years agoam 61884867: am 2d96a0d3: FileProvider training fix: add note about Support Lib to...
Joe Fernandez [Wed, 16 Oct 2013 23:37:48 +0000 (16:37 -0700)]
am 61884867: am 2d96a0d3: FileProvider training fix: add note about Support Lib to setup lesson

* commit '6188486766230318ee1e4b91164f3c69c5a4359a':
  FileProvider training fix: add note about Support Lib to setup lesson