Svet Ganov
d85e7d06e0
am 174b86de: am 715cf2ac: Make AppOpsManager#permissionToOp API public
...
* commit '174b86dede42cf63c99d16f32f312069e9c74634':
Make AppOpsManager#permissionToOp API public
2015-06-14 01:36:18 +00:00
Svet Ganov
715cf2ac0b
Make AppOpsManager#permissionToOp API public
...
We need this API to implement permission checker API
in the support lib that takes into account both app
ops and permissions.
bug:21277214
Change-Id: I684fc002bb71ec5e1cd2994098faa0d2036297ac
2015-06-14 00:50:38 +00:00
Dianne Hackborn
2712ce948a
am 6e2fb78f: am e554cc96: Merge "Implement some control over ALLOW_WHILE_IDLE alarms." into mnc-dev
...
* commit '6e2fb78fbe3ce50182f0ad928748aeada57a44cf':
Implement some control over ALLOW_WHILE_IDLE alarms.
2015-06-12 19:54:28 +00:00
Chris Wren
604f6cf113
am 63cae6c8: am 17de4b2a: Merge "remove usage of deprecated method setLatestEventInfo" into mnc-dev
...
* commit '63cae6c8caa77b6b1cdc45423ed6ec771f6c485b':
remove usage of deprecated method setLatestEventInfo
2015-06-12 19:54:23 +00:00
Dianne Hackborn
e554cc9659
Merge "Implement some control over ALLOW_WHILE_IDLE alarms." into mnc-dev
2015-06-12 19:38:39 +00:00
Dianne Hackborn
3d1933c45f
Implement some control over ALLOW_WHILE_IDLE alarms.
...
Since these alarms allow you to bypass the idle restrictions,
we don't want them to be so open-ended like other alarms. This
implements a policy where the alarm manager will only deliver these
types of alarms every X minutes to each application. For this
initial implementation, X is 1 minute under normal operation and
15 minutes when in idle mode.
To do this, I needed to introduce a new internal allow-while-idle
flag for system alarms, which applications can't get, and doesn't
have these new restrictions.
Also tweaked how the alarm manager handles the alarm window, so it
doesn't change if the alarm gets rescheduld; the window is now always
what as computed based on the time when the alarm was first
given to it.
Finally, fix TimeUtils to be able to correctly print times that
are > 999 days.
Change-Id: Ibad8c6a7c14b0624b54e82267be23224b4c31e84
2015-06-12 12:37:35 -07:00
Chris Wren
17de4b2a73
Merge "remove usage of deprecated method setLatestEventInfo" into mnc-dev
2015-06-12 19:28:54 +00:00
Rubin Xu
b8fd9182d6
am 23d5a49b: am 6161eb34: Merge "Update doc of ACTION_PROVISION_MANAGED_DEVICE" into mnc-dev
...
* commit '23d5a49bf3a36f0431154ecc4d8776a3d44e94d0':
Update doc of ACTION_PROVISION_MANAGED_DEVICE
2015-06-12 18:54:19 +00:00
Rubin Xu
6161eb3494
Merge "Update doc of ACTION_PROVISION_MANAGED_DEVICE" into mnc-dev
2015-06-12 18:27:45 +00:00
Dianne Hackborn
ccd6d0c14d
am d55860d9: am 8a435ced: Merge "Fix APIs." into mnc-dev
...
* commit 'd55860d990587509f0e9624c44494172f3e24714':
Fix APIs.
2015-06-12 17:31:21 +00:00
Dianne Hackborn
8a435ced67
Merge "Fix APIs." into mnc-dev
2015-06-12 16:34:38 +00:00
Alex Klyubin
88fc537102
am d3f2657e: am 738241f9: Merge "Document that DownloadManager supports HTTPS." into mnc-dev
...
* commit 'd3f2657ee3655eb07d3772d6ce0b7fdbfe2cf48d':
Document that DownloadManager supports HTTPS.
2015-06-12 16:22:43 +00:00
Alex Klyubin
738241f93c
Merge "Document that DownloadManager supports HTTPS." into mnc-dev
2015-06-12 16:02:17 +00:00
Rubin Xu
a4f9dc1cf0
Update doc of ACTION_PROVISION_MANAGED_DEVICE
...
It also supports an optional extra EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE
Bug: 21797182
Change-Id: Ie145e6a79dd7eebdbb4cc58e1baba761b9cc5bbf
2015-06-12 15:18:59 +01:00
Chris Wren
1ce4b6d3c6
remove usage of deprecated method setLatestEventInfo
...
Bug: 18510449
Change-Id: I56a77991c729990e501f402e007dfa79ee57621e
2015-06-12 10:16:04 -04:00
Rubin Xu
d841ebb7e7
am c13ea212: am 5c82d2cc: Change references to APK Certificate to Signature
...
* commit 'c13ea21249455708a5d1ffb42ef0a4751214c6b1':
Change references to APK Certificate to Signature
2015-06-12 10:17:44 +00:00
Rubin Xu
5c82d2cc17
Change references to APK Certificate to Signature
...
The fact that currently apk signature is certificates is just
implementation details.
Bug: 20820366
Change-Id: Icdd02cb51a550ea71ff83a84e2bdfcc21f8d43ed
2015-06-12 10:32:24 +01:00
Dianne Hackborn
ece0f4f519
Fix APIs.
...
Issue #21039494 : API Review: android.os.PowerManager.isDeviceIdleMode()
Issue #21347000 : API Review: android.content.IntentFilter
Issue #20654534 : API Review: android.app.assist
Also allow use of ActivityManager.setWatchHeapLimit on any platform
build as long as the calling app is debuggable.
Change-Id: Ic597e596fa772fcdf2553b64f444b3d9269e8b92
2015-06-11 18:07:43 -07:00
Adam Lesinski
6b7d2ec164
am 9598abea: am 2e49bfa6: Merge "UsageStats: Change INTERACTION to SYSTEM_INTERACTION" into mnc-dev
...
* commit '9598abea3160328bbf98ca5eb04f7b1502417469':
UsageStats: Change INTERACTION to SYSTEM_INTERACTION
2015-06-11 22:43:20 +00:00
Dmitriy Ivanov
4aad8a4c0d
am ff004b9f: am 99fc7e95: Merge "Add path to native libraries inside apk" into mnc-dev
...
* commit 'ff004b9f2f5d6e3fdae82548d74681e9789b8b51':
Add path to native libraries inside apk
2015-06-11 22:16:56 +00:00
Adam Lesinski
2e49bfa6f0
Merge "UsageStats: Change INTERACTION to SYSTEM_INTERACTION" into mnc-dev
2015-06-11 22:02:37 +00:00
Adam Lesinski
c8e8729244
UsageStats: Change INTERACTION to SYSTEM_INTERACTION
...
SYSTEM_INTERACTION events are signals to the system for a package's
implicit actions (service bound, etc).
These should not affect the API visible stats like lastTimeUsed, etc.
USER_INTERACTION is for user initiated actions (notification interaction, etc).
Bug:21761781
Change-Id: I4585cf35fbb158612a3c737710108bec34e89183
2015-06-11 22:01:45 +00:00
Dmitriy Ivanov
99fc7e95c5
Merge "Add path to native libraries inside apk" into mnc-dev
2015-06-11 21:55:01 +00:00
Alex Klyubin
66629bc540
Document that DownloadManager supports HTTPS.
...
Bug: 14112655
Change-Id: I37708553b7ae2f48dcd574f3c66daa8dfdd00f3a
2015-06-11 14:34:44 -07:00
Craig Lafayette
6c5acdbc93
am 7ff09f2b: am 77b2d49a: Merge "Remove device initializer status messages" into mnc-dev
...
* commit '7ff09f2be0be1ad5f9c7b9dce31084522fb30608':
Remove device initializer status messages
2015-06-11 18:08:58 +00:00
Craig Lafayette
77b2d49abb
Merge "Remove device initializer status messages" into mnc-dev
2015-06-11 17:45:03 +00:00
Benjamin Franz
95b555fc90
am 8b5c2e8a: am d168d184: Merge "Align the behaviour of different lock task modes" into mnc-dev
...
* commit '8b5c2e8acd01c87204ba0b842a35c625be174e5b':
Align the behaviour of different lock task modes
2015-06-11 16:38:36 +00:00
Benjamin Franz
d168d184c0
Merge "Align the behaviour of different lock task modes" into mnc-dev
2015-06-11 16:15:37 +00:00
Svetoslav
47db722168
am 0525c07f: am 75a0ee08: Merge "Add system API to watch for permission changes" into mnc-dev
...
* commit '0525c07f30f08008883cf2845afa3bf81f888c55':
Add system API to watch for permission changes
2015-06-11 12:53:42 +00:00
Svetoslav
75a0ee081f
Merge "Add system API to watch for permission changes" into mnc-dev
2015-06-11 08:02:06 +00:00
Svetoslav
f7c06eb03a
Add system API to watch for permission changes
...
Change-Id: I1ce450a59fb326c14848f46732d877dea33f33c7
2015-06-10 21:24:13 -07:00
Robin Lee
d5c99db459
am 347836e9: am 8bbbcd3d: Merge "Policy: make bulk CA uninstalls happen in service" into mnc-dev
...
* commit '347836e965dd5c88b1a679d27e7a66f6858a7e3e':
Policy: make bulk CA uninstalls happen in service
2015-06-10 23:15:04 +00:00
Jeff Brown
a748bfbd6e
am 9749e335: am 4bc50540: Merge "Support 4K overlay displays." into mnc-dev
...
* commit '9749e33579a3d27144ac39d9e3572ed30e234039':
Support 4K overlay displays.
2015-06-10 23:14:36 +00:00
Robin Lee
8bbbcd3d54
Merge "Policy: make bulk CA uninstalls happen in service" into mnc-dev
2015-06-10 19:44:18 +00:00
Robin Lee
83881bdbde
Policy: make bulk CA uninstalls happen in service
...
Fewer round trips, only one point of contact for bugs to creep in.
Bug: 21650477
Change-Id: I1764faa753bd674ecb0d13149d778d99bd2ff4c4
2015-06-10 19:40:44 +00:00
Dmitriy Ivanov
e56b3f63e8
Add path to native libraries inside apk
...
If an application has native code (and primary abi)
include path to corresponding folder inside apk-file
to ldLibraryPath when constructing PathClassLoader
Bug: 21647354
Bug: 21667767
Bug: 21726698
Bug: 8076853
Change-Id: Ib0a2f01ee69019d3206a00c542bd7d0f58d0c481
2015-06-09 20:40:20 -07:00
Jeff Brown
fe4ad335d8
Support 4K overlay displays.
...
Bug: 18241736
Change-Id: Ibd479f2ea47ed49a507e7265bdce83afc214b19c
2015-06-09 19:52:23 -07:00
Svetoslav
54dd1e4c73
am 60022334: am a1e60f1f: Merge "Use who when requesting permissions" into mnc-dev
...
* commit '60022334b7bff4a8c985465186e7472215178819':
Use who when requesting permissions
2015-06-10 01:54:27 +00:00
Dianne Hackborn
3fca7b7929
am 4f8fdd93: am 113769d7: Merge "Fix NPE." into mnc-dev
...
* commit '4f8fdd93329e5f78a21e6eeee75f99a6c9399743':
Fix NPE.
2015-06-10 01:29:22 +00:00
Svetoslav
a1e60f1f45
Merge "Use who when requesting permissions" into mnc-dev
2015-06-10 01:29:21 +00:00
Svetoslav
970b59cbe3
Use who when requesting permissions
...
Change-Id: Id0b231f8b74099b7877eb4441a1664416c641731
2015-06-09 18:17:44 -07:00
Dianne Hackborn
c0cdfa5947
Fix NPE.
...
Change-Id: Iea1faf4b3070ed29884e133e3bab54401bd77bcf
2015-06-09 17:53:47 -07:00
Dianne Hackborn
45c75dea7f
am 549aacfe: am 47669522: Merge "Fix issue #21621920 : VI: need mechanism to get current request" into mnc-dev
...
* commit '549aacfe9a299a61b5bc5acc2b776ac545cd855b':
Fix issue #21621920 : VI: need mechanism to get current request
2015-06-10 00:00:11 +00:00
Dianne Hackborn
4766952273
Merge "Fix issue #21621920 : VI: need mechanism to get current request" into mnc-dev
2015-06-09 23:33:52 +00:00
Wale Ogunwale
a70c0d7aa1
am d43ee126: am 2c4643dd: Merge "Fixed issue with using wrong display id when creating context for displays" into mnc-dev
...
* commit 'd43ee1260e5cd9fb7cd56d38557b494bc475612f':
Fixed issue with using wrong display id when creating context for displays
2015-06-09 23:27:44 +00:00
Wale Ogunwale
cac3dc636d
Fixed issue with using wrong display id when creating context for displays
...
Bug: 21729214
Change-Id: I58b6712e2929e758c3fc3b2d493991ba0262dec9
2015-06-09 15:35:02 -07:00
Dianne Hackborn
51bcd6728b
am 1a18d087: am ea7438e4: Merge "Fix issue #21571700 : Need to be smarter about how foreground..." into mnc-dev
...
* commit '1a18d087d7c31ee037c9583949f5ecc34ae96479':
Fix issue #21571700 : Need to be smarter about how foreground...
2015-06-09 21:26:09 +00:00
Dianne Hackborn
a3acdb33df
Fix issue #21621920 : VI: need mechanism to get current request
...
Add new APIs to associate a Request with a name, get all active
requests, and get active request by name.
Also add a new Activity.onProvideReferrer() which will allow
applications to propagate referrer information to the assistant
(and other apps they launch) in a consistent way.
Change-Id: I4ef74b5ed07447da9303a74a1bdf42e4966df363
2015-06-09 14:15:49 -07:00
Dianne Hackborn
ea7438e4a6
Merge "Fix issue #21571700 : Need to be smarter about how foreground..." into mnc-dev
2015-06-09 21:08:17 +00:00
Julia Reynolds
6be25283c8
am 6ca311ca: am 058652c2: Merge "Remove the ability to set a preferred setup activity." into mnc-dev
...
* commit '6ca311ca99bc1290d714c6918e57db6daef7a941':
Remove the ability to set a preferred setup activity.
2015-06-09 17:12:27 +00:00