Commit Graph

235696 Commits

Author SHA1 Message Date
Roshan Pius
3ec7cfeedf Add new wifi tx power levels in link layer stats
BUG: 27227497
Change-Id: I48dd88d2ab5ade8e5ad9bafa153925f4d55aba26
2016-03-16 14:07:23 -07: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 e8f2e445fd)
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
Donghyun Cho
b71b54887a Merge "HdmiControlService does not broadcast CEC <standby> message on shutdown" into nyc-dev 2016-03-16 07:08:02 +00:00
Lorenzo Colitti
5ff640d1f2 APF: add debug code.
1. Store additional debug information when RA filtering.
2. Add a toString method for RA packets.
3. Make "adb shell dumpsys connectivity apf" dump APF filter
   state.

Bug: 26238573
Change-Id: I1441ff7bc90e63624f8b10a220b2ac97f4d390a5
2016-03-16 15:45:47 +09:00
Daichi Hirono
5884e1fa87 Handle SQLite disk IO error in MtpDocumentsProvider#onCreate.
The error should be regarded as an expected error that failes onCreate,
rather than crash.

BUG=27244513

Change-Id: Icf5164b0cba6cb919077539afe7701ada1e0c247
2016-03-16 14:36:27 +09:00
Rob McConnell
3059556f60 HdmiControlService does not broadcast CEC <standby> message on shutdown
When the STB is shutting down the CEC <standby> message should be
broadcast to all CEC devices to place them in to standby. This is
not happening because the ACTION_SHUTDOWN Intent has not been
added to the list of Intent filters that the HdmiControlService
should be listening for.

This one-line change adds the ACTION_SHUTDOWN Intent filter so that
when the STB is shutting down (e.g. via a long press of the POWER
button), the CEC <standby> message can be broadcast to all devices.
This allows a connected HDMI TV to be automatically placed in to
standby.

Bug: 27596547
Change-Id: I4cdd2eaaad86e98bdf86c74fb0c377eb716f3c83
2016-03-16 13:54:32 +09:00
Daichi Hirono
5551228717 Merge "Move to downloads root instead of home root." into nyc-dev 2016-03-16 04:21:06 +00:00
Donghyun Cho
f1264c95c7 Merge "Add a system property for the 'Set Menu Language' feature of CEC" into nyc-dev 2016-03-16 04:20:59 +00:00
Lorenzo Colitti
71b61cd483 Merge "Ignore the checksum when comparing RAs for equality." into nyc-dev 2016-03-16 03:27:49 +00:00
Lorenzo Colitti
e6dfc1736b Ignore the checksum when comparing RAs for equality.
When comparing two RAs for equality, Ra#matches intentionally
ignores lifetimes. It should ignore the checksum instead, because
otherwise-identical packets with different lifetimes will almost
certainly have different checksums.

In order to avoid the generated APF program also matching the
checksum, we treat the checksum as if it were a lifetime, but
take care not to use its value when calculating mMinLifetime or
when checking the lifetimes in the APF program.

Bug: 27595799
Bug: 26238573
Change-Id: I526fdc17e99803a1ddec6275a3c542014434c429
2016-03-16 03:16:20 +00:00
Donghyun Cho
a09256c72f Add a system property for the 'Set Menu Language' feature of CEC
The CEC feature, <Set Menu Language>, is enabled by setting a system
property 'ro.hdmi.set_menu_language', which is false by default.

Bug: 25704899
Change-Id: I941b238bcc06227c128f09d38d422b8295e81b7b
2016-03-16 11:34:54 +09:00
Tomasz Mikolajewski
fe023137d0 Update docs for ACTION_QUICK_VIEW.
Bug: 27531273
Change-Id: I917ca16c14db20e6a2773018e00a61ff5fcf7ecd
2016-03-16 02:08:53 +00:00
Steve McKay
709be25f04 Merge "Add FLAG_PARTIAL. Partial files can't be copied." into nyc-dev 2016-03-16 01:37:08 +00:00
Adam Powell
3c8702dd81 Merge "Add View#onVisibilityAggregated" into nyc-dev 2016-03-16 00:22:22 +00:00
Doris Liu
d75f694c1a Merge "Workaround for PathMeasure.getSegment() behavior change" into nyc-dev 2016-03-16 00:21:14 +00:00
Shreyas Basarge
833c312ea4 Merge "Fix for JobScheduler jobs not running" into nyc-dev 2016-03-16 00:20:52 +00:00
Doris Liu
24ba125158 Workaround for PathMeasure.getSegment() behavior change
SkPathMeasure::getSegment(SkScalar startD, SkScalar stopD, SkPath* dst,
bool startWithMoveTo) in SkPathMeasure used to ignore the case when
startD == stopD in MNC release. In NYC, the same paramaters would yield
a tiny segment, which leaves undesirable artifacts as shown in the bug
below.

Bug: 27665826
Change-Id: I8289dc32773fd55d686458183af44ff072866c6e
2016-03-15 17:01:55 -07:00