235713 Commits

Author SHA1 Message Date
Chris Craik
4c3980b6e4 Handle unbounded drawPaint/drawGLFunction operations safely
bug:26591194

Also, revert to using current clip bounds as drawColor/drawPaint bounds
for simplicity in new pipeline.

Change-Id: I1a6b3f9716b564b46df41d57dfe14475fdd24de0
2016-03-18 16:16:38 -07:00
Peng Xu
83d0078f95 Merge "Fix NC caused by race condition in SystemSensorManager" into nyc-dev 2016-03-16 19:30:55 +00:00
Chet Haase
d3eb078ac7 Merge "Document that Rect right/bottom are exclusive" into nyc-dev 2016-03-16 18:09:53 +00:00
Winson Chung
0747f58da8 Merge changes I3eba2cdb,Ie529f27e,I4f0290fa,I7fb1f704,I32b9dd59, ... into nyc-dev
* changes:
  Scroll to the launch-task when toggling overview.
  Ensure that recents toggles even in the empty state.
  Removing paging tuner setting.
  Updating empty state graphic.
  Fixing issue with the stack layout not being updated on config change.
  Ensuring that we evict ActivityInfos from the cache.
2016-03-16 18:07:13 +00:00
Winson
96e613412f Scroll to the launch-task when toggling overview.
Bug: 27680710
Change-Id: I3eba2cdbe0a92ef05dd6882a5e41db2a5875c98a
2016-03-16 11:01:09 -07:00
Winson
bc0f8cd332 Ensure that recents toggles even in the empty state.
Bug: 27604213
Change-Id: Ie529f27e7e8110be8e86224bbad7622300fa87a7
2016-03-16 11:01:04 -07:00
Winson
e0657680dc Removing paging tuner setting.
Bug: 26962865
Change-Id: I4f0290fa334b6153cc160cb5dbe6e333a002334c
2016-03-16 11:00:59 -07:00
Winson
196e861b2a Updating empty state graphic.
Change-Id: I7fb1f704dfbf0a300e00805d75c08b2fdabf7260
2016-03-16 11:00:49 -07:00
Winson
a180985411 Fixing issue with the stack layout not being updated on config change.
Bug: 27376567
Change-Id: I32b9dd59a6187c87387785335dd66cc4f28372b3
2016-03-16 11:00:45 -07:00
Winson
a1b96b5d58 Ensuring that we evict ActivityInfos from the cache.
- Once the data that we depend on the ActivityInfos for are evicted, 
  also remove them from the cache so that they are not stale the next
  time we might want to use them.

Bug: 27495264
Change-Id: I615842df4f48deb12a051ef241991a51a10cf383
2016-03-16 11:00:30 -07:00
Dongwon Kang
822ac7745a Merge "TIF: Unhide sendAppPrivateCommand/onAppPrivateCommand" into nyc-dev 2016-03-16 17:56:12 +00:00
Dongwon Kang
f714e62c12 TIF: Unhide sendAppPrivateCommand/onAppPrivateCommand
Bug: 25726685
Change-Id: Iad6417b4da0543043a7fa17287487313a7670209
2016-03-16 10:48:18 -07:00
Peng Xu
aa957274e7 Fix NC caused by race condition in SystemSensorManager
This change fixes a race condition when two SystemSensorManager
instances are initialized the same time.

Bug: 27334914
Change-Id: I7a886abcbff2ed6f8abf87556a78d1a4afb71f91
2016-03-16 17:46:59 +00:00
Chong Zhang
cac29467dd Merge "Apply stack crop to docked stack during animation" into nyc-dev 2016-03-16 17:41:38 +00:00
Chong Zhang
477e720696 Apply stack crop to docked stack during animation
If device goes to sleep with docked stack visible, the docked stack
will be minimized after unlock. Due to "force hide enter" animation
and the entering animation of the app itself, the app will be animating
for the initial few frames. Not applying the crop causes the app to
be seen in full briefly, then minimized.

Docked divider doesn't use a final stack bounds but changes stack
bounds continously during docked stack resize, so we can apply the
bounds even during animation.

bug: 27592767
Change-Id: I12f4eb46a95c9a7dd2147b68c362e17609a8b410
2016-03-16 10:36:31 -07:00
Ashutosh Joshi
ac329d3e34 Merge "Exposing Context Hub service." into nyc-dev 2016-03-16 17:21:33 +00:00
Anna Galusza
bc2849449b Merge "Remove Intent to start screen reader tutorial. Reverts ag/867242. Bug: 27218687" into nyc-dev 2016-03-16 17:07:49 +00:00
Youngsang Cho
9f383e4872 Merge "Update PIP position on recents" into nyc-dev 2016-03-16 16:59:07 +00:00
Julia Reynolds
af56824e35 Merge "Prevent apps without DND access from toggling DND via AudioService." into nyc-dev 2016-03-16 16:48:33 +00:00
Julia Reynolds
e7f923f52a Merge "Synchronize on subscription list." into nyc-dev 2016-03-16 16:34:34 +00:00
Felipe Leme
f3a65fd317 Merge "Minor UI improvements and code cleanup:" into nyc-dev 2016-03-16 16:29:57 +00:00
Felipe Leme
8a2d1d9c3d Merge "Polished Scoped Directory Access UI." into nyc-dev 2016-03-16 16:22:20 +00:00
Yang Ni
49b9a1b4b9 Merge "Use proper ScriptCall size in nScriptForEach()" into nyc-dev 2016-03-16 15:46:38 +00:00
Yang Ni
2b551f4c42 Use proper ScriptCall size in nScriptForEach()
Bug: 26498479

Although the size of struct ScriptCall is not used underneath in the
runtime or drivers, assign the correct value here to avoid confusion.

Change-Id: I8db19538b9f70f3bf9ee849a8724da3d9ee04785
(cherry picked from commit e8f2e445fdb138416043a16659bbf86fbbd3fff8)
2016-03-16 08:20:07 -07:00
Roshan Pius
85eb7a97ef Merge "Fix a bug in ControllerActivityCounter" into nyc-dev 2016-03-16 15:05:14 +00:00
Tony Mak
b531d086a6 getUserInfo fail when app trying to get self user info
isSameProfileGroupLP return false when user has no profile, we should
check callingUserId != userId explictly.
Please notice that isSameProfileGroup handles this case, but we would like
to avoid the permission checking of isSameProfileGroup.

Change-Id: Ibb2d09eaaf7e8f099445490aa9ec287e86945125
2016-03-16 14:51:45 +00:00
Geoff Mendal
ac9cac71ae Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-16 14:33:53 +00:00
Geoff Mendal
099e468c7e Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-16 14:33:31 +00:00
Geoff Mendal
69a5ad8dcd Import translations. DO NOT MERGE
Change-Id: I94fd8779f7e2611373bfd09ca25ffef2e178c17d
Auto-generated-cl: translation import
2016-03-16 07:28:31 -07:00
Geoff Mendal
ed893367b9 Import translations. DO NOT MERGE
Change-Id: Iefbda82e967a365520cdf26df0728b8eb425c6a7
Auto-generated-cl: translation import
2016-03-16 07:27:26 -07:00
Esteban Talavera
5fbfa1b0d2 Merge "Clarified documentation as requested by API review" into nyc-dev 2016-03-16 14:24:40 +00:00
Geoff Mendal
186e0ef59d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-16 14:22:05 +00:00
Geoff Mendal
9158196c78 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-16 14:21:48 +00:00
Geoff Mendal
04517c3e2e Import translations. DO NOT MERGE
Change-Id: I949b397af1475733943f0b3597c9ff4c050bba03
Auto-generated-cl: translation import
2016-03-16 07:21:07 -07:00
Geoff Mendal
e8ec8bd1f4 Import translations. DO NOT MERGE
Change-Id: I33545a8fee9b65fa3e11fdb86c1b6c9d2bcdc7ec
Auto-generated-cl: translation import
2016-03-16 07:14:47 -07:00
Julia Reynolds
8f0844262f Merge "Rebind managed services more" into nyc-dev 2016-03-16 14:08:20 +00:00
Julia Reynolds
48034f89b7 Prevent apps without DND access from toggling DND via AudioService.
Bug: 25395278
Change-Id: Id72830607b01a43848d1261292e5835315ef70d0
2016-03-16 09:33:02 -04:00
Przemyslaw Szczepaniak
896e02bcab Track libcore change 5409226c71aa1e090291f391faeb4249f5447472
Bug: 27426599
Change-Id: I028bb4ac7a24d6121c8114aa58e0e53799d00945
2016-03-16 13:20:16 +00:00
Tomasz Mikolajewski
e542b162e9 Merge "Reduce memory allocations and improve sorting in DocumentsUI by 8.42%." into nyc-dev 2016-03-16 12:55:38 +00:00
Geoff Mendal
bf15a80c7a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-16 12:44:37 +00:00
Geoff Mendal
a0dd88b8db Import translations. DO NOT MERGE
Change-Id: I1349c9ce36d61c83ffe2305411f5843fc5b1fe89
Auto-generated-cl: translation import
2016-03-16 08:30:51 -04:00
Derek Sollenberger
7494eb2114 Merge "Remove all non-porterduff xfermodes from the public API" into nyc-dev 2016-03-16 12:17:16 +00:00
Nicolas Prévot
c25c9032ff Merge "Update documentation of DevicePolicyManager.isProvisioningAllowed." into nyc-dev 2016-03-16 12:05:35 +00:00
Esteban Talavera
96895cae3e Clarified documentation as requested by API review
Bug: 27532433
Change-Id: I5fada6c0a4636528393308d5ce098cd0398e5ff5
2016-03-16 12:00:40 +00:00
Tony Mak
4dc008cda2 Fix NotificationListenerService fail to mirror work notification
1. Instead of getting application info in runtime, just retrieve the
   one in the context to avoid cross user operation.

2. Functions in PackageManager that retrieve badged icon now return
   badged icon if the targer user is managed profile instead of checking
   whether target user is a managed profile of the user in mContext.

3. Relax the restriction of getUserInfo, if the caller is asking a user
   in the same profile group or having the manage user permission, we let
   it go.

Bug: 26469166

Change-Id: Ia1ffc5743f7d94bd489cdb7571eaed51499ebdd9
2016-03-16 10:49:02 +00:00
Tomasz Mikolajewski
49ca224623 Reduce memory allocations and improve sorting in DocumentsUI by 8.42%.
Bug: 27286016
Change-Id: Icc84aaaedd396d82f4ca7de63a682deebe1e1b93
2016-03-16 09:59:55 +00:00
Tomasz Mikolajewski
54f264fcdb Merge "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%." into nyc-dev 2016-03-16 09:25:29 +00:00
Lorenzo Colitti
6b7c9ec19c Merge "APF: add debug code." into nyc-dev 2016-03-16 08:13:22 +00:00
Tomasz Mikolajewski
d35a974b76 Precompute cursor indexes in DocumentsUI and improve perf by 2.7%.
Bug: 27286016
Change-Id: I0ad852faef46ba9eccc90ca32d8c2ea0e2d5cd98
2016-03-16 16:40:09 +09:00
Daichi Hirono
4327283240 Merge "Handle SQLite disk IO error in MtpDocumentsProvider#onCreate." into nyc-dev 2016-03-16 07:34:15 +00:00