308810 Commits

Author SHA1 Message Date
Chen Xu
f73da9c7ed Merge "move ACTION_CARRIER_SETUP intent to public api" 2017-02-24 18:15:46 +00:00
Jeff Sharkey
f60d8ab3d8 Better error message when no UID allocated.
Test: builds, boots
Bug: 34355942
Change-Id: I6062dc542d9088f34b5cb8ddac197cc34a970278
2017-02-24 11:06:51 -07:00
Jeff Sharkey
912e80d345 Require valid authorities for Uri notifications.
Content changed notifications are really only valid for content://
Uris, which are really only valid when we have a valid ContentProvider
backing them.  This has been implicit for a long time, but we actually
need to start enforcing it based on target API.

We also now tell developers about why their notification requests
are being denied, instead of silently logging.

Test: builds, boots, common operations work
Bug: 34049049
Change-Id: Ie8ab8d8674cff13e3e9269ffddc4ad998cb848c4
2017-02-24 11:00:59 -07:00
Jason Monk
1d9632df97 New system for plugin + tuner integrations called extensions
An ExtensionController provides an easy way to say I need an
object of interface X. Then a plugin or a tuner factory can
actually provide X when needed or fallback to a default implementation.

Test: runtest systemui
Change-Id: I5e1b76def3c790d7f673867648ffeb13c4d0a829
2017-02-24 12:51:51 -05:00
Jeff Sharkey
22e32236ec AppWidgetManager shouldn't use StorageManager.
It's probably looking to detect both STATE_RUNNING_UNLOCKING and
STATE_RUNNING_UNLOCKED, so it should use isUserUnlockingOrUnlocked()
instead of trying to peek at the low-level CE key status.

Test: builds, boots
Bug: 29534661
Change-Id: I6aca1721f88ced65abf3bb7cbab550c4dbe27fb7
2017-02-24 10:21:58 -07:00
Vladislav Kaznacheev
2a00f9807c Do not set tooltips on items in list-based menus.
The presence of a tooltip (specifically, long click detection
logic required by it) interferes with touch processing in
AbsListView.

Bug: 35726766
Test: android.cts.widget.PopupTest#testItemViewAttributes
Change-Id: Ida49c07e5f2e3e06f5994f2cc4aa10ef112376d0
2017-02-24 09:17:01 -08:00
TreeHugger Robot
38a65f6c56 Merge "Fix roaming getting stuck after changing sims" 2017-02-24 16:51:41 +00:00
Jeff Sharkey
c6fe23df52 Check EXTRA_INTENT as part of leaving process.
We're checking all the other Intent objects, but we forgot this one.

Test: builds, boots
Bug: 34072700
Change-Id: I4f328950f3122258e0bdea7e87f78d7d0afdedbb
2017-02-24 09:40:52 -07:00
Jeff Sharkey
8c61e39e04 Block new installs into ASEC containers.
ASEC containers have been deprecated since MNC, which is when we
introduced the "adoptable storage" feature.  Adoptable storage is a
much better user experience, since we move both the APK and private
app data together as a single unit, making it much easier to explain
to users.

Test: builds, boots
Bug: 32913676
Change-Id: I97385d081a50a79fc005d4e23e09999f9ae6cfc1
2017-02-24 09:26:30 -07:00
Alex Light
c5f58e8fab Update api for InMemoryDexClassLoader
We changed the base class for InMemoryDexClassLoader to be
BaseDexClassLoader.

Test: m -j40 droid

Change-Id: Ibf9f8996a8b9a2feebbd42ec864fd1b08027a6ab
2017-02-24 08:22:41 -08:00
Jeff Sharkey
bb4988ad7d Improve service docs around user unlocking.
Also delete some @removed methods that never shipped to reduce
confusion.

Test: builds, boots
Bug: 30434803
Change-Id: I18773182f62f0f62bd4e36c9c3098372483a374f
2017-02-24 09:02:53 -07:00
Jason Monk
da832c71bf Fix the build
Test: treehugger
Change-Id: If68207f801568141630a22c3822b37f2f2c94d24
2017-02-24 10:58:11 -05:00
Jason Monk
ab9ab96d0d resolve merge conflicts of 1723bc14ebfd to stage-aosp-master am: 4f458421b1
am: eac19cd55d

Change-Id: Iec06900eba071a56696a1c240b79f0dd7ab05d70
2017-02-24 15:27:47 +00:00
Jason Monk
eac19cd55d resolve merge conflicts of 1723bc14ebfd to stage-aosp-master
am: 4f458421b1

Change-Id: I5c2b3fb86d1b6629f407df8fb607de639d972260
2017-02-24 15:22:39 +00:00
Jason Monk
9ec0f1eca4 Fix roaming getting stuck after changing sims
The header was keeping a map of roaming states which could have
stray old subids in it when it shouldn't. It just needs to be
cleared when the sims change.

Test: runtest systemui
Change-Id: If61b9b5f376daecc49f483b679378c5968a1501c
2017-02-24 10:07:28 -05:00
Jason Monk
4f458421b1 resolve merge conflicts of 1723bc14ebfd to stage-aosp-master
Change-Id: I11054806dbd263b2adaedb21458c33b7407bb7d6
2017-02-24 09:34:42 -05:00
Jason Monk
1723bc14eb Merge "Data activity icon in statusbar" 2017-02-24 14:14:00 +00:00
Erik Kline
e20e7ebbfb Merge "Update UpstreamNetworkMonitor to use custom Handlers" am: 35c89886c2 am: 279a4feb72
am: c239511cdb

Change-Id: I9a210b4896810e7365b2403495716395b3866650
2017-02-24 08:24:51 +00:00
Erik Kline
c239511cdb Merge "Update UpstreamNetworkMonitor to use custom Handlers" am: 35c89886c2
am: 279a4feb72

Change-Id: I7f9e1a775e08363d9006f1dbb7af61d0d8e41043
2017-02-24 08:19:45 +00:00
Erik Kline
279a4feb72 Merge "Update UpstreamNetworkMonitor to use custom Handlers"
am: 35c89886c2

Change-Id: I76433822a9b7c124e4b7cfcf2a20cb0e43a60199
2017-02-24 08:15:19 +00:00
Erik Kline
35c89886c2 Merge "Update UpstreamNetworkMonitor to use custom Handlers" 2017-02-24 08:06:17 +00:00
Siyamed Sinir
a2ba2a3923 Merge "Revert "Request re-layout after setText if layout width is 0"" 2017-02-24 07:45:54 +00:00
Miao Wang
e22216df4b Merge "Update RenderScript JNI code for Treble" am: 9017b25631 am: 76535e8888
am: 4f85dd686a

Change-Id: I095f455c3c8a5f23ed9b072523cd23103c5c19f1
2017-02-24 05:57:19 +00:00
Miao Wang
4f85dd686a Merge "Update RenderScript JNI code for Treble" am: 9017b25631
am: 76535e8888

Change-Id: I04dc6154e0c919a2a2c2c150b6877538b4e8da0a
2017-02-24 05:52:14 +00:00
Miao Wang
76535e8888 Merge "Update RenderScript JNI code for Treble"
am: 9017b25631

Change-Id: I0cc281a372ec83d3731a83b0af5cc3a02b259a67
2017-02-24 05:47:35 +00:00
Miao Wang
9017b25631 Merge "Update RenderScript JNI code for Treble" 2017-02-24 05:39:16 +00:00
TreeHugger Robot
08880f2ffa Merge "Delete some more @removed APIs." 2017-02-24 05:29:06 +00:00
TreeHugger Robot
6d825bbe94 Merge "Whitelist new CHANGE_OVERLAY_PACKAGES permission" 2017-02-24 04:54:43 +00:00
Jack Yu
d1d64730b9 Added a settings for CMAS message broadcast
This is for sl4a automation to receive CMAS messages
broadcasdt. The automation should inject the settings
through 'adb settings'.

Test: manual
bug: 34393649
Merged-In: Ic29be11b641f185219146d7fbb05561f5907ea76
Change-Id: Ic29be11b641f185219146d7fbb05561f5907ea76
2017-02-24 04:36:26 +00:00
Siyamed Sinir
6f29b7aa9e Revert "Request re-layout after setText if layout width is 0"
This reverts commit b4b8740aed4753152729f1630b4241dedcadc98d.
Reverts fix for bug 27995311.

Test: cts-tradefed run cts --test android.widget.cts.TextViewTest -m
CtsWidgetTestCases --skip-device-info --skip-preconditions
--skip-connectivity-check

Fixes: 34843459
Change-Id: I2cea04cd12953b110c59a5a84e9eea5060fc038d
2017-02-23 20:20:26 -08:00
Erik Kline
b583b03675 Update UpstreamNetworkMonitor to use custom Handlers
Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32130437
Bug: 32163131

Change-Id: I2bc3f87cdf7fa6392b4750eb8adb4ea33c6a3f43
2017-02-24 13:06:51 +09:00
TreeHugger Robot
bdb7f42084 Merge "PIP: Address the comment from the previous CL" 2017-02-24 03:47:49 +00:00
TreeHugger Robot
cfeca52105 Merge "dumpProto fixed crypto performance dump fixed bug 35627933 Test: ran adb shell dumpsys fingerprint --proto > ~/Desktop/test.out protoc --decode_raw < ~/Desktop/test.out confirm that crypto output is fixed" 2017-02-24 03:47:23 +00:00
Miao Wang
cbb0206cb4 Update RenderScript JNI code for Treble
- Include rsApiStubs.h instead of rs.h, and remove unused
  dependencies for rs.h in Android.mk.
  - Remove libRSDriver.so from LOCAL_REQUIRED_MODULE, since it is not
  required nor directly used by librs_jni.so.
  - Fix the discrepancy in ElementGetNativeData and
  ElementGetSubElements, respective to NDK APIs exposed in libRS.so.

  rsApiStubs.h contains all public RenderScript APIs exposed in libRS.so.
  It fixes the mismatch of the declarations and definitions of the two
  functions mentioned above. And it does not rely on the auto generated
  header (rsgApiFuncDecl.h) anymore.

Bug: 34396220
Test: mm
Merged-In: Iedb1b976cfa9033dccefe78cbe80c8022f990e53
Change-Id: Iedb1b976cfa9033dccefe78cbe80c8022f990e53
2017-02-23 19:39:43 -08:00
Jeff Sharkey
4669098625 Delete some more @removed APIs.
Test: builds, boots
Bug: 25434584
Change-Id: I34d5a67c3c96ee0fbe2f2b8ef1327348a8bef04f
2017-02-23 20:24:48 -07:00
TreeHugger Robot
6ab2c58b43 Merge "Update RenderScript JNI code for Treble" 2017-02-24 03:19:56 +00:00
TreeHugger Robot
eda4756502 Merge "fallout of libandroid.so split" 2017-02-24 03:16:12 +00:00
Adam Lesinski
aea3cf40d6 Whitelist new CHANGE_OVERLAY_PACKAGES permission
The Shell application needs access to change which overlays are
enabled in OverlayManagerService.

Test: Manual: invoke adb exec-out cmd overlay enable some.package.name
when shell is not root (adb unroot on eng builds).
Change-Id: I1849f68e244cfc9b1e13eb0e673dde7be03cba6d
2017-02-23 18:52:30 -08:00
Chen Xu
5e8af2abc7 Merge "renaming telephony internal hidden intents" am: 6d198966fe am: 3b7643ceed
am: 894f17fdc0

Change-Id: I885615dda1831f0acc9007f81094ac14e1eb8cb6
2017-02-24 02:44:03 +00:00
Chen Xu
894f17fdc0 Merge "renaming telephony internal hidden intents" am: 6d198966fe
am: 3b7643ceed

Change-Id: I4b544145c59c7ba73a0187d320e01c56f9b63fe9
2017-02-24 02:38:56 +00:00
Chen Xu
3b7643ceed Merge "renaming telephony internal hidden intents"
am: 6d198966fe

Change-Id: If1db829fe5308bcbc1d8b778aef50368581850f4
2017-02-24 02:33:53 +00:00
Chen Xu
6d198966fe Merge "renaming telephony internal hidden intents" 2017-02-24 02:24:43 +00:00
fionaxu
abeba60e8f renaming telephony internal hidden intents
The "android.*" namespace for intent constants is reserved for public
Android API in AOSP. (Whether public to the full SDK, @SystemApi or
defined in AOSP support libraries.) Implementation details of AOSP
components (subject to change by OEMs at will) should use the
"com.android.internal.*" as per CDD

Bug: 33679454
Test: manual
Change-Id: I7183493e2794a82e023bc4993aee328f24b2e7cb
2017-02-23 18:23:34 -08:00
Jaewan Kim
dc29875ac0 PIP: Address the comment from the previous CL
This address the comments from the following CL

8af250efae3 PIP: Use resource to maintain settings class list to shift
PIP to left

Test: Manual test
Change-Id: Ib7cae7ba019018375e9c1e51f1a0ef7d91447d52
2017-02-24 10:51:50 +09:00
mukesh agrawal
8ed82ec198 StateMachine: add getLogRecMaxSize()
Add the getLogRecMaxSize() method, so that
WifiStateMachine tests can verify the log
record buffer size, without having to fill
the buffer.

Bug: 35399013
Test: compile
Change-Id: Ib1bd8d670b7b39e9f740a4dd92ea67463b179ce2
2017-02-23 17:40:01 -08:00
Amit Mahajan
0f551d7f9a Mark oemhook related APIs @Deprecated.
Test: none
Bug: 34344851
Change-Id: I5358d94b3f4cce015effdb3a7517980f369a1224
2017-02-23 17:31:06 -08:00
TreeHugger Robot
0c6d24f736 Merge "Log rendering pipeline when initializing" 2017-02-24 01:28:17 +00:00
TreeHugger Robot
9584868f88 Merge "Add new internal resolve method" 2017-02-24 01:22:52 +00:00
TreeHugger Robot
bdecfe1445 Merge "Load hyphenation patterns for Bulgarian and Church Slavonic" 2017-02-24 01:14:01 +00:00
Scott Main
71abcbb106 Merge "Add API 'since' tag for O dev preview (current.txt)" 2017-02-24 01:04:40 +00:00