OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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

10 years agoMerge "Add APIs for an advanced print options activity." into klp-dev
Svetoslav [Wed, 16 Oct 2013 23:35:35 +0000 (23:35 +0000)]
Merge "Add APIs for an advanced print options activity." into klp-dev

10 years agoPlumb through physical device UUID and label.
Jeff Sharkey [Wed, 16 Oct 2013 23:21:54 +0000 (16:21 -0700)]
Plumb through physical device UUID and label.

vold now parse out UUID and label for inserted physical devices,
and reports them to framework.  Add these to hidden StorageVolume
class for use by DocumentsUI and MediaProvider.

Remove last JNI method in FileUtils!

Bug: 11175082
Change-Id: I1cfcd1ade61767b103f693319ea2600008ee2e3c

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

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

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 16 Oct 2013 23:21:04 +0000 (23:21 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 16 Oct 2013 23:20:39 +0000 (23:20 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 16 Oct 2013 23:20:09 +0000 (23:20 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 16 Oct 2013 23:19:58 +0000 (23:19 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoCamera2: filter bad faces
Zhijun He [Wed, 16 Oct 2013 23:13:50 +0000 (16:13 -0700)]
Camera2: filter bad faces

Filter bad face score and ids.

Bug: 11257538
Change-Id: I9beb042e8c0d2f08a3efcd2877deee036b80482f

10 years agoMerge "Doc change: add i/o 2013 design video embeds to videos page." into klp-dev
Dirk Dougherty [Wed, 16 Oct 2013 23:10:12 +0000 (23:10 +0000)]
Merge "Doc change: add i/o 2013 design video embeds to videos page." into klp-dev

10 years agoMerge "some javadoc improvements for virtual display and new meta tag name" into...
Scott Main [Wed, 16 Oct 2013 23:01:01 +0000 (23:01 +0000)]
Merge "some javadoc improvements for virtual display and new meta tag name" into klp-dev

10 years agoAdd APIs for an advanced print options activity.
Svetoslav [Wed, 16 Oct 2013 17:57:48 +0000 (10:57 -0700)]
Add APIs for an advanced print options activity.

This is the API part needed to implement support for custom print
options by a print service. Some printers have quite fancy options
and we want users to benefit using them.

bug:11241800

Change-Id: I3a9df771c0ded559b61c597c686795840d702b27

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 16 Oct 2013 22:18:56 +0000 (15:18 -0700)]
Import translations. DO NOT MERGE

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

10 years agoFix DatePicker and Calendar widget in layoutlib.
Deepanshu Gupta [Sun, 13 Oct 2013 01:37:19 +0000 (18:37 -0700)]
Fix DatePicker and Calendar widget in layoutlib.

Issue: https://code.google.com/p/android/issues/detail?id=59732
Change-Id: I281b3fdad88c591281a3645592c84f3e2cb61d09

10 years agoFix CalendarView to show the right month and year label.
Deepanshu Gupta [Tue, 15 Oct 2013 01:14:58 +0000 (18:14 -0700)]
Fix CalendarView to show the right month and year label.

Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9

10 years agoLayoutlib Create: Remove references to non-std Java classes.
Deepanshu Gupta [Tue, 10 Sep 2013 22:41:21 +0000 (15:41 -0700)]
Layoutlib Create: Remove references to non-std Java classes.

Do not add the non-standard Java classes. Updates the references to all
non-standard classes to new classes in
com.android.tools.layoulib.create package. This also treats
java.lang.AutoCloseable which is part of Java 7 similarly so that we can
still run on Java 6.

Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589

10 years agoFileProvider training fix: add note about Support Lib to setup lesson
Joe Fernandez [Wed, 16 Oct 2013 22:05:48 +0000 (15:05 -0700)]
FileProvider training fix: add note about Support Lib to setup lesson

Change-Id: I7c513705a22bdac390ac260a3d70bdd771c998e7

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 16 Oct 2013 21:40:31 +0000 (14:40 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 16 Oct 2013 21:38:03 +0000 (14:38 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 16 Oct 2013 21:36:28 +0000 (14:36 -0700)]
Import translations. DO NOT MERGE

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

10 years agosome javadoc improvements for virtual display and
Scott Main [Wed, 16 Oct 2013 20:57:46 +0000 (13:57 -0700)]
some javadoc improvements for virtual display and
new meta tag name

Change-Id: If9caba425f825652468a0f3e868f71ed1a778fb1

10 years agoMerge "Fix issue #11217255: Setup Wizard ANR when adding new user profile from settin...
Dianne Hackborn [Wed, 16 Oct 2013 21:00:29 +0000 (21:00 +0000)]
Merge "Fix issue #11217255: Setup Wizard ANR when adding new user profile from settings." into klp-dev

10 years agoFix issue #11217255: Setup Wizard ANR when adding new user profile from settings.
Dianne Hackborn [Wed, 16 Oct 2013 20:34:33 +0000 (13:34 -0700)]
Fix issue #11217255: Setup Wizard ANR when adding new user profile from settings.

Two problems addressed here:

- If a call to startActivity() comes in on an activity that is finishing, we can
  end up putting the new activity in a stack that isn't actually in use any more
  (if the finishing activity is the last one on that stack).  This is a bad case,
  anyway, so if this happen the treat it as not being called on an existing
  activity and switch to NEW_TASK to find a task for it.

- There was a bug in handling PACKAGE_CHANGE broadcasts that would result in the
  app's processes being killed, even though the cleanup through the activities
  was done.  This could leave the activity stack in a bad state.  Fix this to
  correctly provide an app id for the changing package so that its processes are
  killed.

Change-Id: Iece04e0cf95025c3d30353d68bf3d14fd39d44c3

10 years agoInput method root view should have BOTTOM gravity.
John Spurlock [Wed, 16 Oct 2013 20:28:50 +0000 (16:28 -0400)]
Input method root view should have BOTTOM gravity.

The window had BOTTOM gravity, but the root view was using the
LinearLayout default (START | TOP), meaning an IME with a tall
inputArea could effectively push the navigation bar guard view
off screen.

This change simply uses BOTTOM instead of TOP for the root view.

Bug:11237795
Change-Id: I681c2b1eddac53589e0d168f09a183d67b1e5322

10 years agoam a4825fbe: am 655d8c40: am 4aa6b10c: add some search suggestions
Scott Main [Wed, 16 Oct 2013 18:29:58 +0000 (11:29 -0700)]
am a4825fbe: am 655d8c40: am 4aa6b10c: add some search suggestions

* commit 'a4825fbe24871c57cc855c7d8640a92d114c0514':
  add some search suggestions

10 years agoam 655d8c40: am 4aa6b10c: add some search suggestions
Scott Main [Wed, 16 Oct 2013 18:27:46 +0000 (11:27 -0700)]
am 655d8c40: am 4aa6b10c: add some search suggestions

* commit '655d8c40092730c8029299eb28961263eaad086c':
  add some search suggestions