Commit Graph

253881 Commits

Author SHA1 Message Date
Winson
fc73eec235 Adding support for blacklisting apps from Recents transition.
Bug: 30602323

Change-Id: I2a6e75a989264ce72ac552e2c7f82225ccd68adf
2016-08-03 19:28:11 +00:00
TreeHugger Robot
f09b5d7a78 Merge "Fix RNA crash" into nyc-mr1-dev 2016-08-03 18:57:26 +00:00
sreevanis
9d47caeae9 docs:Updated logos in Auto index page.
Bug:29533703
Change-Id: Ibf7b1675071591c9f128bffb092b9989068e83d6
2016-08-03 11:33:49 -07:00
Selim Cinek
5f1450229b Loading the camera preview correctly with direct boot
With direct boot the camera preview could be loaded in a wrong
state when the device was started. This ensures that it's reloaded
more often and should always be up to date and also fixes the
bug that the camera preview couldn't be loaded initially.

Change-Id: Ib43e322a9d6ef05d8519ebc85f4509441829e528
Fixes: 30420861
2016-08-03 11:10:43 -07:00
Craig Donner
5633ad6921 Merge "Revert "Remove coarse location pre-grant for preinstalled VrListenerServices."" into nyc-mr1-dev 2016-08-03 17:52:12 +00:00
Ben Lin
b56e9213ce Lowercasing search query in ExternalStorageProvider#querySearchDocs.
Bug: 30620314
Change-Id: I4203eda72c94fde11d3973274138ad88edb51e5f
2016-08-03 10:50:31 -07:00
Steve McKay
0c28f3bda3 DO NOT MERGE: Treat unknown tooltype as touch.
DNM because code has changed in master.

Bug: 30182625
Change-Id: I0f226abd9eb6899d8a3ecd1c24bb1b261b3d3677
2016-08-03 17:34:46 +00:00
John Reck
d58230c7f7 Fix RNA crash
Bug: 30632377
Change-Id: I5d53fba0f469553ae90bebad1482ef28965dd853
2016-08-03 10:28:10 -07:00
Meng Wang
542e262605 Add carrierconfig enhanced_4g_lte_title_variant_bool
Bug: 30629746
Change-Id: I412d2d228797777e9d3db5fa4a9a630eb457e24c
2016-08-03 10:19:14 -07:00
Felipe Leme
6dd4e88210 Fixed year on copyright notice.
BUG: 30429392
Change-Id: If6477ccde5820dd118ad92bb5d4f74d938cf0d83
2016-08-03 10:05:54 -07:00
Jason Monk
9c74ff1218 QS Header: post some updates to the header
These sometimes trigger binder calls, that can cause jank on the
first frame of expanding the panel.

Bug: 30442298
Change-Id: Id60fd5ee9732515cd6f9645c7ab307c949dfc506
2016-08-03 10:26:47 -04:00
Jason Monk
d8fb07f534 QS Header: don't update everything unless we need to
Because it leads to bad performance.

Bug: 30442298
Change-Id: I4c7b68ad30a1fd4fe8245f27ce2d2b2038583d23
2016-08-03 10:03:04 -04:00
Jaewan Kim
7000519695 PIP: Hide play/pause button by default
Bug: 30594655
Change-Id: I8e1a6c2b17140a2116a02d642199d4b4985f2cc5
2016-08-03 14:18:58 +09:00
Kevin Hufnagle
97a3d3c3a6 docs: Added page on DAC describing ARC manifest file considerations.
Bug: 30114799
Change-Id: I9b8d67d09e4627f22a9fc58421dd52aa3650c235
2016-08-02 22:11:02 -07:00
Adrian Roos
090b7d82d2 Only reorient nav bar if needed
Bug: 30388298
Change-Id: Ifda69682fd00ed11ce21b439d12d3b432db1eca7
2016-08-02 18:37:24 -07:00
TreeHugger Robot
c9682ab5b5 Merge "Improved vibration feedback completely" into nyc-mr1-dev 2016-08-03 00:57:53 +00:00
Joe Fernandez
a117b34777 docs: Add ARC documentation TOC file
Bug: 30114799
Change-Id: Ib4e3c5b255c9e1e9c2894b3703deb1d38f252fba
2016-08-02 17:50:58 -07:00
Ben Lin
d06893eb10 DO NOT MERGE: Enable switch access api to activate/open files in DocsUI.
Switch Access uses OnClickListener() on individual views to check
whether a view is "clickable" or not. If it is clickable, using
prev/next keys will highlight to these clickable views. Since DocsUI
used to simply trap touch events and did not have any OnClickListeners
on its list/grid child views, switch access was not able to pick up
these views as clickable views. Simply adding an OnClickListener() fixes
this particular bug, but then a regular touch using finger/mouse would
trigger both onClick() and OnSingleTapUp(MotionEvent), which causes
double-firing and lead to unexpected behavior.

This fix overrides two accessibility-related methods in the
recyclerView's layoutManager, which the recyclerView delegates to.
Switch Access should now be routed to the correct behavior (which opens the
file/doc).

Bug: 30077035
Change-Id: I380d7529fa041f7b4905170f43f28a4235dc118d
2016-08-02 16:53:42 -07:00
Jim Miller
1c21fc5e0a Disable systemui navigation events while keyguard is showing
This feature isn't generally useful on this screen and provides
an additional mechanism for falsing, so it should be disabled.

Fixes bug 30443528

Change-Id: Ibdba485917b5e66780ff4915f48ff2014f195eca
2016-08-02 16:12:58 -07:00
Ruben Brunk
964d6914ff Merge "Fix component management in VrManagerService." into nyc-mr1-dev 2016-08-02 23:01:26 +00:00
Selim Cinek
0fc298ffc7 Improved vibration feedback completely
Certain paths were still vibrating at the wrong time.

Change-Id: I660a84efa798a8c1198d8899584ecec48ff2e9d8
Fixes: 30000347
2016-08-02 15:58:45 -07:00
Dianne Hackborn
7841042a83 Merge "Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts" into nyc-mr1-dev 2016-08-02 22:41:37 +00:00
sergeyv
1c16c37d86 TextureView: destroy layer on destroyHardwareResources event
bug:30468770
Change-Id: I5174808e3fa6e4a87e3522246522c4e6d7ee2c3c
2016-08-02 15:40:27 -07:00
Ruben Brunk
1f4f26b1d5 Fix component management in VrManagerService.
- Add null checks to avoid crashing in transient state with no
  enabled packages during user switch.

Bug: 30574163
Change-Id: I316373e900d4be35be7691b50057d0701b7fb4a5
2016-08-02 15:21:47 -07:00
Winson
b43ba86811 Fixing typo in dump log.
Change-Id: I94c381acb9a1748770231e714b93875097850e0d
2016-08-02 14:53:55 -07:00
Andrew Solovay
465004fe6b cherry-pick from nyc-dev: docs: SafeBrowsing API am: 741757f27f
am: 328a6a12eb

Change-Id: I319b852c941b67d83f6f473b2cd5b61860af687a
2016-08-02 21:48:05 +00:00
Hemal Patel
3b7309d753 Docs: Changed custom_toast to toast_layout
Bug: 18909456
Change-Id: Ib3f79436421e5bdbd6ebd18563da081a751ea0e0
2016-08-02 14:47:19 -07:00
Joe Fernandez
af74842e3a Resolve merge conflicts of ffb4eb1 to nyc-dev
am: a5abfee3a5

Change-Id: I7c4265a691636c1de8b47688cfaa15e57907caee
2016-08-02 21:40:08 +00:00
Joe Fernandez
328a6a12eb cherry-pick from nyc-dev: docs: SafeBrowsing API
am: 741757f27f

Change-Id: Ice1968509af665160646025e708d3802b39ef4c4
2016-08-02 21:36:02 +00:00
Bert McMeen
f27ab3c126 Docs: Fixed typo in API Overview
Bug: 30436707
Change-Id: I99a2b103d0643158da00ee0b5547b52bf6ebc040
2016-08-02 14:15:07 -07:00
Andrew Solovay
741757f27f docs: Fixing download redirects
URLS of the form https://developer.android.com/downloads/… weren't
properly redirecting to
https://commondatastorage.googleapis.com/androiddevelopers/…

bug: 30594087
Change-Id: I18e026c236d081b6bb510900e5928107105b93cd
2016-08-02 14:14:08 -07:00
Dianne Hackborn
de8572d931 Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts
We still check for security errors of non-system apps trying to send
protected broadcasts at the front.

However, the WTF check for system apps sending non-protected broadcasts
is now moved down to where we actually resolve the receivers, so we
can loosed then check to make it okay as long as you are sending an
explicit intent to only appropriately protected receivers.

Change-Id: I5214c6c26a60de083f1f9578bcc5e95ba19f7001
2016-08-02 14:08:23 -07:00
Yigit Boyar
828d4ff61d Merge "Target API check for margin params fix" into nyc-mr1-dev 2016-08-02 20:41:08 +00:00
Doris Liu
a3c35852a1 Merge "Ensure layer update include the dirty rect from AVD" into nyc-mr1-dev 2016-08-02 20:36:20 +00:00
TreeHugger Robot
f77b6620d1 Merge "ShortcutManager: rescan all apps after next OTA" into nyc-mr1-dev 2016-08-02 20:19:33 +00:00
Doris Ling
174a074eb2 Merge "Add metrics logging for fingerprint swipe for notification panel." into nyc-mr1-dev 2016-08-02 19:50:07 +00:00
Mark Lu
fb48521f41 docs: add info to SharedPreferences.Editor.putString
The information explains what happens when null is passed
as value parameter

Bug: 24696308
Change-Id: I362c2b1885e882312d1b4b2ff829f8f9f3546301
2016-08-02 12:10:48 -07:00
TreeHugger Robot
ca69bd37a9 Merge "Removed redundant call to updateRulesForRestrictPowerUL()." into nyc-mr1-dev 2016-08-02 18:50:05 +00:00
Makoto Onuki
4dd032d5a6 ShortcutManager: rescan all apps after next OTA
- Normally when a user is unlocked, SM scans all updated apps
since the last scan to see if their manifest shortcuts have changed.

- There was a known issue that's been fixed already that'd result
in all shortcuts being removed.

- To work around this issue, let's scan all packages after the next
user unlock.

- This can be done by just renaming the XML attribute name to persist
the last app scan time.

Bug 30591723

Change-Id: Ie9f723ef30a1c991990d981193841cb203c094ad
2016-08-02 11:42:55 -07:00
Adrian Roos
87fab000c5 Merge "SystemUI: Fix crash from bad notifications" into nyc-mr1-dev 2016-08-02 18:40:42 +00:00
Adrian Roos
9923784efc Merge "DozeLog: Properly initialize" into nyc-mr1-dev 2016-08-02 18:39:25 +00:00
Jorim Jaggi
1340221244 Merge changes I03844bce,I8035357c,Ibe7cb6df into nyc-mr1-dev
* changes:
  Remove lock contention when unlocking users
  Only get trace name if tracing is enabled
  Fix multi-window drag jank if vsync-app is before vsync-sf
2016-08-02 18:31:08 +00:00
TreeHugger Robot
f7ac45a33b Merge "Use SurfaceControl.screenshot() instead of screencap for screenshots." into nyc-mr1-dev 2016-08-02 18:29:46 +00:00
Yigit Boyar
2dd20a61e9 Target API check for margin params fix
Prior to N, our widgets were not converting MarginLayoutParams
properly between ViewGroups. The fix intrudced some issues in
older apps as the broken conversion code would hide developer
errors. This CL guards the change with a target API check so
that we don't affect older apps.

Bug: 30378230
Change-Id: I215281d261b553c3b4cedcd29ea0a861df809471
2016-08-02 11:27:18 -07:00
Kevin Hufnagle
a5abfee3a5 Resolve merge conflicts of ffb4eb1 to nyc-dev
Change-Id: I2f096fc31de12fb4e4715343854a5f09049e4221
2016-08-02 11:11:22 -07:00
Doris Liu
0cf4d47a40 Merge "Put VD animators on paused list when RT stops drawing" into nyc-mr1-dev 2016-08-02 18:08:05 +00:00
TreeHugger Robot
0d8f164cde Merge "Fix FrameMetricsObserver crash" into nyc-mr1-dev 2016-08-02 18:06:08 +00:00
Jorim Jaggi
c6da82fb9c Move brightness handling to a background thread
Bug: 30442298
Change-Id: I6650ffe2373cc68dd5a374a54e107913f2e2e093
2016-08-02 20:04:52 +02:00
Makoto Onuki
61dd3c557c Merge "LauncherApps should also throw when user is locked" into nyc-mr1-dev 2016-08-02 17:58:20 +00:00
Jason Monk
dfb851c6cf QS: Fix expanding on closing detail
Change-Id: I21f3baf76c956ee3679bd33cbde9859f181cc7eb
Fixes: 30215042
2016-08-02 13:49:43 -04:00