Commit Graph

253881 Commits

Author SHA1 Message Date
Robert Carr
dbf61b64b1 WindowManager: Restore update behavior of mLastFrame.
We need to always update mLastFrame like we used to. Moving
the update inside the conditional caused it to not update on position
changes.

Bug: 30665565
Bug: 30641229
Change-Id: Ic71e8a8f91765870ebe2c0559f61aa83540c3a0d
2016-08-04 13:16:55 -07:00
Philip P. Moltmann
7cee8be675 Merge "Add (corrected) usb power sink handling" into nyc-mr1-dev 2016-08-04 20:08:34 +00:00
Selim Cinek
e99acb29db Fixes a bug where setting a null bigLargeIcon would not clear it
Because we were also looking for legacy icons and the legacy icon
was always restored for old listeners, the icon would not disappear.

Change-Id: Id911d405e5ae00bf45e34368effbf67c2425a40c
Fixes: 30663590
2016-08-04 13:04:29 -07:00
Hemal Patel
eee5a7b846 Merge "Docs: Fixed info about spanning multiple columns" into nyc-docs am: ca7eee3d11
am: ab35b73d1b

Change-Id: I37c06297dce5822845d044c82f8e030d23ea850f
2016-08-04 19:48:18 +00:00
Hemal Patel
e2088ef2ec Docs: Fixed info about spanning multiple columns am: 64e88cd296
am: 611f50d62f

Change-Id: If7a6f08237c51b49ad4a550c25c020b8a7a5d0b3
2016-08-04 19:48:15 +00:00
TreeHugger Robot
7aed32ac3d Merge "Fixed year on copyright notice." into nyc-mr1-dev 2016-08-04 19:45:27 +00:00
Hemal Patel
ab35b73d1b Merge "Docs: Fixed info about spanning multiple columns" into nyc-docs
am: ca7eee3d11

Change-Id: I94b5abbf1d292a01ba439cafd80938f7fc92854d
2016-08-04 19:43:20 +00:00
Hemal Patel
611f50d62f Docs: Fixed info about spanning multiple columns
am: 64e88cd296

Change-Id: I8c4219e946fddbfc023bbe77549cc12fc0b6bd3a
2016-08-04 19:43:18 +00:00
Hemal Patel
ca7eee3d11 Merge "Docs: Fixed info about spanning multiple columns" into nyc-docs 2016-08-04 19:38:42 +00:00
Makoto Onuki
0fd8670fd5 Merge "ShortcutManager: Update foreground check." into nyc-mr1-dev 2016-08-04 19:29:27 +00:00
Christopher Tate
8f4c82691a Mark wallpaper as backupInForeground="true"
It's fine for wallpaper backups to proceed even while the system uid
is considered to be doing something foreground-equivalent, since it's
in its own process and killing it won't interrupt the actual system
work.

Bug 30662562

Change-Id: I463c1ed221da17fbeb336b3be09d3b1ac47aca80
2016-08-04 11:45:55 -07:00
Bert McMeen
85e3fee7d3 Docs: Fixed typo in API Overview am: 844c43a904
am: 653b768997

Change-Id: I56caec3330282d1acf9772d0ad21c27b31e2f602
2016-08-04 18:28:47 +00:00
TreeHugger Robot
118cb7d0f7 Merge "only rate limit notification updates" into nyc-mr1-dev 2016-08-04 18:25:15 +00:00
Bert McMeen
653b768997 Docs: Fixed typo in API Overview
am: 844c43a904

Change-Id: Ia855a58708afc4f12bae4b234b0f7ba10798aba4
2016-08-04 18:20:51 +00:00
Bert McMeen
3e0e7ef340 Merge "Docs: Fixed typo in API Overview" into nyc-dev
am: 62faea4f12

Change-Id: I29a6d5c083e527643cea4da8e666ba363040364e
2016-08-04 18:09:25 +00:00
Bert McMeen
ffe51968a5 Docs: Fixed typo in API Overview
am: f27ab3c126

Change-Id: I64dced0229d1017f30a34790a8adfb36ed9e3d67
2016-08-04 18:09:22 +00:00
Bert McMeen
844c43a904 Docs: Fixed typo in API Overview
Bug: 30436707
Change-Id: I99a2b103d0643158da00ee0b5547b52bf6ebc040
(cherry picked from commit f27ab3c126)
2016-08-04 18:04:30 +00:00
Bert McMeen
62faea4f12 Merge "Docs: Fixed typo in API Overview" into nyc-dev 2016-08-04 18:01:29 +00:00
Alan Viverette
daec5506c4 Improve docs for GradientDrawable's useLevel and centerX/Y properties
Bug: 30302143
Change-Id: I1007bf2a57ce73c9ed516a4717e7a539e9e9774b
2016-08-04 13:55:11 -04:00
Jeff Sharkey
b0da868b63 Merge "We don't need to wait to pin the camera app." into nyc-mr1-dev 2016-08-04 17:51:19 +00:00
Alan Viverette
66a8562c58 Use localized hour when announcing selection for accessibility
Bug: 30451273
Change-Id: I04276dc12d479ff5336799ebb32ff4cf5d66068a
2016-08-04 13:24:14 -04:00
Alan Viverette
f0ac2ba9f4 Constrain input hour and minute to valid range
This is consistent with the legacy spinner implementation.

Bug: 30570390
Change-Id: I14fb1363b410b2f56ead01e0b632efb8f7508268
2016-08-04 13:23:33 -04:00
Chris Wren
a61f179c3d only rate limit notification updates
Updates to progress bars are the main culprit in system
performance events caused by apps spamming the notification
service. Rate-limiting only updates allows us to set a lower
threshold wihtout the owrry of mistakenly dropping bursts of
notifications being quickly posted after a network sync.

Also reduce logspam caused by the rate-limit events.

Bug: 30132961
Change-Id: I49acda6a2831204da45e899ddd3d62d571d7174b
2016-08-04 17:04:02 +00:00
Jorim Jaggi
b9d0491559 Call userActivity when dismissing keyguard
So we don't run into weird race conditions which could leave Keyguard
unlocked.

Also add some missing debug statements for future investigation.

Change-Id: I7bd463f594d53ddfa84cebc28cf1f63dd2d6c533
Fixes: 28987945
2016-08-04 17:28:41 +02:00
John Reck
3c2587f26e Fix NPE in TextureView
Bug: 30651595
Change-Id: Ic6cc2a1598de173aaadb4061562236a563a662b3
2016-08-04 07:55:38 -07:00
Alan Viverette
768ca7d19b Clean up VideoView, SurfaceView constructors
Also cleans up VideoView fields. No functional changes.

Bug: 30600463
Change-Id: I42241e376006c328695d46d63f7fdeda409f1a67
2016-08-04 09:54:14 -04:00
Jorim Jaggi
e93e6f9deb Fix flickering issues with FLAG_SHOW_WHEN_LOCKED and fingerprint wake
The whole sequence is different as Keyguard is occluded. Thus, we are not
doing the normal keyguard exit sequence, but jump directly to dismissing
the Keyguard.

Normally the sequence is:
- keyguardDone
- notifyScreenTurningOn
- startKeyguardExitAnim

In the occluded case, it is:
- keyguardDone
- startKeyguardExitAnim
- notifyScreenTurningOn

Now, the following issues cause the flickering in the occluded case, which
are normally not causing any breakage:
- There was an issued with the draw callback not being reset and reused
at the wrong time.
- mWakeAndUnlocking was not cleared soon enough. This caused a timeout if
notifyScreenTurningOn happens after starKeyguardExitAnim
- We always need to wait for the Keyguard host window, as isForceHiding
isn't set in this case

Change-Id: Id8d0f9fec79ec63b36659513f97c724147c7521f
Fixes: 30483392
2016-08-04 14:16:44 +02:00
TreeHugger Robot
8437fce56d Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-04 09:21:55 +00:00
TreeHugger Robot
3ff12c2a1b Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-04 09:17:22 +00:00
TreeHugger Robot
85c61142ab Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-04 09:16:51 +00:00
Bill Yi
4d9a70a15d Import translations. DO NOT MERGE
Change-Id: I2a81de7d9ce7f2d36d5a004fd61c2bb48202525c
Auto-generated-cl: translation import
2016-08-03 22:54:00 -07:00
Bill Yi
cfd9728512 Import translations. DO NOT MERGE
Change-Id: I1b89c62d8f27b4827b77ada214c318ae7207a680
Auto-generated-cl: translation import
2016-08-03 22:39:09 -07:00
TreeHugger Robot
6bd0d6b754 Merge "OtaDexopt: Special-case system app classpaths" into nyc-mr1-dev 2016-08-04 03:35:36 +00:00
Sreevani Sreejith
6421beee8e Merge "resolve merge conflicts of 9d47cae to nyc-docs" into nyc-docs am: 3faf6114b0
am: f5a2fbc156

Change-Id: I37eb8462dcf65783d64c71336ee0d7fc8a354c4e
2016-08-04 02:38:47 +00:00
sreevanis
8888f02222 resolve merge conflicts of 9d47cae to nyc-docs am: d5cabb92bc
am: fdaac48e99

Change-Id: I8a1aa4000efa91d07d2d90dc8dd8938b30aed919
2016-08-04 02:38:44 +00:00
sreevanis
f5a2fbc156 Merge "resolve merge conflicts of 9d47cae to nyc-docs" into nyc-docs
am: 3faf6114b0

Change-Id: I80e8d39a9d6f58e2cc3091690f202d1453a6b8e6
2016-08-04 02:23:43 +00:00
sreevanis
fdaac48e99 resolve merge conflicts of 9d47cae to nyc-docs
am: d5cabb92bc

Change-Id: Ie16cc1707e8cff7eaa2691c7e9257a26bc6aeead
2016-08-04 02:23:39 +00:00
Sreevani Sreejith
3faf6114b0 Merge "resolve merge conflicts of 9d47cae to nyc-docs" into nyc-docs 2016-08-04 02:14:26 +00:00
Meng Wang
d51b23564f Merge "Add carrierconfig enhanced_4g_lte_title_variant_bool" into nyc-mr1-dev 2016-08-04 02:12:14 +00:00
Fyodor Kupolov
49726b1115 Use Settings.Global.putInt for PACKAGE_VERIFIER_ENABLE
Bug: 30644237
Change-Id: I891cd3b73e47c851cc512a8e768ebd7061c950d9
2016-08-03 19:05:25 -07:00
TreeHugger Robot
59a91c04cc Merge "AAPT: Fix feature split generation of ID resources" into nyc-mr1-dev 2016-08-04 01:27:34 +00:00
Kevin Hufnagle
6c955db797 docs: Updated wording of callout describing device opt-out options. am: b48909ed52
am: bdbe6fd94f

Change-Id: Id995adadf9dab72a2c5bc70a96a82220937bc7fe
2016-08-04 01:23:54 +00:00
Joe Fernandez
2500e4a1c1 Merge "cherry-pick from nyc-dev: docs: Add ARC documentation TOC file" into nyc-docs am: 51a582fa85
am: 6ad22ca614

Change-Id: I458b83999db483a628a2d33a4f3a4037c6f8b7be
2016-08-04 01:14:48 +00:00
Joe Fernandez
42e485c8d2 cherry-pick from nyc-dev: docs: Add ARC documentation TOC file am: 712c053462
am: 337279df50

Change-Id: Id7cc9a79f3f306df0aab10921c9b05809763293f
2016-08-04 01:14:43 +00:00
Joe Fernandez
bc10c93a2b Merge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-docs am: d6f1d8ea28
am: 0af74fa732

Change-Id: Ie793990d142720d4d901b4e550446cce880d1a36
2016-08-04 01:14:37 +00:00
Kevin Hufnagle
6ed6297b5c docs: Migrated "Android Runtime on Chrome" pages to DAC am: 684d849621
am: a007a4d772

Change-Id: Ia081e1e0be8059188b617e68b17ea34b4d8c409e
2016-08-04 01:13:52 +00:00
Kevin Hufnagle
22f5b5c5d4 docs: Added page on DAC describing ARC manifest file considerations. am: 178caa888f
am: ebd455b077

Change-Id: Id17e778bbd197afbf9c16a85ef9756358fbb27f4
2016-08-04 01:13:21 +00:00
TreeHugger Robot
96e80573e0 Merge "Ensuring that the dock state is opposite of the nav bar." into nyc-mr1-dev 2016-08-04 01:05:11 +00:00
Kevin Hufnagle
bdbe6fd94f docs: Updated wording of callout describing device opt-out options.
am: b48909ed52

Change-Id: I120725cdb7304e037bc72da73d56fbf901bfe9aa
2016-08-04 01:03:32 +00:00
Joe Fernandez
6ad22ca614 Merge "cherry-pick from nyc-dev: docs: Add ARC documentation TOC file" into nyc-docs
am: 51a582fa85

Change-Id: I8be83bf47ae26a6bf9d0f812265c91133be40be3
2016-08-04 00:57:22 +00:00