Commit Graph

235150 Commits

Author SHA1 Message Date
Vadim Tryshev
d8330cea98 Merge "Add preloading wallpaper to the getWallpaper call." into nyc-dev 2016-02-20 01:07:56 +00:00
Chris Craik
f2761e1741 Merge "Support drawing circles with drawArc in new pipeline" into nyc-dev am: 1fd5f379d7
am: f314360544

* commit 'f31436054412015511d856d2323760c88ae09f99':
  Support drawing circles with drawArc in new pipeline
2016-02-20 01:07:45 +00:00
Jason Monk
11c4fd411a Merge "Fix QS Open on single finger scroll" into nyc-dev 2016-02-20 01:07:35 +00:00
Chris Craik
7ee7a8e06f Merge branch \'nyc-dev-plus-aosp\' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev-plus-aosp
am: 999cd3d092

* commit '999cd3d0924ebcd58bb552100a80d86e7c2ff0fb':
2016-02-20 01:06:30 +00:00
Chris Craik
2afeb3786b Merge "Cleanup cached state in TestUtils::runOnRenderThread" into nyc-dev am: 043aeb8224
am: 565d78f385

* commit '565d78f385b31079fc5ea3ff944030ae2d4b5723':
  Cleanup cached state in TestUtils::runOnRenderThread
2016-02-20 01:04:48 +00:00
Vadim Tryshev
e6174c6aab Merge "Add Wallpaper.getBitmapAsUser()" into nyc-dev am: a6a127747a
am: 935755cc3b

* commit '935755cc3b77108eba971bd114a1facaaa6c9547':
  Add Wallpaper.getBitmapAsUser()
2016-02-20 01:03:33 +00:00
Vadim Tryshev
8cde0798ed Add preloading wallpaper to the getWallpaper call.
Otherwise, there is no way to get a wallpaper for
the user that was never loaded.

Bug: 25185253
Change-Id: I88df266f6af7ca78ebc30d78e82e1df3ab09a3c5
2016-02-19 17:02:15 -08:00
Doris Liu
857e40a676 Merge "Ensure invalidate is called after start()/reverse()" into nyc-dev am: 06e653aea6
am: 63e66c54b5

* commit '63e66c54b5c71f4edd9c8e2badf0fb9fb1fea3ca':
  Ensure invalidate is called after start()/reverse()
2016-02-20 01:01:40 +00:00
Shreyas Basarge
eec587edf1 NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05
am: 58048c1f17

* commit '58048c1f17d54166c6a048af2365d17dd32f4d57':
  NPE fix for SyncStorageEngine read authority
2016-02-20 01:01:10 +00:00
Lifu Tang
9363b949a1 Finalized GPS=>GNSS changes with documents
Bug: 27098594
Change-Id: I24529e60d8eb9b48b644cf01e5efc684e6f04839
2016-02-19 16:59:28 -08:00
Dianne Hackborn
b2117d15d1 Implement lenient background check option.
Which really means, make background check much more
strict, with an option to revert to the more lenient
behavior.

In this strict version, an app can't have services
started or receive broadcasts at any point when it is
not foreground.  Also, it doesn't matter the importance
of a caller trying to start a service, it only depends
on the state of the app whose service is being started.

A new activity shell command allows you to control
whether to use the strict or lenient behavior.

Change-Id: I7f5a50b52881b5c8f9d8b6c8c622d3652a769fd7
2016-02-19 16:51:25 -08:00
Dianne Hackborn
33d31c5b70 Simplify job scheduler service locking.
Unify all locks to just one lock protecting the entire service.
There is really no need for more complicated locking -- there is
nothing in the code that can take a long time to complete.  And
having a single lock will allow various parts of the code to be
much simpler and easier to maintain.

This is just the first step of the change, switching all of the
locking to use one lock.  With this done, we can now start
simplifying the code.  For example, JobStatus no longer needs
to do any locking (or have atomic variables and such), it can
just rely on its callers holding the global service lock.

Change-Id: I502916ed7f2994b601750c67a59a96b1a4e95c6d
2016-02-19 16:49:47 -08:00
Yohei Yukawa
bda1ce850f Merge "Remove unused InputMethodInfo#isEncryptionAware()." into nyc-dev
am: 263e21f12c

* commit '263e21f12cba4a2c5b4a6ac07fad55a4afc2ec45':
  Remove unused InputMethodInfo#isEncryptionAware().
2016-02-20 00:49:04 +00:00
Christopher Tate
d268a221dc Implement wildcard-host policy in reference autoVerify implementation
For intent filters that match "*.example.tld" hosts, we now look at
https://example.tld/... to validate the claim.

Change-Id: I9725058fa45e85c96ed4a07781b3f989ac6fd661
2016-02-19 16:48:28 -08:00
Svetoslav Ganov
b4c337e65a Merge "Discard prefetched disconnected predecessors of a virtual node." into nyc-dev
am: 3c3e271447

* commit '3c3e271447a213f1cb5c34ed088cbb2c01b6cd43':
  Discard prefetched disconnected predecessors of a virtual node.
2016-02-20 00:47:44 +00:00
Shreyas Basarge
58048c1f17 NPE fix for SyncStorageEngine read authority am: a962d9eba7
am: 339c4f2b05

* commit '339c4f2b055d40acea280a2d4b6c83c17f86a8b5':
  NPE fix for SyncStorageEngine read authority
2016-02-20 00:47:41 +00:00
Shreyas Basarge
339c4f2b05 NPE fix for SyncStorageEngine read authority
am: a962d9eba7

* commit 'a962d9eba7a8f741ed149964126fb08fe4fd7128':
  NPE fix for SyncStorageEngine read authority
2016-02-20 00:41:03 +00:00
Yohei Yukawa
263e21f12c Merge "Remove unused InputMethodInfo#isEncryptionAware()." into nyc-dev 2016-02-20 00:33:22 +00:00
Svetoslav Ganov
3c3e271447 Merge "Discard prefetched disconnected predecessors of a virtual node." into nyc-dev 2016-02-20 00:32:58 +00:00
Jason Monk
83e431fc51 Fix QS Open on single finger scroll
The QSPanel had 0 height when shade was collapsed which messed up
the immediate expand logic.

Bug: 27197894
Change-Id: I623eb5d3b945a83b3410fa5dc52c4f96dd6700cb
2016-02-19 19:32:13 -05:00
Svet Ganov
75e5816102 Discard prefetched disconnected predecessors of a virtual node.
bug:18247269

Change-Id: I24f1ed1e9aa44fbb847722833fe68a1eef7e92c5
2016-02-19 16:29:33 -08:00
Chris Craik
f314360544 Merge "Support drawing circles with drawArc in new pipeline" into nyc-dev
am: 1fd5f379d7

* commit '1fd5f379d724cc673a37d52b977e67d82451343a':
  Support drawing circles with drawArc in new pipeline
2016-02-20 00:26:41 +00:00
Chris Craik
999cd3d092 Merge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev-plus-aosp 2016-02-20 00:25:29 +00:00
Chris Craik
565d78f385 Merge "Cleanup cached state in TestUtils::runOnRenderThread" into nyc-dev
am: 043aeb8224

* commit '043aeb8224ffcbe2d6a8b3f2db4bd6ee0259b66e':
  Cleanup cached state in TestUtils::runOnRenderThread
2016-02-20 00:23:55 +00:00
Chris Craik
92e5d7553b Merge "Cleanup cached state in TestUtils::runOnRenderThread" into nyc-dev
am: 043aeb8224

* commit '043aeb8224ffcbe2d6a8b3f2db4bd6ee0259b66e':
  Cleanup cached state in TestUtils::runOnRenderThread
2016-02-20 00:22:10 +00:00
Vadim Tryshev
935755cc3b Merge "Add Wallpaper.getBitmapAsUser()" into nyc-dev
am: a6a127747a

* commit 'a6a127747ae04c12966737b3792dc5df4402c292':
  Add Wallpaper.getBitmapAsUser()
2016-02-20 00:20:30 +00:00
Doris Liu
63e66c54b5 Merge "Ensure invalidate is called after start()/reverse()" into nyc-dev
am: 06e653aea6

* commit '06e653aea60d982748f2dccc678f5ea37151b604':
  Ensure invalidate is called after start()/reverse()
2016-02-20 00:19:24 +00:00
Chris Craik
1fd5f379d7 Merge "Support drawing circles with drawArc in new pipeline" into nyc-dev 2016-02-20 00:18:15 +00:00
Yohei Yukawa
d9550a7545 Remove unused InputMethodInfo#isEncryptionAware().
This logically reverts a previous CL [1], which added
InputMethodInfo#isEncryptionAware() for File-Based Encryption (FBE)
support, since it turns out that the method in question is unnecessary
to make InputMethodManagerService encryption-aware.

  [1]: Icf921fe3661eccf4a589b08b616d05decc561356
       69811a98f1

Bug: 26279466
Change-Id: Ia4884bf5922ad453d4b9e5e3c6f0d17b36dc205d
2016-02-20 00:16:32 +00:00
Arunesh Mishra
ed624dd088 Merge "Fix minor bugs:" into nyc-dev am: 28af5fcdc9
am: ef3b0b4ed5

* commit 'ef3b0b4ed5cf48101c121a1bb6cf3cbe0cb5424c':
  Fix minor bugs:
2016-02-20 00:15:09 +00:00
Chris Craik
043aeb8224 Merge "Cleanup cached state in TestUtils::runOnRenderThread" into nyc-dev 2016-02-20 00:13:29 +00:00
Jeff Sharkey
fc5fe2d90a Merge "Relax protected broadcast check to allow shell." into nyc-dev am: 0e16984d06
am: a7e3f45294

* commit 'a7e3f452945167b29bb7bb3b766ae14320db8e2f':
  Relax protected broadcast check to allow shell.
2016-02-20 00:13:16 +00:00
Chris Craik
caa2418473 Support drawing circles with drawArc in new pipeline
bug:26764636

Change-Id: I37d2384fa5e6c1074bb8de85821d58c15659b762
2016-02-19 16:12:53 -08:00
Wale Ogunwale
5441ac10d1 Merge "Clean-up WindowState if exit animation is done before app finishes" into nyc-dev am: 9ecf7cfee8
am: fedbf9c31f

* commit 'fedbf9c31f96964aea3ec2486dc1c3cc11c2467f':
  Clean-up WindowState if exit animation is done before app finishes
2016-02-20 00:11:43 +00:00
Vadim Tryshev
a6a127747a Merge "Add Wallpaper.getBitmapAsUser()" into nyc-dev 2016-02-20 00:11:41 +00:00
Shreyas Basarge
b1f15bfc8a Merge "NPE Fix in SyncStorageEngine" into nyc-dev am: 7503d06e5e
am: 31236ac232

* commit '31236ac2320a47a5fc5ff7914b85a4f15270b161':
  NPE Fix in SyncStorageEngine
2016-02-20 00:10:28 +00:00
Aurimas Liutikas
809bcd1e0c Merge "Fix a set of random warnings in frameworks/base/" into nyc-dev am: 359df40aaf
am: abf9e5695d

* commit 'abf9e5695d2bd4677569b87333f2fdeb7764ca22':
  Fix a set of random warnings in frameworks/base/
2016-02-20 00:09:18 +00:00
Doris Liu
06e653aea6 Merge "Ensure invalidate is called after start()/reverse()" into nyc-dev 2016-02-20 00:04:58 +00:00
Arunesh Mishra
ef3b0b4ed5 Merge "Fix minor bugs:" into nyc-dev
am: 28af5fcdc9

* commit '28af5fcdc9047909eb31babc8ea18d2c39e4c93b':
  Fix minor bugs:
2016-02-20 00:01:49 +00:00
Arunesh Mishra
28af5fcdc9 Merge "Fix minor bugs:" into nyc-dev 2016-02-19 23:57:59 +00:00
Chris Craik
1bc4ee4506 Cleanup cached state in TestUtils::runOnRenderThread
Change-Id: I097217c80db5c509d97ef050633946110fccbc80
2016-02-19 15:57:45 -08:00
Jeff Sharkey
a7e3f45294 Merge "Relax protected broadcast check to allow shell." into nyc-dev
am: 0e16984d06

* commit '0e16984d0630f1b01704578568e562283f80b799':
  Relax protected broadcast check to allow shell.
2016-02-19 23:56:17 +00:00
Shreyas Basarge
3147bbc164 Migrate PeriodicSyncs from old format
Periodic syncs that were stored in a file
in earlier versions should be read and
added to JobScheduler when device boots.

Bug: 27261455
Change-Id: I626ce468afc35e5c3c6defd583a0963cc71fc58a
2016-02-19 23:55:37 +00:00
Jeff Sharkey
0e16984d06 Merge "Relax protected broadcast check to allow shell." into nyc-dev 2016-02-19 23:52:20 +00:00
Chris Craik
7a89600bac Add create_trivial_array
Change-Id: I5e4236ff59fdaceb95105c5590f4deeda6d0b4c8
2016-02-19 15:51:02 -08:00
Wale Ogunwale
fedbf9c31f Merge "Clean-up WindowState if exit animation is done before app finishes" into nyc-dev
am: 9ecf7cfee8

* commit '9ecf7cfee8c681587bd7cf6468aff80178e2d2d9':
  Clean-up WindowState if exit animation is done before app finishes
2016-02-19 23:50:34 +00:00
Jeff Sharkey
935dafbf0d Relax protected broadcast check to allow shell.
The shell is often used for developer testing, so we shouldn't
require all of its broadcasts to be protected.

Bug: 27273532
Change-Id: Ic6f262dd11223dee5655614aad30365d51e180c5
2016-02-19 16:49:26 -07:00
Shreyas Basarge
31236ac232 Merge "NPE Fix in SyncStorageEngine" into nyc-dev
am: 7503d06e5e

* commit '7503d06e5e31850fd13f85212543e7bd321853fc':
  NPE Fix in SyncStorageEngine
2016-02-19 23:46:02 +00:00
Selim Cinek
db7df8c918 Merge "Fixed a clicking bug on the lockscreen" into nyc-dev am: e961f32b0f
am: 4e0b58be83

* commit '4e0b58be83fa9bfcf9bd29d9ac4488bb8043c0db':
  Fixed a clicking bug on the lockscreen
2016-02-19 23:43:55 +00:00
Selim Cinek
65d25ad4d2 Merge "Add support for custom media notifications" into nyc-dev am: c68190ae90
am: 147ad1680b

* commit '147ad1680bc313f3b30abad7e78db174b7499227':
  Add support for custom media notifications
2016-02-19 23:42:35 +00:00