Commit Graph

38239 Commits

Author SHA1 Message Date
Todd Kennedy
73a05d1865 throw if >1 verifier found
am: 5320ee42c6

Change-Id: Ie59f45fa660564ecf073bde4e750d65cf2752467
2016-08-31 23:10:11 +00:00
Adrian Roos
7634e5e52c Wallpaper: Fix letterboxing if wallpaper is scaled but not cropped am: 5c97ff23a3
am: 865f437e99

Change-Id: I2ea3832611f0e5a707b49be80e80b546d5636081
2016-08-31 20:42:44 +00:00
Adrian Roos
865f437e99 Wallpaper: Fix letterboxing if wallpaper is scaled but not cropped
am: 5c97ff23a3

Change-Id: I873b469fa9ca12e14f5465cd6af8d69c92176e43
2016-08-31 20:37:09 +00:00
Adrian Roos
5c97ff23a3 Wallpaper: Fix letterboxing if wallpaper is scaled but not cropped
Fixes a bug where the wrong part of an image was decoded if
the image needed to be scaled but not cropped.

Change-Id: I011e59d85b526097ef1daabd63805c7cdc74c17b
Fixes: 31112957
2016-08-31 19:14:04 +00:00
Felipe Leme
e20c47686b Remove wtf log when optional apps are not found.
am: 6fa02e95ba

Change-Id: Ie8359e68f31979c18b2dd2b0dbad627c2045a293
2016-08-31 17:59:30 +00:00
TreeHugger Robot
f29f973643 Merge "Remove wtf log when optional apps are not found." into nyc-mr1-dev 2016-08-31 17:54:25 +00:00
Amith Yamasani
f10d31f5d0 Call Debug.getPss without a lock held
am: 10e8f16add

Change-Id: I8b55ec20fb8cb99941783c88f0a6035e4dcb1e9b
2016-08-31 17:13:57 +00:00
Amith Yamasani
9edadbd87a Merge "Call Debug.getPss without a lock held" into nyc-mr1-dev 2016-08-31 17:09:18 +00:00
Felipe Leme
6fa02e95ba Remove wtf log when optional apps are not found.
Test: none
Change-Id: I9f94c2ab47eb78d05754c85aafc13e1e238ead04
Fixes: 31177447
2016-08-31 08:47:50 -07:00
Jorim Jaggi
c037bb26cb Fix bug that apps are not unminimizing if recent tasks are empty
am: 936aaeb878

Change-Id: I30d83528945b04fbb39ebf1ec4b98841a551930a
2016-08-31 00:17:49 +00:00
TreeHugger Robot
c8cccdcbd3 Merge "Fix bug that apps are not unminimizing if recent tasks are empty" into nyc-mr1-dev 2016-08-31 00:08:45 +00:00
Adam Seaton
c37d7a4756 Revert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failure fix. This reverts commit 8abcfed8a4. am: b57e6560d0 am: e245037327 am: 1ceb0fcf3a
am: cb3c7d3b0e

Change-Id: I009991aae750226f9596af2969428de85c6e4412
2016-08-30 23:46:45 +00:00
Adam Seaton
cb3c7d3b0e Revert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failure fix. This reverts commit 8abcfed8a4. am: b57e6560d0 am: e245037327
am: 1ceb0fcf3a

Change-Id: I2d5d6f564142878b13eed937289d0890a66ec065
2016-08-30 23:40:29 +00:00
Amith Yamasani
10e8f16add Call Debug.getPss without a lock held
Attempt to reduce the chances of watchdog killing the system
server if process pss gathering takes too long during heavy load.

Bug: 30896716
Change-Id: I4ed1a15c0c512a8c82842cde74e733d99d887ee0
2016-08-30 16:39:03 -07:00
Adam Seaton
1ceb0fcf3a Revert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failure fix. This reverts commit 8abcfed8a4. am: b57e6560d0
am: e245037327

Change-Id: I477f3e1c5e685df2ef2a335790ab49aac6c13eef
2016-08-30 23:28:44 +00:00
Adam Seaton
e245037327 Revert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failure fix. This reverts commit 8abcfed8a4.
am: b57e6560d0

Change-Id: Idaafcb7c835aa7b7b83bb7382900ef3d18fa551f
2016-08-30 23:15:49 +00:00
Jorim Jaggi
6a032cca07 Revert "Fix flicker while booting"
am: ba5339d5d6

Change-Id: I1c3dfbe95e35db94d36d98507474690b0e70d4b2
2016-08-30 23:09:43 +00:00
Jorim Jaggi
94b976a8c2 Merge "Revert "Fix flicker while booting"" into nyc-mr1-dev 2016-08-30 22:59:16 +00:00
Adam Seaton
b57e6560d0 Revert "Bump up the uncrypt timeout to 30 min."
Creates Null Build to test OTA failure fix.
This reverts commit 8abcfed8a4.

Change-Id: I64474dad467ce8d8e379e0e2c47814d76ac0ee0d
2016-08-30 22:14:47 +00:00
Jorim Jaggi
ba5339d5d6 Revert "Fix flicker while booting"
This reverts commit 77cbe79b74.

KeyguardScrim is not hiding for some reason. Need more time to investigate.

Change-Id: I7624138dded386a7310386bc78b3b496af55b2b9
Fixes: 31174702
Bug: 29643498
2016-08-30 14:43:19 -07:00
Lorenzo Colitti
2c535a4f7c Network switch notifications: rate & daily limits am: 84e6f1232c
am: 858499b2c0

Change-Id: I9cf27874626c3034ef4fb4fc23ec75f3e1ac5f3f
2016-08-30 20:24:14 +00:00
Hugo Benichi
cf5f5785c9 Network Switching Notifications: add unit tests am: a43a095106
am: 56f1281888

Change-Id: I0399d6633253e033e5d8debc17bd253ab9e11782
2016-08-30 20:23:01 +00:00
Lorenzo Colitti
858499b2c0 Network switch notifications: rate & daily limits
am: 84e6f1232c

Change-Id: Ibf6fa695c5f8ef11c99fe075b59a36f52c5c177b
2016-08-30 20:17:33 +00:00
Hugo Benichi
56f1281888 Network Switching Notifications: add unit tests
am: a43a095106

Change-Id: I940870a6df6a8f57966a52535ed22ec8123fb27d
2016-08-30 20:16:57 +00:00
Pankaj Kanwar
aa8263d85d Merge changes Iccb6d089,I9c50a59f into nyc-dr1-dev
* changes:
  Network switch notifications: rate & daily limits
  Network Switching Notifications: add unit tests
2016-08-30 20:11:11 +00:00
Makoto Onuki
27b36f4789 Shortcut: Improve backup & restore
am: fc4cf2da34

Change-Id: I28f431158929dd585b0c7523ee6e16798650f98a
2016-08-30 20:02:31 +00:00
Makoto Onuki
dec5726c43 Merge "Shortcut: Improve backup & restore" into nyc-mr1-dev 2016-08-30 19:57:36 +00:00
Makoto Onuki
9480c98ddf Merge "Backport shortcut manager test utilities to DR" into nyc-dr1-dev 2016-08-30 19:54:56 +00:00
Sudheer Shanka
0be41fc1a9 Allow apps with CREATE_USERS permission to create demo users.
am: 234d1afd79

Change-Id: I65451cd9ce17c9af38ecd21e62ea96b27d027d01
2016-08-30 17:59:15 +00:00
Sudheer Shanka
65ce524bde Merge "Allow apps with CREATE_USERS permission to create demo users." into nyc-mr1-dev 2016-08-30 17:46:15 +00:00
Lorenzo Colitti
84e6f1232c Network switch notifications: rate & daily limits
This patch adds a daily limit to the maximum number of notifications
shown when switching networks.

It also adds a rate limit to prevent rapid successive notifications in
flapping scenarios.

Bug: 31132499
Change-Id: Iccb6d0899646ea6df3cfad32a421922263e0eb85
2016-08-31 00:36:11 +09:00
Hugo Benichi
a43a095106 Network Switching Notifications: add unit tests
BUG: 31132499
Change-Id: I9c50a59fe48efdcb51d2517f0a756691700c3ebe
2016-08-31 00:35:16 +09:00
Lorenzo Colitti
a0a41b1e3d Don't notify on network switch if source network is validated. am: c2e10bb074
am: b301283d57

Change-Id: I5ba45a71369aec6e3ddb771c365512e126bc51c4
2016-08-30 10:56:52 +00:00
Lorenzo Colitti
b301283d57 Don't notify on network switch if source network is validated.
am: c2e10bb074

Change-Id: I85fdb0faf48a54ab63b5b23f1e992bc5e9116194
2016-08-30 10:51:19 +00:00
TreeHugger Robot
f45f9d31d3 Merge "Don't notify on network switch if source network is validated." into nyc-dr1-dev 2016-08-30 10:46:33 +00:00
Erik Kline
6b4c55f54f Remove INetd AIDL reference
am: ee5de9d245

Change-Id: I88ef2f4b1782b6e58578ba1c7928635c54d614f6
2016-08-30 07:17:12 +00:00
TreeHugger Robot
b9d4f91630 Merge "Sanity check ICMP6 router advertisement packets" into nyc-dev 2016-08-30 05:20:12 +00:00
Erik Kline
ee5de9d245 Remove INetd AIDL reference
Change-Id: I29dfee480a4706213b36766724b6211dbc74dbac
2016-08-30 11:40:20 +09:00
Paul Jensen
a36213867a Sanity check ICMP6 router advertisement packets
There is a chance a packet can slip by before we install the filter
on our socket listening for RAs, so add some basic sanity checking
to make sure we've recieved an RA.

Change-Id: I14cf84a0814896a41e00f50af376dfc4988d36cb
Fixes: 29586253
2016-08-30 10:57:30 +09:00
Jorim Jaggi
314c05db45 Add animation when unoccluding windows (1/2)
am: 6626f54e65

Change-Id: I09be1e1b7d830067c354c6cdfd940deafa027a22
2016-08-30 00:25:52 +00:00
TreeHugger Robot
92a8a4a6e2 Merge "Add animation when unoccluding windows (1/2)" into nyc-mr1-dev 2016-08-30 00:20:41 +00:00
Philip P. Moltmann
684aa472cd Hold no locks when calling RemotePrintSpooler
am: 1d6e7cc536

Change-Id: I9765689a63eb7a3426feee43b970aa0a9f2fb441
2016-08-29 23:26:32 +00:00
Todd Kennedy
85a91def5c update shared libraries for system apps
After removing updates for a system package, we weren't updating its
shared libraries when we should have. Make it so.

NOTE: This didn't affect device boot because we update all of the
shared libraries for all system applications after scanning packages.

Bug: 30266503
Change-Id: I8edf4344228fb3e793e7648ea70a041cb5db6af6
(cherry picked from commit 6058df65e6)
2016-08-29 22:50:49 +00:00
TreeHugger Robot
2bbfe98062 Merge "Eliminate next-alarm-clock broadcast flapping" into nyc-dev 2016-08-29 21:47:04 +00:00
Philip P. Moltmann
1d6e7cc536 Hold no locks when calling RemotePrintSpooler
The calls might be blocking and need the main thread of to be unblocked
to finish. Hence do not call while holding any monitors that might need
to be acquired the main thread.

The calls that have been moved out of the lock:
- Icon related calls: These are just caches. Hence we flush the cache we
  just request the icon again
- Prune call: This just removes not installed print service from some
  data structure. The order of two of these calls does not matter as
  the end result of both removals will be the same, regardless of order.

Testing done: Reinstalled a print service multiple times. Before the
first reinstallation locked up the userState, now not anymore

Change-Id: I4f4cdaba65132dc2ef054877cbb097b499a723f6
Fixes: 31043684
2016-08-29 21:29:34 +00:00
Jorim Jaggi
6626f54e65 Add animation when unoccluding windows (1/2)
Before there was a jump-cut when a window that was occluding Keyguard
was going away, leading to an ugly flicker. To fix this, we do the
following.

- Always show windows with FLAG_SHOW_WHEN_LOCKED above lockscreen, even
if they don't "match" the currently occluding app (which is null in the
animation case)
- Move wallpaper behind last window that is not hidden by policy, so the
window doesn't get occluded by the wallpaper.
- Add a flag in the setOccluded call whether to animate or not. SystemUI
then plays a nice animation when it's set.
- Override the animation to always be the animation that happens when we
exit a window which is revealing the wallpaper behind, to make it
consistent with the home screen case.

Fixes: 30829255
Change-Id: Ib3fe20fc9003a0f9f291c974740f044ed8707e75
2016-08-29 14:15:33 -07:00
TreeHugger Robot
c8417676ed Merge "DO NOT MERGE -- Fix finishing activity in non-focused stack" into nyc-dev 2016-08-29 21:10:34 +00:00
Jorim Jaggi
49e5c88eda Fix flicker while booting
am: 77cbe79b74

Change-Id: Ib867c34cddaaa2f7877e93d31f8e959ab701859d
2016-08-29 19:59:07 +00:00
Tao Bao
7b0db6bf48 Bump up the uncrypt timeout to 30 min. am: 8abcfed8a4 am: c5a17fc39f am: 18f9533910
am: 40d926f4d4

Change-Id: I9d36d715d049d00a176175cebf02c8a8fed0a7b3
2016-08-29 19:53:54 +00:00
TreeHugger Robot
02405fb349 Merge "Fix flicker while booting" into nyc-mr1-dev 2016-08-29 19:51:31 +00:00