114186 Commits

Author SHA1 Message Date
John Spurlock
1eeb5ff203 am d4595bd1: Merge "Move the IME navigation guard view up to decor." into klp-dev
* commit 'd4595bd1e60ba03be3dac3cae3fc2d3ae2433c7d':
  Move the IME navigation guard view up to decor.
2013-10-19 10:05:23 -07:00
John Spurlock
d4595bd1e6 Merge "Move the IME navigation guard view up to decor." into klp-dev 2013-10-19 17:03:55 +00:00
Jim Miller
495bd54c63 am 42b7b692: Merge "Revert "Fix dodgy states of keyguard transport controls"" into klp-dev
* commit '42b7b6927cd31679691b216d1ba09be31c24206e':
  Revert "Fix dodgy states of keyguard transport controls"
2013-10-18 18:10:57 -07:00
Jim Miller
42b7b6927c Merge "Revert "Fix dodgy states of keyguard transport controls"" into klp-dev 2013-10-19 01:08:12 +00:00
Jim Miller
4d20ed3f26 Revert "Fix dodgy states of keyguard transport controls"
This reverts commit bdb5ac7ddbabec0ba947a32937d8b95738d513dc.

Change-Id: Iea8db9a590a2a3b65d941b2918345eb27f690240
2013-10-19 01:00:16 +00:00
Jonathan Dixon
d47be03137 am 43e533de: Merge "Restore 4 classes that were accidentally deleted" into klp-dev
* commit '43e533dea968bec3e53ba8046934145a0fa48a4f':
  Restore 4 classes that were accidentally deleted
2013-10-18 17:37:53 -07:00
Jonathan Dixon
43e533dea9 Merge "Restore 4 classes that were accidentally deleted" into klp-dev 2013-10-19 00:35:23 +00:00
Svetoslav Ganov
a53e1f8138 am 23757527: Merge "Hide the print dialog if the printing activity is destroyed." into klp-dev
* commit '237575278de8cae5d20ee333fcb2ccceee257d67':
  Hide the print dialog if the printing activity is destroyed.
2013-10-18 17:29:05 -07:00
Svetoslav Ganov
237575278d Merge "Hide the print dialog if the printing activity is destroyed." into klp-dev 2013-10-19 00:26:44 +00:00
Jonathan Dixon
74fc73f62b 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
2013-10-18 17:10:34 -07:00
John Spurlock
ae3349e1c3 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
2013-10-18 18:41:22 -04:00
Scott Main
6f756e561a am 96844ed8: fix javadoc link
* commit '96844ed886cc887a34bfc2fd04fc569d9c098623':
  fix javadoc link
2013-10-18 14:50:54 -07:00
Scott Main
96844ed886 fix javadoc link
Change-Id: I509fb12393ee0b8bf78ff4110fc18420739f7c58
2013-10-18 14:43:02 -07:00
John Spurlock
0945bc1503 am ac2d61a2: Merge "Do not show immersive mode help in touch exploration mode." into klp-dev
* commit 'ac2d61a2d731946afed300d63039d6d712fd7f4c':
  Do not show immersive mode help in touch exploration mode.
2013-10-18 14:12:15 -07:00
John Spurlock
ac2d61a2d7 Merge "Do not show immersive mode help in touch exploration mode." into klp-dev 2013-10-18 21:08:58 +00:00
Adam Lesinski
16e8c4f7db am 7d292145: Merge "Prune unneeded density resources from APK" into klp-dev
* commit '7d292145f1266b9ba4a231498c84265ad5193bdc':
  Prune unneeded density resources from APK
2013-10-18 13:41:24 -07:00
Adam Lesinski
7d292145f1 Merge "Prune unneeded density resources from APK" into klp-dev 2013-10-18 20:36:58 +00:00
Svetoslav
0acad1de81 am 30d9161b: Merge "Printer list items have wrong width." into klp-dev
* commit '30d9161b8e84652d9ac504b70adacaf729fdb58b':
  Printer list items have wrong width.
2013-10-18 13:28:32 -07:00
Svetoslav
8784135245 am 7f11d0db: Merge "Clear the caller identity when dumping print system state." into klp-dev
* commit '7f11d0db2da2fefe5e1ee4d34df0aee2c26863b7':
  Clear the caller identity when dumping print system state.
2013-10-18 13:28:28 -07:00
Svetoslav
30d9161b8e Merge "Printer list items have wrong width." into klp-dev 2013-10-18 20:27:06 +00:00
Svetoslav
7f11d0db2d Merge "Clear the caller identity when dumping print system state." into klp-dev 2013-10-18 20:26:38 +00:00
Svetoslav Ganov
858a1850e2 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
2013-10-18 13:12:06 -07:00
Deepanshu Gupta
5a6541ebc7 am b4f33d8f: Merge "Layoutlib Create: Remove references to java package class Objects." into klp-dev
* commit 'b4f33d8f3e5926c29d848680834006bc455110c1':
  Layoutlib Create: Remove references to java package class Objects.
2013-10-18 13:06:34 -07:00
Daniel Sandler
900ece502f Do not show immersive mode help in touch exploration mode.
Bug: 11277364
Change-Id: Ifafcbff38e34c0ef08d9a466d93ce591369183a3
2013-10-18 16:05:07 -04:00
Deepanshu Gupta
b4f33d8f3e Merge "Layoutlib Create: Remove references to java package class Objects." into klp-dev 2013-10-18 20:04:20 +00:00
Daniel Sandler
62c198719a am da35dded: Relayout the immersive cling in the correct thread.
* commit 'da35dded4d7882567eab913b25a7cf2f456d2543':
  Relayout the immersive cling in the correct thread.
2013-10-18 11:39:43 -07:00
Daniel Sandler
da35dded4d Relayout the immersive cling in the correct thread.
Bug: 11266364
Change-Id: Ia629262ff0c362a5a45b6c5822be080cefcb8c56
2013-10-18 12:05:04 -04:00
Deepanshu Gupta
45f5cd49fa 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
2013-10-17 20:06:44 -07:00
Jeff Brown
3e3296e526 am 82f31701: Merge "Log view root, input and looper state in bug reports." into klp-dev
* commit '82f31701141f5c3057b162cba1d57f78cbad5091':
  Log view root, input and looper state in bug reports.
2013-10-17 19:10:00 -07:00
Deepanshu Gupta
ddc069cbb0 am 6c3a638d: Merge "Fix layoutlib for KK" into klp-dev
* commit '6c3a638dd852634097447ca7fea9210539529110':
  Fix layoutlib for KK
2013-10-17 19:09:56 -07:00
Deepanshu Gupta
e1abede32f am 29cf698d: Merge "Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView" into klp-dev
* commit '29cf698d1a0b015408e86c0fce2b0783fda86b92':
  Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView
2013-10-17 19:09:53 -07:00
Jeff Brown
86ca500ed1 am f10ba7c7: Merge "Make dump messages asynchronous." into klp-dev
* commit 'f10ba7c7dcca29d6476cbbb8a36540281df3f23e':
  Make dump messages asynchronous.
2013-10-17 19:09:50 -07:00
Jeff Brown
82f3170114 Merge "Log view root, input and looper state in bug reports." into klp-dev 2013-10-18 02:08:20 +00:00
Deepanshu Gupta
6c3a638dd8 Merge "Fix layoutlib for KK" into klp-dev 2013-10-18 02:07:30 +00:00
Deepanshu Gupta
29cf698d1a Merge "Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView" into klp-dev 2013-10-18 02:07:24 +00:00
Jeff Brown
f10ba7c7dc Merge "Make dump messages asynchronous." into klp-dev 2013-10-18 02:07:18 +00:00
Jeff Sharkey
1a5804d7aa am 0c0f1e2e: Merge "Include external storage devices in DocumentsUI." into klp-dev
* commit '0c0f1e2eac76a3b65349d4d5d6cc8c63a393f025':
  Include external storage devices in DocumentsUI.
2013-10-17 18:50:34 -07:00
Jeff Sharkey
306bb90d97 am 8f4c15d8: Merge "Plumb through physical device UUID and label." into klp-dev
* commit '8f4c15d8e48c25d8f626afef7c9f5cb2c7747e0c':
  Plumb through physical device UUID and label.
2013-10-17 18:50:30 -07:00
Jeff Sharkey
0c0f1e2eac Merge "Include external storage devices in DocumentsUI." into klp-dev 2013-10-18 01:46:52 +00:00
Jeff Sharkey
8f4c15d8e4 Merge "Plumb through physical device UUID and label." into klp-dev 2013-10-18 01:45:58 +00:00
Dianne Hackborn
63a16e0e0c am 6834ae69: Merge "Fix issue #11256132: Add density bucket for all real numbers between 0 and ∞..." into klp-dev
* commit '6834ae6922625d2001eeb4f73f7fcd0df3a71f3c':
  Fix issue #11256132: Add density bucket for all real numbers between 0 and ∞...
2013-10-17 18:27:25 -07:00
Dianne Hackborn
6834ae6922 Merge "Fix issue #11256132: Add density bucket for all real numbers between 0 and ∞..." into klp-dev 2013-10-18 01:25:00 +00:00
Dianne Hackborn
09acb7ca89 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
2013-10-17 17:28:09 -07:00
Jim Miller
0149127198 am 53cb242f: Merge "Fix issue where keyguard adds widgets before the system is ready" into klp-dev
* commit '53cb242f39c9ccfee3381ff28625e74e365d29b7':
  Fix issue where keyguard adds widgets before the system is ready
2013-10-17 16:19:31 -07:00
Jim Miller
53cb242f39 Merge "Fix issue where keyguard adds widgets before the system is ready" into klp-dev 2013-10-17 23:17:19 +00:00
Robert Greenwalt
20c811dd3b am b1f0bba1: Merge "Change how we use provisioning url so post works" into klp-dev
* commit 'b1f0bba1bd516d7136f585c69e6802b65315db0b':
  Change how we use provisioning url so post works
2013-10-17 16:03:48 -07:00
Scott Main
12e067fd38 am b38ad76a: additional javadoc for NfcAdapter.ReaderCallback
* commit 'b38ad76a829f9bdbc27e86647de31a5ad19f117a':
  additional javadoc for NfcAdapter.ReaderCallback
2013-10-17 16:03:45 -07:00
Robert Greenwalt
b1f0bba1bd Merge "Change how we use provisioning url so post works" into klp-dev 2013-10-17 23:00:42 +00:00
Robert Greenwalt
536b3c2b6c 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
2013-10-17 12:46:52 -07:00
Scott Main
b38ad76a82 additional javadoc for NfcAdapter.ReaderCallback
Change-Id: I3cad8b43d53992bb3d53920abb510456ee72afb5
2013-10-17 11:57:06 -07:00