QS: Hacks to fix bigger problems in TileService binding
Bug: 29121793 Change-Id: I9cb8d8ee36ce5cc77ba3c11decb1b3a797fd7999
This commit is contained in:
@@ -312,7 +312,8 @@ public class TileService extends Service {
|
||||
public IBinder onBind(Intent intent) {
|
||||
mService = IQSService.Stub.asInterface(intent.getIBinderExtra(EXTRA_SERVICE));
|
||||
try {
|
||||
mTile = mService.getTile(new ComponentName(getPackageName(), getClass().getName()));
|
||||
ComponentName component = intent.getParcelableExtra(EXTRA_COMPONENT);
|
||||
mTile = mService.getTile(component);
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeException("Unable to reach IQSService", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user