OSDN Git Service
William Luh [Fri, 31 Mar 2017 22:08:16 +0000 (15:08 -0700)]
Fix injected settings titles not matching a locale change.
The injected tiles code currently treats the string metadata value
for the title key in the Activity's manifest as the title itself.
When the language on the device is changed the title remains in the
previous language until a reboot.
This CL will make injected tiles attempt to treat the string metadata
value as a resource variable to get the integer res id and then
properly load the localized title using the res id. To be backwards
compatible, if the res id is 0, we treat the string metadata value as
the title itself (current behavior).
Bug:
36470694
Test: make RunSettingsLibRoboTests
Change-Id: I3963534a3a3a27d0455c4ed1ad4fa574b03d67fc
Adam Lesinski [Thu, 16 Mar 2017 23:54:23 +0000 (16:54 -0700)]
AAPT: Version <adaptive-icon> to v26
Bug:
35908647
Test: manual
Change-Id: Ic8f43efe34385192fbab18675eb5898ed80912a5
TreeHugger Robot [Tue, 28 Mar 2017 18:39:42 +0000 (18:39 +0000)]
Merge "WifiManager(aidl): Remove pingSupplicant binder call" into oc-dev
Sanket Padawe [Tue, 28 Mar 2017 18:38:35 +0000 (18:38 +0000)]
Merge "String changes for Voice/Data/Emergency service blocked." into oc-dev
Sanket Padawe [Mon, 27 Mar 2017 23:43:25 +0000 (16:43 -0700)]
String changes for Voice/Data/Emergency service blocked.
Bug:
31490566
Change-Id: Iaae2c5ef2a856ae265d4e4ea933d714491744e49
(cherry picked from commit
acc0a4481ce83489c05af1d70e66362eaf7f04a1)
Merged-in: Iaae2c5ef2a856ae265d4e4ea933d714491744e49
Romain Guy [Wed, 22 Mar 2017 18:08:37 +0000 (11:08 -0700)]
Update Color API
Make the class final because its instances are immutable and
it contained only static methods prior to O. Fix a couple of
typos/issues reported by external developers. Add a new variant
of getComponents() to avoid allocations, as requested by
external dev.
Test: Color_ColorLongTest
Bug:
32984164
Change-Id: I3c22e124c9fdf66142d530afa4beb05fe0669359
(cherry picked from commit
48f38f18385e8aed0df48524d8ea3d20eba9199f)
Dongwon Kang [Tue, 28 Mar 2017 18:20:24 +0000 (18:20 +0000)]
Merge "MediaSession: clear identity before accessing service methods" into oc-dev
TreeHugger Robot [Tue, 28 Mar 2017 18:16:55 +0000 (18:16 +0000)]
Merge "QS: Don't animate first state change" into oc-dev
Dongwon Kang [Tue, 28 Mar 2017 17:54:46 +0000 (10:54 -0700)]
MediaSession: clear identity before accessing service methods
Test: build and manually verified the issue is fixed.
Bug:
36669550
Change-Id: I44eda4e2fb08dd9aa6972b12ed4c4e82797ff587
TreeHugger Robot [Tue, 28 Mar 2017 18:15:40 +0000 (18:15 +0000)]
Merge "Catch IllegalArgumentException to avoid SyncManager crash" into oc-dev
Jason Monk [Mon, 27 Mar 2017 20:41:24 +0000 (16:41 -0400)]
QS: Don't animate first state change
Test: runtest systemui
Change-Id: I151af59665c74ca04839f7d33153fb8c90ddd996
Fixes:
36076790
(cherry picked from commit
2b48aa3f71403f41f6d6b90cfe437ee4bdce160f)
Jason Monk [Mon, 27 Mar 2017 19:18:23 +0000 (15:18 -0400)]
Fix QS getting stuck in weird animation during recreate
Don't animate on first state change in QS, no reason to animate on
bootup or recreate.
Test: runtest systemui
Change-Id: Ib1ceddd708fdc922224b57dbfe12d2f9a76fcee3
Fixes:
35116271
(cherry picked from commit
2da4619b12a4c65a645534079057e7d2bb0bae21)
Jason Monk [Mon, 27 Mar 2017 17:40:59 +0000 (13:40 -0400)]
Have QS fragment keep track of some state on recreate
Test: runtest systemui
Change-Id: I1cf84a0943092fcfc5428fcfccb4a887a83b294b
Fixes:
35205198
Fixes:
36592148
(cherry picked from commit
78187249c3e8aaf89a380816e123a3a4653d5b4e)
TreeHugger Robot [Tue, 28 Mar 2017 17:46:10 +0000 (17:46 +0000)]
Merge "Fix double-checked locking in InputMethodSubtype" into oc-dev
Amith Yamasani [Tue, 28 Mar 2017 17:34:01 +0000 (10:34 -0700)]
Catch IllegalArgumentException to avoid SyncManager crash
When SyncManager's scheduling races with an app with a sync
adapter being uninstalled, it can get an IAE from PackageManager.
Catch this exception and skip over the job.
Bug:
36658118
Test: Manual
Change-Id: I0a63a3e0aa19cb5685aa18c7c6c9d6dd6ccfd60a
Jason Monk [Mon, 27 Mar 2017 19:45:32 +0000 (15:45 -0400)]
Don't auto-mirror QS drawables
Was a mistake in previous refactor, they were not being mirrored
before.
Test: visual
Change-Id: I001757ca02267e33409a9c0071a24b69939f30c5
Fixes:
36255688
Fixes:
36255681
(cherry picked from commit
19378fd3ebdc51718993dac065d68b286a03d90a)
Pavel Grafov [Tue, 28 Mar 2017 17:15:53 +0000 (17:15 +0000)]
Merge "Store up to 5 network log batches if needed." into oc-dev
TreeHugger Robot [Tue, 28 Mar 2017 17:15:36 +0000 (17:15 +0000)]
Merge "Restart USB stack if data transfer becomes unavailable" into oc-dev
Jason Monk [Mon, 27 Mar 2017 14:42:51 +0000 (10:42 -0400)]
Speculative fix for QS CTS test
Explicitly send broadcasts to systemui, because thats where they are
going.
Test: cts
Change-Id: I2fdc74f2cf874e818ef52f37a58adf7cd38ca455
Fixes:
35704517
(cherry picked from commit
c7f71110958cbeb4343bd9220fd1526ae066e75c)
TreeHugger Robot [Tue, 28 Mar 2017 17:11:21 +0000 (17:11 +0000)]
Merge "Support loading a stub WebView using a donor package." into oc-dev
Roshan Pius [Tue, 21 Mar 2017 21:13:52 +0000 (14:13 -0700)]
WifiManager(aidl): Remove pingSupplicant binder call
This is now deprecated in the public API and instead calls
isWifiEnabled(). So, remove this AIDL call.
Bug:
36493092
Test: Compiles
Change-Id: I6339d5bb18f423d84fa9222a87e2df7eb9c336a9
Merged-In: I6339d5bb18f423d84fa9222a87e2df7eb9c336a9
TreeHugger Robot [Tue, 28 Mar 2017 16:52:21 +0000 (16:52 +0000)]
Merge "Throw an error if no package name is provided by the app when needed" into oc-dev
TreeHugger Robot [Tue, 28 Mar 2017 16:44:17 +0000 (16:44 +0000)]
Merge "Fix stretched nav bar menu icon" into oc-dev
Pavel Grafov [Thu, 23 Mar 2017 15:17:52 +0000 (15:17 +0000)]
Store up to 5 network log batches if needed.
In the normal mode when the DO fetches the logs ASAP, there will still be
no more than one last full batch in memory at once. If the DO is too slow,
or the broadcast queue is too crowded we will store up to 5 of them,
discarding older ones when there are more than 5.
Also the batch gets discarded 5 minutes after it has been retrieved or
another more recent batch has been retrieved. Previously the last batch
would stay in memory until the next one is ready. But it seems
unreasonable for the DO to rely on it since there are no guarantees.
This would probably even save some memory under normal conditions on
average.
Bug:
35753013
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLoggingWithSingleUser
Change-Id: Ib8e91a98103d804375cb0d7423f93175b4b9bcb6
(cherry picked from commit
48733074d7ba80755e40432b7ff02b66e27d3edb)
Merged-in: Ib8e91a98103d804375cb0d7423f93175b4b9bcb6
Amith Yamasani [Fri, 24 Mar 2017 00:53:47 +0000 (00:53 +0000)]
Revert "Logging to track #
36406078"
Not needed anymore, since the bug was found to be in the binder driver.
This reverts commit
9afb1fc495aa132c4a5e3a5beca408597ab1bb09.
Change-Id: I3891866f6e30a3f3391df8005e56bf9b9777b3a6
(cherry picked from commit
ab5523f3372b9e36911aa25a8247f0a2fa16543a)
Chad Brubaker [Thu, 23 Mar 2017 21:42:39 +0000 (14:42 -0700)]
Throw an error if no package name is provided by the app when needed
Avoid crashing system server if a calling app does not provide a package
name to broadcastIntent, instead throw an exception back.
Bug:
36452829
Test: Devices boots, apps work
Change-Id: Ie67ad4b631f399e674449e0787ed8fab47b89cb6
(cherry picked from commit
674702f0f99091c86bb3eb66572c88304de38a6b)
Torne (Richard Coles) [Fri, 13 Jan 2017 14:19:39 +0000 (14:19 +0000)]
Support loading a stub WebView using a donor package.
Support loading a WebView package which specifies the name of a "donor"
that provides missing files. This allows a preinstalled stub WebView to
function by loading its code and assets from the preinstalled Monochrome
implementation, as long as the versions are close enough that the
manifest contents are compatible, which should be fine since
preinstalled versions will match.
To do this, we replace the stub's code paths in AppplicationInfo with
the donor's, so that all Java and native code and resources are loaded
from the donor APK at runtime instead of from the (mostly empty) stub.
To get the ClassLoader with the modified path cached as if it was the
regular path, we introduce a new "cacheKey" parameter in
ApplicationLoaders.
Bug:
21643067
Test: build "new" stub WebView upstream in chromium and test loading
Change-Id: I08cc9122b1c9def3e1206974f3e0e8973cca3419
Jason Monk [Mon, 27 Mar 2017 20:28:55 +0000 (16:28 -0400)]
Fix battery saver tile label
Test: visual
Change-Id: I2cfb819778eeb969979aa2a3ed8c35744a63f875
Fixes:
36238774
(cherry picked from commit
368a8aec2c13ca096f6e3c15c1cb70e4a3752d4c)
Jason Monk [Mon, 27 Mar 2017 21:09:30 +0000 (17:09 -0400)]
QS Animation tweaks
Test: visual
Change-Id: Ic81d874511bf87fb0e8d9bf08e27346919ebc46e
Fixes:
35990413
(cherry picked from commit
c34e249609dadc86bf3a0139a4038388c34a42b6)
Jason Monk [Mon, 27 Mar 2017 20:54:30 +0000 (16:54 -0400)]
Fix spacing for loading in QS
Test: visual
Change-Id: I8065885ec3d2badd9d7c2116a6075eb48e2b7697
Fixes:
30292983
(cherry picked from commit
6cfc63a92779c000c659c70f44efa231fce73476)
Esteban Talavera [Fri, 24 Mar 2017 16:31:56 +0000 (16:31 +0000)]
Restart USB stack if data transfer becomes unavailable
If DISALLOW_USB_FILE_TRANSFER is set while the device is
connected via USB and data transfer is enabled, restart
the USB stack to make sure that data cannot be transferred any more
Fix:
34487750
Bug:
34054991
Test: Checked that files cannot be transferred any more as soon as the user restriction is set
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.UserRestrictionsTest
Change-Id: I129c226e57da2d0be356f93436b36b3303cb604c
Jason Monk [Mon, 27 Mar 2017 21:40:56 +0000 (17:40 -0400)]
Fix stretched nav bar menu icon
Make sure that KeyButtonDrawable centers its child layers in case
they aren't the same size (like menu).
Test: visual
Change-Id: I10cbbac2f74288c3ca570d48ac23a1101dbab4e0
Fixes:
34102319
(cherry picked from commit
5b3b485593934f852b6e4193b9f1e0f492b674b6)
Tadashi G. Takaoka [Fri, 24 Mar 2017 08:22:33 +0000 (17:22 +0900)]
Fix double-checked locking in InputMethodSubtype
No functional change.
Fixes:
35737935
Test: run cts test and confirmed all tests passed
cts-tradefed run singleCommand cts-dev -m CtsInputMethodTestCases
Change-Id: I44e5e91b6462c3c7d023f50365b30da9cf98c509
TreeHugger Robot [Tue, 28 Mar 2017 14:23:18 +0000 (14:23 +0000)]
Merge "SmartSelection: Pass hintFlags to native library." into oc-dev
Anton Philippov [Mon, 27 Mar 2017 13:49:04 +0000 (14:49 +0100)]
Add null check in BackupManagerService$PerformBackupTask.handleCancel()
handleCancel() can be called before we start backing up any particular
package, therefore we need to properly handle log messages in that case.
Bug:
36638539
Test: manual
Change-Id: Ic96e2fbad5c0a79640a3419d187e8b5e4d265de3
(cherry picked from commit
519a87db8fabb49f299aa384aeb5cfe4dfedf907)
Abodunrinwa Toki [Mon, 27 Mar 2017 20:09:23 +0000 (21:09 +0100)]
SmartSelection: Pass hintFlags to native library.
Test: cts-tradefed run cts-dev -m CtsViewTestCases -t android.view.textclassifier.cts.TextClassificationManagerTest
Tests have been written on the native side.
Bug:
35416389
Change-Id: If2de73391e1a343e0dc7698039ad1464cedfbf08
fen wang [Tue, 28 Mar 2017 05:19:29 +0000 (05:19 +0000)]
Merge "Add Bluetooth LDAC ABR UI to the Developer Options" am:
5c64adef5f am:
40dca362a0
am:
d09d9370da
Change-Id: I9cb8bf8e0b42c13fd4bfdeb661680b8737e0b42f
fen wang [Tue, 28 Mar 2017 05:11:20 +0000 (05:11 +0000)]
Merge "Add Bluetooth LDAC ABR UI to the Developer Options" am:
5c64adef5f
am:
40dca362a0
Change-Id: I7b59dc216d893553b146ad6e68f2706255d9f860
fen wang [Tue, 28 Mar 2017 05:03:27 +0000 (05:03 +0000)]
Merge "Add Bluetooth LDAC ABR UI to the Developer Options"
am:
5c64adef5f
Change-Id: Iff2e13b8c8921c47176fc43e2a35ebd4cd284a96
Treehugger Robot [Tue, 28 Mar 2017 04:54:19 +0000 (04:54 +0000)]
Merge "Add Bluetooth LDAC ABR UI to the Developer Options"
fen wang [Mon, 13 Mar 2017 10:35:09 +0000 (19:35 +0900)]
Add Bluetooth LDAC ABR UI to the Developer Options
Bug:
35381097
Change-Id: Idcc2fabe86acaf441f5a71f5d2bb66ad29252cdb
Phil Weaver [Tue, 28 Mar 2017 03:58:12 +0000 (03:58 +0000)]
Merge "Fix permission checking for a11y volume."
TreeHugger Robot [Tue, 28 Mar 2017 03:25:58 +0000 (03:25 +0000)]
Merge "Add honored args when auto-paging."
Erik Kline [Tue, 28 Mar 2017 02:38:20 +0000 (02:38 +0000)]
Merge "Add null check to IpManager.dump()" am:
58406d1df2 am:
c5bca697ba
am:
e398bae572
Change-Id: I172f23945a79191b777e2daf6795e2d228f510a6
Erik Kline [Tue, 28 Mar 2017 02:34:15 +0000 (02:34 +0000)]
Merge "Add null check to IpManager.dump()" am:
58406d1df2
am:
c5bca697ba
Change-Id: Id5ebbea0c64baa24d162c0545d45915c948f45e6
Erik Kline [Tue, 28 Mar 2017 02:30:18 +0000 (02:30 +0000)]
Merge "Add null check to IpManager.dump()"
am:
58406d1df2
Change-Id: I68f644a305d58e1396522d73c0983e1eb201cb1c
Treehugger Robot [Tue, 28 Mar 2017 02:19:21 +0000 (02:19 +0000)]
Merge "Add null check to IpManager.dump()"
TreeHugger Robot [Tue, 28 Mar 2017 02:14:33 +0000 (02:14 +0000)]
Merge "Remove ACTION_CONFIGURE_WIFI_SETTINGS and ACTION_WIFI_SAVED_NETWORK_SETTINGS."
TreeHugger Robot [Tue, 28 Mar 2017 02:12:04 +0000 (02:12 +0000)]
Merge "Introduced additional lock - dbLock"
TreeHugger Robot [Tue, 28 Mar 2017 02:10:43 +0000 (02:10 +0000)]
Merge "Camera: Send onPrepared callback to all shared surfaces"
TreeHugger Robot [Tue, 28 Mar 2017 02:02:30 +0000 (02:02 +0000)]
Merge "Fix issue with task overlay activities not finishing."
TreeHugger Robot [Tue, 28 Mar 2017 01:54:26 +0000 (01:54 +0000)]
Merge "Enable Wifi Wakeup Setting by default."
TreeHugger Robot [Tue, 28 Mar 2017 01:29:52 +0000 (01:29 +0000)]
Merge "Provide deprecated API to avoid build breakage"
Fyodor Kupolov [Tue, 28 Mar 2017 00:02:11 +0000 (17:02 -0700)]
Introduced additional lock - dbLock
Right now it is always used with cacheLock. In the future, we will be
adding optimizations to reduce cacheLock contention by only holding it
when updating the cache.
This change is non-functional and doesn't change the current locking
contract
Test: Manual + AccountManagerServiceTest
Bug:
36485175
Change-Id: Iebc437463958d33b32fc1273a84680c22ac60825
TreeHugger Robot [Tue, 28 Mar 2017 00:50:07 +0000 (00:50 +0000)]
Merge "Fixed yet another missing check for null anchor..."
TreeHugger Robot [Tue, 28 Mar 2017 00:46:52 +0000 (00:46 +0000)]
Merge "Parse NotificationChannel ID meta-data."
TreeHugger Robot [Tue, 28 Mar 2017 00:45:30 +0000 (00:45 +0000)]
Merge "Deprecate Setting that is no longer used."
TreeHugger Robot [Tue, 28 Mar 2017 00:41:08 +0000 (00:41 +0000)]
Merge "Add missing assert that task isn't queued"
TreeHugger Robot [Tue, 28 Mar 2017 00:28:56 +0000 (00:28 +0000)]
Merge "Moved Session and ViewState to its own classes."
Michael Kwan [Tue, 28 Mar 2017 00:20:02 +0000 (00:20 +0000)]
Merge "Catch exception where SwipeDismissLayout cannot monitor screen off."
Peter Qiu [Tue, 28 Mar 2017 00:09:06 +0000 (00:09 +0000)]
Merge "hotspot2: register Passpoint related intents as protected broadcast" am:
97bdedf655 am:
61f58f0676
am:
8e94d9e32d
Change-Id: Ib293b1fed8a7d5101987d50742cdde66dc670d43
Peter Qiu [Tue, 28 Mar 2017 00:03:03 +0000 (00:03 +0000)]
Merge "hotspot2: register Passpoint related intents as protected broadcast" am:
97bdedf655
am:
61f58f0676
Change-Id: I924befd6d9a1fb1e6bdb257bc6d662172d2354d9
TreeHugger Robot [Tue, 28 Mar 2017 00:02:18 +0000 (00:02 +0000)]
Merge "Sync the constants in HAL and framework"
Peter Qiu [Mon, 27 Mar 2017 23:54:37 +0000 (23:54 +0000)]
Merge "hotspot2: register Passpoint related intents as protected broadcast"
am:
97bdedf655
Change-Id: I06d54b99006d631c5792f823e9ae7da1703a201d
Treehugger Robot [Mon, 27 Mar 2017 23:44:42 +0000 (23:44 +0000)]
Merge "hotspot2: register Passpoint related intents as protected broadcast"
TreeHugger Robot [Mon, 27 Mar 2017 23:37:06 +0000 (23:37 +0000)]
Merge changes Ia971b2bc,I0001eb3d,I55a6951e
* changes:
Remove framework-protos from SystemUI
Disable proguard for PluginDummyLib
Enable multidex for dx
TreeHugger Robot [Mon, 27 Mar 2017 23:36:33 +0000 (23:36 +0000)]
Merge "Simplify the media button handling logic"
TreeHugger Robot [Mon, 27 Mar 2017 23:30:18 +0000 (23:30 +0000)]
Merge "Add a few asserts for possible corruption cases"
TreeHugger Robot [Mon, 27 Mar 2017 23:27:48 +0000 (23:27 +0000)]
Merge "Don't spam the log during quota calculations."
Mady Mellor [Mon, 27 Mar 2017 23:26:47 +0000 (23:26 +0000)]
Merge "Fix for edge swipe/fling to minimize"
Felipe Leme [Mon, 27 Mar 2017 22:05:35 +0000 (15:05 -0700)]
Fixed yet another missing check for null anchor...
Test: CtsAutoFillServiceTestCases pass
Bug:
36643768
Change-Id: I6f97f3aec88c59a94c593958aca8b4a992d4806e
TreeHugger Robot [Mon, 27 Mar 2017 22:29:27 +0000 (22:29 +0000)]
Merge "Disable PIP minimize and put it behind a tuner item"
Shubang [Tue, 21 Mar 2017 19:56:08 +0000 (12:56 -0700)]
Sync the constants in HAL and framework
Test: Build and flash device
Bug:
36233336
Change-Id: Ie81862825b601bdafd7653564d7393686d54f531
Dmitry Dementyev [Mon, 27 Mar 2017 22:14:29 +0000 (22:14 +0000)]
Merge "Add cache for Account Visibility values."
Peter Qiu [Mon, 27 Mar 2017 18:49:33 +0000 (11:49 -0700)]
hotspot2: register Passpoint related intents as protected broadcast
These intents should only be broadcast by the System Service, so
register them as protected broadcast.
Bug:
36655814
Test: Build with go/aog/355397, verify in logcat that no non-protected
broadcast error gets thrown when
android.net.wifi.action.PASSPOINT_OSU_PROVIDERS_LIST intent
is broadcasted
Change-Id: I57849d0decef407624cac380a0f12f5428e0f1de
Phil Weaver [Fri, 24 Mar 2017 00:21:29 +0000 (17:21 -0700)]
Fix permission checking for a11y volume.
Adding new permission for changing accessibility volume
to allow system UI to change it. Also providing audio
manager with a whitelist of bound accessibility service
uids so it can allow servics to change the volume.
Bug:
36569297
Test: Adding CTS test in linked CL.
Change-Id: I4f327e3a251fc3780c5957f41217c2ef5bb8b16e
Jaewan Kim [Thu, 2 Feb 2017 02:52:08 +0000 (11:52 +0900)]
Simplify the media button handling logic
Here's the new media handling logic.
1. If the foreground app consumes the media key event
(Activity.onKeyDown/Up() or Activity.setMediaController()),
we stop here.
2. Find the media app whose AudioPlaybackConfiguration becomes
PLAYER_STATE_STARTED lastly across the boot. The media app is the app
with the media session.
- If its session is still alive, send the media key event
to the media session.
- If its session has been released but the session set the media
button receiver, send the media key event through the media button
receiver.
- If it has multiple media sessions, pick the media session whose
PlaybackState matches with the AudioPlaybackConfiguration's player
state.
3. Stop here. Don't try revive any other app.
This approach has two limitations.
1. If an app has multiple AudioPlaybackConfigurations and/or
media sessions, the MediaSessionService may pick the wrong media
session to send media key events.
2. If an app with a media session plays sound effects differently from
the SoundPool class, the MediaSessionService would consider the app
as the lastly played media app.
Bug:
33032080
Test: Manual tests as follows
1. Checked that the lastly played app receives the media key events
although the app's media session doesn't report its playback state.
2. Checked that the lastly played app receives the media key events
although the app's media session is released.
3. Checked that the lastly played app doesn't receive the media key
events if its playback is remote.
Change-Id: I1fd6f9eee0750da4dea9fcc7401fdb1c3f249a72
Daniel Nishi [Mon, 27 Mar 2017 21:52:46 +0000 (14:52 -0700)]
Don't spam the log during quota calculations.
We base the cache quotas on usage stats on the device. These stats,
however, can contain entries from apps which are no longer installed.
In this case, we skip its calculation and log a warning. This patch
removes the warning aspect of it, because it is a legitimate case.
Change-Id: I2a6a797966bfee007515735308535a5dcc118f03
Fixes:
36649802
Test: Manual
John Reck [Mon, 27 Mar 2017 21:47:46 +0000 (14:47 -0700)]
Add a few asserts for possible corruption cases
Bug:
36502346
Test: builds & boots
Change-Id: Id96a26a30e4a8c6f51a68bf07cfe6bd6d07c244e
Peter Qiu [Mon, 27 Mar 2017 21:38:26 +0000 (21:38 +0000)]
Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig" am:
ae3bae715e am:
78eeb9b090
am:
bc3fefbacd
Change-Id: I2fa6998d854ca61aa18ef2e61ed6a7196ed0be4d
John Reck [Mon, 27 Mar 2017 21:34:28 +0000 (14:34 -0700)]
Add missing assert that task isn't queued
Probably won't fix anything but this assert is in queue()
but not queueAtFront() and inserting a task twice is Really Bad.
Bug:
36139852
Test: ¯\_(ツ)_/¯
Change-Id: Ida0f829eecfdd46c17c36b816528c49d12b7cf29
Amith Yamasani [Mon, 27 Mar 2017 21:36:37 +0000 (14:36 -0700)]
Provide deprecated API to avoid build breakage
Restored onUtteranceRangeStart() temporarily as a deprecated API.
Bug:
36646809
Test: N/A
Change-Id: I7da927aca4f4ad1f5cc76564e8fdc4261849898b
Jakub Pawlowski [Mon, 27 Mar 2017 21:34:23 +0000 (21:34 +0000)]
Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" am:
beb8ceada8 am:
cfe099b01d
am:
b4e8fd65bf
Change-Id: I31be1d92cf7ad95214bf353dca20b990a280f996
Peter Qiu [Mon, 27 Mar 2017 21:33:46 +0000 (21:33 +0000)]
Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig" am:
ae3bae715e
am:
78eeb9b090
Change-Id: Icf369fc41387dbd1ed854434f2d77ecd867c4532
Peter Qiu [Mon, 27 Mar 2017 21:29:53 +0000 (21:29 +0000)]
Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig"
am:
ae3bae715e
Change-Id: If47b5c5fae03ad2e6a68771da893acaad743fcbd
Jakub Pawlowski [Mon, 27 Mar 2017 21:27:25 +0000 (21:27 +0000)]
Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" am:
beb8ceada8
am:
cfe099b01d
Change-Id: I7dda88f7c2c26cbb3ae192f313dcc4bd15afd6d6
Jakub Pawlowski [Mon, 27 Mar 2017 21:22:15 +0000 (21:22 +0000)]
Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)"
am:
beb8ceada8
Change-Id: Ie88e330a1d50adac8c6b83581079c6096c4d898a
Peter Qiu [Mon, 27 Mar 2017 21:21:41 +0000 (21:21 +0000)]
Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig"
Alan Viverette [Mon, 27 Mar 2017 21:21:09 +0000 (21:21 +0000)]
Merge "Avoid NPE when PopupWindow is shown while dismissing"
Jakub Pawlowski [Mon, 27 Mar 2017 21:15:20 +0000 (21:15 +0000)]
Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)"
Mady Mellor [Mon, 27 Mar 2017 21:10:46 +0000 (14:10 -0700)]
Fix for edge swipe/fling to minimize
- Actually include check for fling
- Base left or right side on starting position instead of current position
Test: Long quick swipe PIP from opposite edge of screen -> no longer minimizes
Bug:
35358628
Change-Id: I7cd62b94943afe28b89a8bcb0e0cab58bc0841a9
Chen Xu [Mon, 27 Mar 2017 21:06:09 +0000 (21:06 +0000)]
Merge "make carrier default app direct boot aware" am:
98ded6c9ab am:
3f26682252
am:
51742e58fc
Change-Id: Ic3f9de6063bb605c87af8d6218c0cf7306d2c5d0
Steven Moreland [Mon, 27 Mar 2017 21:03:18 +0000 (21:03 +0000)]
Merge "Fix nativeProcs being null."
Martijn Coenen [Mon, 27 Mar 2017 19:45:19 +0000 (12:45 -0700)]
Fix nativeProcs being null.
dumpStackTraces originally checked this. This only happens when a silent
ANR is triggerred on a process name not in NATIVE_STACKS_OF_INTEREST.
Bug:
36414311
Bug:
36652737
Test: manual
Change-Id: I24402fb2ef2e08482f866dc1086ce83c1365d7ec
Chen Xu [Mon, 27 Mar 2017 21:00:25 +0000 (21:00 +0000)]
Merge "make carrier default app direct boot aware" am:
98ded6c9ab
am:
3f26682252
Change-Id: Ic58ee1d881a85622ce03cc7ccbba1b2e274e8760
Peter Qiu [Mon, 27 Mar 2017 20:45:25 +0000 (13:45 -0700)]
wifi: catch UnsupportedOperationException for getMatchingWifiConfig
On a device without Passpoint support, an UnsupportedOperationException
will be thrown when invoking WifiManager#getMatchingWifiConfig.
So catch it to avoid crash.
Bug:
36649203
Test: manually set config_wifi_hotspot2_enabled to false and verify
Settings app doesn't crash
Change-Id: I69f37897449033da9d21edda9953ad2738f7e314
Chen Xu [Mon, 27 Mar 2017 20:54:53 +0000 (20:54 +0000)]
Merge "make carrier default app direct boot aware"
am:
98ded6c9ab
Change-Id: I6a8f45b2839a07a9bfae23ab41a9c6ebd1c0e5e1
TreeHugger Robot [Mon, 27 Mar 2017 20:54:37 +0000 (20:54 +0000)]
Merge "Updating to new aspect ratio limits."
Chen Xu [Mon, 27 Mar 2017 20:45:13 +0000 (20:45 +0000)]
Merge "make carrier default app direct boot aware"
Sudheer Shanka [Mon, 27 Mar 2017 20:40:31 +0000 (20:40 +0000)]
Merge "Uncomment a test."