116004 Commits

Author SHA1 Message Date
Scott Main
96844ed886 fix javadoc link
Change-Id: I509fb12393ee0b8bf78ff4110fc18420739f7c58
2013-10-18 14:43:02 -07:00
John Spurlock
18e82e7928 am 0945bc15: am ac2d61a2: Merge "Do not show immersive mode help in touch exploration mode." into klp-dev
* commit '0945bc15034ac05d2ca803f6297b03dcbcbea2d8':
  Do not show immersive mode help in touch exploration mode.
2013-10-18 14:15:29 -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
91b47365f6 am 16e8c4f7: am 7d292145: Merge "Prune unneeded density resources from APK" into klp-dev
* commit '16e8c4f7db87d743410751410c7f761350792fe2':
  Prune unneeded density resources from APK
2013-10-18 13:45:19 -07: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
1fb5ea3853 am 0acad1de: am 30d9161b: Merge "Printer list items have wrong width." into klp-dev
* commit '0acad1de81799f765863118092caef0b6d306df5':
  Printer list items have wrong width.
2013-10-18 13:30:28 -07:00
Svetoslav
bfb5144457 am 87841352: am 7f11d0db: Merge "Clear the caller identity when dumping print system state." into klp-dev
* commit '8784135245567a4f234b2704549215ad65ef092b':
  Clear the caller identity when dumping print system state.
2013-10-18 13:30:25 -07: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
02b6e6b191 am 5a6541eb: am b4f33d8f: Merge "Layoutlib Create: Remove references to java package class Objects." into klp-dev
* commit '5a6541ebc787c5a54e89c0bf65f029660778736a':
  Layoutlib Create: Remove references to java package class Objects.
2013-10-18 13:09:58 -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
Elliott Hughes
9f13a608a7 am 2ec939ba: am cf4c7bdd: Merge "Fix whitespace issues after casts."
* commit '2ec939bac6263fefee2605d2b50136955cfcba6d':
  Fix whitespace issues after casts.
2013-10-18 12:11:42 -07:00
Elliott Hughes
f585655b4e am 4a5b3f0a: am ac6e036a: Merge "Remove dependency on jniGetNonMovableArrayElements."
* commit '4a5b3f0ad0b742fbdce154236b15185aaff87ffb':
  Remove dependency on jniGetNonMovableArrayElements.
2013-10-18 12:11:38 -07:00
Elliott Hughes
2ec939bac6 am cf4c7bdd: Merge "Fix whitespace issues after casts."
* commit 'cf4c7bdd1c108345596ebf77ab9c853da9235de5':
  Fix whitespace issues after casts.
2013-10-18 12:07:52 -07:00
Deepanshu Gupta
34e9c69658 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
2013-10-18 12:07:52 -07:00
Elliott Hughes
4a5b3f0ad0 am ac6e036a: Merge "Remove dependency on jniGetNonMovableArrayElements."
* commit 'ac6e036a787de7582ec1556038f7170b3a020fcb':
  Remove dependency on jniGetNonMovableArrayElements.
2013-10-18 12:07:43 -07:00
Daniel Sandler
06e75cf4ed am 62c19871: am da35dded: Relayout the immersive cling in the correct thread.
* commit '62c198719afa30eaaa0fe52caed5ed8c520ba6ce':
  Relayout the immersive cling in the correct thread.
2013-10-18 11:43:14 -07: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
Elliott Hughes
cf4c7bdd1c Merge "Fix whitespace issues after casts." 2013-10-18 18:05:27 +00:00
Mathieu Chartier
6ecb7a9a27 Fix whitespace issues after casts.
Change-Id: Ief3e50fbedd193e22509aac783f16ba1288908de
2013-10-18 11:04:31 -07:00
Elliott Hughes
ac6e036a78 Merge "Remove dependency on jniGetNonMovableArrayElements." 2013-10-18 18:01:12 +00:00
Mathieu Chartier
7384b428c4 Remove dependency on jniGetNonMovableArrayElements.
jniGetNonMovableArrayElements is not safe and is going to be deleted.

Change-Id: I6daae1e4ac9e01ca593cda522fdbeb774eef1eff
(cherry picked from commit 75a5038849cecf38aba72721272ff07cca09501f)
2013-10-18 10:58:25 -07:00
Winson Chung
0e9ce34d1c 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)
2013-10-18 09:50:37 -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
786dccf9f5 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
2013-10-17 19:40:40 -07:00
Jeff Brown
83bf440440 am 3e3296e5: am 82f31701: Merge "Log view root, input and looper state in bug reports." into klp-dev
* commit '3e3296e526663306237fe551527146286e14f4e4':
  Log view root, input and looper state in bug reports.
2013-10-17 19:13:30 -07:00
Deepanshu Gupta
d32ebf5744 am ddc069cb: am 6c3a638d: Merge "Fix layoutlib for KK" into klp-dev
* commit 'ddc069cbb0a7edd289f4920ab42dca7e8111a359':
  Fix layoutlib for KK
2013-10-17 19:13:23 -07:00
Deepanshu Gupta
188d519ec5 am e1abede3: am 29cf698d: Merge "Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView" into klp-dev
* commit 'e1abede32fc913098b7c449e3369eb1d5bda77e2':
  Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView
2013-10-17 19:13:19 -07:00
Jeff Brown
1a53f76d52 am 86ca500e: am f10ba7c7: Merge "Make dump messages asynchronous." into klp-dev
* commit '86ca500ed14a524c467596cc7c663b88db72038d':
  Make dump messages asynchronous.
2013-10-17 19:13:16 -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
703840da8a am 1a5804d7: am 0c0f1e2e: Merge "Include external storage devices in DocumentsUI." into klp-dev
* commit '1a5804d7aa253432f37fbd5d8eb89ac363501fe9':
  Include external storage devices in DocumentsUI.
2013-10-17 18:53:26 -07:00
Jeff Sharkey
47938450b4 am 306bb90d: am 8f4c15d8: Merge "Plumb through physical device UUID and label." into klp-dev
* commit '306bb90d97da583c3728d35073ebcb7f7ca5c467':
  Plumb through physical device UUID and label.
2013-10-17 18:53:15 -07: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