240672 Commits

Author SHA1 Message Date
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
Adam Lesinski
9acfd8166b BatteryStats: use the same timestamp for comparing intervals
Use the timestamp provided by the modem to compare time.

Bug:28133571
Change-Id: I046bc1f2b90ba9b8b8245f031925476680ba5275
2016-04-19 18:29:50 -07: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
Amith Yamasani
37f9de996e Reinitialize voice interaction service on unlock
Fixes the incomplete initialization on FBE devices when
voice interaction service is not available before unlock.

Change-Id: I397237e4554453d29da643aee59384e289fa3654
Fixes: 28183380
2016-04-19 17:20:51 -07:00
Chen Xu
771fbfef27 Merge "Cold Sim issue fix" into nyc-dev 2016-04-20 00:10:01 +00:00
Jorim Jaggi
13219992a0 Merge "Fixes for resize thread" into nyc-dev 2016-04-20 00:07:54 +00:00
Phil Weaver
13ce4693d3 Clear calling identity when binding a11y services
When a UiAutomation is destroyed, accessibility services may get
enabled as a side effect. That was causing these services to be
enabled in a binder thread, which threw a SecurityException.

Bug: 28268310
Bug: 28163652
Change-Id: Ie25ab05569b5b21b5f30e7d7eed24ef73b7ba159
2016-04-19 17:07:20 -07:00
Jorim Jaggi
db21bbd2ca Fix wrong transition when recents is growing when entering
Bug: 27855229
Change-Id: I050305d16df6fe53abf5e74e1f9ee6c882dd7ead
2016-04-19 17:07:06 -07:00
Christopher Tate
5e380f096c resolve merge conflicts of 7641889 to lmp-mr1-dev
am: cebcde3b5a

* commit 'cebcde3b5a1e406d953629d5b4c87347921a17de':
  Kill the real/isolated uid group, not the ApplicationInfo uid

Change-Id: I6e3c41c59dfe4105780ad7d6d20f9096aabd575a
2016-04-20 00:05:54 +00:00
Trevor Johns
483abe2d8b Remove links to createAndInitializeUser() and createUser()
These methods in DevicePolicyManager have been removed from the
public API in NYC.

Converting @link tags to @code to avoid error during JavaDoc gen.

Change-Id: I5d481ccf65bcf83a61f43cfac8ae474656ff34c1
2016-04-19 17:01:12 -07:00
Adrian Roos
751f33f8c7 Fix NPE in WallpaperDrawable
Fixes: 28272898
Change-Id: I0377a341c253c79f5179b3a9c8eadcf51f9ffad3
2016-04-19 16:41:36 -07:00
TreeHugger Robot
e23f581081 Merge "Don't block while dispatching PRE_BOOT." into nyc-dev 2016-04-19 23:23:49 +00:00
Winson
5b15f9bb9d Fixing crash when dumping secondary SystemUI user service.
- Secondary user’s SystemUI process is initialized with 
  SERVICES_PER_USER, which is a strict subset of SERVICES, but mServices
  is a fixed size array that does not change, so we need to add a null
  check when iterating through the current list of services for the 
  non-primary user.

Bug: 28153575
Change-Id: I0a6b4726e82f2efddda358a835b1ef3d9f165375
2016-04-19 16:18:28 -07:00
Winson Chung
b77d0bcc84 Merge changes Ie3125ec8,Ifa149322,Ifa2ed84a into nyc-dev
* changes:
  Tweaking accessibility actions for dock divider.
  Ensure that the drag view is not dimmed.
  Disallowing scrim activity from setting TaskDescription.
2016-04-19 23:01:20 +00:00
Christopher Tate
cebcde3b5a resolve merge conflicts of 7641889 to lmp-mr1-dev
Change-Id: Ie162907d7388d0e388ab39bcf2471d19e2ce7020
2016-04-19 15:51:37 -07:00
TreeHugger Robot
28baa37a56 Merge "Show "Android System" instead of "Shell" on notifications." into nyc-dev 2016-04-19 22:34:54 +00:00
TreeHugger Robot
e45ed15388 Merge changes Id1278b07,Ic3da5046 into nyc-dev
* changes:
  Fixed a bug where expanding by touch wasn't possible
  Made sure the fake shadow won't be invisible
2016-04-19 22:23:32 +00:00
Selim Cinek
fe090658b6 Fixed a bug where expanding by touch wasn't possible
In landscape expanding by touch was not working because
the rawX is different from the X.

Change-Id: Id1278b073ea2e10258648884c528f5db273f2d78
Fixes: 27923197
2016-04-19 15:19:04 -07:00
Selim Cinek
e4367d60fc Made sure the fake shadow won't be invisible
The shadow could still be invisible as it was too
small.

Change-Id: Ic3da504663a449e60f490af14bb98701cff2653c
Fixes: 27317665
2016-04-19 15:19:00 -07:00