Commit Graph

20430 Commits

Author SHA1 Message Date
Svetoslav Ganov
9ae2bca49d am 31deb67d: am 76716c5a: Revert "TouchExplorer computes incorrectly the click location."
* commit '31deb67dd0c9d204bf3342b7699a240310b1cf34':
  Revert "TouchExplorer computes incorrectly the click location."
2014-10-03 21:33:16 +00:00
Christopher Tate
33ecc6e0fc am b5c55da5: am b88ba912: Merge "Fix alarm delivery-order sorting" into lmp-dev
* commit 'b5c55da5ab7e11c2bdc5ff4ba2adadb9867d46fd':
  Fix alarm delivery-order sorting
2014-10-03 21:33:01 +00:00
Svetoslav Ganov
31deb67dd0 am 76716c5a: Revert "TouchExplorer computes incorrectly the click location."
* commit '76716c5a180aa471c6973ca7aa03c7f2da677823':
  Revert "TouchExplorer computes incorrectly the click location."
2014-10-03 21:02:49 +00:00
Christopher Tate
b5c55da5ab am b88ba912: Merge "Fix alarm delivery-order sorting" into lmp-dev
* commit 'b88ba912f6bb2fd0ae16794470cce38ee308b6ea':
  Fix alarm delivery-order sorting
2014-10-03 21:02:32 +00:00
Svetoslav Ganov
76716c5a18 Revert "TouchExplorer computes incorrectly the click location."
This reverts commit 851a5059a47cbf76e530c9d050a677cb6e3f8657 as
it creates a regression. Let us revert this and correctly fix the
issue the original change was trying to address.

bug:17789608

Change-Id: I8abb1a61d5310430e839e4ef60e7ca5cc0cbdd80
2014-10-03 20:37:10 +00:00
Christopher Tate
b88ba912f6 Merge "Fix alarm delivery-order sorting" into lmp-dev 2014-10-03 19:56:36 +00:00
Christopher Tate
1590f1ee7b Fix alarm delivery-order sorting
We also refine the order of delivery within any given package.  Now,
we identify which apps have wakeup alarms being delivered in the
current pass, and deliver all of that app's alarms before moving
on to alarm delivery to apps who are only receiving non-wakeup alarms
in the current delivery pass.  The TIME_TICK alarm is also hoisted to
the start of the current delivery pass if present.

Bug 17778686

Change-Id: I6306a00fe657787a77d0254c0807ac51e810fdcf
2014-10-03 12:33:35 -07:00
Robert Greenwalt
eb35fa56a4 am 3515ab80: am 24861eab: Merge "Send callbacks for Net property changes" into lmp-dev
* commit '3515ab8092719ea9f61c8c2859bf586aed0955e3':
  Send callbacks for Net property changes
2014-10-03 15:46:06 +00:00
Robert Greenwalt
3515ab8092 am 24861eab: Merge "Send callbacks for Net property changes" into lmp-dev
* commit '24861eabe641d5a147f127c8e7f98fab949224ab':
  Send callbacks for Net property changes
2014-10-03 15:41:04 +00:00
Robert Greenwalt
24861eabe6 Merge "Send callbacks for Net property changes" into lmp-dev 2014-10-03 15:36:39 +00:00
John Spurlock
b930a267f4 am e1cddd34: am a23867c4: Merge "Disable notification effects during phone calls." into lmp-dev
* commit 'e1cddd34eb7099f55790a6a79fed28fb59372092':
  Disable notification effects during phone calls.
2014-10-03 13:58:54 +00:00
John Spurlock
e1cddd34eb am a23867c4: Merge "Disable notification effects during phone calls." into lmp-dev
* commit 'a23867c4e8efb4cd9e86c70bff1a595da6679a82':
  Disable notification effects during phone calls.
2014-10-03 13:53:48 +00:00
John Spurlock
a23867c4e8 Merge "Disable notification effects during phone calls." into lmp-dev 2014-10-03 13:49:43 +00:00
Paul Jensen
4736063543 am 367eb2bb: am a11b5e34: Merge "Send updated NetworkAgent score to NetworkFactories when validated." into lmp-dev
* commit '367eb2bb07ae7975b4704a0c1b879f7c34abc623':
  Send updated NetworkAgent score to NetworkFactories when validated.
2014-10-03 05:55:43 +00:00
Paul Jensen
6846f59895 am 6e1bf911: am 6eead851: Merge "Allow any unvalidated Network to satisfy NetworkRequests." into lmp-dev
* commit '6e1bf911039f16bcc20319790014aa08ad04f942':
  Allow any unvalidated Network to satisfy NetworkRequests.
2014-10-03 05:55:40 +00:00
Robert Greenwalt
a848c1cc0a Send callbacks for Net property changes
LinkProperties and NetworkCapabilities changes were not calling app callbacks.

bug:17681483
Change-Id: I67dac3c4dc1284f5c4bfb24de239da4ec776336f
2014-10-02 21:05:44 -07:00
Paul Jensen
367eb2bb07 am a11b5e34: Merge "Send updated NetworkAgent score to NetworkFactories when validated." into lmp-dev
* commit 'a11b5e34f50899a48531bb84ba3f6d796a64985e':
  Send updated NetworkAgent score to NetworkFactories when validated.
2014-10-03 02:22:25 +00:00
Paul Jensen
6e1bf91103 am 6eead851: Merge "Allow any unvalidated Network to satisfy NetworkRequests." into lmp-dev
* commit '6eead851d2ea56c3e7319587d4066b1828d54699':
  Allow any unvalidated Network to satisfy NetworkRequests.
2014-10-03 02:22:21 +00:00
Paul Jensen
a11b5e34f5 Merge "Send updated NetworkAgent score to NetworkFactories when validated." into lmp-dev 2014-10-03 02:18:12 +00:00
Paul Jensen
6eead851d2 Merge "Allow any unvalidated Network to satisfy NetworkRequests." into lmp-dev 2014-10-03 02:16:44 +00:00
John Spurlock
32fe4c6e64 Disable notification effects during phone calls.
Listen for phone call state changes in NoMan, and disable
incoming non-call notification effects when non-idle.

Bug:17658454
Change-Id: I6f7d66413970fbff6822ab29a12f91cbed068261
2014-10-02 21:05:06 -04:00
Dianne Hackborn
044e265084 am 9ecc07c0: am b591da94: Merge "Maybe fix issue #17449495: Nakasi is pretty laggy/slow to do anything" into lmp-dev
* commit '9ecc07c05729645fe400983835a20e625e880fd6':
  Maybe fix issue #17449495: Nakasi is pretty laggy/slow to do anything
2014-10-03 00:56:07 +00:00
Dianne Hackborn
9ecc07c057 am b591da94: Merge "Maybe fix issue #17449495: Nakasi is pretty laggy/slow to do anything" into lmp-dev
* commit 'b591da942e159588c70687dfe3e792feedc8f3b4':
  Maybe fix issue #17449495: Nakasi is pretty laggy/slow to do anything
2014-10-03 00:47:04 +00:00
Dianne Hackborn
b591da942e Merge "Maybe fix issue #17449495: Nakasi is pretty laggy/slow to do anything" into lmp-dev 2014-10-03 00:40:26 +00:00
Jeff Hao
d8f5edcb81 Merge "Order apps by priority when performing boot dexopt." into lmp-mr1-dev 2014-10-03 00:37:01 +00:00
Dianne Hackborn
3f16dd49e8 Maybe fix issue #17449495: Nakasi is pretty laggy/slow to do anything
Tweak the oom tuning to raise everything by 50%.  This is the same
increase we did for Volantis; I am thinking that most of the issue
there was not it being 64 bit, but it being tighter on RAM.  From
my testing, it looks like in user switching there was some paging
going on with Nakasi, and with this change things seem to be better.

We should probably revisit this for future work on RAM.  It seems
likely that a 64 bit device will need more RAM, so probably the value
I am picking here is larger than we actually need for other devices.
I think this is the safest change at this point though -- it leaves
Volantis the same, where we already had tweaked it to address paging
issues, raises it on Nakasi (to the same value as Volantis) where we
seem to have paging issues, and on our other devices also raises it
but those are generally not under memory pressure so this shouldn't
really make a difference.

Change-Id: Ib19394068734d322a015ed07370d9d4961877e4b
2014-10-02 17:21:27 -07:00
Jason Monk
3c0d53ae64 am d212662a: am 51900639: Merge "Synchronize on all sendProxyBroadcast calls" into lmp-dev
* commit 'd212662a19017a18bbd81585e6479296ffe0d52e':
  Synchronize on all sendProxyBroadcast calls
2014-10-02 22:47:20 +00:00
Jeff Hao
65cde7d42d Order apps by priority when performing boot dexopt.
Bug: 17641843
Change-Id: I16997b3b5241521e6bd995f2555864b4605edd17
2014-10-02 15:44:59 -07:00
Jason Monk
d212662a19 am 51900639: Merge "Synchronize on all sendProxyBroadcast calls" into lmp-dev
* commit '519006395204ba3eab77ae420d20eb70ebb78af5':
  Synchronize on all sendProxyBroadcast calls
2014-10-02 22:42:58 +00:00
Jason Monk
5190063952 Merge "Synchronize on all sendProxyBroadcast calls" into lmp-dev 2014-10-02 22:36:47 +00:00
Baligh Uddin
f58b69d063 am c744d1de: am 9cdde5f8: Merge "Fix a bug with screen brightness during screen off animation." into lmp-dev
* commit 'c744d1deaa22c8f97fb6a0708193d57a396c1253':
  Fix a bug with screen brightness during screen off animation.
2014-10-02 21:48:28 +00:00
Baligh Uddin
c744d1deaa am 9cdde5f8: Merge "Fix a bug with screen brightness during screen off animation." into lmp-dev
* commit '9cdde5f8348ddd03e1d6eb2c741fb3e761ab66e9':
  Fix a bug with screen brightness during screen off animation.
2014-10-02 21:42:22 +00:00
Baligh Uddin
9cdde5f834 Merge "Fix a bug with screen brightness during screen off animation." into lmp-dev 2014-10-02 21:38:25 +00:00
Matthew Williams
1f192b6d5f am ff7c67f2: am 5c6756fe: Revert "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager"
* commit 'ff7c67f224a7d49e549551f609cc70cab2e9677e':
  Revert "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager"
2014-10-02 20:58:50 +00:00
Matthew Williams
ff7c67f224 am 5c6756fe: Revert "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager"
* commit '5c6756fefb6db0fe468b9d747960a6da344880ad':
  Revert "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager"
2014-10-02 20:53:29 +00:00
Jing Ji
35543f4541 am 5468f545: am d5941978: Allow system app to take ownership of built-in permissions
* commit '5468f545ff66e8fe8db4fdb90dc387ace9756257':
  Allow system app to take ownership of built-in permissions
2014-10-02 20:50:46 +00:00
Matthew Williams
5c6756fefb Revert "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager"
This reverts commit cf2bd348e73e880fe5bfc7a025732d4ec606ff1f.

Reverted because for account removal the AccountManagerService
delegates the sending of LOGIN_ACCOUNTS_CHANGED to the authenticator.
See b/17511110.

Change-Id: Ic03016af98070b4add5f7a5ec1fdff32ba63298e
2014-10-02 20:47:59 +00:00
Jing Ji
5468f545ff am d5941978: Allow system app to take ownership of built-in permissions
* commit 'd594197868c4a51bb8f8bd62479999debc72bf2a':
  Allow system app to take ownership of built-in permissions
2014-10-02 20:45:08 +00:00
Jing Ji
d594197868 Allow system app to take ownership of built-in permissions
Previous commit bfed9f34c makes the preloaded system app take
precedence over third-party apps when defining permissions, but
it also makes it be able to override android built-in permissions.

Now allow preloaded system app to take the ownership of built-in
permissions instead of overriding it.

Change-Id: I10d588d0284e4316ea4be552fd6191f33e3c725b
2014-10-02 20:40:21 +00:00
Craig Mautner
a5e5a88464 am 17eefabd: am 9dfad8c7: Merge "Remove misleading error log." into lmp-dev
* commit '17eefabd4494b034d4342f0e239e24085d989109':
  Remove misleading error log.
2014-10-02 20:23:45 +00:00
Craig Mautner
17eefabd44 am 9dfad8c7: Merge "Remove misleading error log." into lmp-dev
* commit '9dfad8c7f01e8a69989d1c44deb8a621216a0d9f':
  Remove misleading error log.
2014-10-02 20:18:05 +00:00
Craig Mautner
9dfad8c7f0 Merge "Remove misleading error log." into lmp-dev 2014-10-02 20:13:55 +00:00
Jeff Brown
bf4e414cf0 Fix a bug with screen brightness during screen off animation.
Due to a recent change there was a regression that caused the
screen brightness to be animated down to 0 while the screen
off animation was running.  When the brightness was low this
would cause the screen off animation to be cut short.

This change ensures that we take into account the actual screen
state instead of the desired screen state when making screen
brightness decisions in case we are in the middle of a transition.

The darkness came early.  The pixel fairies trembled.

Bug: 17718416
Change-Id: Ib4b55d61b359abbc70920e324f08a5db07bdd035
2014-10-02 13:11:02 -07:00
Jason Monk
cf0f97a3aa Synchronize on all sendProxyBroadcast calls
To avoid race conditions.  Also make mDefaultProxy volatile for
safety.

Bug: 17697364
Change-Id: I8f0abb1a6e1c816f3addc11a69ff794ad767f2cf
2014-10-02 15:39:38 -04:00
Craig Mautner
333c2ec883 Remove misleading error log.
It's perfectly ok for a secondary display to not have a home stack.
There is no reason to report it.

Related to b/17677973.

Change-Id: Ia9d52cabb601760d32d2b847dfa0ca4f304e4e2a
2014-10-02 12:24:02 -07:00
Michael Wright
4d1bb519db Merge "Add supported refresh rates for all DisplayDeviceInfos." into lmp-mr1-dev 2014-10-02 17:40:25 +00:00
Paul Jensen
c8b9a7428d Send updated NetworkAgent score to NetworkFactories when validated.
Previously the score was not sent out causing other NetworkFactories
to have the lower unvalidated score and to repeatedly try to bring
up a new Network only to have it torn down.
Also, avoid logging an error when tearing down a network with only
listening requests.

bug:17726566
Change-Id: I82ff7c9bd5ec962f62a50ad0042c278622953969
2014-10-02 11:06:43 -04:00
Paul Jensen
4b9b2be894 Allow any unvalidated Network to satisfy NetworkRequests.
Explicitly selected Networks may never be validated (e.g. Chromecast)
but are still given a high score so they can explicitly become the
default Network.  Without this fix they do not become the default
Network if another Network is present.  This was an artifact of how
unvalidated Networks were handled, but now that unvalidated Networks
are properly handled, ala 50807d, we can freely rematch even
unvalidated Networks and NetworkRequests.
Also, never linger and teardown unvalidated Networks as the user
might be in the process of signing in.  This better matches prior
behavior when unvalidated networks didn't match NetworkRequests,
and thus were never lingered.
Also, don't disconnect networks that may be lingering.  The
disconnect logic in rematchNetworkAndReqeuests() is adjusted to only
fire when a network is newly validated.
It is incorrect to consider rematching uncreated Networks and
explicitly selecting created Networks, so this change logs error
messages in those cases.

bug:17647968
bug:17396616
Change-Id: Id6b8a350b8200f484d5bfd14ca0a8f64f08846a0
2014-10-02 10:56:51 -04:00
Sreeram Ramachandran
4f4b81bd3d am c04e922f: am 5aaabc0f: Merge "Send app permissions to netd." into lmp-dev
* commit 'c04e922f67cacfc428d09fd266f7c9b36a6fb472':
  Send app permissions to netd.
2014-10-02 06:34:16 +00:00
Sreeram Ramachandran
c04e922f67 am 5aaabc0f: Merge "Send app permissions to netd." into lmp-dev
* commit '5aaabc0fa66dd755843f040fe634962477107950':
  Send app permissions to netd.
2014-10-02 06:29:37 +00:00