Greg Plesur
968477129c
Allow any device with a device_owner to execute setDeviceOwnerSystemPropertyLocked().
...
am: 735b4dc0af
Change-Id: Iafcc772f7f9c8111d26ebc48af67e104848e0885
2017-02-09 19:49:58 +00:00
Greg Plesur
d78a0d21cb
Allow any device with a device_owner to execute setDeviceOwnerSystemPropertyLocked().
...
am: 735b4dc0af
Change-Id: I5c8ca6d0a63af83cde91c17d10a634469c726442
2017-02-09 19:49:58 +00:00
Jeff Sharkey
6d4af9c7f8
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 78f2e38a12 -s ours am: b30169299b -s ours
...
am: 31c7fa003d -s ours
Change-Id: I69602a5fbca3fd966c2bc8ab900b004308ce5f41
2017-02-09 19:45:35 +00:00
Jeff Sharkey
966e600365
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 78f2e38a12 -s ours am: b30169299b -s ours
...
am: 31c7fa003d -s ours
Change-Id: Ia19b5ec4e496b8c87461081a23aef6335fe45725
2017-02-09 19:45:34 +00:00
Greg Plesur
5659b15a94
Merge "Allow any device with a device_owner to execute setDeviceOwnerSystemPropertyLocked()." into cw-f-dev
2017-02-09 19:45:17 +00:00
Vladislav Kaznacheev
afaa932ece
Do not move PopupWindow when its anchor is detached
...
The current PopupWindow implementation might call
the anchor view's getLocationInWindow even if the anchor
is currently detached from the window (and the location is
a meaningless (0,0)). This results in the popup jumping to
the top of the screen.
This patch is adding tracking of the anchor's attachment state.
The position is never updated while the anchor is detached.
When the anchor is re-attached, the popup position is updated.
Bug: 34853580
Test: manual (see bug)
Change-Id: Icca1b9b558a70ee3edbe6236e076d2d08a1f8f11
2017-02-09 11:43:28 -08:00
Jeff Sharkey
31c7fa003d
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 78f2e38a12 -s ours
...
am: b30169299b -s ours
Change-Id: Iac47439b256367683e44d09042996ad060c3c43d
2017-02-09 19:41:31 +00:00
Paul Duffin
8faed45024
Merge "Partial Revert "Replace com.android.internal.util.Predicate with java.util.function.Predicate"" am: 621ebe692f am: a2c92b0b88
...
am: c1a93884dc
Change-Id: Icce543cd86f83bff8c2e80bf7ef492d22c9cf2dc
2017-02-09 19:37:26 +00:00
Jeff Sharkey
b30169299b
DO NOT MERGE. Grant MMS Uri permissions as the calling UID.
...
am: 78f2e38a12 -s ours
Change-Id: I51385a2b84bfc4e0fa387ceb644be523ca55ced3
2017-02-09 19:37:23 +00:00
Paul Duffin
c1a93884dc
Merge "Partial Revert "Replace com.android.internal.util.Predicate with java.util.function.Predicate"" am: 621ebe692f
...
am: a2c92b0b88
Change-Id: I605588603280ff0b4ebc1088c6c1f1c933c1e657
2017-02-09 19:32:58 +00:00
Paul Duffin
a2c92b0b88
Merge "Partial Revert "Replace com.android.internal.util.Predicate with java.util.function.Predicate""
...
am: 621ebe692f
Change-Id: Ifc6e7ac4f4a1bfc8c592d3b956ac985e9dd6e0ea
2017-02-09 19:28:25 +00:00
Paul Duffin
621ebe692f
Merge "Partial Revert "Replace com.android.internal.util.Predicate with java.util.function.Predicate""
2017-02-09 19:18:35 +00:00
Derek Sollenberger
8c5759624c
Deprecate Canvas clipping for arbitrary Region.Ops.
...
Operations that can expand the clip are difficult to support and
don't fit the parent child model that is used by the view system.
Test: compile
Bug: 14650725
Change-Id: I67e99d3e1a1eb0b231910ee5d277a38e8a953dc4
2017-02-09 14:17:55 -05:00
Dianne Hackborn
3f13c54f14
Fix issue #34592078 : Mobile broadcast crash observed randomly...
...
...when using device on mobile data
Whitelist CellBroadcastReceiver, this is a core OS component anyway
so this probably makes sense.
Test: manual
Change-Id: I1560093640e81064ad123ff0bbcb307583fc47c6
2017-02-09 11:07:18 -08:00
TreeHugger Robot
5d99e14ca9
Merge "Switch fragment tests to use TestableLooper"
2017-02-09 19:03:20 +00:00
TreeHugger Robot
cc8628202b
Merge "Import translations. DO NOT MERGE"
2017-02-09 18:54:02 +00:00
Derek Sollenberger
b8201195df
Deprecate Canvas save/saveLayer flags.
...
Test: compile
Bug: 14650725
Change-Id: I6424ac46bae0a7a87c4b7743e81319945dfdd087
2017-02-09 13:18:25 -05:00
Felipe Leme
660ea8c6d7
Merge "Guarded access to mCallback and check for null before using it."
2017-02-09 18:17:54 +00:00
TreeHugger Robot
f61cdcb60f
Merge "Add a new setting to store the network recommendation app."
2017-02-09 18:16:17 +00:00
Jeff Sharkey
78f2e38a12
DO NOT MERGE. Grant MMS Uri permissions as the calling UID.
...
A recent security fix prevents the system UID from handing out Uri
permission grants directly from itself. Instead, services need to
issue grants as the original calling UID to ensure that the caller
actually has access to the Uris.
Test: builds, boots, send/recv MMS works in primary/secondary users
Bug: 33231106
Change-Id: Ia9fe19843b52977c8a94ee5349b907beda1882fc
Merged-In: Ia9fe19843b52977c8a94ee5349b907beda1882fc
(cherry picked from commit 7ff418d9a9 )
2017-02-09 18:03:18 +00:00
Jeff Sharkey
4af90585e0
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours am: be0dab477e am: 47656a3cbd am: 99755cb458 am: 2b9ee48dae
...
am: 70fd2f7197 -s ours
Change-Id: Ie6ddc1b5d9bc8ffeee147ac6734c2b561fe7b48f
2017-02-09 17:57:51 +00:00
Jeff Sharkey
3eacb58a49
Merge "DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours am: be0dab477e am: 47656a3cbd am: 99755cb458 am: 0a2374524a" into nyc-mr2-dev-plus-aosp
...
am: 37115274c0 -s ours
Change-Id: Ieb469af9a2748809f428394db82c1694699fc9f2
2017-02-09 17:54:24 +00:00
Jeff Sharkey
1de3df7afc
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours am: be0dab477e am: 47656a3cbd am: 99755cb458 am: 0a2374524a
...
am: b697587f20 -s ours
Change-Id: Ice8c2db54cd98fd642fcdfeb96c8f6e87cc2c989
2017-02-09 17:54:19 +00:00
Jeff Sharkey
ce5a02bb64
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308de91 am: 19fd8e3f06
...
am: 983dc41c8d -s ours
Change-Id: Ie760d001d92437ea46781644a5fd780a9a9eca92
2017-02-09 17:53:09 +00:00
Jeff Sharkey
70fd2f7197
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours am: be0dab477e am: 47656a3cbd am: 99755cb458
...
am: 2b9ee48dae
Change-Id: I2d6e3e455df562561615c539474a8368c1371830
2017-02-09 17:50:15 +00:00
Felipe Leme
3702b4760c
Merge "Improved some toString() methods."
2017-02-09 17:47:23 +00:00
Android Build Merger (Role)
37115274c0
Merge "DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours am: be0dab477e am: 47656a3cbd am: 99755cb458 am: 0a2374524a" into nyc-mr2-dev-plus-aosp
2017-02-09 17:47:16 +00:00
Jeff Sharkey
b697587f20
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours am: be0dab477e am: 47656a3cbd am: 99755cb458
...
am: 0a2374524a
Change-Id: Idab19b2a8cecbcaf3f1b63c3c4b0d0edb388f260
2017-02-09 17:46:20 +00:00
Jeff Sharkey
58f8304461
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308de91 am: 473b52eb62
...
am: d94624347f -s ours
Change-Id: I7f15e9458858982f8e572880c4c50af0bddd9d82
2017-02-09 17:46:19 +00:00
Jeff Sharkey
983dc41c8d
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308de91
...
am: 19fd8e3f06
Change-Id: Ied0e990e32f09ee2ac7bcb9846f3589d00038204
2017-02-09 17:45:13 +00:00
Jeff Sharkey
2b9ee48dae
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours am: be0dab477e am: 47656a3cbd
...
am: 99755cb458
Change-Id: Ia8c7e13f716b2007298b1773f00f338f665c7678
2017-02-09 17:44:19 +00:00
Jeff Sharkey
d94624347f
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675 am: 14b308de91
...
am: 473b52eb62
Change-Id: Ic9afb12547b271de6e423601131605b0d930e10b
2017-02-09 17:42:09 +00:00
Jeff Sharkey
0a2374524a
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours am: be0dab477e am: 47656a3cbd
...
am: 99755cb458
Change-Id: I0380911f9607eed5f10a6c497f273ccbc67b3721
2017-02-09 17:41:44 +00:00
Jeff Sharkey
19fd8e3f06
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675
...
am: 14b308de91
Change-Id: I3ae65230058cd51b4efb06358dae35dce419c04b
2017-02-09 17:39:14 +00:00
Jeff Sharkey
99755cb458
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours am: be0dab477e
...
am: 47656a3cbd
Change-Id: I5835528fe288b1ee117265d37e39fcfd0bbb301b
2017-02-09 17:37:47 +00:00
Jeff Sharkey
473b52eb62
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3eddf40675
...
am: 14b308de91
Change-Id: I428dcaa5e44364d30a51392c224ad68a6e455e2b
2017-02-09 17:37:44 +00:00
Jeff Sharkey
47656a3cbd
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: a78841ebd4 -s ours
...
am: be0dab477e
Change-Id: I28971e3707b67f7f3e4a566fd4f8e891d7e8823b
2017-02-09 17:33:51 +00:00
Jeff Sharkey
14b308de91
DO NOT MERGE. Grant MMS Uri permissions as the calling UID.
...
am: 3eddf40675
Change-Id: Ied7f446ac2e539654b9f7d5e1ab7cce8aec7390e
2017-02-09 17:33:43 +00:00
Jason Monk
5bec68fbea
New system for versioning sysui plugins
...
Use annotations to handle the multi-dimensionalness of interface
versions, but still maintain compile time inclusion of current
versions.
Test: runtest systemui
Change-Id: I0789a72112cf6630a6406f76020071c8a6d9e24c
2017-02-09 09:32:20 -08:00
Jason Monk
28d5d220cc
Switch fragment tests to use TestableLooper
...
Test: runtest systemui
Change-Id: Iccbbaca2ef02cb3f5b08eef66c6c939e4ec2a5eb
2017-02-09 09:30:42 -08:00
Jeff Sharkey
be0dab477e
DO NOT MERGE. Grant MMS Uri permissions as the calling UID.
...
am: a78841ebd4 -s ours
Change-Id: Iac6ae6f87a60318e4557b238c196c3b0627e95ab
2017-02-09 17:28:44 +00:00
Mikhail Naganov
a0cb18dbfb
SchedulingPolicyService: specify the beneficiary of priority boost
...
audioflinger needs to request priority boost on behalf of hal.
This way, a new use case is introduced for requestPriority call.
Bug: 34131400
Change-Id: I6cd0e509da2b0166ca4fce181287584179abe391
Test: check priority match between audioflinger's and hal's threads
2017-02-09 09:17:00 -08:00
Yohei Yukawa
efdb428959
Merge "Eliminate out-of-sync IMM#mFullscreenMode error"
2017-02-09 16:55:04 +00:00
TreeHugger Robot
df185d7502
Merge "avoid race condition on very fast tests"
2017-02-09 16:46:53 +00:00
Greg Plesur
735b4dc0af
Allow any device with a device_owner to execute setDeviceOwnerSystemPropertyLocked().
...
BUG: 34824902
Change-Id: I95fbe0a352c48a3fff5af57b91325901a16d3d89
2017-02-09 11:44:39 -05:00
Jeremy Joslin
c9eb3c4651
Add a new setting to store the network recommendation app.
...
Test: manual
Bug: 35095406
Change-Id: I3d0b7f3b977c0862969d61a4e46f12151eb15417
2017-02-09 08:43:19 -08:00
Felipe Leme
4997c505c9
Guarded access to mCallback and check for null before using it.
...
Fixes: 35143142
Test: manual verification
Test: CtsAutoFillServiceTestCases passes
Change-Id: I465538b896b617c518949611f963e350ee498f7b
2017-02-09 08:25:12 -08:00
TreeHugger Robot
024d22fdb7
Merge "AAPT2: Fix pseudolocalization to respect <xliff:g>"
2017-02-09 16:17:18 +00:00
TreeHugger Robot
34895c404b
Merge changes I348c18dc,I0c33d519
...
* changes:
SysUiLeaks: Detect leaks in TunerService
SysUiLeaks: Detect leaks of NotificationData.Entry
2017-02-09 15:45:09 +00:00
Jason Monk
7898e87be2
Merge "Add better method test handlers/loopers in sysui"
2017-02-09 15:43:19 +00:00