Commit Graph

309172 Commits

Author SHA1 Message Date
Jeff Sharkey
d67ab923fb Make SettingsProvider reset no-op for now.
Something is funky with how settings are being reset, so disable it
for now.  We still eventually offer to reboot and wipe data.

Test: builds, boots
Bug: 34677175
Change-Id: Ied943a04d2a4bab8e5c77e622c56ebf6d4181393
2017-01-24 15:26:30 -07:00
Siyamed Sinir
9e1f4e8891 Merge "Make SpannableStringBuilder.getSpans thread-safe" into nyc-mr2-dev 2017-01-24 22:20:04 +00:00
Vladislav Kaznacheev
c56c7462ef Revert "Remove View.setTooltip/getTooltip"
This reverts commit 3da84b4e3c.

Change-Id: Ie6f29f6527d71f564906b4cc05b344823c73c3f2
2017-01-24 22:17:42 +00:00
Jeff Sharkey
7d5420eda7 Enable kernel UID state updates.
Test: builds, boots
Bug: 34364961
Change-Id: Ia20c666063cb2e5cd91b401cc3be48fc83959010
2017-01-24 15:17:18 -07:00
Siyamed Sinir
f6a7049051 Merge "Fix SpannableStringBuilder getSpans sort" into nyc-mr2-dev am: 48d84c378b
am: b89fd21099

Change-Id: I51a9ee11fcc4d56663a60f6ef7809891fc194580
2017-01-24 22:15:43 +00:00
Siyamed Sinir
3d9238ec63 Fix SpannableStringBuilder getSpans sort am: 051caedcaa
am: 1764efad93

Change-Id: I33b2f25901330e79bbc166a318f71d5124d0b332
2017-01-24 22:14:44 +00:00
Siyamed Sinir
7afe571bd7 Merge "Make SpannableStringBuilder.getSpans thread-safe" 2017-01-24 22:12:17 +00:00
Siyamed Sinir
b89fd21099 Merge "Fix SpannableStringBuilder getSpans sort" into nyc-mr2-dev
am: 48d84c378b

Change-Id: I3935b667dd120825e13252ad13a63b027ebf4a49
2017-01-24 22:09:00 +00:00
Siyamed Sinir
1764efad93 Fix SpannableStringBuilder getSpans sort
am: 051caedcaa

Change-Id: I6d4a4d3b5810d47809458bcd1e1dce9567363da6
2017-01-24 22:08:56 +00:00
Siyamed Sinir
48d84c378b Merge "Fix SpannableStringBuilder getSpans sort" into nyc-mr2-dev 2017-01-24 22:05:05 +00:00
Shreyas Basarge
a393ff7dc7 Merge "API to select backup transport" 2017-01-24 22:02:28 +00:00
Daniel Nishi
274907e729 Merge "Add a games filter to the ApplicationsState." 2017-01-24 21:55:30 +00:00
Zac Iqbal
5dcd19000f Merge "Refactored KeyguardIndicationController and LockIcon." 2017-01-24 21:53:15 +00:00
Adam Lesinski
9bbe787822 Finish font support for AAPT
Test: make CtsContentTestCases in cts/tests/tests/content
Change-Id: Ie1e08deeef56611de261bd12f25f53c88068950e
2017-01-24 13:52:45 -08:00
Evan Rosky
975911cda8 Merge "Add support for automatic focusability determination" 2017-01-24 21:49:07 +00:00
Karthik Ravi Shankar
246b4144f1 Add android.permission.RESTRICTED_VR_ACCESS for privileged VR APIs.
Bug: 34682109
Change-Id: I65dc7aeaaceefad470adea8313e1d81c86ad233d
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
2017-01-24 13:47:27 -08:00
Steve McKay
0bb25299ca Don't mark query+cancellationSignal final.
Bug: 34517733
Test: None.
Change-Id: Iff281c676b928859c0e2e975d9f0cfabb36479d9
2017-01-24 13:46:15 -08:00
Evan Rosky
516f9e68f3 Changed cluster kb navigation shortcut to meta+[shift]+tab
Bug: 34509826
Test: Verified new shortcut worked in test app
Change-Id: I2e454a1291dbee9f6ca549d6ed2973248ff24d15
2017-01-24 13:45:27 -08:00
msnider
3c191b8bd9 Introducing clear package data intent
Clear data Intent can be called from any application and
executes in the PackageInstaller. The user will be asked
to verify that they truly want to clear package data via
an AlertDialog.

This was initially intended to be @SystemApi, but
conversations with API-Review led to it be public.

Test: Covered by a gts-test ag/1806256 and manually tested
by calling from com.android.vending (Play Store).

bug: 33017941
bug: 31008483

Change-Id: Ibeae6620303ba52cc2ebf0383756c9380d3fa013
2017-01-24 13:39:52 -08:00
Jerry Zhang
4882496232 Refactored setCurrentFunction and setUsbDataUnlocked into single method.
This gets rid of an extraneous configuration change when going from
adb to adb + file transfer as previously the config would have been
reset once for functions and once for data unlocked.

It also simplifies some of the code.

Bug: 31814300
Test: manually changing usb configurations
Change-Id: Ica10a195338b2189db13113f44657393db110bee
(cherry picked from commit 7a396be6d5)
2017-01-24 13:26:51 -08:00
Jason Monk
b595098185 Fixes for new QS
A bunch of small cleanup for the new QS.

Change-Id: If0a5efe67366a4288f72cb91d32f5e20a4d4d6ca
Test: visual
Fixes: 34665057
Fixes: 34658107
Fixes: 34644473
2017-01-24 16:25:59 -05:00
Julia Reynolds
cf63ff1532 Snoozing API changes
- No one can snooze for an undetermined amount of time
- Only the assistant can unsnooze
- Listeners can retrieve a list of snoozed notifications

Test: runtest systemui-notification, cts verifier
Change-Id: Idfaee6d8bc15a5d41630f86f7e852468b07dc7d0
2017-01-24 16:18:52 -05:00
TreeHugger Robot
04620c98a7 Merge "Whitelist CHANGE_DEVICE_IDLE_TEMP_WHITELIST for systemui" 2017-01-24 21:18:23 +00:00
Justin Klaassen
f05cf3ee40 Add support for carrier demo mode
Fixes: 33746309
Test: manually verified carrier demo mode and normal demo mode are setup
correctly

Change-Id: Ia38790599f672a9d1999274276156b5328c9f75a
(cherry picked from commit b632c55469)
2017-01-24 21:18:07 +00:00
TreeHugger Robot
d3902a342e Merge "Introduce Fonts Content Provider" 2017-01-24 21:17:11 +00:00
John Reck
9e2a47d230 Merge "Revert "Destroy DisplayLists on time"" 2017-01-24 21:08:05 +00:00
Torbjorn Eklund
140dbc2e45 Merge "Vodafone SIMs should treat Spain as roaming" into nyc-mr2-dev am: 5bfedd8af0
am: 39ec2a5014

Change-Id: I7fe647b4ff63c6683e18e20f815bc87078a736f1
2017-01-24 21:04:23 +00:00
Torbjorn Eklund
53237bb815 Vodafone SIMs should treat Spain as roaming am: 137271738e
am: 86204050b0

Change-Id: I2db652bea895d362ba59c7591f4969f47f12c35e
2017-01-24 21:03:26 +00:00
Stephen Chen
42f5f29439 Enabled backup/restore of Wifi Wakeup and Network Recommendations Settings.
Bug: 34430370
Test: make
Change-Id: I8838eace4cac6a02d580d73a5700ca4e3f368bf6
2017-01-24 13:01:07 -08:00
Torbjorn Eklund
39ec2a5014 Merge "Vodafone SIMs should treat Spain as roaming" into nyc-mr2-dev
am: 5bfedd8af0

Change-Id: I06c5832785ff29e2e6b9ee835c14394c56ad4e60
2017-01-24 20:59:25 +00:00
Torbjorn Eklund
86204050b0 Vodafone SIMs should treat Spain as roaming
am: 137271738e

Change-Id: Ife67a10b2cb21418c256e70869e70bf5af78840c
2017-01-24 20:59:20 +00:00
TreeHugger Robot
f5c6893dd0 Merge "Remove View.setTooltip/getTooltip" 2017-01-24 20:56:08 +00:00
TreeHugger Robot
5bfedd8af0 Merge "Vodafone SIMs should treat Spain as roaming" into nyc-mr2-dev 2017-01-24 20:55:11 +00:00
TreeHugger Robot
52faea7acb Merge "Don't emit versioncode by default" 2017-01-24 20:54:36 +00:00
Christopher Tate
03a1ba2da4 Deliver MEDIA_SCANNER_SCAN_FILE to background receivers
Bug 34630982
Test: download mp3 file in Chrome, see it taken up in Play Music

Change-Id: Ia2d35d266d0066f0c2bd278bc8b6024ba94261bb
2017-01-24 12:45:09 -08:00
TreeHugger Robot
ef6be9fbdb Merge "Make splitName public" 2017-01-24 20:44:19 +00:00
TreeHugger Robot
5a5afca936 Merge "Add versionCode" 2017-01-24 20:36:40 +00:00
Zachary Iqbal
f50284c60a Refactored KeyguardIndicationController and LockIcon.
Notes:
- KeyguardIndicationController can now be provided via the SystemUIFactory.
- Created a BaseKeyguardCallback to allow extention of KIC callback implementation.
- LockIcon can now be extended through the KIC to support an avatar icon for entering trust.

Test: runtest systemui
Bug: 34589272
Change-Id: I3a8745dc5054841155a6db41c7e5e8ae5ae1f30d
2017-01-24 12:21:59 -08:00
Chris Wren
5e02bca5cb Merge "Move MetricsReader to SystemApi" 2017-01-24 20:21:09 +00:00
Andrew Sapperstein
8754a0ffeb Merge "Add Settings.Global configs to high temp warning." into nyc-mr2-dev am: 0a26aa9b31
am: 51156753dc  -s ours

Change-Id: I02c561d034b73ca4dc1795c8e9461aa4909d3b7d
2017-01-24 20:15:11 +00:00
Andrew Sapperstein
79544f91f8 Add Settings.Global configs to high temp warning. am: 63db9254cf
am: e4910cc70a  -s ours

Change-Id: Id96d150d4adfab8d6ef59b65c272572cd6e04565
2017-01-24 20:14:16 +00:00
Jason Long
1b51da6033 Rename metrics_constants.proto DEFAULT_AUTOFILL_PICKER.
Change-Id: Idfb0c1cc42385eaea87a0c6d0aeee1f3affa155c
Test: compiles
2017-01-24 12:12:25 -08:00
Andrew Sapperstein
51156753dc Merge "Add Settings.Global configs to high temp warning." into nyc-mr2-dev
am: 0a26aa9b31

Change-Id: Idfd2a48cadb54adcb5f6976ec1a2caf7181db78a
2017-01-24 20:08:53 +00:00
Calin Juravle
0d4b8f8b0c Notify DexManager about new package installs
This will update the internal cache so that the secondary dex files of
the new package can be found when loaded.

Test: runtest -x .../DexManagerTests.java

Bug: 32871170
Change-Id: I0cb7158af249feeb01cf578a7544dda978eede9d
2017-01-24 12:08:42 -08:00
Andrew Sapperstein
e4910cc70a Add Settings.Global configs to high temp warning.
am: 63db9254cf

Change-Id: I63de4c9648158d8b19ed5d7eac1e75ca9b68d355
2017-01-24 20:08:42 +00:00
Julia Reynolds
dd94abc33d Merge "Optionally show accessibility stream volume row." 2017-01-24 20:04:10 +00:00
TreeHugger Robot
0a26aa9b31 Merge "Add Settings.Global configs to high temp warning." into nyc-mr2-dev 2017-01-24 20:02:25 +00:00
Adrian Roos
4749930c37 MessagingStyle: Fix buggy measure in MessagingLinearLayout
Fixes a bug in MessagingLinearLayout where we would not
recompute the height of it after applying the computed
insets to the text views, leading to incorrect padding
and in rare cases a cut off message at the bottom.

Change-Id: If87a527555158e94e501832e9f49e380cc7da2bb
Test: runtest -x core/tests/coretests/src/com/android/internal/widget/MessagingLinearLayoutTest.java
Fixes: 31463075
(cherry picked from commit 4ac8f40d96)
2017-01-24 20:00:52 +00:00
Hyunyoung Song
f665a32950 Adds MaskableIconDrawable class to android.graphics.drawable package
Test: manual test ag/1774462, cts tests ag/1813947

Bug: 32063838
Design doc: http://go/layered-icons-eng

- Reads in the mask path from config.
- If <maskable-icon> is dynamically created, clip the drawable using the mask path.
- Instead of using clipPath method, used BitmapShader for performance.

Change-Id: If5b4a24127bf823477c6c5d8a81d5093501d58e7
2017-01-24 12:00:02 -08:00
Makoto Onuki
3a2541e6da Add client package name to WTF message
Bug 34650921
Test: manual tests with GEL launcher with work profile
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests

Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsShortcutHostTestCases -t 'android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest#testManagedUser'
Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t 'com.android.cts.devicepolicy.LauncherAppsProfileTest'
Change-Id: I68f72f0798b752690e4e8d32360fd1d15bedef31
2017-01-24 11:55:51 -08:00