240584 Commits

Author SHA1 Message Date
Jason Monk
c4f80d217e Allow QS details to scroll when the screen is really small
Change-Id: Ib28b6e9d888e864741c3ac472d30ef7cae06fe67
Fixes: 27276984
2016-04-20 13:30:11 -04:00
Felipe Leme
51a4ede593 Only try to add details to zip once.
When the user enters details (title or description) to the bugreport,
Shell tries to add a title.txt (and/or description.txt) to the zip and
uses 2 instance variables (addedDetailsToZip and addingDetailsToZip) to
control its state.

The problem with the current approach is that if there is a failure
adding the entries (for example, if the entries already exist), these
variables are not updated and hence when the user taps Share, it will
try to add the entries again, which most likely would fail.

BUG: 28291423
Change-Id: I56a71256be4f8de15f8126b815334277319e8e8a
2016-04-20 10:25:12 -07:00
Vladislav Kaznacheev
c8df6aa42f Merge "Send ACTION_DRAG_EXITED when the pointer moves over a non-touchable window" into nyc-dev 2016-04-20 17:11:21 +00:00
Jason Monk
e59bbb0899 Merge "QS tile lifecycle management" into nyc-dev 2016-04-20 17:09:01 +00:00
Keith Cheung
54f7d9bfaf Include work app in battery optimization settings
Fix: 23684151

Change-Id: I857b90ecee726f9a3d0d67eed944c8fffc668b2e
2016-04-20 18:02:10 +01:00
Ruchi Kandoi
43e38de253 window: Adds a Sustained Performance Mode window flag.
Adds setSustainedPerformanceMode(boolean) API for applications to set
the mode for a given window. The mode will be disabled automatically when the
window is no longer in focus.

Bug: 28150358
Change-Id: Ibe8bc564eeaaccbcaad5c4f792cda16da931dffd
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-04-20 09:57:11 -07:00
Dongwon Kang
a897e5f5e3 TIF: Do not build input list for background user
Building input list for background user leads to unnecessary connection
request to hardware input and that causes incomplete service state.

Bug: 27407198
Change-Id: Id8d5d5001394781edd2dafe8681c674855332ae3
2016-04-20 09:52:30 -07:00
Yang Ni
c74d2a8b87 Merge "Made Element accessors thread-safe" into nyc-dev 2016-04-20 16:44:39 +00:00
Phil Weaver
b72c30653d Merge "Clear calling identity when binding a11y services" into nyc-dev 2016-04-20 16:33:28 +00:00
Amith Yamasani
ea61e63bf8 Merge "Reinitialize voice interaction service on unlock" into nyc-dev 2016-04-20 16:19:45 +00:00
Yi Kong
30472f7488 Track libcore change be1608980825868eb1c70fab6eb86fe06bd304ce
Bug: 27704598
Change-Id: I5cb900c7b48bc7b48ed0ea1110ff834e1d316de7
(cherry picked from commit d7c695d25b1b75657bcbba6b61d62931a1b27d09)
(cherry picked from commit a69302e9e2ebc04447b16657a4e706fb1241ee6b)
2016-04-20 15:53:45 +00:00
Jason Monk
29c93ce05d QS tile lifecycle management
Ensure we send out the current QSService and Tile to the TileService
before we write to mWrapper allowing other commands to come through.

Change-Id: Ia3f470083d97d85fa726b1add3706db6278c7d1e
Fixes: 27871492
2016-04-20 11:41:36 -04:00
Felipe Leme
cad48dc193 Removed obsolete screenshot mention from full bugreport.
BUG: 28167977
Change-Id: I484615fdced4e803a40690b600389e9a5f98e7b1
2016-04-20 08:38:44 -07:00
Jason Monk
e6be9c58cc Merge "QS custom tiles - better handling of invalid icons" into nyc-dev 2016-04-20 15:25:43 +00:00
Jason Monk
4a906f9da6 QS custom tiles - better handling of invalid icons
Change-Id: I7b174a078a9df840eb73def101d865a8d630db19
Fixes: 27871180
2016-04-20 11:21:32 -04:00
Jason Monk
01dbf41311 Merge "Fix QS edit accessibility" into nyc-dev 2016-04-20 15:14:52 +00:00
Jason Monk
5665030500 Fix QS edit accessibility
Change-Id: Ibce7bdf480751994b318cba3a9954365f0ed8786
Fixes: 28194074
2016-04-20 11:10:23 -04:00
Shubham Ajmera
6c69351469 Track libcore change e2270147c6ddfb164776b68295078a5e6c6dfee7
Bug: 27426743
Change-Id: I7276e39951d721704726132281c316c77bdab515
2016-04-20 16:06:55 +01:00
Philip P. Moltmann
a1a1aa3c68 Merge "Expose additional fields needed by PrintRecommendationService GTS test and move files into properly named directory." into nyc-dev 2016-04-20 15:01:05 +00:00
Paul Jensen
4e1d3fdf7a Cap number of NetworkRequests a UID can make to 100
This prevents DoSing ConnectivityService with too many requests.

Fixes: 27253080
Change-Id: Id0480d220b2f01b9ef1146bef8ead2fc8287e28d
2016-04-20 10:52:47 -04:00
Jason Monk
6dde42f0ee Merge "Collapse QS panel after details if we expanded it before" into nyc-dev 2016-04-20 14:25:24 +00:00
Steve McKay
d8c2459b50 Merge "Only show OPEN button as needed." into nyc-dev 2016-04-20 14:25:07 +00:00
Jason Monk
d637903fe6 Merge "Update QS header to handle 320dp without overlapping" into nyc-dev 2016-04-20 14:21:27 +00:00
Jason Monk
85b866d5e4 Update QS header to handle 320dp without overlapping
Change-Id: I7f52ed8aac14bea6c2cdc9a6ef8087ff6ef1b802
Fixes: 28181221
2016-04-20 10:08:55 -04:00
Jason Monk
8095309791 Fix settings drawer when font size is huge
Change-Id: Id720a7e7b471ddf01ed3682882656cd838eb860d
Fixes: 28181614
2016-04-20 09:44:22 -04:00
Rubin Xu
49425d612c Merge "Kill foreground apps when turning off work" into nyc-dev 2016-04-20 09:33:52 +00:00
Keisuke Kuroyanagi
da067dcbf2 Merge "Allow switching keyboard layout to null." into nyc-dev 2016-04-20 09:12:51 +00:00
Tomasz Mikolajewski
1037af38a4 Do not make files in zip disabled in ACTION_VIEW.
Intent.ACTION_VIEW is only used for browsing ZIP files from Downloads.
FragmentTuner should ignore the MIME type from the MIME type filter.

This CL removes the MIME type filtering logic from FilesTuner, as
I believe FilesActivity is never used for picking items, so there should
be no need to mark any files as disabled.

Bug: 28267117
Change-Id: Iba92f82aca60154674a4bea3265b0f1a3ae296dc
2016-04-20 16:50:25 +09:00
Daichi Hirono
60fa3615bc Add throws definition to MtpDevice#readEvent.
Previously MtpDevice#readEvent does not have throws IOException at its
definition, though internal JNI functions throws it.

BUG=28254719
Change-Id: I4e6cf8003d168b7e732c4b4eb2eafe52a12442c2
2016-04-20 14:48:23 +09:00
Robert Carr
b976877a4b When restacking IM windows preserve relative order.
We were still having some troubles with attached windows which we
werent properly promoting here. Now we catch everything with
the mIsImWindow flag. Before it was safe to assume dialogs
were on top of the Input Method but with a whole range of child
windows we need to be more careful. WindowManagerService has
been very careful preparing the window list for us, so carry
out its wishes and preserve the original relative ordering of
input method windows when restacking.

Bug: 28235787
Change-Id: Ied96d83f77b82df81b3b0aa94cb61e9c22999d23
2016-04-19 22:38:55 -07:00
Vladislav Kaznacheev
598d40d937 Send ACTION_DRAG_EXITED when the pointer moves over a non-touchable window
Bug: 28276601
Change-Id: Ic8da5c5ae422a9c9dd2d5bef898ee36a66b73afd
2016-04-20 04:51:40 +00:00
Sudheer Shanka
a1790c3b35 Add restrictedSwitchSummary attribute to restricted switch preferences.
Bug: 27659072
Change-Id: If516adaed041ea0d66945ebf1dbe7945331d0da5
2016-04-19 21:51:38 -07:00
Jaewan Kim
f915bf7e9b PIP: Support accessibility
Bug: 27890756
Change-Id: If1689d264075dc23612fd26a46fe67c8b4492ee0
2016-04-20 13:06:36 +09:00
Tomasz Mikolajewski
0fb51357af Merge changes I5e500724,I40cfb12c into nyc-dev
* changes:
  Restrict selection to 1000 items in DocumentsUI.
  Cancel band selection on directory change.
2016-04-20 03:57:28 +00:00
Andreas Gampe
52764cba59 Frameworks/base: Add holder to BaseBundle
Move EMPTY_PARCEL into an inner holder class. Add holder to
preloaded-classes. Clean up dependencies.

Allows to compile-time initialize:
* android.os.BaseBundle
* android.os.Bundle
* android.os.PersistableBundle
* android.telephony.CarrierConfigManager

Bug: 27265238
Change-Id: Ib8017aa419c2985963b3c68a8046462a38652ef2
2016-04-19 20:46:43 -07:00
Jakub Pawlowski
75760e6b62 Merge "OobData documentation" into nyc-dev 2016-04-20 03:15:23 +00:00
TreeHugger Robot
c75e08d114 Merge "Don't do anti-falsing on locked shade" into nyc-dev 2016-04-20 03:00:30 +00:00
Robert Carr
2665604edd Respect WRAP_CONTENT when resolving drop down position.
We recently added the width/height <0 check to prevent
passing unresolved widths in to tryFitVertical or
tryFitHorizontal and produce strange behaviors. This made
more sense than the code before it but still not that much
sense. We need to treat MATCH_PARENT and WRAP_CONTENT differently
as the documentation suggests.

Bug: 28267951
Change-Id: I6f2f248c8d1f63d31bdd75c24f7250c28381c712
2016-04-19 19:10:44 -07:00
TreeHugger Robot
50c410c1c9 Merge "Fix wrong transition when recents is growing when entering" into nyc-dev 2016-04-20 01:48:39 +00:00
TreeHugger Robot
75db0392b8 Merge "Fix NPE in WallpaperDrawable" into nyc-dev 2016-04-20 01:27:35 +00:00
Adam Lesinski
752434a0ff Merge "Record in progress count when parceling Timer" into nyc-dev 2016-04-20 01:22:37 +00:00
Adam Lesinski
b7a92e6009 Merge "Move batterystats stats collection to its own thread" into nyc-dev 2016-04-20 01:18:49 +00:00
Chris Craik
f3754a8428 Fix shadow radius too large for RS
bug:28276925

Change-Id: I3d962ace75be7bbf49f5a95320390d8f5a9bf951
2016-04-19 18:15:51 -07:00
destradaa
78cebca720 Add support for multiple callback registration in.
- Allows several callbacks from different processes to register with
  the ContextHub service.
- Add an 'internal' callback that can be used for primary clients.
- Fix issue with parceling NanoApp info

Change-Id: Iec203e8b8bc847cb9274f3f4157d0773984dd87c
2016-04-19 17:45:18 -07:00
Adrian Roos
ecdc5c4448 Merge "Disable anti-falsing logic with touch exploration" into nyc-dev 2016-04-20 00:38:06 +00:00
Adam Lesinski
20b84dfa59 Move batterystats stats collection to its own thread
Too many other tasks run on common handlers, and the batterystats collection
may block waiting for a timeout of up to 2 seconds.

Bug:27857665
Change-Id: I5be1ddc374d69620f4f7d821eb29e8524294c9a4
2016-04-19 17:33:33 -07:00
Adrian Roos
6a70b884df Don't do anti-falsing on locked shade
The user has already passed the keyguard test by
dragging down. We're not doing anti falsing at this
point and doing it on the affordance was triggering
a crash on debuggable builds (and not working at all
on regular builds).

Change-Id: Icaf81e8e2a38503851c7b5699a0f5a3d363dac19
Fixes: 28154836
2016-04-20 00:32:21 +00:00
Sudheer Shanka
8f182f1454 Fix additional summary of RestrictedSwitchPreference.
Bug: 27659072
Change-Id: I27fec7d5bf3daeb5525cf45c328aa2f0c93f7490
2016-04-19 17:27:52 -07:00
Adam Lesinski
98f0d4692c Record in progress count when parceling Timer
The total time is computed before parceling, but the total count is not.

Bug:27747854
Change-Id: If3afdca9605f74d96a54fb9df17f6df761b99e55
2016-04-19 17:21:40 -07:00
Winson Chung
5d65340fc5 Merge "Fixing crash when dumping secondary SystemUI user service." into nyc-dev 2016-04-20 00:21:39 +00:00