Commit Graph

68209 Commits

Author SHA1 Message Date
TreeHugger Robot
a7353961bf Merge "Add token to the resolver APIs" 2017-03-20 21:25:34 +00:00
TreeHugger Robot
5beefa697a Merge "Apps must opt into using icon badges." 2017-03-20 20:02:18 +00:00
TreeHugger Robot
45030ba62b Merge "Expose AIRPLANE_MODE_ON to Instant Apps" 2017-03-20 19:52:41 +00:00
TreeHugger Robot
c8076f164a Merge "Expose Android ID to Instant Apps" 2017-03-20 19:29:10 +00:00
Todd Kennedy
d3c5106940 Add token to the resolver APIs
Change-Id: Ia6d4f6d88ec265480a4dca94fe77ef42592a328c
Fixes: 35442315
Test: Build and make sure instant apps still resolve
2017-03-20 11:23:06 -07:00
Chad Brubaker
1f6a266398 Expose AIRPLANE_MODE_ON to Instant Apps
Test: AIRPLANE_MODE_ON is accessible from Instant Apps
Bug:36444225
Change-Id: I9ab2c89844d2bd202924156a5e44ef40075fd467
2017-03-20 11:11:30 -07:00
Christine Franks
3910adfb62 Merge "Add color temperature preference for Night Display" 2017-03-20 18:03:49 +00:00
Chad Brubaker
1bed93742f Expose Android ID to Instant Apps
Android ID in O is scoped per-app but persistent across
installs. Since Instant Apps can use the cookie to implement similar
functionality its fine to expose.

In a follow up the Android ID generation will be made to depend on the
cookie so that clearing the cookie also breaks the persistence.

Bug: 36385889
Test: Manual
Change-Id: I09b993bb4153179b80eebe0da8dac3fad7b9c779
2017-03-20 10:57:40 -07:00
TreeHugger Robot
7d50ff11db Merge "Notify caller if none of settings are effective." 2017-03-20 17:37:15 +00:00
Julia Reynolds
7d5b4da27f Apps must opt into using icon badges.
Test: make
Bug: 35941623
Change-Id: Ifdbbed2097228d1121f3eb03ecab9851d23a023f
2017-03-20 13:23:24 -04:00
Christine Franks
6418d0b890 Add color temperature preference for Night Display
Bug: 32463283
Test: adb shell settings put secure night_display_color_temperature
XXXX, where XXXX is {0, 2900, 4000, 7000}, and the temperatures
outside the valid range are capped at the min/max, respectively.
Change-Id: I322c0a907b30742fc312a9938fd0c47f679e580b
2017-03-20 09:07:17 -07:00
Andrei Stingaceanu
40c3ab0f89 Merge "AutoSize TextView (part 12) - ellipsize & more fixes" 2017-03-20 10:53:46 +00:00
TreeHugger Robot
b67799172f Merge "Grumble, apps should check features before using." 2017-03-19 03:28:07 +00:00
Jeff Sharkey
683bcd30ef Use allocatable space when measuring for install.
The system is often willing to clear cached data to make room for
incoming installs, so use StorageManager.getAllocatableBytes() when
making "does it fit?" style decisions.

Add new INSTALL_ALLOCATE_AGGRESSIVE flag, which will flow through
to use StorageManager.FLAG_ALLOCATE_AGGRESSIVE when making allocation
related requests.  (This can be used by installers to indicate
packages that are critical to system health or security.

Test: runtest -x frameworks/base/core/tests/coretests/src/android/content/pm/PackageHelperTests.java
Bug: 36131437
Change-Id: If8118762fd1ca1f497d2cdd1787bdb3c9759dcc0
2017-03-18 17:54:54 -06:00
Jeff Sharkey
351c2c2169 Grumble, apps should check features before using.
Turns out several apps are blindly grabbing a FINGERPRINT_SERVICE
reference without checking to see if the device actually includes
that feature.

Hand pre-O apps a stubbed out Manager instance, but keep the new
ServiceNotFoundException behavior intact going forward, since it
prevents race conditions during boot or Binder service restarts.

Test: builds, boots
Bug: 32566669
Change-Id: Id1c0873e98e59b255f32e0f9204f4525a345f9ef
2017-03-18 16:48:04 -06:00
TreeHugger Robot
cf2c279a23 Merge "Add TRON logs" 2017-03-18 17:37:02 +00:00
Chris Wren
1488055804 revise the reader semantics
checkpoint modifies the underlying log rather than reading timestamps.
reset replays without going back to the underlying log.
add a test

Bug: 32982362
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: I381b203a1c24fcd098d7df4d9d0a50bd8aaa1309
2017-03-18 09:13:10 -04:00
TreeHugger Robot
5469a7883d Merge "Fix NPE when config is updated before ViewRootImpl is set" 2017-03-18 01:33:12 +00:00
TreeHugger Robot
7a723d906a Merge "Update Emoji.java to use ICU" 2017-03-18 01:09:38 +00:00
Andrii Kulian
ce1ecf1f34 Fix NPE when config is updated before ViewRootImpl is set
If activity received a configuration change before it had its
ViewRootImpl initialize, then there was a NPE when trying to
notify the ViewRootImpl instance about latest changes.

Bug: 36396248
Test: android.server.cts.ActivityManagerAppConfigurationTests
Test: #testLaunchWithUiModeChange
Test: Launch AndroidAuto app
Change-Id: I71e0f316f885a30dadce388bbd3d9f21f419076b
2017-03-17 16:54:34 -07:00
fionaxu
fcd1493a6a Merge "remove deprecated SIM_ACTIVATION_REQUEST intent" am: 7f8d27f84b am: 4aadda1902
am: 606f1ae931

Change-Id: I345b2853acca9e0165c2bf26d885ff794b734d69
2017-03-17 23:50:47 +00:00
fionaxu
606f1ae931 Merge "remove deprecated SIM_ACTIVATION_REQUEST intent" am: 7f8d27f84b
am: 4aadda1902

Change-Id: I5c01a75cbb65b8374548c18c5139f9d892e14f49
2017-03-17 23:44:09 +00:00
fionaxu
4aadda1902 Merge "remove deprecated SIM_ACTIVATION_REQUEST intent"
am: 7f8d27f84b

Change-Id: Ia1216368a2a2a4959283d95bbc4be26789f151f6
2017-03-17 23:34:49 +00:00
Treehugger Robot
7f8d27f84b Merge "remove deprecated SIM_ACTIVATION_REQUEST intent" 2017-03-17 23:24:29 +00:00
Adam Lesinski
10eb1455b9 Merge changes from topic 'configForSplit'
* changes:
  libandroidfw: Search all packages for an identifier
  AAPT2: Finish support for feature splits
  Add support for configForSplit
2017-03-17 23:19:13 +00:00
Jakub Pawlowski
def6fee7f5 Merge "Bluetooth 5 move timeout parameter (1/2)" am: d9f2f67a5f am: 07d79aa3b0
am: acd3953ea1

Change-Id: Ic2c7bd33d558bb4e8cfff063c95f2fa137aeaae0
2017-03-17 23:09:10 +00:00
TreeHugger Robot
0843c57978 Merge "Remove U+1F93B MODERN PENATHLON and U+1F946 RIFLE from emoji" 2017-03-17 23:04:36 +00:00
Jakub Pawlowski
acd3953ea1 Merge "Bluetooth 5 move timeout parameter (1/2)" am: d9f2f67a5f
am: 07d79aa3b0

Change-Id: I5f75034690784dd06d54345e60107ab7049e4da7
2017-03-17 22:41:00 +00:00
Jakub Pawlowski
07d79aa3b0 Merge "Bluetooth 5 move timeout parameter (1/2)"
am: d9f2f67a5f

Change-Id: Iee7d485461f5e02ab65ec9f7311e962deb603543
2017-03-17 22:34:24 +00:00
Jakub Pawlowski
adbf2eef2f Bluetooth 5 move timeout parameter (1/2)
Timeout is not a parameter, it is a property of enabling the
advertising. Move it into more proper place.

Test: manual
Bug: 30622771
Change-Id: I09ebc6c770bc02938ea16a9738a7e03dc8006fde
2017-03-17 22:23:57 +00:00
Roozbeh Pournader
1bf3ee56f0 Update Emoji.java to use ICU
Overrides have been added to update the data to Emoji 5.0, since our
version of ICU only supports Emoji 4.0.

Test: CTS tests continue to pass.
Bug: 27365282
Bug: 30874706
Change-Id: I7c791e1e75ea3510b36f258c1e1c7184051d6d3a
2017-03-17 15:15:58 -07:00
Yohei Yukawa
2565a526a8 Merge "Deprecate IMM#showSoftInputUnchecked() part 1" 2017-03-17 22:05:21 +00:00
fionaxu
77a744c75e remove deprecated SIM_ACTIVATION_REQUEST intent
This deprecated intent voilates intent naming conventions as defined in CDD.

Bug:35271104
Test: Manual
Change-Id: Ic7f251a6471de31e17960d612e108203983ce32d
2017-03-17 14:47:18 -07:00
TreeHugger Robot
9e284db838 Merge "Make SYNC_PARENT_SOUNDS a @SystemApi" 2017-03-17 21:38:51 +00:00
Roozbeh Pournader
16a8f3762c Remove U+1F93B MODERN PENATHLON and U+1F946 RIFLE from emoji
These had remained in Emoji.java although they were removed from Unicode
emoji. The data still needs to be updated to Emoji 5.0, but that will be
done in another CL.

Test: not needed
Bug: 28678294
Change-Id: I491c4bba107b960fb1efccbe19630ab274aa6e29
2017-03-17 14:38:46 -07:00
Todd Kennedy
50d946c13a Add TRON logs
Add logs for instant app resolution [both phase 1 & 2]
as well as new logs for all activity starts.

Change-Id: I0d25daa383854eacd3bc406ce1360d819a8ec4ba
Fixes: 35442251
Fixes: 35441725
Test: Manual; install/run instant app and inspect the event logs for appropriate tags
2017-03-17 13:55:38 -07:00
TreeHugger Robot
ef8297e275 Merge "Send broadcast when user restrictions change." 2017-03-17 20:48:36 +00:00
Alan Viverette
42b0676d61 Merge "Revert "Changing initial and default focus behavior"" 2017-03-17 19:47:13 +00:00
Evan Rosky
cfd6c85d42 Revert "Changing initial and default focus behavior"
This is a soft revert.

This reverts commit 37df2dbab1

Change-Id: I7ac08c0ef514f7ce7a0b750e501a5333f4ffb6d2
2017-03-17 12:39:15 -07:00
TreeHugger Robot
741a898514 Merge "Adding an extras Bundle to MessagingStyle messages." 2017-03-17 19:38:02 +00:00
Robin Lee
c74d85fee8 Make SYNC_PARENT_SOUNDS a @SystemApi
Since there is a CTS test depending on it which is currently hardcoding
the string. Let's not do that.

Bug: 30658854
Test: make full -j30
Change-Id: I6f6b1044ac664589b8fe76ced9961e80024b0b29
2017-03-17 19:11:20 +00:00
TreeHugger Robot
9f7958c17f Merge "Disable large-ish parcel logging." 2017-03-17 17:57:30 +00:00
TreeHugger Robot
2fb89f45b9 Merge "Removed 'virtual' from autofill method names." 2017-03-17 17:54:37 +00:00
TreeHugger Robot
6e4075bde6 Merge "Adding enabled state for remote actions." 2017-03-17 17:51:45 +00:00
TreeHugger Robot
1c10a61a97 Merge "Allow Instant Apps access PackageInfo of exposed apps" 2017-03-17 17:26:24 +00:00
Tomasz Wasilczyk
3d19f90c32 Merge "Add getProgramList call to the broadcast radio API." 2017-03-17 16:34:55 +00:00
Jeff Sharkey
f5299f1b88 Disable large-ish parcel logging.
This logging was originally added to track down very large log
messages that were causing Binder transactions to fail.  We fixed
a handful of bugs that could have been causing this over in 32575987,
so this logging should no longer be needed in live builds.  (In fact,
this logging is being triggered often enough to push other important
debugging information out of logs.)

Test: builds, boots
Bug: 36372780
Change-Id: I640192fbec35693673a2f22b7a82ce54f27937da
2017-03-17 10:25:10 -06:00
Felipe Leme
81f01d9efd Removed 'virtual' from autofill method names.
Fixes: 36126001
Test: VirtualContainerActivityTest pass

Change-Id: I3b8fe835cd7c7f39c8e2cb8f2daca71b03236a1f
2017-03-17 09:09:31 -07:00
Andrii Kulian
c1b59ed73e Merge "Separate global and override config sent to client" 2017-03-17 15:39:37 +00:00
liangweikang
5a2c5a3bd9 Merge "[BUG] fix NullPointerException in Notification.java" am: c14d5db093 am: 79e9f380e2
am: 9b0784aa5f

Change-Id: I41f9d2d027138360d3a967c97dbf3aed69512650
2017-03-17 15:07:50 +00:00