Commit Graph

245370 Commits

Author SHA1 Message Date
Wonil Kim
6a4d333260 Fix simple typo in System Permissions guide
TYou to You

BUG: 29946799
Change-Id: I9796a91109d5f0d756f5273ebc56c44ff4cf25f6
2016-07-02 12:06:57 +09:00
Christopher Tate
fa7d97fa15 Make sure SELinux labels are correct after move-to operations
In some circumstances wallpaper-related files are moved into position,
and must then take proper effect.  Make sure that they have the
correct SELinux labels afterwards to avoid preventing some valid
accesses.

Bug 29469965

Change-Id: I6d7c86be63d568fa0ad8841d109a7ff2149fdd54
2016-07-01 00:16:51 +00:00
fionaxu
4ce343881c DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2 am: a0263a9909 am: a3b851d352 -s ours am: f52501d2d4 -s ours am: cbb7b8c7a4 am: c666ebef33 am: 1e1974705b -s ours am: c7824b3de3 am: 0b2c2b2a8c am: b281795c12
am: 17414d65fa  -s ours

Change-Id: Ib23d4fd1ac69446544e866a2f0fdc4c28076d148
2016-06-30 23:34:08 +00:00
Svetoslav Ganov
a98e4512df Merge "Removed warning when objects are added on wrong order." into nyc-dev 2016-06-30 23:28:59 +00:00
fionaxu
17414d65fa DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2 am: a0263a9909 am: a3b851d352 -s ours am: f52501d2d4 -s ours am: cbb7b8c7a4 am: c666ebef33 am: 1e1974705b -s ours am: c7824b3de3 am: 0b2c2b2a8c
am: b281795c12

Change-Id: I666bfd00c747b43ef07f90b8ef61b8fe79470312
2016-06-30 23:26:56 +00:00
fionaxu
b281795c12 DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2 am: a0263a9909 am: a3b851d352 -s ours am: f52501d2d4 -s ours am: cbb7b8c7a4 am: c666ebef33 am: 1e1974705b -s ours am: c7824b3de3
am: 0b2c2b2a8c

Change-Id: I49b57d13076a736f674434403ac2470680fe398a
2016-06-30 23:19:16 +00:00
Felipe Leme
7709041c99 Removed warning when objects are added on wrong order.
append() is used to optimized insertions in the array, but it must
preserve the order of the hashcode array; when it doesn't, it falls back
to append(), but it should not log a warning message

In particular, PendingIntentRecords might have different hashcodes
across different processes.

Fixes: 29912192
Change-Id: I0ab566249829ddb934fd51cf21399b68cb286bd5
2016-06-30 23:19:08 +00:00
Tenghui Zhu
486c76b5ef Merge "Mutate the drawable if a valid state change happen" into nyc-dev 2016-06-30 23:12:39 +00:00
Teng-Hui Zhu
ab1cbc2c53 Mutate the drawable if a valid state change happen
In another word, create another cached bitmap, when the current VectorDrawable
will look differently when state changed.

Bug: 29870392
Bug: 29854240

Change-Id: I7a5ef91091e547a930368286defc7ab96aeb9471
(cherry picked from commit 4f1acfb5f5)
2016-06-30 23:11:48 +00:00
fionaxu
0b2c2b2a8c DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2 am: a0263a9909 am: a3b851d352 -s ours am: f52501d2d4 -s ours am: cbb7b8c7a4 am: c666ebef33 am: 1e1974705b -s ours
am: c7824b3de3

Change-Id: I89dc27d498872a0e4ce539b293f3ffa9f74e38e9
2016-06-30 23:11:22 +00:00
fionaxu
c7824b3de3 DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2 am: a0263a9909 am: a3b851d352 -s ours am: f52501d2d4 -s ours am: cbb7b8c7a4 am: c666ebef33
am: 1e1974705b  -s ours

Change-Id: Idbdf23dc9c74330080cf55a048d92b0dddafb99e
2016-06-30 23:06:21 +00:00
Adrian Roos
a275ec269f Merge "Fix missing header text in notification groups" into nyc-dev 2016-06-30 23:00:29 +00:00
fionaxu
1e1974705b DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2 am: a0263a9909 am: a3b851d352 -s ours am: f52501d2d4 -s ours am: cbb7b8c7a4
am: c666ebef33

Change-Id: I8b40b7fbf1c6b2e9fa556c6fc31d81b98e291fdf
2016-06-30 22:57:27 +00:00
fionaxu
c666ebef33 DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2 am: a0263a9909 am: a3b851d352 -s ours am: f52501d2d4 -s ours
am: cbb7b8c7a4

Change-Id: Iad9b7ca53c003319a89dc3b7091bbbafb94a95dd
2016-06-30 22:51:55 +00:00
Adrian Roos
9dfb78fab6 Fix missing header text in notification groups
Fixes a case where notification header text could go missing
if a notification view was recycled and previously had a header text.

Reapplying only hid the text without clearing it, so the extraction
logic thought it was still there and hid the text for the children
even though it was not showing for the parent.

Change-Id: I3f96e1e7bebb2f815020d278ad13b2b5d948e63c
Fixes: 29915184
2016-06-30 15:46:15 -07:00
fionaxu
cbb7b8c7a4 DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2 am: a0263a9909 am: a3b851d352 -s ours
am: f52501d2d4  -s ours

Change-Id: Ibc5076680df923f5edf2a09e4331b75604bd863f
2016-06-30 22:43:10 +00:00
fionaxu
f52501d2d4 DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2 am: a0263a9909
am: a3b851d352  -s ours

Change-Id: I914f9b17db4d515a8d962abb876a2847d2fab6b3
2016-06-30 22:37:24 +00:00
fionaxu
a3b851d352 DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2
am: a0263a9909

Change-Id: Iff18193574eeac7e9d0033025a4fff791ba9ccaa
2016-06-30 22:31:52 +00:00
fionaxu
a0263a9909 DO NOT MERGE revert public api loadSafeLabel
am: f44c73abb2

Change-Id: If7d00ce5ba4955b3511e6bb46670c45927f9e5d2
2016-06-30 22:25:47 +00:00
Adarsh Fernando
a6a3ca8dac Docs: Fixed NDK download links for Windows
Bug:29549878
Change-Id: I57415b1353e4a27633a5bce200a73d24f30eee81
2016-06-30 11:52:25 -07:00
Alan Viverette
4b736ea56d Merge "Only clip PopupWindow in the vertical direction" into nyc-dev 2016-06-30 17:24:22 +00:00
Alan Viverette
9705fa0602 Only clip PopupWindow in the vertical direction
Bug: 29865091
Change-Id: Ic4e3b50571034f341aff2c2fbf2c349342622448
2016-06-30 13:17:26 -04:00
TreeHugger Robot
7705d5fd6e Merge "Exclude children from excess space distribution when using largest child" into nyc-dev 2016-06-30 17:07:07 +00:00
Alan Viverette
070b22bdee Exclude children from excess space distribution when using largest child
Preserves API 23 behavior.

Bug: 29872769
Change-Id: I514cde81dcca4d78238f407251805cced4c0bea1
2016-06-30 11:15:36 -04:00
TreeHugger Robot
bb07b0b372 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-30 03:14:09 +00:00
TreeHugger Robot
d1364cf0f1 Merge "Fix Windows NDK labeling." into nyc-dev 2016-06-30 01:59:34 +00:00
Jeff Sharkey
479212cf50 Move getRecentTasks() to ParceledListSlice.
In extreme cases the list of recent tasks can grow beyond the size
of a single Binder transaction.  This change moves over to
ParceledListSlice which handles chunking any large results.

Bug: 29635557
Change-Id: Iaf1227234f5f8c9451f73a6a5c1dc89f2067f05f
2016-06-29 22:17:41 +00:00
Bert McMeen
ae5a14bc99 Docs: Links added to pages for permissions and configuration activity am: cdfe5e4f55
am: 7a6494aeaf

Change-Id: I907cf418d0a53827a7448135b0d712f41d0024e8
2016-06-29 21:59:31 +00:00
Bert McMeen
7a6494aeaf Docs: Links added to pages for permissions and configuration activity
am: cdfe5e4f55

Change-Id: I3e9cde3cb24c5c779059c4708b144a2376c9616c
2016-06-29 21:54:42 +00:00
Bill Yi
176a92ad2c Import translations. DO NOT MERGE
Change-Id: Idf8c50b91f8f1f39e6dd41a310f529aaeb5ae36c
Auto-generated-cl: translation import
2016-06-29 13:45:21 -07:00
Dianne Hackborn
205bc262ce Merge "Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API" into nyc-dev 2016-06-29 20:38:18 +00:00
David Friedman
7a4d857c45 Merge "docs: Edits to Instant Apps FAQs, index page." into nyc-dev 2016-06-29 20:26:43 +00:00
Sid Soundararajan
10b2fee05f Merge "Recents: Make sure blacklist checks the package name as well as activity name" into nyc-dev 2016-06-29 20:03:06 +00:00
Sid Soundararajan
f838407e4a Recents: Make sure blacklist checks the package name as well as activity name
BUG: 28719274
BUG: 28764678
Change-Id: Ib17d3feda8997ce5b29060bff47d51f503c868dc
2016-06-29 19:54:49 +00:00
Dianne Hackborn
1150b735c8 Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API
Change-Id: I0034b1681158b9a010d01fb0fcbe7990d9038c1f
2016-06-29 11:49:01 -07:00
Alan Viverette
f66bdf9b57 Merge "Disable constant state sharing for VectorDrawable" into nyc-dev 2016-06-29 16:54:29 +00:00
Alan Viverette
1882ce941b Disable constant state sharing for VectorDrawable
Bug: 29854240
Change-Id: Icc58d04ad6f471d05b085a9089893e4f7205eb7d
2016-06-29 11:32:13 -04:00
Rob Carr
55427a6650 Merge "Only use one SurfaceControlWithBackground per AppToken." into nyc-dev 2016-06-29 03:27:48 +00:00
Robert Carr
91b2280964 Only use one SurfaceControlWithBackground per AppToken.
In the past, if an app never renders to a SurfaceView, it will be
invisible despite having FLAG_OPAQUE. This means an app could leave a
totally empty SurfaceView (never drawing in to it) on top of a second
SurfaceView, and expect the second one to be visible. This is probably
buggy app behavior because FLAG_OPAQUE means if they ever draw anything at all
in to the top SurfaceView the bottom one will become totally invisible.
However this has worked in the past, so we have to preserve things for
apps. To accomplish this we ensure only the bottom most visible
SurfaceView for a given AppToken will receive a background. We achieve
this by synchronizing through the app token whenever visibility or
layering of a SurfaceView changes.

Bug: 29580298
Change-Id: I0023326323cb961b56404fd49093384e7b72aa54
2016-06-28 20:09:09 -07:00
Winson
16ef39a7f6 Move preloading to boot complete.
Bug: 29320695
Change-Id: I14b5127b218597f3c32e647e0443a88b5a708ce1
2016-06-29 02:13:37 +00:00
Jim Miller
60c04126c9 Merge "Relax security constraint around getAuthenticatorId()." into nyc-dev 2016-06-29 00:37:42 +00:00
Jim Miller
d0063106b6 Relax security constraint around getAuthenticatorId().
Fixes bug 28603656

Change-Id: I54216d4b9a3ab23f9d5bfe0f40f2dd27e723c21e
2016-06-28 16:43:57 -07:00
Bert McMeen
cdfe5e4f55 Docs: Links added to pages for permissions and configuration activity
Bug: 28864917
Change-Id: Ieab325f20dac3bba6028e5c70813d4035063d0cf
2016-06-28 16:24:13 -07:00
Lajos Molnar
1fe8871f04 Merge "media: document VP9 CSD for MediaCodec" into nyc-dev 2016-06-28 22:27:53 +00:00
Lajos Molnar
af9d9f9b3e Merge "media: document rotation and scaling issues for MediaCodec" into nyc-dev 2016-06-28 22:21:02 +00:00
Lajos Molnar
556e012979 Merge "media: document format keys for MediaExtractor/CodecCapabilities" into nyc-dev 2016-06-28 22:19:30 +00:00
Oren Blasberg
29ea814354 Merge "Fix popup context menu appearing brokenly." into nyc-dev 2016-06-28 21:12:28 +00:00
TreeHugger Robot
c1374208e3 Merge "Remove redundant setPendingIntentWhitelistDuration() calls." into nyc-dev 2016-06-28 20:45:40 +00:00
Oren Blasberg
0e8ce872f1 Fix popup context menu appearing brokenly.
Add missing attribute to the base Theme to ensure the context menu
does not appear completely invisibly.

Bug: 29796385
Change-Id: I4f50579622e97656e09a5ddb6e13313f84efc972
2016-06-28 12:41:30 -07:00
TreeHugger Robot
8d78c33c9b Merge "Fixed whitelistManager set on unbindServiceLocked()" into nyc-dev 2016-06-28 19:15:34 +00:00