Commit Graph

68678 Commits

Author SHA1 Message Date
Abodunrinwa Toki
cc59a84490 Merge \\"FloatingActionMode: Fix screen coordinates.\\" into nyc-mr1-dev am: 3b8e0fdf92
am: c749762107

Change-Id: If82be88fcf267aef7f239e9ab30e3e594fcf945e
2016-07-17 18:26:40 +00:00
Abodunrinwa Toki
c749762107 Merge \"FloatingActionMode: Fix screen coordinates.\" into nyc-mr1-dev
am: 3b8e0fdf92

Change-Id: If193932cfe4b79535ba8d2ce44f144899e81ee4e
2016-07-17 18:20:11 +00:00
Abodunrinwa Toki
3b8e0fdf92 Merge "FloatingActionMode: Fix screen coordinates." into nyc-mr1-dev 2016-07-17 18:07:09 +00:00
Tim Murray
36030dda49 Merge \\"Make sure StrictMode allows disk reads when calling isThreadInProcess.\\" into nyc-mr1-dev am: afa67f3d34
am: 62547293e3

Change-Id: Idc39bd967dfc45c9d66aaf5f28e1012c4c15bd78
2016-07-16 19:29:44 +00:00
Tim Murray
62547293e3 Merge \"Make sure StrictMode allows disk reads when calling isThreadInProcess.\" into nyc-mr1-dev
am: afa67f3d34

Change-Id: I2b3afb4acb9038a2d33ecf42bbbcc8c5d754ab5f
2016-07-16 19:25:37 +00:00
Tim Murray
afa67f3d34 Merge "Make sure StrictMode allows disk reads when calling isThreadInProcess." into nyc-mr1-dev 2016-07-16 19:14:30 +00:00
Tim Murray
9bc12a83b6 Make sure StrictMode allows disk reads when calling isThreadInProcess.
If an application thread disables disk reads on the main thread,
isThreadInProcess will trigger a strict mode violation. This is bad if
the RenderThread is created after disk reads have been disallowed.

bug 30170339

Change-Id: I6918605d11f0c586c156f3168051376c3209b3f1
2016-07-16 11:48:01 -07:00
Adam Lesinski
8024bf723c Merge \\"Deprecate Resources constructor and updateConfiguration() method\\" into nyc-mr1-dev am: c3829f528e
am: 6a9f651b73

Change-Id: I27261451c872502b5f240f1e68fdd092fa9e5e67
2016-07-16 02:44:06 +00:00
Adam Lesinski
6a9f651b73 Merge \"Deprecate Resources constructor and updateConfiguration() method\" into nyc-mr1-dev
am: c3829f528e

Change-Id: I59c4daf39179409cc3195cda9c89ae604ec36af6
2016-07-16 02:38:24 +00:00
TreeHugger Robot
c3829f528e Merge "Deprecate Resources constructor and updateConfiguration() method" into nyc-mr1-dev 2016-07-16 02:33:55 +00:00
Adam Lesinski
aa19d5e49e Deprecate Resources constructor and updateConfiguration() method
These methods were never meant to be public. Instead, developers
can use Context#createConfigurationContext().

Bug:30088019
Bug:29999297
Change-Id: I2b864136163deda0af99fa3bfe9ef4ee1077341a
2016-07-15 18:01:48 -07:00
Makoto Onuki
d36651717e Merge \\"Cache the default launcher.\\" into nyc-mr1-dev am: cf99263662
am: 6406be311c

Change-Id: If7d3f5325388242a196d78f8429c4aba65ef041e
2016-07-15 23:34:53 +00:00
Ashutosh Joshi
d51413ec49 Merge \\"Loading NanoApps now works.\\" into nyc-mr1-dev am: 095979b463
am: 820ab55e1c

Change-Id: Ib92f140990ed577483bcafdbdc87118f2528144e
2016-07-15 23:28:28 +00:00
Makoto Onuki
35dcfebd1e Merge \\"Fix the allowed icon type error message\\" into nyc-mr1-dev am: fd57d549cf
am: 3e3f0f1ba8

Change-Id: Iaa3eb26436dfa339ee7e095562344394dcd56b53
2016-07-15 23:28:20 +00:00
Mike Tsao
b933b9acd6 Merge \\"Back up Night Light settings\\" into nyc-mr1-dev am: 9a0e444c22
am: d4584a8fb5

Change-Id: I15db4e270c6306fc666c9f33914f242e9e21a1fd
2016-07-15 23:28:17 +00:00
Adrian Roos
ab66a2cd5e Merge \\"Notification: Apply small icon level\\" into nyc-mr1-dev am: 9d8de73530
am: 8b942b2404

Change-Id: I8471581ac27fb1c35126635bdc655b8c8ddea328
2016-07-15 23:25:27 +00:00
Adrian Roos
5810a1c252 Merge \\"Add way to set live wallpaper across users\\" into nyc-mr1-dev am: 9a7c3bd577
am: 119840eb91

Change-Id: I16436af5b7ada58113d846b9836d302061730177
2016-07-15 23:25:19 +00:00
Svetoslav Ganov
951f0e1d4d Merge \\"Prevent apps to overlay other apps via toast windows\\" into nyc-mr1-dev am: e2d148b008
am: cd263d56d2

Change-Id: I4971baf5ef2a522f8acea091023936e033f23cea
2016-07-15 23:13:59 +00:00
Makoto Onuki
6406be311c Merge \"Cache the default launcher.\" into nyc-mr1-dev
am: cf99263662

Change-Id: If8d15587702dad81d9a9025e13dec9820456287b
2016-07-15 22:26:15 +00:00
Makoto Onuki
cf99263662 Merge "Cache the default launcher." into nyc-mr1-dev 2016-07-15 22:22:34 +00:00
Ashutosh Joshi
820ab55e1c Merge \"Loading NanoApps now works.\" into nyc-mr1-dev
am: 095979b463

Change-Id: I8035e04cc0ca040357a8799136c9b31702a151c0
2016-07-15 22:21:01 +00:00
Ashutosh Joshi
095979b463 Merge "Loading NanoApps now works." into nyc-mr1-dev 2016-07-15 22:12:42 +00:00
Makoto Onuki
3e3f0f1ba8 Merge \"Fix the allowed icon type error message\" into nyc-mr1-dev
am: fd57d549cf

Change-Id: Ibff8d87533d075f0af95ab98d44f67fd4405a951
2016-07-15 21:50:46 +00:00
TreeHugger Robot
fd57d549cf Merge "Fix the allowed icon type error message" into nyc-mr1-dev 2016-07-15 21:43:03 +00:00
Mike Tsao
d4584a8fb5 Merge \"Back up Night Light settings\" into nyc-mr1-dev
am: 9a0e444c22

Change-Id: I4bc968dfced4671fecb140c50ce759b02d78c4a1
2016-07-15 21:33:57 +00:00
TreeHugger Robot
9a0e444c22 Merge "Back up Night Light settings" into nyc-mr1-dev 2016-07-15 21:28:34 +00:00
Adrian Roos
8b942b2404 Merge \"Notification: Apply small icon level\" into nyc-mr1-dev
am: 9d8de73530

Change-Id: Iac5f0b6e210355867f79cbc7f48165517ba11a26
2016-07-15 21:16:41 +00:00
Adrian Roos
119840eb91 Merge \"Add way to set live wallpaper across users\" into nyc-mr1-dev
am: 9a7c3bd577

Change-Id: Ia5630143df774d76d5867e8e9541775e07e1c5df
2016-07-15 21:16:36 +00:00
Adrian Roos
9d8de73530 Merge "Notification: Apply small icon level" into nyc-mr1-dev 2016-07-15 21:09:37 +00:00
TreeHugger Robot
9a7c3bd577 Merge "Add way to set live wallpaper across users" into nyc-mr1-dev 2016-07-15 21:07:31 +00:00
Ashutosh Joshi
118644056f Loading NanoApps now works.
Fixing transaction handling for loading/unloading nanoApps.

Bug: 30165105
Change-Id: I540243d730040e70b2d104ccd9ea5a0baaa0d97d
2016-07-15 13:46:22 -07:00
Makoto Onuki
a97256b793 Fix the allowed icon type error message
Bug 30162778

Change-Id: I925c563c1924c6525fe17afc44626d62864ba7e1
2016-07-15 13:23:54 -07:00
Vladislav Kaznacheev
f2034d6455 Merge \\"Always return valid ClipDescription for ACTION_DRAG_EXITED\\" into nyc-mr1-dev am: 278676bdeb
am: b604ade452

Change-Id: Ie779f0a6ca15f6f190a6361bddc4982b522004cd
2016-07-15 20:19:20 +00:00
Jason Monk
b55c3c60a8 Merge \\"QS: Don\\'t use ComponentName to identify tiles\\" into nyc-mr1-dev am: a0967ebbdf
am: 356d4914b2

Change-Id: I83fad6237edfb9516e1fe40612b820c319f26cc5
2016-07-15 20:16:44 +00:00
Mike Tsao
fc47ba75e4 Back up Night Light settings
Bug: 30150787
Change-Id: I79697b41b68e0f123de20e7b8782c6058bef7977
2016-07-15 13:12:17 -07:00
Svet Ganov
cd263d56d2 Merge \"Prevent apps to overlay other apps via toast windows\" into nyc-mr1-dev
am: e2d148b008

Change-Id: I73f802b9b1c4acd5b17c706372f42c9e5d388840
2016-07-15 20:03:33 +00:00
Makoto Onuki
1030520822 Cache the default launcher.
Originally we always checked with PM for the default launcher,
which would take ~2ms.

Now we cache the result, and clears the cache when (any) preferred
activities change.

Bug 30126557

Change-Id: Iceef288cd372c8bb9b119aa493e5173d894f2302
2016-07-15 12:57:03 -07:00
Svetoslav Ganov
e2d148b008 Merge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev 2016-07-15 19:56:42 +00:00
Vladislav Kaznacheev
b604ade452 Merge \"Always return valid ClipDescription for ACTION_DRAG_EXITED\" into nyc-mr1-dev
am: 278676bdeb

Change-Id: I51a339a1a821439b5c90079812aea56833872b75
2016-07-15 18:38:08 +00:00
TreeHugger Robot
278676bdeb Merge "Always return valid ClipDescription for ACTION_DRAG_EXITED" into nyc-mr1-dev 2016-07-15 18:26:51 +00:00
Adrian Roos
40ea083b59 Add way to set live wallpaper across users
Also adds an entry point for vendor specific services
to SystemUI.

Bug: 30038484
Change-Id: I8f335c1f7de15d619f2c688a8ac95372f166595f
2016-07-15 11:20:36 -07:00
Jason Monk
356d4914b2 Merge \"QS: Don\'t use ComponentName to identify tiles\" into nyc-mr1-dev
am: a0967ebbdf

Change-Id: Ib98a48e46f711b927a1b9e8d2b8162a59bfa3240
2016-07-15 17:03:46 +00:00
Jason Monk
a0967ebbdf Merge "QS: Don't use ComponentName to identify tiles" into nyc-mr1-dev 2016-07-15 16:55:23 +00:00
Abodunrinwa Toki
afb38c5cc4 FloatingActionMode: Fix screen coordinates.
Use application context to get the screen's display metrics.

Bug: 30127070
Change-Id: I2c453c494ef210c12d89fc7e3ff026728f9ecb0f
2016-07-15 14:40:26 +01:00
Svet Ganov
b3b22cba86 Prevent apps to overlay other apps via toast windows
It was possible for apps to put toast type windows
that overlay other apps which toast winodws aren't
removed after a timeout like toasts are.

Now to add a toast window one needs to have a special
token. The token is added by the notificatoion manager
service only for the lifetime of the shown toast and
is then removed including all windows associated with
this token.

This prevents apps to add arbitrary toast windows. The
token is passed in the app domain in the request to
construt and add the toast window which allows a bad
app to add arbitrary toast windows. However, this is
fine since the token will be invalided and all of its
windows removed after the toast for which it was
create times out.

We do not care of braking apps that add toast windows
directly due to the security and privacy implications
of arbitrary UI redressing. Also we have dedicated
Toast APIs which are the way to add this time of UI.

bug:30150688

Change-Id: I65372c81a791489de89fb2886cc96392c28680bb
2016-07-14 19:16:42 -07:00
Makoto Onuki
6a8581339b Merge \\"Handle locale change and pacakge change in different way\\" into nyc-mr1-dev am: 83fa7a8255
am: 22963b8937

Change-Id: I39da795eeed8bb3d0e53b0ed02663cce1088cabf
2016-07-15 00:55:59 +00:00
Makoto Onuki
22963b8937 Merge \"Handle locale change and pacakge change in different way\" into nyc-mr1-dev
am: 83fa7a8255

Change-Id: I4988ff6c77f70211336e21729f0f6cd69beefc7d
2016-07-15 00:49:28 +00:00
Makoto Onuki
83fa7a8255 Merge "Handle locale change and pacakge change in different way" into nyc-mr1-dev 2016-07-15 00:39:06 +00:00
Vladislav Kaznacheev
7fe1f798bf Always return valid ClipDescription for ACTION_DRAG_EXITED
Bug: 30148704
Change-Id: I5f5cbb35a343e6ef61bed9ff92e3921a4ecce0c0
2016-07-14 17:15:02 -07:00
Seigo Nonaka
d6acdcee26 Merge \"Treat U+2695, U+2640, U+2642 as emoji characters.\" into nyc-mr1-dev
am: c0ab2e83ac

Change-Id: Iaa4d63c425f5d263d322d463c320312890588aaf
2016-07-14 22:37:53 +00:00