222968 Commits

Author SHA1 Message Date
Jason Monk
068cb8baa0 Fix animating quick settings tiles
Bug: 25835488
Change-Id: Id9757dd2ae05c73a8b06d3bf9e8b3a2cb8296437
2015-12-02 11:30:36 -05:00
Geoff Mendal
ce890c325c Import translations. DO NOT MERGE
Change-Id: Icead64fbc942b39b292289d3054845eefe3170b8
Auto-generated-cl: translation import
2015-12-02 05:37:33 -08:00
Abodunrinwa Toki
8ace454cfc Merge "FloatingToolbar polish." 2015-12-02 12:01:45 +00:00
Przemyslaw Szczepaniak
b086805472 Remove merge markers from preloaded-classes
Change-Id: I8267fc4cd41868f406e32a64ee750c0e5ca6098d
2015-12-02 11:32:22 +00:00
Abodunrinwa Toki
7e29d1b4fc FloatingToolbar polish.
This patch updates the FloatingToolbar to look and transition
exactly as described in the UX spec.

It includes an animating (VectorDrawable) overflow button and
menu item buttons that sit in place during transitions.

Bug: 24257588
Change-Id: I2b3f84ba451800830878667ce1abd7a99b4f9fea
2015-12-02 11:14:43 +00:00
Adrian Roos
c93546ed73 Merge "More inline reply goodness" 2015-12-02 07:09:12 +00:00
Deepanshu Gupta
230e02ff4c Merge changes I9bf21cc6,Iee45a465
* changes:
  Revert "Revert "Add support for Choreographer animations""
  Add ability to promote fields.
2015-12-02 06:08:06 +00:00
Sungsoo Lim
cac76b722c Merge "Fixed typos: when when" 2015-12-02 06:01:26 +00:00
Deepanshu Gupta
7c4420bd04 Revert "Revert "Add support for Choreographer animations""
This reverts commit 8390b2ac85765e768d4b685077a96e6395d208b4.

The build break should now be fixed by
cbb1ba7f493116882b79578ec68646366f29cde4

Change-Id: I9bf21cc6dbdb5d515a665384dc6dfa464c3e6e2e
2015-12-01 21:58:29 -08:00
Sungsoo Lim
0d3d1f825f Fixed typos: when when
Change-Id: I80c0b8817dcbed45071e42d9ffa88bae52a93a81
2015-12-02 14:50:36 +09:00
Deepanshu Gupta
cbb1ba7f49 Add ability to promote fields.
This adds the ability to promote private fields to public ones to
enable layoutlib to access them. This was first added in change
b556decf75b2b084e1aed54ac7fa23a141eedb7f, but reverted in
847b0d3ad22a47e0bca3d8bc8168fea7a0ba2f80. This is essentially a revert
of the change again, but without the SimpleMonthView related stuff.

Also, promote the Choreographer's field as is needed to support
animations.

Change-Id: Iee45a465c7a1cadd362c1841385941e6232e4900
2015-12-01 21:49:12 -08:00
Svet Ganov
9c165d7601 Add optional permission review for legacy apps - framework
For some markets we have to allow the user to review permissions
for legacy apps at runtime despite them not supporting the new
permission model. This is achieved by showing a review UI before
launching any app component. If an update is installed the user
should see a permission review UI for the newly requested
permissions.

To allow distinguishing which permissions need a review we set
a special flag in the permission flags that a review is required.
This flag is set if a runtime permission is granted to a legacy
app and the system does not launch any app components until this
flag is cleared. Since install permissions are shared across all
users the dangerous permissions for legacy apps in review mode
are represented as always granted runtime permissions since the
reivew requirement is on a per user basis.

Whether the build supports permission review for legacy apps is
determined by a build constant allowing us to compile away the
unnecessary code for markets that do not require a permissions
review.

If an app launches an activity in another app that has some
permissions needing review, we launch the permissions review
UI and pass it a pending intent to launch the activity after
the review is completed.

If an app sends a broadcast to another app that has some permissions
needing review, we do not deliver the broadcast and if the sending
app is in the foreground plus the broadcast is explicit (has a
component) we launch the review UI giving it a pending intent to
send the broadcast after the review is completed.

If an app starts a service in another app that has some permissions
needing review, we do not start the service and if the calling app
is in the foreground we launch the review UI and pass it a pending
intent to start the service after the review is completed.

If an app binds to a service in another app that has some permissions
needing review, we schedule the binding but do not spin the target
service's process and we launch the review UI and pass it a callback
to invoke after the review is completed which spins the service
process and completes the binding.

If an app requests a content provider in another app that has some
permissions needing review we do not return the provider and if
the calling app is in the foreground we show the review UI.

Change-Id: I550f5ff6cadc46a98a1d1a7b8415eca551203acf
2015-12-02 04:23:02 +00:00
Diego Perez
8390b2ac85 Revert "Add support for Choreographer animations"
This reverts commit 29ed07524ce0fc2e5950f5340d306247145d0efa.
2015-12-02 04:10:22 +00:00
Daichi Hirono
56e086f5da Merge "Extract test utility class." 2015-12-02 03:53:46 +00:00
Daichi Hirono
ed2f850330 Merge "Add storage icon for MTP roots." 2015-12-02 03:53:08 +00:00
Daichi Hirono
b255f58904 Extract test utility class.
Change-Id: I8505ab13ceccf32e7a9b6817f84a66766098b09e
2015-12-02 12:38:49 +09:00
Marco Nelissen
e03d5e4973 Merge "Don't try to compress .webm resources" 2015-12-02 03:01:21 +00:00
Daichi Hirono
39795da4c9 Add storage icon for MTP roots.
BUG=22545807

Change-Id: I714b26d52e00b0f9a5c95dea1508be0d617482e3
2015-12-02 11:08:40 +09:00
Adrian Roos
eaf95c3643 Merge "Charging speed based on voltage" into mnc-dr2-dev am: 0ede75507c
am: 82cfaa813b

* commit '82cfaa813b994ff1e5aaedbdfeeb4ced6e5dfcdb':
  Charging speed based on voltage
2015-12-02 01:58:50 +00:00
Adrian Roos
82cfaa813b Merge "Charging speed based on voltage" into mnc-dr2-dev
am: 0ede75507c

* commit '0ede75507c43819d0417efe1f1ab5c626a608fc5':
  Charging speed based on voltage
2015-12-02 01:50:10 +00:00
Adrian Roos
0ede75507c Merge "Charging speed based on voltage" into mnc-dr2-dev 2015-12-02 01:44:21 +00:00
Adrian Roos
777ef5688f More inline reply goodness
- Use expanded view instead of HUN when possible
- Remember partial replies
- Back properly closes IME without closing shade
- Fix broken reorder animation

Bug: 22452379
Change-Id: Idb6ca8aed27cfb1f3d9b46f59e148b1b3b112fa7
2015-12-01 17:37:14 -08:00
Ben Fennema
9ff20d6d92 Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev am: 4d70e6a3c0 -s ours am: 8780f07b5c -s ours am: ceec3dab7c -s ours
am: 7154bbf2d4  -s ours

* commit '7154bbf2d40dcdb86160781991d77573d173e976':
  Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
2015-12-02 01:36:13 +00:00
Filip Gruszczynski
5746559de1 Merge "Add input method to the tap detection exclude area." 2015-12-02 01:31:47 +00:00
Filip Gruszczynski
912d919772 Add input method to the tap detection exclude area.
Without this touch events on the input method will trigger focus change
if there is a window underneath the input. When focus changes, the input
method will go away too.

Bug: 25930832
Change-Id: I532cb9e78f6fe37b1ddfada75594fc695898a090
2015-12-01 17:30:54 -08:00
Ben Fennema
7154bbf2d4 Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev am: 4d70e6a3c0 -s ours am: 8780f07b5c -s ours
am: ceec3dab7c  -s ours

* commit 'ceec3dab7cb7fcee6d367382fae11c9855263474':
  Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
2015-12-02 01:27:25 +00:00
Chong Zhang
e7f24e2291 Merge "AMS: add API to IProcessInfoServive for retrieving oom scores" 2015-12-02 01:25:58 +00:00
Keisuke Kuroyanagi
b541cbc67e Merge "Add TextView mouse tests for long click and double click." 2015-12-02 01:23:17 +00:00
Chong Zhang
58c270c01b AMS: add API to IProcessInfoServive for retrieving oom scores
bug: 25853091
Change-Id: Ic915191b959afd34d31e8731a7e4aa631a78e45e
2015-12-01 17:21:24 -08:00
Ben Fennema
ceec3dab7c Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev am: 4d70e6a3c0 -s ours
am: 8780f07b5c  -s ours

* commit '8780f07b5c2a318cb28c172f9eac47b975793c90':
  Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
2015-12-02 01:20:15 +00:00
Ben Fennema
8780f07b5c Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev
am: 4d70e6a3c0  -s ours

* commit '4d70e6a3c044c4e29d84835a026b3e70b44b66e8':
  Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
2015-12-02 01:12:04 +00:00
Ben Fennema
4d70e6a3c0 Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev 2015-12-02 01:06:12 +00:00
Ben Fennema
e9970bc981 Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
This reverts commit ad75169628589a275fb869a813ea697336e0c0aa.

Change-Id: Ic2f003fc200c077391d18bef9d5b79a98601769c
2015-12-02 01:05:25 +00:00
Keisuke Kuroyanagi
2ff41d4afc Add TextView mouse tests for long click and double click.
Bug: 19544351
Change-Id: I4f3fe633c01c443441ff0ef1617bad34c17ab508
2015-12-01 16:58:53 -08:00
Ben Fennema
5027b5ffc5 Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev am: ec7180f733 -s ours am: b98383291f -s ours am: e90efd9153 -s ours
am: 1b574b3d45  -s ours

* commit '1b574b3d452969fef215495086e6f82aeadf4c8c':
  DO NOT MERGE ANYWHERE Add new interface for sensor physical data
2015-12-02 00:49:57 +00:00
Ben Fennema
1b574b3d45 Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev am: ec7180f733 -s ours am: b98383291f -s ours
am: e90efd9153  -s ours

* commit 'e90efd91536b5bf7904336f78f258d63ba2cc904':
  DO NOT MERGE ANYWHERE Add new interface for sensor physical data
2015-12-02 00:41:56 +00:00
Ben Fennema
e90efd9153 Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev am: ec7180f733 -s ours
am: b98383291f  -s ours

* commit 'b98383291f32d0152cb291855aa00f016d526a4a':
  DO NOT MERGE ANYWHERE Add new interface for sensor physical data
2015-12-02 00:34:14 +00:00
Ben Fennema
b98383291f Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev
am: ec7180f733  -s ours

* commit 'ec7180f7333777582e642fc54f7106d500b7da33':
  DO NOT MERGE ANYWHERE Add new interface for sensor physical data
2015-12-02 00:26:19 +00:00
Filip Gruszczynski
f7e4ccd22e Merge "Fix cts ApplicationTest#testApplication failing." 2015-12-02 00:20:18 +00:00
Filip Gruszczynski
01c2133bbf Fix cts ApplicationTest#testApplication failing.
We should ignore orientation change requests only when a resizeable
activity is not in a full screen mode.

Bug: 25935368
Change-Id: I53bada8bbf0b429b1d48707f65da488e0edeb799
2015-12-01 16:13:30 -08:00
Diego Perez
2ee825f507 resolve merge conflicts of 956cad8870 to master.
Change-Id: Iebad149b2768bcd7a52ee2c7c8c260a9279d1742
2015-12-02 00:04:08 +00:00
Ben Fennema
ec7180f733 Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev 2015-12-02 00:01:55 +00:00
Chris Elliott
d76acc8093 Merge "MediaPlayer: Disable acquiring wakelocks based on property." into cw-e-dev am: 50276adde2 am: c54aa0c3f7 am: 767e2b39db
am: 1709832d47

* commit '1709832d474a7be85d46e55fab5773e399cd7086':
  MediaPlayer: Disable acquiring wakelocks based on property.
2015-12-01 23:47:45 +00:00
Chris Elliott
1709832d47 Merge "MediaPlayer: Disable acquiring wakelocks based on property." into cw-e-dev am: 50276adde2 am: c54aa0c3f7
am: 767e2b39db

* commit '767e2b39db78e41241998b7b3941a15d68c6b4f2':
  MediaPlayer: Disable acquiring wakelocks based on property.
2015-12-01 23:37:28 +00:00
Steve McKay
84a860f2a8 Merge "Guard against null key events...which can happen." 2015-12-01 23:26:57 +00:00
Steve McKay
578b36e414 Merge "Don't copy a directory into itself...doesn't go well." 2015-12-01 23:07:37 +00:00
Steve McKay
7e392b7845 Guard against null key events...which can happen.
Bug: 25772143
Change-Id: I0c2665aea25c65b92e6f6c0b1454f1e07112fc9c
2015-12-01 15:01:04 -08:00
Steve McKay
d3afdeebeb Don't copy a directory into itself...doesn't go well.
Minimally deform CopyService such that we can listen
    to the completion of operations in the test.
Add test coverage.
Add equals and hashcode to DocumentInfo...so we can compare
    the heck out of 'em. + a test.
WIP: Expose (@hide style) DocumentsProvider.isChildDocument via
    DocumentsContract. Use that to check for recusive copies.

Bug: 25794511

Change-Id: I05bb329eb10b43540c6806d634e5b96a753e8178
2015-12-01 14:16:38 -08:00
Chris Elliott
767e2b39db Merge "MediaPlayer: Disable acquiring wakelocks based on property." into cw-e-dev am: 50276adde2
am: c54aa0c3f7

* commit 'c54aa0c3f7660a6a35c5ea396ef89f95eefb7c13':
  MediaPlayer: Disable acquiring wakelocks based on property.
2015-12-01 21:27:33 +00:00
Chris Elliott
c54aa0c3f7 Merge "MediaPlayer: Disable acquiring wakelocks based on property." into cw-e-dev
am: 50276adde2

* commit '50276adde24c55394c0023ef49d01f054303dc87':
  MediaPlayer: Disable acquiring wakelocks based on property.
2015-12-01 21:19:54 +00:00