Makoto Onuki
027fd0ae95
Merge "ShortcutManager: add remaining APIs." into nyc-dev
...
am: 4a07c34ca8
* commit '4a07c34ca86fddb75332eba22a4d7b9bd48205db':
ShortcutManager: add remaining APIs.
2016-03-09 22:33:35 +00:00
Makoto Onuki
4a07c34ca8
Merge "ShortcutManager: add remaining APIs." into nyc-dev
2016-03-09 22:28:45 +00:00
Lifu Tang
d70097b7c1
Merge "Modified the API to make coverage test possible" into nyc-dev
...
am: e1b5358bae
* commit 'e1b5358bae5a311f427767fcf4800c3f03ac6bc1':
Modified the API to make coverage test possible
2016-03-09 21:58:11 +00:00
Lifu Tang
e1b5358bae
Merge "Modified the API to make coverage test possible" into nyc-dev
2016-03-09 21:53:17 +00:00
Lifu Tang
0f1ab04516
Modified the API to make coverage test possible
...
Bug: 27462840
Change-Id: Idfd2c3c108b25f8be9046fd4bb72dbc57edc24bd
2016-03-09 11:32:43 -08:00
Alan Viverette
3976b199e5
Merge "Add missing annotations, getters to GradientDrawable" into nyc-dev
...
am: 0dda14c671
* commit '0dda14c671e7c19841f963b0bc665da055738437':
Add missing annotations, getters to GradientDrawable
2016-03-09 19:26:55 +00:00
Alan Viverette
5f63721a6c
Add missing annotations, getters to GradientDrawable
...
Fixes getColor() NPE when colors array is null.
Bug: 27543512
Change-Id: Ieec8a2315d0a2e4ab0ddbe053bccdd8c43080857
2016-03-09 13:30:35 -05:00
Martijn Coenen
a249556f80
Merge "API to query which cores are exclusively assigned." into nyc-dev
...
am: 2612bbc0f5
* commit '2612bbc0f5ae5422ba3e8e685ae375b2b8626fda':
API to query which cores are exclusively assigned.
2016-03-09 10:37:45 +00:00
Martijn Coenen
2612bbc0f5
Merge "API to query which cores are exclusively assigned." into nyc-dev
2016-03-09 10:31:03 +00:00
Shubham Ajmera
138d4b4ce1
Merge "Port OpenJDK8 java.util.*SummaryStatistics & add tests" into nyc-dev
...
am: 8710347fd9
* commit '8710347fd96bc26c7f7760a261d8e889baf53ba2':
Port OpenJDK8 java.util.*SummaryStatistics & add tests
2016-03-09 10:10:24 +00:00
Shubham Ajmera
d9f35f9831
Port OpenJDK8 java.util.*SummaryStatistics & add tests
...
Ported OpenJDK8 java.util.DoubleSummaryStatistics,
java.util.IntSummaryStatistics, java.util.LongSummaryStatistics.
Based on openJdk 8u40 source & iam@ stream change in
ag/872080
Bug: 27426738
(cherry picked from commit 2ff7afd862 )
Change-Id: Ia284503a3e5190e7c7f9adf812210ad3060f4a07
2016-03-09 10:04:47 +00:00
Shubham Ajmera
d7b16e3578
Merge "Port OpenJDK8 java.util.*SummaryStatistics & add tests"
...
am: 66ca5ac738
* commit '66ca5ac7381eda7be0f3792f2ab94c5108ae69ad':
Port OpenJDK8 java.util.*SummaryStatistics & add tests
2016-03-09 10:04:33 +00:00
Shubham Ajmera
66ca5ac738
Merge "Port OpenJDK8 java.util.*SummaryStatistics & add tests"
2016-03-09 09:57:17 +00:00
Makoto Onuki
5504622fb0
ShortcutManager: add remaining APIs.
...
- Icons are now persisted. (under /data/system_ce, as PNGs)
- the "load icon" APIs in LauncherApps are supported.
- Implement updateShortcuts()
- Addressed all the comments on the previous CL
- @hide the newly added constructor for PersistableBundle
- Enhance incoming shortcut validation
- A lot of internal clean-up.
Bug 27548047
Change-Id: I8e3c1ccd3e0a997a6d271c84d81170f0c022b60e
2016-03-08 18:37:32 -08:00
Makoto Onuki
76cb56bb21
Merge "Implement LauncherApps.startShortcut()." into nyc-dev
2016-03-09 01:38:37 +00:00
Makoto Onuki
43204b8357
Implement LauncherApps.startShortcut().
...
Bug 27548047
Change-Id: I357732e22be0959fb573fd6cdaee7c6b439ef7c4
2016-03-08 17:26:28 -08:00
Sudheer Shanka
97e89c624e
Merge "Update DPM.getWifiMacAddress to take admin component as argument." into nyc-dev
2016-03-08 22:52:11 +00:00
Dongwon Kang
08713d2a0e
Merge "TIF: Unhide TvView.setZOrderMediaOverlay/setZOrderOnTop/tune/unblockContent" into nyc-dev
2016-03-08 22:11:13 +00:00
Yi Kong
2f55bdf2e3
Track libcore change f121f31fd91c5a557225cd6a97418e716529eb2d (part 2)
...
Bug: 27427010
Change-Id: I5527f34ef6bf15aaa1a39b705e951122ae4b3d5a
2016-03-08 19:14:21 +00:00
Dongwon Kang
e12d810e99
TIF: Unhide TvView.setZOrderMediaOverlay/setZOrderOnTop/tune/unblockContent
...
Bug: 25726685
Change-Id: If96d0b086488c931d20315ee1c29cf7374715d93
2016-03-08 10:53:09 -08:00
Makoto Onuki
ed58f5f0aa
Merge "Introducing ShortcutManager" into nyc-dev
2016-03-08 18:01:05 +00:00
Julia Reynolds
4ed0e8cf8f
Merge "Condition cleanup." into nyc-dev
2016-03-08 17:39:01 +00:00
Jean-Michel Trivi
84dee4f16c
Merge "Rename AudioRecordConfiguration to AudioRecordingConfiguration" into nyc-dev
2016-03-08 16:46:58 +00:00
Yi Kong
c32718d4b6
Track libcore change f121f31fd91c5a557225cd6a97418e716529eb2d
...
Bug: 27427010
Change-Id: I5527f34ef6bf15aaa1a39b705e951122ae4b3d5a
2016-03-08 16:10:49 +00:00
Julia Reynolds
1d6d16d699
Condition cleanup.
...
Change-Id: If978bebac52c0b1438e86339669f409b4b17c6fc
2016-03-08 10:41:31 -05:00
Chris Wren
be3696d425
Merge "rename the asisstant service for the ranker" into nyc-dev
2016-03-08 14:13:45 +00:00
Shubham Ajmera
2ff7afd862
Port OpenJDK8 java.util.*SummaryStatistics & add tests
...
Ported OpenJDK8 java.util.DoubleSummaryStatistics,
java.util.IntSummaryStatistics, java.util.LongSummaryStatistics.
Based on openJdk 8u40 source & iam@ stream change in
ag/872080
Bug: 27426738
Change-Id: I54f3fba1142327f990c0a71acbbef0b7bb0e0a27
2016-03-08 13:19:13 +00:00
Martijn Coenen
cd4bdf3eb9
API to query which cores are exclusively assigned.
...
On devices with cpuset support, the foreground app
may have a core exclusively assigned to it. Add an
API that allows apps to query which core that is,
so it can use that to set scheduling affinity.
Bug: 27381794
Change-Id: Iea148776da6d7abb745ccf9e6ad5ad46491e340a
2016-03-08 13:09:32 +01:00
Sudheer Shanka
3cb4da16dc
Update DPM.getWifiMacAddress to take admin component as argument.
...
Bug: 27532280
Change-Id: I3a5e9557c3c6ac43c458c911a5309bdb2655fb66
2016-03-07 18:51:49 -08:00
Daichi Hirono
d517e6aeed
Merge "Add a new key to Settings.Global to obtain the number of boot." into nyc-dev
2016-03-08 02:06:39 +00:00
Amit Mahajan
0f90653ca1
Merge "New permission for bypassing premium short code check." into nyc-dev
2016-03-08 01:13:53 +00:00
Ruben Brunk
875825d0c1
Merge "Add a VR listener service." into nyc-dev
2016-03-08 00:14:57 +00:00
Jean-Michel Trivi
598c0c9f65
Rename AudioRecordConfiguration to AudioRecordingConfiguration
...
In package android.media:
- rename AudioRecordConfiguration to
AudioRecordingConfiguration to avoid ambiguity with the
android.media.AudioRecord class
- rename AudioManager.getActiveRecordConfigurations() to
getActiveRecordingConfigurations.
Bug 27385560
Change-Id: I5ef404ff36522193990c9b563d4545893529b365
2016-03-07 16:05:51 -08:00
Ruben Brunk
e24b9a6cfa
Add a VR listener service.
...
Bug: 22855417
Bug: 26724891
Bug: 27364145
- Add an API for VrListenerService, which is bound/unbound
from the framework when the system VR mode changes.
- Allow only a single bound VrListenerService at a time.
- Monitor allowed VrListenerService implementations from
VrManagerService and evict services as needed when packages,
users, or settings change.
- Remove previous VR functionality in NotificationListenerService.
- Add component target to Activity#setVrMode to allow
explicit selection of the running VrListenerService from
the current VR activity.
Change-Id: I776335f4441be0e793d3126f2d16faf86a8c621a
2016-03-07 15:54:12 -08:00
Amit Mahajan
e5cd9fa439
New permission for bypassing premium short code check.
...
Bug: 18326557
Change-Id: I1b05f73103183b851bbef1280d0785ce0a48159a
2016-03-07 21:51:44 +00:00
Chris Wren
e0ba7eb365
rename the asisstant service for the ranker
...
Bug: 22960980
Change-Id: Ibe57933303a488b01c43a7621a488d425d6f707d
2016-03-07 16:50:27 -05:00
Jean-Michel Trivi
310355d28e
Merge "Revert "Rename AudioRecordConfiguration to AudioRecordingConfiguration"" into nyc-dev
2016-03-07 19:59:42 +00:00
Jean-Michel Trivi
431ec6cdb9
Revert "Rename AudioRecordConfiguration to AudioRecordingConfiguration"
...
This reverts commit 99278e1c72 .
Change-Id: Ifcb3f17a26df8171cbc21dac093477b98a1333db
2016-03-07 19:59:21 +00:00
Jean-Michel Trivi
46f5429768
Merge "Rename AudioRecordConfiguration to AudioRecordingConfiguration" into nyc-dev
2016-03-07 19:29:04 +00:00
Jeff Tinker
b849eeab26
Merge "Add error code to MediaCodec.CryptoException" into nyc-dev
2016-03-07 18:18:10 +00:00
Daichi Hirono
82ab9801eb
Add a new key to Settings.Global to obtain the number of boot.
...
BUG=26212981
Change-Id: I5ca51ca624a30dc2d96e547a85a712e273af1931
2016-03-07 12:45:19 +09:00
Jeff Sharkey
d6de3abed9
Merge "Add AssetFileDescriptor to MediaExtractor." into nyc-dev
2016-03-05 23:09:25 +00:00
Jeff Sharkey
a3c1c2297d
Add AssetFileDescriptor to MediaExtractor.
...
Mirrors API on MediaPlayer.
Bug: 27506874
Change-Id: Ibc07cf8151c362ff7375b89e7a9044bef1d9e94d
2016-03-05 16:07:46 -07:00
Jeff Tinker
d393216f8a
Add error code to MediaCodec.CryptoException
...
Added a code to represent unsupported operations
bug: 25929554
Change-Id: Id8bfa092f29de073db19c4d7444f89249ea2cdd5
2016-03-05 11:53:23 -08:00
Makoto Onuki
6f7362d925
Introducing ShortcutManager
...
What's supported:
- Most APIs are implemented, except for SM.updateShortcuts(),
the icon APIs in LA, and LA.startShortcut().
- Persisting information, except for icons
- Throttling
In addition, now PersistableBundle has a public copy
constructor from a Bundle. (Do we want to @hide it?)
TODOs:
- Add icon support
- Implement missing APIs
- Listen to PACKAGE_* broadcasts and do clean-up
- Support multi-launcher apps (pinned shortcuts per launcher)
- Dev option to reset throttling
- Load throttling config from Settings
- Backup & restore
- Figure out LauncherApps permissions (BIND_APPWIDGETS??)
- Other minor TODOs in the code
- Better javadoc
Note: This requires Idf2f9ae816e1f3d822a6286a4cf738c14e29a45e
Bug 27325877
Change-Id: Ia5aa555a4759df5f79a859338f1dc5e624cd0e35
2016-03-04 15:24:49 -08:00
Jean-Michel Trivi
b74926232e
Merge "API changes for audio recording notifications" into nyc-dev
2016-03-04 22:49:31 +00:00
Julia Reynolds
cedacefd70
Api Review: NotificationManager.Policy
...
Bug: 27365873
Change-Id: Ie53a410d53f430fa90f24d95a885be150a3d66aa
2016-03-04 14:37:45 -05:00
Narayan Kamath
cda4198937
Track libcore change e86a81ca1ae9ddbdd1c3239d31fb2e49b4a5cf33 (part 2).
...
Also includes a regenerated test-current.txt.
bug: 27426688
(cherry picked from commit 7d18ce744f )
Change-Id: I754803d51d365ac1fe26c638b12efb88d23b35c6
2016-03-04 13:24:13 +00:00
Narayan Kamath
3e7ef62e04
Track libcore change e86a81ca1ae9ddbdd1c3239d31fb2e49b4a5cf33.
...
bug: 27426688
(cherry picked from commit 7d18ce744f )
Change-Id: If22e493a80958ebd57ae5cc9d0f74d9479c86211
2016-03-04 12:46:37 +00:00
Narayan Kamath
7d18ce744f
Track libcore change e86a81ca1ae9ddbdd1c3239d31fb2e49b4a5cf33.
...
bug: 27426688
Change-Id: I75777707f96c463ea7054eda55bb532a67ca5501
2016-03-04 12:45:05 +00:00