Commit Graph

23992 Commits

Author SHA1 Message Date
Jorim Jaggi
c875ae74ba Don't move forced resizable info activity to the front
If we start the forced resizable activity with an existing task,
avoid moving that task to the front. This can cause that a previous
task that was moved to the back gets moved to the front again just
because we started that activity. That's not good.

Bug: 28223489
Change-Id: If8acf31b8be98b82665de1015d5621331c37fb64
2016-04-27 19:19:04 -07:00
TreeHugger Robot
74610328f3 Merge "Fix contrast enforcement for RemoteInputView" into nyc-dev 2016-04-28 01:33:43 +00:00
TreeHugger Robot
c4e70467f7 Merge "Fixed a crash when the transformed view was updated while dragging" into nyc-dev 2016-04-28 01:05:26 +00:00
Chris Tate
bee2d3dfe4 Merge "Apply restored wallpaper via API rather than rename-into-place" into nyc-dev 2016-04-28 00:56:02 +00:00
Adrian Roos
25ea5b8586 Fix contrast enforcement for RemoteInputView
Previously, the disabled color was used for the contrast
calculations, which resulted in too dark RemoteInputView
backgrounds.

Change-Id: I99e8b2fa64a22a59fdc5d1be8a6aff5af3523a27
Fixes: 28429720
2016-04-28 00:08:21 +00:00
Adrian Roos
7ce11e7c23 Merge "RemoteInput: add logging and metrics" into nyc-dev 2016-04-28 00:03:03 +00:00
Adrian Roos
39d60bace6 Merge "Prevent dismissal on RemoteInputView" into nyc-dev 2016-04-28 00:02:46 +00:00
Selim Cinek
589fd3e47f Fixed a crash when the transformed view was updated while dragging
The transformed view could get updated during the transition
leading to a crash sometimes. We're now handling this better and
make sure the correct values are set.

Change-Id: I1a311cb7c108afeec0fc1c92eb3359c622db7b87
Fixes: 27922191
2016-04-27 16:24:48 -07:00
Christopher Tate
61f2d63889 Apply restored wallpaper via API rather than rename-into-place
This plays nicer with SELinux and generally means we can be more robust
about file security policies.

Bug 28403975

Change-Id: I857ee7073c0090c7515421f41c9334025e25bc79
2016-04-27 16:05:03 -07:00
Selim Cinek
477af0d4ea Merge "Fixed a bug where the media template wasn't transforming right" into nyc-dev 2016-04-27 23:00:09 +00:00
Selim Cinek
8f4f2a9bfc Merge "Fixed a crash where the overflow number wasn't initialized" into nyc-dev 2016-04-27 22:59:42 +00:00
Selim Cinek
42a0cb3188 Merge "Fixed that notifications didn't fade away when brightness changed" into nyc-dev 2016-04-27 22:38:38 +00:00
TreeHugger Robot
1a101dbc81 Merge "Fix remote input view clobbering" into nyc-dev 2016-04-27 22:17:33 +00:00
TreeHugger Robot
e6500d592e Merge "Add a 1st-time dialog for Data Saver title." into nyc-dev 2016-04-27 21:42:06 +00:00
Svetoslav Ganov
83a1f7fe91 Add a missing null object check
We now have a null object instead of null values and
there was a place where we returned null instead of
the correct null object.

bug:28423485

Change-Id: I2626768acdf8d19fc94aa5e978eb057818450fa5
2016-04-27 14:18:05 -07:00
Selim Cinek
f88c629346 Fixed a bug where the media template wasn't transforming right
Bug: 28406828
Change-Id: Ie400fd62cc0efc8f0a77cc81a40a17c54aa90e65
2016-04-27 13:44:16 -07:00
Selim Cinek
b41b2f6fc2 Fixed a crash where the overflow number wasn't initialized
Change-Id: I2df85055d5670af3a6c78a2b62bc62c9297ead78
Fixes: 28008437
2016-04-27 13:44:15 -07:00
Ben Lin
2360aa33db Merge "Safe check so we don't move cursor beyond possible pos scope." into nyc-dev 2016-04-27 20:33:52 +00:00
Jorim Jaggi
af77082a22 Merge "Use FLAG_RECEIVER_FOREGROUND for lock intent" into nyc-dev 2016-04-27 20:25:26 +00:00
Jorim Jaggi
ad0ce3ab5e Use FLAG_RECEIVER_FOREGROUND for lock intent
To make we get priority for the intent.

Bug: 27391589
Change-Id: I112588116d51012dbe4d66c90b839bb88bc3f21b
2016-04-27 13:21:02 -07:00
Felipe Leme
0281a9908f Add a 1st-time dialog for Data Saver title.
BUG: 28098106
Change-Id: Ida19dcfc11ff74117af58fe1a4d43aa03e087f2b
2016-04-27 13:17:08 -07:00
Mady Mellor
1979bd7af2 Merge "Fix NPE when updating gear vertical location" into nyc-dev 2016-04-27 20:14:57 +00:00
Selim Cinek
31d37b9186 Fixed that notifications didn't fade away when brightness changed
Because nothing was drawing there with SRC one would simply see
the old buffer there.

Change-Id: Ie7a8989a4af92a05b1e9be2430fd9704c26a125d
Fixes: 27317122
2016-04-27 13:04:04 -07:00
Bill Yi
bd0f1fcd67 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-27 20:00:40 +00:00
Bill Yi
58a1a07470 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-27 20:00:03 +00:00
Bill Yi
597d560f2e Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-27 19:58:27 +00:00
TreeHugger Robot
9f72683fee Merge "Added logging for Data Saver toggle switch." into nyc-dev 2016-04-27 19:45:28 +00:00
TreeHugger Robot
6d9e1cf79a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-27 19:43:39 +00:00
Mady Mellor
5f88f9b355 Fix NPE when updating gear vertical location
Since we do this onLayout it's unnecessary to update the location here
plus it causes an NPE as the parent may not be laid out yet when
accessing collapsed height.

Bug: 28390732
Change-Id: I3e61eb7ce854002def3342856557d456249e5e26
2016-04-27 18:53:27 +00:00
Rob Carr
fa255f6ead Merge "Revert "Prevent recents from closing while moving PiP to fullscreen."" into nyc-dev 2016-04-27 18:13:27 +00:00
Adrian Roos
fa139757aa Prevent dismissal on RemoteInputView
Prevents swiping out a notification when started on
the RemoteInputView, as this can easily happen during
text manipulation otherwise.

Change-Id: I8f658eab88ca1daf8ffcb7a5d1fac4468f5f0845
Fixes: 28336831
2016-04-27 09:59:15 -07:00
Adrian Roos
ceeb04c7c4 RemoteInput: add logging and metrics
Bug: 28277176
Change-Id: I79421927cc686f989231c29dd505b70ed22739f7
2016-04-27 09:04:25 -07:00
Adrian Roos
4c1fcc892e Fix remote input view clobbering
- If a notification is updated, make sure that the focus
  is kept even when the change cannot be applied inline.
- Make sure to update the pending intent to match one
  of the new actions in case the old one is no longer
  valid, and to prevent sending text to the wrong action
  unintentionally.
- Keep focus when switching between heads-up and expanded.
- Prevent the action container from becoming transiently
  gone during reapplying.

Fixes: 27357771
Change-Id: Ie9f49935827f6efb15b73f8d686f0c110448456a
2016-04-27 06:57:48 -07:00
Bill Yi
b08bbd994c Import translations. DO NOT MERGE
Change-Id: I3a9d207063511cfd862a522bc245fbf70abfbf3b
Auto-generated-cl: translation import
2016-04-27 06:26:50 -07:00
Bill Yi
8f32d05d5c Import translations. DO NOT MERGE
Change-Id: Ibb4e5316af0f8a302487f3b737efef8b99f0fe9f
Auto-generated-cl: translation import
2016-04-27 06:10:42 -07:00
Bill Yi
6c82c5ab41 Import translations. DO NOT MERGE
Change-Id: Ice98eb3ed66513d4e324e5f1939006048caec376
Auto-generated-cl: translation import
2016-04-27 05:43:40 -07:00
Seigo Nonaka
6e5b602552 Fix unexpected null check condition flipping.
With I5a40675dd226564c0ee190d0d6f7eb2a7e4673b0, isNull() is used for
null check but accidentally the condition is flipped.

Bug:28406262
Change-Id: I776a6c259765210a7b334a81876233b594fd25ed
2016-04-27 16:32:44 +09:00
Svet Ganov
6f8a10bd14 Add a missing null check
We no longer have a null settings value - instead it is a
null object. This change adds a missing null check that is
not changed to check against the null object.

bug:28406262

Change-Id: I5a40675dd226564c0ee190d0d6f7eb2a7e4673b0
2016-04-26 23:14:06 -07:00
Bill Yi
119fe56bc7 Import translations. DO NOT MERGE
Change-Id: I462f55a9c48e4154ce97bbe76b2b8ef6add73086
Auto-generated-cl: translation import
2016-04-26 22:23:19 -07:00
Winson Chung
e433cafe07 Merge "Mark header bar buttons as clickable only when they are made visible." into nyc-dev 2016-04-27 04:02:10 +00:00
Svetoslav Ganov
cab51643e7 Merge "Replace null checks is null object checks" into nyc-dev 2016-04-27 01:39:25 +00:00
Svetoslav Ganov
fedb230213 Replace null checks is null object checks
A recent change replaced the null state during a setting
lookup with a null object, however missed to update some
null checks to be null object ones.

bug:28405145

Change-Id: I80f0fb3ac6e64f4283b6c617283a009e97a40efe
2016-04-26 18:36:47 -07:00
TreeHugger Robot
e597323939 Merge "Terminate DocumentsUI opened for the specific root." into nyc-dev 2016-04-27 01:18:44 +00:00
Tomasz Mikolajewski
b56bc29657 Merge "Exclude virtual files from ACTION_SEND." into nyc-dev 2016-04-27 01:11:04 +00:00
Tomasz Mikolajewski
52036c743c Merge "Fix index computation for quick viewing." into nyc-dev 2016-04-27 00:30:46 +00:00
Jeff Sharkey
ee6d8be53e Merge "Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%."" into nyc-dev 2016-04-27 00:04:02 +00:00
Mady Mellor
6e3a90d9b7 Merge "Fix a crash when setting vertical gear location and content view null" into nyc-dev 2016-04-26 19:38:44 +00:00
Winson
3e5f0af085 Mark header bar buttons as clickable only when they are made visible.
- We were incorrectly setting the OnClickListener to null to try to do 
  this, which still causes the touch event to be consumed by the button
  view, so instead we should just set the clickable state directly.

Bug: 27859552
Change-Id: Ida3b4a467c6f325ce8fe5a90b0b77c2bdda5a936
2016-04-26 11:39:28 -07:00
Svetoslav Ganov
f71d7feef2 Merge "Ensure local settings caches are not stale" into nyc-dev 2016-04-26 18:36:28 +00:00
TreeHugger Robot
83ca62bdbe Merge "Remove -night qualified resources" into nyc-dev 2016-04-26 18:33:05 +00:00