Commit Graph

235150 Commits

Author SHA1 Message Date
yangren
8d718e1c96 TIF: Add information of TvInputHardwareManager to dumpsys
Add function dump() to TvInputHardwareManager.

Bug: 22774343
Change-Id: I22e923b95724e4db42824743026c050412a3d28c
2016-02-20 16:50:16 +09:00
Shreyas Basarge
c0a4e6c504 NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df am: 20339172bd am: 20c518816a am: 7f35fa7365 am: 08f781bd82 -s ours
am: 0cbfdd3a20

* commit '0cbfdd3a201f6565a54aa87c3de09955e328c451':
  NPE fix for SyncStorageEngine read authority
2016-02-20 07:40:37 +00:00
Shreyas Basarge
0cbfdd3a20 NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df am: 20339172bd am: 20c518816a am: 7f35fa7365
am: 08f781bd82  -s ours

* commit '08f781bd8215d452cd2761f69889a69d1a736ea7':
  NPE fix for SyncStorageEngine read authority
2016-02-20 07:29:49 +00:00
Hui Shu
2e63744172 Merge "Support for webview drag and drop" into nyc-dev am: b3e63f9daa
am: f622e60a11

* commit 'f622e60a110f3791ef0c5a812bcae5eeab48a88c':
  Support for webview drag and drop
2016-02-20 07:28:40 +00:00
Siyamed Sinir
7af618db71 Merge "JavaDoc for ReplacementSpan getSize & draw functions." into nyc-dev am: 74615b9859
am: 8771900fd3

* commit '8771900fd3ab44bcd7370259e4f6668e9cf6b0ee':
  JavaDoc for ReplacementSpan getSize & draw functions.
2016-02-20 07:26:37 +00:00
Svetoslav Ganov
4c435f08a4 Merge "Clear binder id before creating pending intent as the system." into nyc-dev am: 1b5d292fbb
am: c96fe2e7e2

* commit 'c96fe2e7e23037bdbf8d7fcdf2913106888e24f9':
  Clear binder id before creating pending intent as the system.
2016-02-20 07:25:28 +00:00
Vadim Tryshev
48c411fe4b Merge "Add preloading wallpaper to the getWallpaper call." into nyc-dev am: d8330cea98
am: a55c5dba41

* commit 'a55c5dba41aa65638204e82e136c06f1d0856634':
  Add preloading wallpaper to the getWallpaper call.
2016-02-20 07:24:23 +00:00
Jason Monk
f84df878f3 Merge "Fix QS Open on single finger scroll" into nyc-dev am: 11c4fd411a
am: aa5a2dbfb3

* commit 'aa5a2dbfb39de25fb8ed05ad8c801aaf0c2b264c':
  Fix QS Open on single finger scroll
2016-02-20 07:23:13 +00:00
Jiabin Huang
63f2971dee Merge "TIF: optimize android.media.tv.Tvcontract.Programs.Genres#decode" into nyc-dev
am: 079cf52336

* commit '079cf523365e4018d1a439e1a32bb30d79c069c3':
  TIF: optimize android.media.tv.Tvcontract.Programs.Genres#decode
2016-02-20 07:07:55 +00:00
Jiabin Huang
079cf52336 Merge "TIF: optimize android.media.tv.Tvcontract.Programs.Genres#decode" into nyc-dev 2016-02-20 07:01:29 +00:00
Jiabin
0388f0e503 TIF: optimize android.media.tv.Tvcontract.Programs.Genres#decode
test result:
 Decode function takes about 0.25 seconds with 1350 channels in Live Channels.
 The original one takes about 0.37 seconds in the same test case.

Bug: 23307587
Change-Id: I3a1fefe0b3e6c1986c8f515259658f2e3e23011f
2016-02-20 14:22:33 +09:00
Lifu Tang
5675956499 Merge "Finalized GPS=>GNSS changes with documents" into nyc-dev
am: 116229b797

* commit '116229b79711e45f8da97ecd7b3437431d3d8327':
  Finalized GPS=>GNSS changes with documents
2016-02-20 05:04:32 +00:00
Lifu Tang
116229b797 Merge "Finalized GPS=>GNSS changes with documents" into nyc-dev 2016-02-20 04:58:17 +00:00
Yang Ren
91cdfb22cb Merge "Revert "TIF: Add information of TvInputHardwareManager to dumpsys"" 2016-02-20 03:41:31 +00:00
Dianne Hackborn
2de058fcc9 Merge "Remove internal locking from JobStatus." into nyc-dev
am: 044a802b26

* commit '044a802b26557aef84da074801ee818ba24f86b6':
  Remove internal locking from JobStatus.
2016-02-20 02:55:36 +00:00
Dianne Hackborn
044a802b26 Merge "Remove internal locking from JobStatus." into nyc-dev 2016-02-20 02:49:48 +00:00
Jorim Jaggi
d088074eb4 Merge "Cancel fling animation when starting to drag" into nyc-dev
am: f0c548645f

* commit 'f0c548645fde12d26f379610e046d3b800fad38d':
  Cancel fling animation when starting to drag
2016-02-20 02:32:32 +00:00
Felipe Leme
cf20a742ed Merge "Fixed permissions so Shell can call netpolicy methods." into nyc-dev
am: b055c1b51a

* commit 'b055c1b51a6d13f53535386f7ffe32018b21fe64':
  Fixed permissions so Shell can call netpolicy methods.
2016-02-20 02:30:53 +00:00
Dianne Hackborn
b0001f6fb1 Remove internal locking from JobStatus.
Now all state of JobStatus is implicitly protected by the lock
of whoever is using it -- in this case the global lock for the
JobSchedulerService.  This allows us to remove all of the atomic
variables and just replace those with a simple bit field.

The required constraints for a job are now statically defined
once a JobStatus is created, and don't change.  (They wouldn't
change before, but now this is absolutely specified to be the
case.)  This required tweaking the constructors a bit so that
the earliest and latest run times are computed as part of the
core class initialization.

Also clarified methods on StateController that are called with
the lock held, and took advantage of that in the various
controllers to not now redundantly re-acquire the lock.

Change-Id: I595c5e7d1bff1bd2ff906d612581af82878a25ee
2016-02-19 18:29:34 -08:00
Jorim Jaggi
f0c548645f Merge "Cancel fling animation when starting to drag" into nyc-dev 2016-02-20 02:24:19 +00:00
Felipe Leme
b055c1b51a Merge "Fixed permissions so Shell can call netpolicy methods." into nyc-dev 2016-02-20 02:24:13 +00:00
Jorim Jaggi
0c790411c3 Cancel fling animation when starting to drag
Makes sure we don't end up in a weird state because
at the end of the fling animation, mDockSide gets
reset.

Bug: 27269044
Change-Id: I779b8ee9be9a35553c7f822421d1f02ca802111c
2016-02-20 02:23:37 +00:00
Dianne Hackborn
65938a8305 Merge "Implement lenient background check option." into nyc-dev
am: 9d3a4e1c31

* commit '9d3a4e1c31e07d37edc59cf7613cd392152b9d26':
  Implement lenient background check option.
2016-02-20 02:22:26 +00:00
Shreyas Basarge
08f781bd82 NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df am: 20339172bd am: 20c518816a
am: 7f35fa7365

* commit '7f35fa7365b24f13f7553c452dc68f99fc7304ae':
  NPE fix for SyncStorageEngine read authority
2016-02-20 02:22:00 +00:00
Jorim Jaggi
6ea49d0861 Improve maximizing dock/clip reveal animation
am: f97ed9271f

* commit 'f97ed9271fef192f5411206e781eb3519c144ace':
  Improve maximizing dock/clip reveal animation
2016-02-20 02:17:45 +00:00
Dianne Hackborn
47e693b80c Merge "Simplify job scheduler service locking." into nyc-dev
am: 14b2deacaf

* commit '14b2deacafbfc4af9c87b34047513b136079e22c':
  Simplify job scheduler service locking.
2016-02-20 02:16:16 +00:00
Shreyas Basarge
7f35fa7365 NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df am: 20339172bd
am: 20c518816a

* commit '20c518816a0946dff67a3b99b929bc30c9b0ad6c':
  NPE fix for SyncStorageEngine read authority
2016-02-20 02:14:27 +00:00
Hui Shu
f622e60a11 Merge "Support for webview drag and drop" into nyc-dev
am: b3e63f9daa

* commit 'b3e63f9daaabe6601c0d0e03604b333f314e3557':
  Support for webview drag and drop
2016-02-20 02:14:26 +00:00
Dianne Hackborn
9d3a4e1c31 Merge "Implement lenient background check option." into nyc-dev 2016-02-20 02:12:38 +00:00
Jorim Jaggi
f97ed9271f Improve maximizing dock/clip reveal animation
There was a very visible hole at the end of the transition when both
the docked stack expands and the other app is doing a clip reveal
animation, but only if the app had to travel a far distance to
meet it's target rectangle.

To fix this, we interpolate between two animation curves for maximizing
divider: One is the original curve, and the other one is an adjusted
one which simulate if the divider would start at the edge of the app
surface that plays the clip reveal animation. At the start of the
animation, we use the original curve, but then about in the middle of
the animation we interpolated towards the adjusted curve, so the divider
meets the edge of the app surface that plays the clip reveal animation,
eliminating that gap while still preserving the overall motion.

Bug: 27154882
Change-Id: I37716588f88ddc643ed6176c2ccd56ca174e8919
2016-02-20 02:09:05 +00:00
Dianne Hackborn
14b2deacaf Merge "Simplify job scheduler service locking." into nyc-dev 2016-02-20 02:08:19 +00:00
Hui Shu
b3e63f9daa Merge "Support for webview drag and drop" into nyc-dev 2016-02-20 02:08:12 +00:00
Shreyas Basarge
20c518816a NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df
am: 20339172bd

* commit '20339172bddac09730bf46f5eb289db4c299d64d':
  NPE fix for SyncStorageEngine read authority
2016-02-20 02:05:16 +00:00
Shreyas Basarge
20339172bd NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b
am: 4aa78554df

* commit '4aa78554dfa1ff4cdb91ba560e3097d8febbe5c9':
  NPE fix for SyncStorageEngine read authority
2016-02-20 02:01:11 +00:00
Siyamed Sinir
8771900fd3 Merge "JavaDoc for ReplacementSpan getSize & draw functions." into nyc-dev
am: 74615b9859

* commit '74615b985928dfebcf0a41afa39ffe0ef7cfd778':
  JavaDoc for ReplacementSpan getSize & draw functions.
2016-02-20 01:56:59 +00:00
Shreyas Basarge
4aa78554df NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009
am: 242bdb6d5b

* commit '242bdb6d5bec6e42b7caf42fd08ded0accc70fb8':
  NPE fix for SyncStorageEngine read authority
2016-02-20 01:53:57 +00:00
Siyamed Sinir
74615b9859 Merge "JavaDoc for ReplacementSpan getSize & draw functions." into nyc-dev 2016-02-20 01:52:38 +00:00
Hui Shu
ecdce961ea Support for webview drag and drop
WebView needs to override onDragEvent to accept drops from other apps.

BUG: 27039417
Change-Id: Ie81c5ac325091cf78440785e04afcc01ddcbaab3
2016-02-20 01:51:14 +00:00
Svetoslav Ganov
c96fe2e7e2 Merge "Clear binder id before creating pending intent as the system." into nyc-dev
am: 1b5d292fbb

* commit '1b5d292fbb9ec65b4186f82d7e53bd3941854210':
  Clear binder id before creating pending intent as the system.
2016-02-20 01:49:45 +00:00
Felipe Leme
6a05eee2bd Fixed permissions so Shell can call netpolicy methods.
BUG: 27127112
Change-Id: I5548aba70a1c25be139462fbabe9a854fa96d2a6
2016-02-19 17:47:46 -08:00
Shreyas Basarge
242bdb6d5b NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d
am: 5e4e02b009

* commit '5e4e02b00999db4513f43d5ddfdd2c71212cc503':
  NPE fix for SyncStorageEngine read authority
2016-02-20 01:45:01 +00:00
Shreyas Basarge
5e4e02b009 NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1
am: 6fc321a66d

* commit '6fc321a66d74401e00b2203817f75e29a0426ab7':
  NPE fix for SyncStorageEngine read authority
2016-02-20 01:37:34 +00:00
Vadim Tryshev
a55c5dba41 Merge "Add preloading wallpaper to the getWallpaper call." into nyc-dev
am: d8330cea98

* commit 'd8330cea9893387f7c33f4105af343167d1e1f27':
  Add preloading wallpaper to the getWallpaper call.
2016-02-20 01:35:27 +00:00
Jason Monk
aa5a2dbfb3 Merge "Fix QS Open on single finger scroll" into nyc-dev
am: 11c4fd411a

* commit '11c4fd411a20100b57a678bf3abcde2f2e2eb199':
  Fix QS Open on single finger scroll
2016-02-20 01:33:35 +00:00
Shreyas Basarge
6fc321a66d NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17
am: eec587edf1

* commit 'eec587edf1fb4e7bc5f38695f478f191dee1e2d4':
  NPE fix for SyncStorageEngine read authority
2016-02-20 01:27:25 +00:00
Svetoslav Ganov
1b5d292fbb Merge "Clear binder id before creating pending intent as the system." into nyc-dev 2016-02-20 01:26:38 +00:00
Svet Ganov
c42d933b56 Clear binder id before creating pending intent as the system.
bug:19349693

Change-Id: I989441ac32b89d313ec7a006373faa90f58fc89d
2016-02-19 17:24:58 -08:00
Doris Liu
148f57fc26 Ensure animator's interpolator is set
Animator's play state can go from NotStarted to Finished directly
in the case of calling start() and end() within one frame. Previously
we only set animator's interpolator when the animator is transitioning
to Running state. So when Running state is skipped, the interpolator
is left unset.

Bug: 27224373
Change-Id: I5a53106fe1aae38ccaf1df8debd553be3bc56133
2016-02-19 17:19:24 -08:00
Yohei Yukawa
9af4eb84c5 Merge "Remove unused InputMethodInfo#isEncryptionAware()." into nyc-dev am: 263e21f12c
am: bda1ce850f

* commit 'bda1ce850f9958cf670205fbe8aff35e23717a29':
  Remove unused InputMethodInfo#isEncryptionAware().
2016-02-20 01:10:39 +00:00
Svetoslav Ganov
a4bbf53a2f Merge "Discard prefetched disconnected predecessors of a virtual node." into nyc-dev am: 3c3e271447
am: b4c337e65a

* commit 'b4c337e65a1cf51c3a40205943c5fec855d628dd':
  Discard prefetched disconnected predecessors of a virtual node.
2016-02-20 01:09:14 +00:00