Commit Graph

253881 Commits

Author SHA1 Message Date
John Reck
fc9689e1ed Merge "Fix null deref crash" into nyc-mr1-dev 2016-08-01 21:54:14 +00:00
John Reck
882d515cd5 Fix null deref crash
Bug: 30560152
Change-Id: Ic4bae380e27de5bea80cec484e83d205e078ec43
2016-08-01 14:52:25 -07:00
Doris Liu
c82e879e56 Put VD animators on paused list when RT stops drawing
When we stop scheduling for new frames on RenderThread, we should
put the running animations on pause, rather than purge the list
of the running animations, such that in the next full
sync, the animations that were paused will continue to run.

BUG: 30226711
Change-Id: I36ff6f5d26ffa7999f60ca0ff676a35157577dc2
2016-08-01 21:42:15 +00:00
Alan Viverette
7dd40cd411 Merge "Adjust touch progress offset to account for changes to AbsSeekBar" into nyc-mr1-dev 2016-08-01 20:53:50 +00:00
Justin Klaassen
dd32d90843 Fix Night display QSTile for secondary users
Bug: 30459698
Change-Id: I8d56caabf6401239ab9e05ebbe54ecc64a1ab695
2016-08-01 13:24:49 -07:00
Fei Wu
1d2cd33cfe Merge "Make watch Switch thumb color consistent" into nyc-mr1-dev 2016-08-01 20:13:13 +00:00
Daniel Yu
4a187df3a1 Merge \"docs: Fixing incorrect div tags in l10n N docs\" into nyc-dev
am: d70113bbd0

Change-Id: I79bf7a838ba853a7fb0831189ccf4001e252249b
2016-08-01 19:51:43 +00:00
Daniel Yu
f449d9ed36 docs: Fixing incorrect div tags in l10n N docs
am: 3629bc8854

Change-Id: Iec0d7713aba125fd579b26df61c4f76d41df6c28
2016-08-01 19:51:40 +00:00
Dan Yu
d70113bbd0 Merge "docs: Fixing incorrect div tags in l10n N docs" into nyc-dev 2016-08-01 19:44:33 +00:00
Joe Fernandez
843f022c47 cherry-pick from mnc-mr-docs: docs: SafeBrowsing API
b/27438791

Change-Id: I14a34bbec51dc33dd4d730d59268690c9bee3992
Original-Change-Id: I00f4a374353dfb62cee44713ac5faadc0a9268d5
2016-08-01 12:39:24 -07:00
Kevin Hufnagle
997ccdc071 docs: Updated layout and timestamps of developer stories.
The developer stories for Aftenposten, El Mundo, Segundamano, Tapps,
and Upbeat Games now appear closer to the beginning/top of a section
on the newly-formatted "latest" page.

Also, Tapps and Upbeat Games now appear within the "games" section,
not the "apps" section. The Glu case study also appears within the
"games" section; it was incorrectly appearing under the root
"stories" directory before.

Finally, removed a duplicate case study describing Dots increasing
installs using Store Listing Experiments.

Bug: 29240693
Change-Id: Ieec3afd2f56320da00ee4b97d8cd8de8253784dd
2016-08-01 19:17:21 +00:00
Alan Viverette
1d33c3f3a3 Adjust touch progress offset to account for changes to AbsSeekBar
Previously AbsSeekBar always rounded up, which resulted in poor handling
of touches near the edge of a progress value. We fixed this but forgot
to adjust RatingBar for the new behavior.

Bug: 30558586
Change-Id: I634fa7a0b98568093e16279ef5a80abe08d2e2fe
2016-08-01 15:14:05 -04:00
Yuanlang Song
eaf08cf7d0 Work around to get ride of NPE in app startup test
bug: 30374599
Change-Id: I9050ba6ac6283734c345e4e7f9f56f34e1477c7a
2016-08-01 12:11:57 -07:00
Svetoslav Ganov
fea7cfce8b Merge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev 2016-08-01 18:48:11 +00:00
Svet Ganov
dc24f937b0 Prevent apps to overlay other apps via toast windows
It was possible for apps to put toast type windows
that overlay other apps which toast winodws aren't
removed after a timeout.

Now for apps targeting SDK greater than N MR1 to add a
toast window one needs to have a special token. The token
is added by the notificatoion manager service only for
the lifetime of the shown toast and is then removed
including all windows associated with this token. This
prevents apps to add arbitrary toast windows.

Since legacy apps may rely on the ability to directly
add toasts we mitigate by allowing these apps to still
add such windows for unlimited duration if this app is
the currently focused one, i.e. the user interacts with
it then it can overlay itself, otherwise we make sure
these toast windows are removed after a timeout like
a toast would be.

We don't allow more that one toast window per UID being
added at a time which prevents 1) legacy apps to put the
same toast after a timeout to go around our new policy
of hiding toasts after a while; 2) modern apps to reuse
the passed token to add more than one window; Note that
the notification manager shows toasts one at a time.

bug:30150688

Change-Id: Icc8f8dbd060762ae1a7b1720e96c5afdb8aff3fd
2016-08-01 11:46:02 -07:00
Andrii Kulian
995fa2bd2d Fix finishing activity in non-focused stack
This CL explicitly checks if we're finishing activity in non-focused
stack as there are other cases except this one when we finish paused
activities in FINISH_AFTER_VISIBLE mode.

Bug: 29007436
Bug: 29458854
Change-Id: I67744d23cd72f2fe8861180008bfdd284a7b5e26
2016-08-01 17:57:47 +00:00
Makoto Onuki
5faa852c57 Merge "Revert "LauncherApps should also throw when user is locked"" into nyc-mr1-dev 2016-08-01 17:30:31 +00:00
Daniel Yu
3629bc8854 docs: Fixing incorrect div tags in l10n N docs
When some N preview docs were migrated into regular
developer.android.com docs, the div tags were not switched
from qv-wrapper/qv to tb-wrapper/tb.

Bug: 30479904
Change-Id: I03708fd372e9498d5c9810e8ad990bece5521092
2016-08-01 10:25:12 -07:00
Makoto Onuki
2ec16b08ac Revert "LauncherApps should also throw when user is locked"
This reverts commit bc4ad85d29.

Will retry when the updated launcher is in.

Change-Id: I428dc93132615480df70aeca7977089af008c041
2016-08-01 17:20:59 +00:00
Joe Fernandez
160c3437b2 docs: Update Android Dashboard for August 2016 am: 3d1cd9d2da
am: 5483ad29ad

Change-Id: Ic7f9c5eb3076335428330063152df8cf115f5ad9
2016-08-01 16:50:10 +00:00
Joe Fernandez
5483ad29ad docs: Update Android Dashboard for August 2016
am: 3d1cd9d2da

Change-Id: Ie50f433a6399ae5690c722a703614443889c30da
2016-08-01 16:43:59 +00:00
Joe Fernandez
3d1cd9d2da docs: Update Android Dashboard for August 2016
Change-Id: I6e5d35a3f3ed4f79f7acd485fc66f250d90f828a
2016-08-01 16:34:59 +00:00
TreeHugger Robot
fbd93027e4 Merge "Prevent brightness changes before boot complete." into nyc-mr1-dev 2016-08-01 13:06:46 +00:00
Kazuhiro Inaba
7f96551b03 Merge "Cap minimum visibilty of floating windows by the real size." into nyc-mr1-dev 2016-07-30 12:23:38 +00:00
Sungsoo Lim
3a9923d7cf Merge \\\\\\\\\"DO NOT MERGE: Fix CTS regression\\\\\\\\\" into lmp-dev am: 124cc534f8 -s ours am: 3d58e326d9 am: 8ef8e2b648 am: ec986ac944 -s ours am: cc154342aa am: ee0c3b013a am: 0d05028ba8 am: 2f7756f4c9 -s ours
am: ea7fa85a0d

Change-Id: Idd36b801a596e2f1d1f471038f7829191a5aa747
2016-07-30 08:23:30 +00:00
Sungsoo Lim
ea7fa85a0d Merge \\\\\\\\"DO NOT MERGE: Fix CTS regression\\\\\\\\" into lmp-dev am: 124cc534f8 -s ours am: 3d58e326d9 am: 8ef8e2b648 am: ec986ac944 -s ours am: cc154342aa am: ee0c3b013a am: 0d05028ba8
am: 2f7756f4c9  -s ours

Change-Id: I98ceec760f862404e48477472f4931f8d49490f1
2016-07-30 08:17:49 +00:00
Sungsoo Lim
2f7756f4c9 Merge \\\\\\\"DO NOT MERGE: Fix CTS regression\\\\\\\" into lmp-dev am: 124cc534f8 -s ours am: 3d58e326d9 am: 8ef8e2b648 am: ec986ac944 -s ours am: cc154342aa am: ee0c3b013a
am: 0d05028ba8

Change-Id: Ia66f61ac4d53b2908b6a468375346c21c61c2d5a
2016-07-30 08:11:04 +00:00
Sungsoo Lim
ce272c6b6b DO NOT MERGE: Fix CTS regression am: edc9238514 -s ours am: 0fb1075d95 am: f928b8062c am: 1fcc472b3e -s ours am: 1559998d08 am: c3485668ad am: 174f17bc19 am: cf94d53469 -s ours
am: accabefc6b

Change-Id: I8ac50800e7f76edfb731c4f3544ec3ecb8010a76
2016-07-30 07:59:51 +00:00
Sungsoo Lim
0d05028ba8 Merge \\\\\\"DO NOT MERGE: Fix CTS regression\\\\\\" into lmp-dev am: 124cc534f8 -s ours am: 3d58e326d9 am: 8ef8e2b648 am: ec986ac944 -s ours am: cc154342aa
am: ee0c3b013a

Change-Id: Ic5f0abe33b51bd085a990c1d48d5c7c9eb5af8fe
2016-07-30 07:42:35 +00:00
Sungsoo Lim
accabefc6b DO NOT MERGE: Fix CTS regression am: edc9238514 -s ours am: 0fb1075d95 am: f928b8062c am: 1fcc472b3e -s ours am: 1559998d08 am: c3485668ad am: 174f17bc19
am: cf94d53469  -s ours

Change-Id: I00e4f8f8f0e6a98bee0212dede9362297715127a
2016-07-30 07:31:34 +00:00
Sungsoo Lim
cf94d53469 DO NOT MERGE: Fix CTS regression am: edc9238514 -s ours am: 0fb1075d95 am: f928b8062c am: 1fcc472b3e -s ours am: 1559998d08 am: c3485668ad
am: 174f17bc19

Change-Id: Id47b0c1771b9fb85b874b9d7b8892d31506a842b
2016-07-30 07:23:37 +00:00
Sungsoo Lim
ee0c3b013a Merge \\\\\"DO NOT MERGE: Fix CTS regression\\\\\" into lmp-dev am: 124cc534f8 -s ours am: 3d58e326d9 am: 8ef8e2b648 am: ec986ac944 -s ours
am: cc154342aa

Change-Id: Ic1bc071d11c42771d46ad1b2da9e9264299d5e7b
2016-07-30 07:14:33 +00:00
Sungsoo Lim
174f17bc19 DO NOT MERGE: Fix CTS regression am: edc9238514 -s ours am: 0fb1075d95 am: f928b8062c am: 1fcc472b3e -s ours am: 1559998d08
am: c3485668ad

Change-Id: Ieaf58a651f3bd15ee49d81fea3f118331e908cd7
2016-07-30 07:13:57 +00:00
Sudheer Shanka
fe3fec0558 Merge \\\\\\\\"DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles.\\\\\\\\" into lmp-mr1-dev am: dbbdb6d089 am: 9ed6bd83ff am: 28acd0fae9 -s ours am: 98ae56902e am: 382f9aadcd am: 9457779aa4 am: 247edeb721 -s ours
am: 3cfa1bb8ec

Change-Id: I365b65c49c0380379e8aa64661c0da5046bbc2e3
2016-07-30 07:06:15 +00:00
Sudheer Shanka
92f00c6b5d DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles. am: 7ef684713e am: 9f6bd40108 am: f01ee1c291 -s ours am: 373492b076 am: c2178ed1d9 am: 32f4f1a697 am: 5b420a7b44 -s ours
am: efe9502301

Change-Id: I71d913ce932730bce19068b78f5e1f3e7d5ef40b
2016-07-30 07:06:12 +00:00
Sudheer Shanka
54aeda8e7f Merge \\\\\"DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles.\\\\\" into mnc-dev am: e140322bde am: 088e081ac1 am: 72f9d1ff97 am: 9a7c067034 -s ours
am: ea60ad5173

Change-Id: Icd257105b253f0062111b1978296923c8984f6ac
2016-07-30 06:57:37 +00:00
Sudheer Shanka
3cfa1bb8ec Merge \\\\\\\"DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles.\\\\\\\" into lmp-mr1-dev am: dbbdb6d089 am: 9ed6bd83ff am: 28acd0fae9 -s ours am: 98ae56902e am: 382f9aadcd am: 9457779aa4
am: 247edeb721  -s ours

Change-Id: I4723ec70d9f4193cff5521e4a06013d57bac9666
2016-07-30 06:57:35 +00:00
Sudheer Shanka
60fac50f71 DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles. am: 8a8d7e7962 am: 2349d0dea5 am: 7559673a6d am: 77f0b54c0b -s ours
am: a8ff98fbce

Change-Id: If9fb3d623d11066f08fe347082d95aa9ba26d9b3
2016-07-30 06:57:34 +00:00
Sudheer Shanka
efe9502301 DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles. am: 7ef684713e am: 9f6bd40108 am: f01ee1c291 -s ours am: 373492b076 am: c2178ed1d9 am: 32f4f1a697
am: 5b420a7b44  -s ours

Change-Id: I7e3838dbcc651182eaa23299887142004782d557
2016-07-30 06:57:29 +00:00
Sungsoo Lim
c3485668ad DO NOT MERGE: Fix CTS regression am: edc9238514 -s ours am: 0fb1075d95 am: f928b8062c am: 1fcc472b3e -s ours
am: 1559998d08

Change-Id: Iececea055821da36f2aa7870e1c2fc04ac58e22c
2016-07-30 06:55:41 +00:00
Sudheer Shanka
ea60ad5173 Merge \\\\"DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles.\\\\" into mnc-dev am: e140322bde am: 088e081ac1 am: 72f9d1ff97
am: 9a7c067034  -s ours

Change-Id: I6808755cfd17d41a7cbcbfb54b619eba535b6570
2016-07-30 06:49:33 +00:00
Sudheer Shanka
a8ff98fbce DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles. am: 8a8d7e7962 am: 2349d0dea5 am: 7559673a6d
am: 77f0b54c0b  -s ours

Change-Id: I9b35d77bd9cda1f9884f86c9d0db3a46981fc8cc
2016-07-30 06:49:29 +00:00
Sudheer Shanka
247edeb721 Merge \\\\\\"DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles.\\\\\\" into lmp-mr1-dev am: dbbdb6d089 am: 9ed6bd83ff am: 28acd0fae9 -s ours am: 98ae56902e am: 382f9aadcd
am: 9457779aa4

Change-Id: Ib123df6f044bb7a5323235a4aafe69b04865acfa
2016-07-30 06:43:27 +00:00
Sudheer Shanka
5b420a7b44 DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles. am: 7ef684713e am: 9f6bd40108 am: f01ee1c291 -s ours am: 373492b076 am: c2178ed1d9
am: 32f4f1a697

Change-Id: I89358f925d063a311f208c92ae7b34f9dcffad8b
2016-07-30 06:43:25 +00:00
Sungsoo Lim
cc154342aa Merge \\\\"DO NOT MERGE: Fix CTS regression\\\\" into lmp-dev am: 124cc534f8 -s ours am: 3d58e326d9 am: 8ef8e2b648
am: ec986ac944  -s ours

Change-Id: I66ddeab0f0f2fa3d3f3fff71a20cd0b842c2f9d6
2016-07-30 06:41:37 +00:00
Sungsoo Lim
1559998d08 DO NOT MERGE: Fix CTS regression am: edc9238514 -s ours am: 0fb1075d95 am: f928b8062c
am: 1fcc472b3e  -s ours

Change-Id: Icf6055101947c23621ed320469c475dd105dd60f
2016-07-30 06:41:33 +00:00
Sudheer Shanka
9a7c067034 Merge \\\"DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles.\\\" into mnc-dev am: e140322bde am: 088e081ac1
am: 72f9d1ff97

Change-Id: I71b12632934b7ac1284929e276a6a462509ab969
2016-07-30 06:31:19 +00:00
Sudheer Shanka
77f0b54c0b DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles. am: 8a8d7e7962 am: 2349d0dea5
am: 7559673a6d

Change-Id: I874a78978c631ed3060fcac1547b261537045d8c
2016-07-30 06:31:16 +00:00
Sudheer Shanka
9457779aa4 Merge \\\\\"DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles.\\\\\" into lmp-mr1-dev am: dbbdb6d089 am: 9ed6bd83ff am: 28acd0fae9 -s ours am: 98ae56902e
am: 382f9aadcd

Change-Id: I8a40d4f562110009f0e155c370e09daea6cafe79
2016-07-30 06:30:14 +00:00
Sudheer Shanka
32f4f1a697 DO NOT MERGE: Allow apps with CREATE_USERS permission to call UM.getProfiles. am: 7ef684713e am: 9f6bd40108 am: f01ee1c291 -s ours am: 373492b076
am: c2178ed1d9

Change-Id: Ibcbf12ee9bb11c76c46a3d0db5aad81e8462a9f6
2016-07-30 06:30:10 +00:00