223050 Commits

Author SHA1 Message Date
Winson
5b7dd536aa Updating the freeform workspace layout
- Updating layout for freeform workspaces
- Consolidates the clipping and bitmap scale with the transform to make
  the transitions more unified
- Updating clipping as we synchronize scroll instead of afterwards

Change-Id: I33de4e2646c75f0bc0eb75bd6909fe94557196b5
2015-12-02 16:47:16 -08:00
Winson
f0d1c44a59 Adding notion of stack state to the layout.
- This allows us to choose which layout to show, either freeform, stack,
  or a combination of the two
- Fixing crash with null bitmap

Change-Id: I659e66d89f7205ccb0c2ba22c57aee95c8d4b3ab
2015-12-02 16:47:16 -08:00
Felipe Leme
ec52d7983c Merge "Adds a notification action to cancel a bugreport in progress." 2015-12-03 00:18:34 +00:00
Philip P. Moltmann
d366011d65 Merge "Unset is -1 not Nan" 2015-12-03 00:01:42 +00:00
John Reck
c8aad06efe Merge "Nuke HardwareRenderer abstract base" 2015-12-02 23:54:01 +00:00
John Reck
51aaf906f9 Nuke HardwareRenderer abstract base
Bug: 17303292

Change-Id: I4a272ea4f695f4f9993e8be640fdd8530b691be0
2015-12-02 15:46:11 -08:00
Felipe Leme
9cadb75714 Adds a notification action to cancel a bugreport in progress.
BUG: 25794470
Change-Id: I6f9c58fa7257f0826ab77007562cbff7db3e4cf0
2015-12-02 15:42:52 -08:00
Philip P. Moltmann
a958fc336b Unset is -1 not Nan
Change-Id: I6e7fac4b9f1c3dc6cc88c786db856ddecf3f8538
2015-12-02 15:39:35 -08:00
Amit Mahajan
9ca712d69d Merge "Promoting a function from Gsm/Cdma CellLocation classes to parent class" 2015-12-02 23:32:16 +00:00
Chris Craik
dfabfea764 Merge "Add ListView rendering benchmark" 2015-12-02 23:21:21 +00:00
Chris Craik
54fa17f667 Add ListView rendering benchmark
Also fixes a bug in DrawRenderNodeOp recording, which was triggered by
the new test.

Change-Id: I328f2ed908495eb95ca8ce87a365d02650e72cd5
2015-12-02 15:20:26 -08:00
Steve McKay
362ab0dd68 Merge "Add DownloadsActivity functional test." 2015-12-02 23:06:35 +00:00
Keisuke Kuroyanagi
7489de2ebf Merge "Make drag handle tests stable." 2015-12-02 23:04:22 +00:00
Keisuke Kuroyanagi
5f71b5afe8 Make drag handle tests stable.
The center position of a drag handle can be outside of the
screen. In such cases, selection handle tests can be failed.
Changed to drag the visible position to deal with it.

Bug: 25730231
Change-Id: Id9270fc03d0f39041f243c9e9d17deca19925e09
2015-12-02 15:02:05 -08:00
Chris Elliott
14b4836a42 DO NOT MERGE Revert "MediaPlayer: Disable acquiring wakelocks based on property." am: 8e79dae3f6 am: 087d30c142
am: a6ed5dcd04  -s ours

* commit 'a6ed5dcd044fdeec84b42472cb393ddf9315a0ae':
  DO NOT MERGE Revert "MediaPlayer: Disable acquiring wakelocks based on property."
2015-12-02 22:54:29 +00:00
Todd Kennedy
a6f0aa5785 Merge "Fix SplitTests CTS test" 2015-12-02 22:51:58 +00:00
Chris Elliott
a6ed5dcd04 DO NOT MERGE Revert "MediaPlayer: Disable acquiring wakelocks based on property." am: 8e79dae3f6
am: 087d30c142

* commit '087d30c14243f38c28793877b8e5ad12d3a2b269':
  DO NOT MERGE Revert "MediaPlayer: Disable acquiring wakelocks based on property."
2015-12-02 22:46:11 +00:00
Steve McKay
dbdaa49be4 Add DownloadsActivity functional test.
Bug: 25809806
Change-Id: I43ceaf3a99715a57e3d349bee60f2edf7f6666bd
2015-12-02 14:11:47 -08:00
Chris Elliott
087d30c142 DO NOT MERGE Revert "MediaPlayer: Disable acquiring wakelocks based on property."
am: 8e79dae3f6

* commit '8e79dae3f67aae032010ddbbef2f8032ace01263':
  DO NOT MERGE Revert "MediaPlayer: Disable acquiring wakelocks based on property."
2015-12-02 21:57:06 +00:00
Todd Kennedy
3398be854a Fix SplitTests CTS test
A recent change tightened the check for whether or not an APK has code.
The check verified against the application and not the individual split.

Bug: 25769800
Change-Id: Ia53bd0e31ce3379bdd8bfe6d0c3da99b6d65fe31
2015-12-02 13:56:04 -08:00
Roozbeh Pournader
47040d6247 Merge "Make Hyphenator load Spanish hyphenation patterns" 2015-12-02 21:19:48 +00:00
Chris Elliott
8e79dae3f6 DO NOT MERGE Revert "MediaPlayer: Disable acquiring wakelocks based on property."
This reverts commit f60491183def4c46b4026afb4648544e7289ea5f.
2015-12-02 13:16:46 -08:00
Jason Monk
000932a815 Merge "Speed up setting launch" 2015-12-02 21:10:45 +00:00
Chong Zhang
1be3a1cfb9 Merge "Add permission to prevent third-parth apps from querying OOM scores" 2015-12-02 21:02:37 +00:00
Jason Monk
e79790b268 Speed up setting launch
Try to avoid too many calls to the PM and cache the info we get
from it to avoid too much stuff during settings launch.

Change-Id: I64132cbe47cf8eac6080c8c82583b0b5eeb75a28
2015-12-02 15:54:29 -05:00
Vladislav Kaznacheev
9bc00f1997 Merge "Add extras to ClipDescription" 2015-12-02 20:52:04 +00:00
Julia Reynolds
eb41dfb383 Merge "Cleanup zen rule instances." 2015-12-02 20:27:12 +00:00
Roozbeh Pournader
c7dcec43d6 Make Hyphenator load Spanish hyphenation patterns
The pattern files themselves are added to the
external/hyphenation-patterns repo.

Change-Id: Icf37191f1217b7869f49f8ea63174341662caacf
2015-12-02 12:25:07 -08:00
Julia Reynolds
c8e54e8d5e Cleanup zen rule instances.
1. When a user revokes zen access
2. When a user clears data

Bug: 25472361
Change-Id: Ia439a7c2bd6dc07a60a374caf4157508131e3578
2015-12-02 15:24:21 -05:00
Chong Zhang
8e4f4b3d94 Add permission to prevent third-parth apps from querying OOM scores
bug: 25853091
Change-Id: Ic1cdbf155e1e930405773fd078dfc57fda2d9afa
2015-12-02 12:20:30 -08:00
Sunny Goyal
ac7579a6e5 Merge "Adding context flag to open database with no localized collators" 2015-12-02 20:17:29 +00:00
Jeff Sharkey
f23b5d3d6d Merge "API to determine user locked/unlocked state." 2015-12-02 20:16:37 +00:00
Jeff Sharkey
0825ab284c API to determine user locked/unlocked state.
Bug: 25946804
Change-Id: I2b8c8c75fda161a446d79fac811fdd446aa3a4db
2015-12-02 13:14:51 -07:00
Dianne Hackborn
a864049aae Merge "Fix reporting of uid state in battery stats." 2015-12-02 20:05:57 +00:00
Rob Carr
a97268e2b8 Merge "Ensure we update window scale when repositioning child." 2015-12-02 19:45:22 +00:00
Chris Tate
3e94c8bcc3 Merge "Relax null parameter enforcement for legacy apps" 2015-12-02 19:38:44 +00:00
Steve McKay
ad133298f0 Merge "Don't deselect files after copy." 2015-12-02 19:24:58 +00:00
Christopher Tate
bb76a6ce16 Relax null parameter enforcement for legacy apps
No longer throws when calling cancel() with a null PendingIntent if
the app targets SDK < NYC.

Bug 25798631

Change-Id: Ic91f42808811645b01802abcc785f4218aac0e8b
2015-12-02 11:17:09 -08:00
Robin Lee
9179b2acc6 Merge "Create Vpn ManageDialog in onCreate, not onResume" 2015-12-02 19:14:46 +00:00
Sunny Goyal
a21e6b2fac Adding context flag to open database with no localized collators
Bug: 25956606
Change-Id: I209a8d18a7e83c1af54309fae8607f8b46772196
2015-12-02 11:11:37 -08:00
Wale Ogunwale
298a4dc8dd Merge "Prevent windows in pinned stack from gaining window focus." 2015-12-02 19:11:03 +00:00
Vladislav Kaznacheev
ddb4bdecfc Add extras to ClipDescription
This is required to expand metadata capabilities of DragEvent.
Apps receiving ACTION_DRAG_* events have access to
ClipDescription, but not ClipData.

Adding extras to ClipDescription allows for a richer behavior of apps
responding to these events.

Bug: 25788641
Change-Id: I07e374f71d16f8441dc3a0b02c7d833e0139b74b
2015-12-02 11:09:39 -08:00
Selim Cinek
7943316678 Merge changes I2af07b57,Ic0a774e8,Ica3d21ff,Id4c3c901
* changes:
  FalsingManager Quick settings fix
  Fixed a bug where the panel could be too small in certain cases
  Fixed a bug where the margins where not updated correctly
  Fixed the handling of the expand on the lockscreen
2015-12-02 19:08:58 +00:00
Wale Ogunwale
d045c829a4 Prevent windows in pinned stack from gaining window focus.
Windows in the pinned stack shouldn't receive input keys, so we prevent
they from gaining window focus so the focus/input keys goes to the stack
below the pinned stack.

Also, cleaned up some code.

Bug: 25580816
Change-Id: Iea1f944d167310233c3dbaea140a4ada568bb815
2015-12-02 11:08:46 -08:00
Fyodor Kupolov
ec7416713c Merge "Added DISALLOW_RUN_IN_BACKGROUND user restriction" 2015-12-02 18:27:26 +00:00
Andy Hung
a9292a24c0 Merge "SoundPool: add lock for findSample access from SoundPoolThread" 2015-12-02 18:27:08 +00:00
Steve McKay
73a132ada3 Merge "Show share button in downloads." 2015-12-02 18:27:03 +00:00
Steve McKay
c2b4b3dcda Don't deselect files after copy.
Bug: 5419032
Change-Id: Ib00e232c81b6400583cb4091882e5874decd0be2
2015-12-02 10:24:30 -08:00
Fyodor Kupolov
9cbfc9e212 Added DISALLOW_RUN_IN_BACKGROUND user restriction
It forces the user to stop instead of going into the background. Also
changed behavior of stopUser method. Now it also attempts to stop related
users along with the specified userId.

Based on ag/807976, with the only difference that it's now a user restriction.

Bug: 24579258
Bug: 24708668
Change-Id: I357298908816fc58feeed83b7e9979fc33d25da6
2015-12-02 10:22:23 -08:00
Keisuke Kuroyanagi
abe0e508aa Merge "Refactoring: SelectionHandleView." 2015-12-02 18:18:58 +00:00